wiki:Android/Tegra/NotionInk/Adam/SoftwareEnvironment

Software Environment

The basic configuration as seen by the Linux kernel and core utilities. Note that the kernel build date is in 2012 - oops Kumar!

# cat /proc/cmdline
mem=256M@0M nvmem=256M@256M mem=512M@512M vmalloc=384M video=tegrafb console=ttyS0,115200n8 usbcore.old_scheme_first=1 cpuid=200102 devicetype=1002 btmac=d43b46131a00 tegraboot=nand mtdparts=tegra_nand:16384K@9984K(misc),16384K@26880K(recovery),16384K@43776K(boot),204800K@60672K(system),782080K@265984K(cache)

# cat /proc/version
Linux version 2.6.32.9-00066-g16c1dec-dirty (rohit@notionink) (gcc version 4.4.0 (GCC) ) #1 SMP PREEMPT Sat Feb 4 20:02:55 IST 2012

# cat /proc/modules
dhd 197669 0 - Live 0xbf000000

# cat /proc/partitions
major minor  #blocks  name

  31        0      16384 mtdblock0
  31        1      16384 mtdblock1
  31        2      16384 mtdblock2
  31        3     204800 mtdblock3
  31        4     782080 mtdblock4
 179       16    3872256 mmcblk2
 179       17    3872191 mmcblk2p1
 179       24    7761920 mmcblk3
 179       25    5821400 mmcblk3p1
 179       26    1940512 mmcblk3p2

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 01000000 00020000 "misc"
mtd1: 01000000 00020000 "recovery"
mtd2: 01000000 00020000 "boot"
mtd3: 0c800000 00020000 "system"
mtd4: 2fbc0000 00020000 "cache"

# cat /proc/yaffs
YAFFS built:Feb  4 2012 19:56:02
$Id$
$Id$

Device 0 "system"
startBlock......... 0
endBlock........... 1599
totalBytesPerChunk. 2048
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 599
nReservedBlocks.... 5
blocksInCheckpoint. 2
nTnodesCreated..... 5200
nFreeTnodes........ 82
nObjectsCreated.... 800
nFreeObjects....... 97
nFreeChunks........ 38376
nPageWrites........ 110
nPageReads......... 36026
nBlockErasures..... 2
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1
inbandTags......... 0

Device 1 "cache"
startBlock......... 0
endBlock........... 6109
totalBytesPerChunk. 2048
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 6106
nReservedBlocks.... 5
blocksInCheckpoint. 0
nTnodesCreated..... 0
nFreeTnodes........ 0
nObjectsCreated.... 100
nFreeObjects....... 96
nFreeChunks........ 390846
nPageWrites........ 4
nPageReads......... 9
nBlockErasures..... 1
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1
inbandTags......... 0

Device 2 "misc"
startBlock......... 0
endBlock........... 127
totalBytesPerChunk. 2048
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 126
nReservedBlocks.... 5
blocksInCheckpoint. 0
nTnodesCreated..... 100
nFreeTnodes........ 99
nObjectsCreated.... 100
nFreeObjects....... 95
nFreeChunks........ 8189
nPageWrites........ 16
nPageReads......... 34
nBlockErasures..... 1
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1
inbandTags......... 0

# cat /proc/meminfo
MemTotal:         772968 kB
MemFree:          574596 kB
Buffers:            8964 kB
Cached:            85768 kB
SwapCached:            0 kB
Active:           104252 kB
Inactive:          68408 kB
Active(anon):      78296 kB
Inactive(anon):        0 kB
Active(file):      25956 kB
Inactive(file):    68408 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:        425984 kB
HighFree:         260488 kB
LowTotal:         346984 kB
LowFree:          314108 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         77972 kB
Mapped:            47808 kB
Shmem:               368 kB
Slab:               7836 kB
SReclaimable:       3520 kB
SUnreclaim:         4316 kB
KernelStack:        2712 kB
PageTables:         8160 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      386484 kB
Committed_AS:    6224656 kB
VmallocTotal:     385024 kB
VmallocUsed:       29300 kB
VmallocChunk:     322436 kB

# cat /proc/devices
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 21 sg
 29 fb
 81 video4linux
 90 mtd
128 ptm
136 pts
166 ttyACM
180 usb
189 usb_device
216 rfcomm
250 hidraw
251 usbmon
252 ttyHS
253 nvhost
254 rtc

Block devices:
259 blkext
  7 loop
  8 sd
 11 sr
 31 mtdblock
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
254 device-mapper

# cat /proc/filesystems
nodev	sysfs
nodev	rootfs
nodev	bdev
nodev	proc
nodev	tmpfs
nodev	debugfs
nodev	sockfs
nodev	usbfs
nodev	pipefs
nodev	anon_inodefs
nodev	inotifyfs
nodev	configfs
nodev	devpts
	ext3
	ext2
nodev	ramfs
	vfat
	msdos
	yaffs
	yaffs2



Kernel Configuration

Capture the gzip-ed configuration stored in the kernel:

# cat /proc/config.gz | /data/local/tmp/busybox gunzip >/data/local/tmp/config

The config file is attached to this article.

Kernel Dmesg Log

The kernel's dmesg start-up log is attached to this article.

Attachments