Booting
From AlwaysInnovating
When the device is turned on, the mlo file (x-loader) on the first partition is read. It loads u-boot with the following environment variables:
- setenv baudrate 115200
- setenv stdin 'serial'
- setenv stdout 'serial'
- setenv stderr 'serial'
- setenv loadaddr 0x82000000
- setenv console 'tty1'
- setenv bootdelay 0
- setenv ai_rev 'B1' (this is the hardware revision of your device. Avoid changing this setting. The hardware revision is also on the back of the board.)
- setenv bootcmd 'mmcinit; fatload mmc 0 0x82000000 uImage; bootm'
- setenv bootargs 'air=2 quiet console=tty1 fastboot omapfb.vrfb=1 omapfb.mode=dvi:1024x600MR-16@60 omapdss.def_disp=dvi omapfb.vram=0:8M,1:4M root=/dev/mmcblk0p2 rootdelay=1 rootfstype=ext3'
U-boots loads the kernel which does an aufs between the squashfs second partition and an ext3 fourth partition to create / (fourth partition on 2009-09.b or later, third partition on 2009-09.a or sooner). there is no initramfs, the kernel has been directly patched to create this. Read the kernel patch squashfs-mount-to-avoid-initramfs.patch.
The kernel launches the init file on the mounted / (aufs) partition.
If you have really messed up your system and destroy those u-boot settings which are stored on the nand, you can reset the settings by running:
/usr/bin/ai/reset/nand-reset.sh -f -w
If you can't even boot, you can recover the settings by adding to the first partition the /usr/bin/ai/reset/boot.scr file, which will reset the bootargs for the current session. We use this file when we boot the device for the very first time at the factory. For more information, read the following script /usr/bin/ai/reset/create-boot-src.sh which creates boot.scr:
#!/bin/sh # Should be run on an x86 machine cat <<EOF > boot.cmd setenv bootargs 'firsttime quiet console=tty1 omapfb.vrfb=1 omapfb.mode=dvi:1024x600MR-16@60 omapdss.def_disp=dvi omapfb.vram=0:8M,1:4M root=/dev/mmcblk0p2 rootdelay=1 rootfstype=ext3' fatload mmc 0 80200000 uImage bootm 80200000 EOF ./mkimage-x86 -A arm -O linux -T script -C none -a 0 -e 0 -n 'Execute uImage.bin' -d boot.cmd boot.scr rm boot.cmd
Your dmesg after boot should look like this (2009-12.a):
[ 0.000000] Linux version 2.6.29-omap1 (gregoire@gregoire-laptop) (gcc version 4.3.3 (GCC) ) #3 PREEMPT Tue Dec 22 18:40:34 PST 2009 [ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: OMAP3 Touch Book [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c07f2124, node_mem_map c084d000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 130048 pages, LIFO batch:31 [ 0.000000] OMAP3430 ES3.1 [ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfc800000 size: 0x100000 [ 0.000000] Reserving 14680064 bytes SDRAM for VRAM [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: air=2 quiet console=tty1 fastboot omapfb.vrfb=1 omapfb.mode=dvi:1024x600MR-16@60 omapdss.def_disp=dvi omapfb.vram=0:8M,1:4M root=/dev/mmcblk0p2 rootdelay=1 rootfstype=ext3 [ 0.000000] Clocking rate (Crystal/DPLL/ARM core): 26.0/332/600 MHz [ 0.000000] GPMC revision 5.0 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts [ 0.000000] Total of 96 interrupts on 1 active controller [ 0.000000] OMAP34xx GPIO hardware version 2.5 [ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes) [ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty1] enabled [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 512MB = 512MB total [ 0.000000] Memory: 490496KB available (5064K code, 568K data, 2816K init) [ 0.000000] Calibrating delay loop... 572.44 BogoMIPS (lpj=2236416) [ 0.000000] Mount-cache hash table entries: 512 [ 0.000000] CPU: Testing write buffer coherency: ok [ 0.000000] net_namespace: 1036 bytes [ 0.000000] regulator: core version 0.5 [ 0.000000] NET: Registered protocol family 16 [ 0.000000] Found NAND on CS0 [ 0.000000] Registering NAND on CS0 [ 16.771057] OMAP DMA hardware revision 4.0 [ 16.803344] bio: create slab <bio-0> at 0 [ 16.859771] OMAP DSS rev 2.0 [ 16.859863] OMAP DISPC rev 3.0 [ 16.859893] OMAP VENC rev 2 [ 16.860046] OMAP DSI rev 1.0 [ 16.862091] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz [ 16.865661] twl4030: PIH (irq 7) chaining IRQs 368..375 [ 16.865692] twl4030: power (irq 373) chaining IRQs 376..383 [ 16.866485] twl4030: gpio (irq 368) chaining IRQs 384..401 [ 16.868927] regulator: VMMC1: 1850 <--> 3150 mV normal standby [ 16.869720] regulator: VDAC: 1800 mV normal standby [ 16.870544] regulator: VUSB1V5: 1500 <--> 0 mV normal standby [ 16.871337] regulator: VUSB1V8: 1800 <--> 0 mV normal standby [ 16.872131] regulator: VUSB3V1: 3100 <--> 0 mV normal standby [ 16.872924] regulator: VPLL2: 1800 mV normal standby [ 16.873718] regulator: VSIM: 1800 <--> 3000 mV normal standby [ 16.882232] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz [ 16.884338] SCSI subsystem initialized [ 16.888214] twl4030_usb twl4030_usb: Initialized TWL4030 USB module [ 16.889709] usbcore: registered new interface driver usbfs [ 16.890289] usbcore: registered new interface driver hub [ 16.890655] usbcore: registered new device driver usb [ 16.893768] Bluetooth: Core ver 2.15 [ 16.894256] NET: Registered protocol family 31 [ 16.894256] Bluetooth: HCI device and connection manager initialized [ 16.894287] Bluetooth: HCI socket layer initialized [ 16.897155] Switched to high resolution mode on CPU 0 [ 16.898345] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 [ 16.900360] musb_hdrc: ConfigData=0x55 (UTMI-16, dyn FIFOs, bulk split (X), HB-ISO Rx) [ 16.900390] musb_hdrc: MHDRC RTL version 1.400 [ 16.900390] musb_hdrc: setup fifo_mode 4 [ 16.900421] musb_hdrc: 25/31 max ep, 15936/16384 memory [ 16.900451] musb_hdrc: hw_ep 0shared, max 64 [ 16.900451] musb_hdrc: hw_ep 1tx, max 512 [ 16.900451] musb_hdrc: hw_ep 1rx, max 512 [ 16.900482] musb_hdrc: hw_ep 2tx, max 512 [ 16.900482] musb_hdrc: hw_ep 2rx, max 512 [ 16.900512] musb_hdrc: hw_ep 3tx, max 512 [ 16.900512] musb_hdrc: hw_ep 3rx, max 512 [ 16.900512] musb_hdrc: hw_ep 4tx, max 512 [ 16.900543] musb_hdrc: hw_ep 4rx, max 512 [ 16.900543] musb_hdrc: hw_ep 5tx, max 512 [ 16.900573] musb_hdrc: hw_ep 5rx, max 512 [ 16.900573] musb_hdrc: hw_ep 6tx, max 512 [ 16.900573] musb_hdrc: hw_ep 6rx, max 512 [ 16.900604] musb_hdrc: hw_ep 7tx, max 512 [ 16.900604] musb_hdrc: hw_ep 7rx, max 512 [ 16.900634] musb_hdrc: hw_ep 8tx, max 512 [ 16.900634] musb_hdrc: hw_ep 8rx, max 512 [ 16.900634] musb_hdrc: hw_ep 9tx, max 512 [ 16.900665] musb_hdrc: hw_ep 9rx, max 512 [ 16.900665] musb_hdrc: hw_ep 10tx, max 512 [ 16.900695] musb_hdrc: hw_ep 10rx, max 512 [ 16.900695] musb_hdrc: hw_ep 11shared, max 512 [ 16.900695] musb_hdrc: hw_ep 12shared, max 4096 [ 16.900726] musb_hdrc: hw_ep 13shared, max 512 [ 16.900726] musb_hdrc: hw_ep 14shared, max 512 [ 16.900756] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 [ 16.901458] NET: Registered protocol family 2 [ 16.901702] IP route cache hash table entries: 16384 (order: 4, 65536 bytes) [ 16.902435] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 16.903900] TCP bind hash table entries: 65536 (order: 6, 262144 bytes) [ 16.904724] TCP: Hash tables configured (established 65536 bind 65536) [ 16.904754] TCP reno registered [ 16.905090] NET: Registered protocol family 1 [ 17.451354] ashmem: initialized [ 17.452026] VFS: Disk quotas dquot_6.5.2 [ 17.452148] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 17.452697] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 17.453369] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 17.454223] fuse init (API version 7.11) [ 17.455627] aufs 2-standalone.tree-29-20090622 [ 17.455688] msgmni has been set to 958 [ 17.460052] alg: No test for stdrng (krng) [ 17.460174] io scheduler noop registered [ 17.460205] io scheduler anticipatory registered [ 17.460205] io scheduler deadline registered [ 17.460418] io scheduler cfq registered (default) [ 17.484588] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 17.506134] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 [ 17.526214] serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 [ 17.546325] serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 [ 17.558135] brd: module loaded [ 17.563873] loop: module loaded [ 17.564208] i2c /dev entries driver [ 17.565948] Driver 'sd' needs updating - please use bus_type methods [ 17.566223] Driver 'sr' needs updating - please use bus_type methods [ 17.567230] omap2-nand driver initializing [ 17.567504] NAND device: Manufacturer ID: 0x20, Chip ID: 0xba (ST Micro NAND 256MiB 1,8V 16-bit) [ 17.569335] cmdlinepart partition parsing not available [ 17.569366] Creating 5 MTD partitions on "omap2-nand": [ 17.569396] 0x000000000000-0x000000080000 : "X-Loader" [ 17.571472] 0x000000080000-0x000000260000 : "U-Boot" [ 17.573425] 0x000000260000-0x000000280000 : "U-Boot Env" [ 17.574645] 0x000000280000-0x000000680000 : "Kernel" [ 17.578521] 0x000000680000-0x000010000000 : "File System" [ 17.683044] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 17.683380] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller [ 17.684265] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1 [ 17.684600] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800 [ 17.694030] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00 [ 17.694824] usb usb1: configuration #1 chosen from 1 choice [ 17.695251] hub 1-0:1.0: USB hub found [ 17.695343] hub 1-0:1.0: 3 ports detected [ 17.697448] Initializing USB Mass Storage driver... [ 17.697784] usbcore: registered new interface driver usb-storage [ 17.697814] USB Mass Storage support registered. [ 17.698486] mice: PS/2 mouse device common for all mice [ 17.699127] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 17.700653] ads7846 spi4.0: touchscreen, irq 322 [ 17.701385] input: ADS784x Touchscreen as /devices/platform/omap2_mcspi.4/spi4.0/input/input1 [ 17.703735] input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-adapter/i2c-1/1-0049/twl4030_pwrbutton/input/input2 [ 17.705108] input: MMA7455L as /devices/virtual/input/input3 [ 17.707946] twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0 [ 17.708099] twl4030_rtc twl4030_rtc: Power up reset detected. [ 17.708496] twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC. [ 17.709960] bq27200-battery 3-0055: support ver. 1.0.0 enabled [ 17.716918] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 17.717224] Bluetooth: HCI UART driver ver 2.2 [ 17.717254] Bluetooth: HCI H4 protocol initialized [ 17.717254] Bluetooth: HCI BCSP protocol initialized [ 17.717285] Bluetooth: HCILL protocol initialized [ 17.717285] Bluetooth: Broadcom Blutonium firmware driver ver 1.2 [ 17.718200] usbcore: registered new interface driver bcm203x [ 17.718231] Bluetooth: Digianswer Bluetooth USB driver ver 0.10 [ 17.718536] usbcore: registered new interface driver bpa10x [ 17.718566] Bluetooth: BlueFRITZ! USB driver ver 1.2 [ 17.718811] usbcore: registered new interface driver bfusb [ 17.718841] Bluetooth: Generic Bluetooth USB driver ver 0.5 [ 17.719146] usbcore: registered new interface driver btusb [ 17.719146] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 17.720153] mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock [ 17.828308] Registered led device: touchbook::usr0 [ 17.828613] Registered led device: touchbook::usr1 [ 17.831939] usbcore: registered new interface driver usbhid [ 17.831970] usbhid: v2.6:USB HID core driver [ 17.833374] Advanced Linux Sound Architecture Driver Version 1.0.18a. [ 17.834197] usbcore: registered new interface driver snd-usb-audio [ 17.834655] No device for DAI twl4030 [ 17.834686] No device for DAI omap-mcbsp-dai-0 [ 17.834716] No device for DAI omap-mcbsp-dai-1 [ 17.834716] No device for DAI omap-mcbsp-dai-2 [ 17.834716] No device for DAI omap-mcbsp-dai-3 [ 17.834747] No device for DAI omap-mcbsp-dai-4 [ 17.835205] TWL4030 Audio Codec init [ 17.836486] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok [ 17.846221] ALSA device list: [ 17.846221] #0: omap3beagle (twl4030) [ 17.846893] oprofile: using arm/armv7 [ 17.847167] TCP cubic registered [ 17.847198] NET: Registered protocol family 17 [ 17.847229] NET: Registered protocol family 15 [ 17.847290] Bluetooth: L2CAP ver 2.13 [ 17.847320] Bluetooth: L2CAP socket layer initialized [ 17.847320] Bluetooth: SCO (Voice Link) ver 0.6 [ 17.847351] Bluetooth: SCO socket layer initialized [ 17.847503] Bluetooth: RFCOMM socket layer initialized [ 17.847564] Bluetooth: RFCOMM TTY layer initialized [ 17.847564] Bluetooth: RFCOMM ver 1.11 [ 17.847595] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 17.847595] Bluetooth: BNEP filters: protocol multicast [ 17.847625] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 17.848541] RPC: Registered udp transport module. [ 17.848571] RPC: Registered tcp transport module. [ 17.848632] lib80211: common routines for IEEE802.11 drivers [ 17.848663] lib80211_crypt: registered algorithm 'NULL' [ 17.848663] ThumbEE CPU extension supported. [ 17.857055] Disabling unused clock "sr2_fck" [ 17.857086] Disabling unused clock "sr1_fck" [ 17.857086] Disabling unused clock "mcbsp_fck" [ 17.857116] Disabling unused clock "mcbsp_fck" [ 17.857147] Disabling unused clock "mcbsp_fck" [ 17.857147] Disabling unused clock "mcbsp_ick" [ 17.857177] Disabling unused clock "mcbsp_ick" [ 17.857177] Disabling unused clock "mcbsp_ick" [ 17.857208] Disabling unused clock "gpt2_ick" [ 17.857208] Disabling unused clock "gpt3_ick" [ 17.857208] Disabling unused clock "gpt4_ick" [ 17.857238] Disabling unused clock "gpt5_ick" [ 17.857238] Disabling unused clock "gpt6_ick" [ 17.857269] Disabling unused clock "gpt7_ick" [ 17.857269] Disabling unused clock "gpt8_ick" [ 17.857299] Disabling unused clock "wdt3_ick" [ 17.857299] Disabling unused clock "wdt3_fck" [ 17.857330] Disabling unused clock "gpio3_dbck" [ 17.857330] Disabling unused clock "gpio4_dbck" [ 17.857360] Disabling unused clock "gpio5_dbck" [ 17.857360] Disabling unused clock "gpt8_fck" [ 17.857391] Disabling unused clock "gpt7_fck" [ 17.857391] Disabling unused clock "gpt6_fck" [ 17.857421] Disabling unused clock "gpt5_fck" [ 17.857421] Disabling unused clock "gpt4_fck" [ 17.857452] Disabling unused clock "gpt3_fck" [ 17.857452] Disabling unused clock "gpt2_fck" [ 17.857482] Disabling unused clock "gpt1_ick" [ 17.857482] Disabling unused clock "wdt1_ick" [ 17.857513] Disabling unused clock "wdt2_ick" [ 17.857513] Disabling unused clock "wdt2_fck" [ 17.857543] Disabling unused clock "gpio1_dbck" [ 17.857543] Disabling unused clock "gpt1_fck" [ 17.857574] Disabling unused clock "cam_ick" [ 17.857604] Disabling unused clock "cam_mclk" [ 17.857635] Disabling unused clock "des1_ick" [ 17.857666] Disabling unused clock "sha11_ick" [ 17.857666] Disabling unused clock "rng_ick" [ 17.857696] Disabling unused clock "aes1_ick" [ 17.857696] Disabling unused clock "ssi_ick" [ 17.857727] Disabling unused clock "mailboxes_ick" [ 17.857727] Disabling unused clock "mcbsp_ick" [ 17.857757] Disabling unused clock "mcbsp_ick" [ 17.857788] Disabling unused clock "gpt10_ick" [ 17.857818] Disabling unused clock "gpt11_ick" [ 17.857818] Disabling unused clock "i2c_ick" [ 17.857849] Disabling unused clock "hdq_ick" [ 17.857849] Disabling unused clock "mspro_ick" [ 17.857879] Disabling unused clock "des2_ick" [ 17.857879] Disabling unused clock "sha12_ick" [ 17.857910] Disabling unused clock "aes2_ick" [ 17.857910] Disabling unused clock "icr_ick" [ 17.857940] Disabling unused clock "pka_ick" [ 17.857940] Disabling unused clock "ssi_ssr_fck" [ 17.857971] Disabling unused clock "hdq_fck" [ 17.857971] Disabling unused clock "mcbsp_fck" [ 17.858001] Disabling unused clock "mcbsp_fck" [ 17.858001] Disabling unused clock "i2c_fck" [ 17.858093] Disabling unused clock "mspro_fck" [ 17.858123] Disabling unused clock "gpt11_fck" [ 17.858123] Disabling unused clock "gpt10_fck" [ 17.858154] Disabling unused clock "dpll4_m6x2_ck" [ 17.858154] Disabling unused clock "dpll3_m3x2_ck" [ 17.858184] Disabling unused clock "sys_clkout1" [ 17.858245] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 [ 17.860595] registered taskstats version 1 [ 17.861938] fbcvt: Aspect ratio not CVT standard [ 17.861968] fbcvt: 1024x600@60: CVT Name - Not a CVT standard - 0.614 Mega Pixel Image [ 17.861968] [ 17.953826] Console: switching to colour frame buffer device 128x37 [ 17.967102] clock: clksel_round_rate_div: dpll4_m4_ck target_rate 48000000 [ 17.967102] clock: new_div = 9, new_rate = 48000000 [ 17.970184] twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 17.971099] Freeing init memory: 2816K [ 18.045654] usb 1-2: new high speed USB device using ehci-omap and address 2 [ 18.203125] usb 1-2: configuration #1 chosen from 1 choice [ 18.203735] hub 1-2:1.0: USB hub found [ 18.203887] hub 1-2:1.0: 7 ports detected [ 18.428466] mmc0: new high speed SDHC card at address 0007 [ 18.437469] mmcblk0: mmc0:0007 SD08G 7.49 GiB [ 18.437774] mmcblk0: p1 p2 p3 [ 18.522399] usb 1-2.1: new low speed USB device using ehci-omap and address 3 [ 18.649719] usb 1-2.1: configuration #1 chosen from 1 choice [ 18.659118] input: Always Innovating Always Innovating USB Keyboard / Touchpad as /devices/platform/ehci-omap.0/usb1/1-2/1-2.1/1-2.1:1.0/input/input4 [ 18.659759] ai 0003:A110:0002.0001: input: USB HID v1.00 Keyboard [Always Innovating Always Innovating USB Keyboard / Touchpad] on usb-ehci-omap.0-2.1/input0 [ 18.670501] input: Always Innovating Always Innovating USB Keyboard / Touchpad as /devices/platform/ehci-omap.0/usb1/1-2/1-2.1/1-2.1:1.1/input/input5 [ 18.671691] ai 0003:A110:0002.0002: input: USB HID v1.00 Mouse [Always Innovating Always Innovating USB Keyboard / Touchpad] on usb-ehci-omap.0-2.1/input1 [ 18.850982] usb 1-2.4: new high speed USB device using ehci-omap and address 4 [ 18.986877] usb 1-2.4: configuration #1 chosen from 1 choice [ 27.262145] kjournald starting. Commit interval 5 seconds [ 27.447570] EXT3 FS on mmcblk0p2, internal journal [ 27.447601] ext3_orphan_cleanup: deleting unreferenced inode 293897 [ 27.447784] ext3_orphan_cleanup: deleting unreferenced inode 293859 [ 27.447845] ext3_orphan_cleanup: deleting unreferenced inode 293768 [ 27.448364] ext3_orphan_cleanup: deleting unreferenced inode 293767 [ 27.448516] ext3_orphan_cleanup: deleting unreferenced inode 293766 [ 27.448577] EXT3-fs: mmcblk0p2: 5 orphan inodes deleted [ 27.448577] EXT3-fs: recovery complete. [ 28.229705] EXT3-fs: mounted filesystem with ordered data mode. [ 36.988037] rtusb init ---> [ 36.989257] [ 36.989257] [ 36.989257] === pAd = e09ef000, size = 471000 === [ 36.989257] [ 36.989288] <-- RTMPAllocAdapterBlock, Status=0 [ 37.085021] ra0 (usb): not using net_device_ops yet [ 37.085845] usbcore: registered new interface driver rt2870 [ 41.826171] Adding 498004k swap on /dev/mmcblk0p3. Priority:-1 extents:1 across:498004k SS [ 42.086364] NET: Registered protocol family 10 [ 52.327117] PVRSRV_PIXEL_FORMAT_RGB565 [ 52.822509] <-- RTMPAllocTxRxRingMemory, Status=0 [ 52.853240] -->RTUSBVenderReset [ 52.853485] <--RTUSBVenderReset [ 53.157928] Key1Str is Invalid key length(0) or Type(0) [ 53.158050] Key2Str is Invalid key length(0) or Type(0) [ 53.158172] Key3Str is Invalid key length(0) or Type(0) [ 53.158264] Key4Str is Invalid key length(0) or Type(0) [ 53.160522] 1. Phy Mode = 9 [ 53.160552] 2. Phy Mode = 9 [ 53.219238] 3. Phy Mode = 9 [ 53.229888] MCS Set = ff 00 00 00 01 [ 53.302124] <==== rt28xx_init, Status=0 [ 53.304382] 0x1300 = 00064300 [ 61.031982] ===>rt_ioctl_giwscan. 9(9) BSS returned, data->length = 1133 [ 63.647186] ra0: no IPv6 routers present [ 63.755737] ===>rt_ioctl_giwscan. 8(8) BSS returned, data->length = 1027
Your dmesg after boot should look like this (2009-11.a):
[ 0.000000] Linux version 2.6.29-omap1 (gregoire@gregoire-laptop) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Sun Nov 8 17:42:06 PST 2009 [ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: OMAP3 Touch Book [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] free_area_init_node: node 0, pgdat c0557d30, node_mem_map c05af000 [ 0.000000] Normal zone: 512 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65024 pages, LIFO batch:15 [ 0.000000] OMAP3430 ES3.1 [ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfc800000 size: 0x100000 [ 0.000000] Reserving 14680064 bytes SDRAM for VRAM [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: quiet console=tty1 fastboot omapfb.vrfb=1 omapfb.mode=dvi:1024x600MR-16@60 omapdss.def_disp=dvi omapfb.vram=0:8M,1:4M root=/dev/mmcblk0p2 rootdelay=1 rootfstype=ext3 [ 0.000000] Clocking rate (Crystal/DPLL/ARM core): 26.0/332/600 MHz [ 0.000000] GPMC revision 5.0 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts [ 0.000000] Total of 96 interrupts on 1 active controller [ 0.000000] OMAP34xx GPIO hardware version 2.5 [ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes) [ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty1] enabled [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 128MB 128MB = 256MB total [ 0.000000] Memory: 233344KB available (5032K code, 561K data, 180K init) [ 0.000000] Calibrating delay loop... 583.94 BogoMIPS (lpj=2277376) [ 0.000000] Mount-cache hash table entries: 512 [ 0.000000] CPU: Testing write buffer coherency: ok [ 0.000000] net_namespace: 1036 bytes [ 0.000000] regulator: core version 0.5 [ 0.000000] NET: Registered protocol family 16 [ 0.000000] Found NAND on CS0 [ 0.000000] Registering NAND on CS0 [ 8.387176] OMAP DMA hardware revision 4.0 [ 8.419921] bio: create slab <bio-0> at 0 [ 8.479736] OMAP DSS rev 2.0 [ 8.479858] OMAP DISPC rev 3.0 [ 8.479858] OMAP VENC rev 2 [ 8.480010] OMAP DSI rev 1.0 [ 8.482025] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz [ 8.485595] twl4030: PIH (irq 7) chaining IRQs 368..375 [ 8.485626] twl4030: power (irq 373) chaining IRQs 376..383 [ 8.486389] twl4030: gpio (irq 368) chaining IRQs 384..401 [ 8.488861] regulator: VMMC1: 1850 <--> 3150 mV normal standby [ 8.489685] regulator: VDAC: 1800 mV normal standby [ 8.490509] regulator: VUSB1V5: 1500 <--> 0 mV normal standby [ 8.491302] regulator: VUSB1V8: 1800 <--> 0 mV normal standby [ 8.492095] regulator: VUSB3V1: 3100 <--> 0 mV normal standby [ 8.492919] regulator: VPLL2: 1800 mV normal standby [ 8.493743] regulator: VSIM: 1800 <--> 3000 mV normal standby [ 8.493927] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz [ 8.496063] SCSI subsystem initialized [ 8.499786] twl4030_usb twl4030_usb: Initialized TWL4030 USB module [ 8.501251] usbcore: registered new interface driver usbfs [ 8.501800] usbcore: registered new interface driver hub [ 8.502166] usbcore: registered new device driver usb [ 8.505371] Bluetooth: Core ver 2.14 [ 8.505859] NET: Registered protocol family 31 [ 8.505859] Bluetooth: HCI device and connection manager initialized [ 8.505889] Bluetooth: HCI socket layer initialized [ 8.508880] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 [ 8.510284] Switched to high resolution mode on CPU 0 [ 8.511047] musb_hdrc: ConfigData=0x55 (UTMI-16, dyn FIFOs, bulk split (X), HB-ISO Rx) [ 8.511077] musb_hdrc: MHDRC RTL version 1.400 [ 8.511077] musb_hdrc: setup fifo_mode 4 [ 8.511108] musb_hdrc: 28/31 max ep, 16384/16384 memory [ 8.511108] musb_hdrc: hw_ep 0shared, max 64 [ 8.511138] musb_hdrc: hw_ep 1tx, max 512 [ 8.511138] musb_hdrc: hw_ep 1rx, max 512 [ 8.511169] musb_hdrc: hw_ep 2tx, max 512 [ 8.511169] musb_hdrc: hw_ep 2rx, max 512 [ 8.511169] musb_hdrc: hw_ep 3tx, max 512 [ 8.511199] musb_hdrc: hw_ep 3rx, max 512 [ 8.511199] musb_hdrc: hw_ep 4tx, max 512 [ 8.511230] musb_hdrc: hw_ep 4rx, max 512 [ 8.511230] musb_hdrc: hw_ep 5tx, max 512 [ 8.511230] musb_hdrc: hw_ep 5rx, max 512 [ 8.511260] musb_hdrc: hw_ep 6tx, max 512 [ 8.511260] musb_hdrc: hw_ep 6rx, max 512 [ 8.511291] musb_hdrc: hw_ep 7tx, max 512 [ 8.511291] musb_hdrc: hw_ep 7rx, max 512 [ 8.511291] musb_hdrc: hw_ep 8tx, max 512 [ 8.511322] musb_hdrc: hw_ep 8rx, max 512 [ 8.511322] musb_hdrc: hw_ep 9tx, max 512 [ 8.511352] musb_hdrc: hw_ep 9rx, max 512 [ 8.511352] musb_hdrc: hw_ep 10tx, max 256 [ 8.511352] musb_hdrc: hw_ep 10rx, max 64 [ 8.511383] musb_hdrc: hw_ep 11tx, max 256 [ 8.511383] musb_hdrc: hw_ep 11rx, max 64 [ 8.511413] musb_hdrc: hw_ep 12tx, max 256 [ 8.511413] musb_hdrc: hw_ep 12rx, max 64 [ 8.511413] musb_hdrc: hw_ep 13shared, max 4096 [ 8.511444] musb_hdrc: hw_ep 14shared, max 1024 [ 8.511444] musb_hdrc: hw_ep 15shared, max 1024 [ 8.511474] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 [ 8.512176] NET: Registered protocol family 2 [ 8.512420] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 8.513031] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 8.513244] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 8.513366] TCP: Hash tables configured (established 8192 bind 8192) [ 8.513366] TCP reno registered [ 8.513610] NET: Registered protocol family 1 [ 8.517364] VFS: Disk quotas dquot_6.5.2 [ 8.517486] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 8.518249] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 8.519683] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 8.520507] fuse init (API version 7.11) [ 8.521942] aufs 2-standalone.tree-29-20090622 [ 8.522003] msgmni has been set to 456 [ 8.526336] alg: No test for stdrng (krng) [ 8.526428] io scheduler noop registered [ 8.526458] io scheduler anticipatory registered [ 8.526458] io scheduler deadline registered [ 8.526641] io scheduler cfq registered (default) [ 8.548492] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 8.570526] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 [ 8.591033] serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 [ 8.612335] serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 [ 8.623840] brd: module loaded [ 8.629455] loop: module loaded [ 8.629486] i2c /dev entries driver [ 8.631195] Driver 'sd' needs updating - please use bus_type methods [ 8.631469] Driver 'sr' needs updating - please use bus_type methods [ 8.632446] omap2-nand driver initializing [ 8.632720] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit) [ 8.633056] cmdlinepart partition parsing not available [ 8.633087] Creating 5 MTD partitions on "omap2-nand": [ 8.633117] 0x000000000000-0x000000080000 : "X-Loader" [ 8.634979] 0x000000080000-0x000000260000 : "U-Boot" [ 8.637023] 0x000000260000-0x000000280000 : "U-Boot Env" [ 8.638244] 0x000000280000-0x000000680000 : "Kernel" [ 8.641021] 0x000000680000-0x000010000000 : "File System" [ 8.747619] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 8.747955] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller [ 8.748809] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1 [ 8.749145] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800 [ 8.760284] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00 [ 8.761108] usb usb1: configuration #1 chosen from 1 choice [ 8.761535] hub 1-0:1.0: USB hub found [ 8.761627] hub 1-0:1.0: 3 ports detected [ 8.763702] Initializing USB Mass Storage driver... [ 8.764038] usbcore: registered new interface driver usb-storage [ 8.764068] USB Mass Storage support registered. [ 8.764709] mice: PS/2 mouse device common for all mice [ 8.765319] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 8.766815] ads7846 spi4.0: touchscreen, irq 322 [ 8.767547] input: ADS784x Touchscreen as /devices/platform/omap2_mcspi.4/spi4.0/input/input1 [ 8.769866] input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-adapter/i2c-1/1-0049/twl4030_pwrbutton/input/input2 [ 8.771209] input: MMA7455L as /devices/virtual/input/input3 [ 8.773071] twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0 [ 8.773223] twl4030_rtc twl4030_rtc: Power up reset detected. [ 8.773559] twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC. [ 8.774719] bq27200-battery 3-0055: support ver. 1.0.0 enabled [ 8.781066] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 8.781677] Bluetooth: HCI UART driver ver 2.2 [ 8.781707] Bluetooth: HCI H4 protocol initialized [ 8.781707] Bluetooth: HCI BCSP protocol initialized [ 8.781738] Bluetooth: HCILL protocol initialized [ 8.781738] Bluetooth: Broadcom Blutonium firmware driver ver 1.2 [ 8.782318] usbcore: registered new interface driver bcm203x [ 8.782379] Bluetooth: Digianswer Bluetooth USB driver ver 0.10 [ 8.782806] usbcore: registered new interface driver bpa10x [ 8.782836] Bluetooth: BlueFRITZ! USB driver ver 1.2 [ 8.783233] usbcore: registered new interface driver bfusb [ 8.783264] Bluetooth: Generic Bluetooth USB driver ver 0.4 [ 8.783569] usbcore: registered new interface driver btusb [ 8.783599] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 8.784698] mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock [ 8.894592] Registered led device: touchbook::usr0 [ 8.894927] Registered led device: touchbook::usr1 [ 8.896697] usbcore: registered new interface driver usbhid [ 8.896728] usbhid: v2.6:USB HID core driver [ 8.897827] Advanced Linux Sound Architecture Driver Version 1.0.18a. [ 8.898590] usbcore: registered new interface driver snd-usb-audio [ 8.898956] No device for DAI twl4030 [ 8.898986] No device for DAI omap-mcbsp-dai-0 [ 8.898986] No device for DAI omap-mcbsp-dai-1 [ 8.899017] No device for DAI omap-mcbsp-dai-2 [ 8.899017] No device for DAI omap-mcbsp-dai-3 [ 8.899047] No device for DAI omap-mcbsp-dai-4 [ 8.899444] TWL4030 Audio Codec init [ 8.900787] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok [ 8.910491] ALSA device list: [ 8.910522] #0: omap3beagle (twl4030) [ 8.911560] oprofile: using arm/armv7 [ 8.911804] TCP cubic registered [ 8.911834] NET: Registered protocol family 17 [ 8.911895] NET: Registered protocol family 15 [ 8.911956] Bluetooth: L2CAP ver 2.11 [ 8.911956] Bluetooth: L2CAP socket layer initialized [ 8.911987] Bluetooth: SCO (Voice Link) ver 0.6 [ 8.911987] Bluetooth: SCO socket layer initialized [ 8.912170] Bluetooth: RFCOMM socket layer initialized [ 8.912200] Bluetooth: RFCOMM TTY layer initialized [ 8.912231] Bluetooth: RFCOMM ver 1.10 [ 8.912231] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 8.912261] Bluetooth: BNEP filters: protocol multicast [ 8.912261] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 8.913146] RPC: Registered udp transport module. [ 8.913177] RPC: Registered tcp transport module. [ 8.913238] lib80211: common routines for IEEE802.11 drivers [ 8.913238] lib80211_crypt: registered algorithm 'NULL' [ 8.913269] ThumbEE CPU extension supported. [ 8.921325] Disabling unused clock "sr2_fck" [ 8.921356] Disabling unused clock "sr1_fck" [ 8.921356] Disabling unused clock "mcbsp_fck" [ 8.921386] Disabling unused clock "mcbsp_fck" [ 8.921386] Disabling unused clock "mcbsp_fck" [ 8.921417] Disabling unused clock "mcbsp_ick" [ 8.921417] Disabling unused clock "mcbsp_ick" [ 8.921447] Disabling unused clock "mcbsp_ick" [ 8.921447] Disabling unused clock "gpt2_ick" [ 8.921478] Disabling unused clock "gpt3_ick" [ 8.921478] Disabling unused clock "gpt4_ick" [ 8.921508] Disabling unused clock "gpt5_ick" [ 8.921508] Disabling unused clock "gpt6_ick" [ 8.921539] Disabling unused clock "gpt7_ick" [ 8.921539] Disabling unused clock "gpt8_ick" [ 8.921569] Disabling unused clock "wdt3_ick" [ 8.921569] Disabling unused clock "wdt3_fck" [ 8.921600] Disabling unused clock "gpio3_dbck" [ 8.921600] Disabling unused clock "gpio4_dbck" [ 8.921630] Disabling unused clock "gpio5_dbck" [ 8.921630] Disabling unused clock "gpt8_fck" [ 8.921661] Disabling unused clock "gpt7_fck" [ 8.921661] Disabling unused clock "gpt6_fck" [ 8.921661] Disabling unused clock "gpt5_fck" [ 8.921691] Disabling unused clock "gpt4_fck" [ 8.921691] Disabling unused clock "gpt3_fck" [ 8.921722] Disabling unused clock "gpt2_fck" [ 8.921722] Disabling unused clock "gpt1_ick" [ 8.921752] Disabling unused clock "wdt1_ick" [ 8.921752] Disabling unused clock "wdt2_ick" [ 8.921783] Disabling unused clock "wdt2_fck" [ 8.921783] Disabling unused clock "gpio1_dbck" [ 8.921813] Disabling unused clock "gpt1_fck" [ 8.921813] Disabling unused clock "cam_ick" [ 8.921875] Disabling unused clock "cam_mclk" [ 8.921905] Disabling unused clock "des1_ick" [ 8.921905] Disabling unused clock "sha11_ick" [ 8.921936] Disabling unused clock "rng_ick" [ 8.921936] Disabling unused clock "aes1_ick" [ 8.921966] Disabling unused clock "ssi_ick" [ 8.921966] Disabling unused clock "mailboxes_ick" [ 8.921997] Disabling unused clock "mcbsp_ick" [ 8.921997] Disabling unused clock "mcbsp_ick" [ 8.922027] Disabling unused clock "gpt10_ick" [ 8.922027] Disabling unused clock "gpt11_ick" [ 8.922058] Disabling unused clock "i2c_ick" [ 8.922058] Disabling unused clock "hdq_ick" [ 8.922088] Disabling unused clock "mspro_ick" [ 8.922088] Disabling unused clock "des2_ick" [ 8.922119] Disabling unused clock "sha12_ick" [ 8.922119] Disabling unused clock "aes2_ick" [ 8.922149] Disabling unused clock "icr_ick" [ 8.922149] Disabling unused clock "pka_ick" [ 8.922180] Disabling unused clock "ssi_ssr_fck" [ 8.922180] Disabling unused clock "hdq_fck" [ 8.922210] Disabling unused clock "mcbsp_fck" [ 8.922210] Disabling unused clock "mcbsp_fck" [ 8.922241] Disabling unused clock "i2c_fck" [ 8.922241] Disabling unused clock "mspro_fck" [ 8.922271] Disabling unused clock "gpt11_fck" [ 8.922271] Disabling unused clock "gpt10_fck" [ 8.922302] Disabling unused clock "dpll4_m6x2_ck" [ 8.922332] Disabling unused clock "dpll3_m3x2_ck" [ 8.922332] Disabling unused clock "sys_clkout1" [ 8.922393] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 [ 8.924468] registered taskstats version 1 [ 8.925811] fbcvt: Aspect ratio not CVT standard [ 8.925842] fbcvt: 1024x600@60: CVT Name - Not a CVT standard - 0.614 Mega Pixel Image [ 8.925872] [ 9.019927] Console: switching to colour frame buffer device 128x37 [ 9.029113] clock: clksel_round_rate_div: dpll4_m4_ck target_rate 48000000 [ 9.029144] clock: new_div = 9, new_rate = 48000000 [ 9.042999] twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 9.043090] Waiting 1sec before mounting root device... [ 9.111877] usb 1-2: new high speed USB device using ehci-omap and address 2 [ 9.269256] usb 1-2: configuration #1 chosen from 1 choice [ 9.269866] hub 1-2:1.0: USB hub found [ 9.270080] hub 1-2:1.0: 7 ports detected [ 9.307250] mmc0: new high speed SDHC card at address 0007 [ 9.307861] mmcblk0: mmc0:0007 SD08G 7.49 GiB [ 9.308166] mmcblk0: p1 p2 p3 p4 [ 9.580963] usb 1-2.1: new low speed USB device using ehci-omap and address 3 [ 9.707946] usb 1-2.1: configuration #1 chosen from 1 choice [ 9.717315] input: Always Innovating Always Innovating USB Keyboard / Touchpad as /devices/platform/ehci-omap.0/usb1/1-2/1-2.1/1-2.1:1.0/input/input4 [ 9.717864] ai 0003:A110:0002.0001: input: USB HID v1.00 Keyboard [Always Innovating Always Innovating USB Keyboard / Touchpad] on usb-ehci-omap.0-2.1/input0 [ 9.728424] input: Always Innovating Always Innovating USB Keyboard / Touchpad as /devices/platform/ehci-omap.0/usb1/1-2/1-2.1/1-2.1:1.1/input/input5 [ 9.729614] ai 0003:A110:0002.0002: input: USB HID v1.00 Mouse [Always Innovating Always Innovating USB Keyboard / Touchpad] on usb-ehci-omap.0-2.1/input1 [ 9.909332] usb 1-2.4: new high speed USB device using ehci-omap and address 4 [ 10.044982] usb 1-2.4: configuration #1 chosen from 1 choice [ 10.166870] kjournald starting. Commit interval 5 seconds [ 10.176086] EXT3 FS on mmcblk0p4, internal journal [ 10.176116] EXT3-fs: mounted filesystem with ordered data mode. [ 10.183776] Freeing init memory: 180K [ 10.386993] usb 1-2.5: new full speed USB device using ehci-omap and address 5 [ 10.516540] usb 1-2.5: configuration #1 chosen from 1 choice [ 12.506805] rtusb init ---> [ 12.508026] [ 12.508026] [ 12.508026] === pAd = d09ee000, size = 471000 === [ 12.508026] [ 12.508056] <-- RTMPAllocAdapterBlock, Status=0 [ 12.537170] ra0 (usb): not using net_device_ops yet [ 12.537994] usbcore: registered new interface driver rt2870 [ 17.399261] Adding 506036k swap on /dev/mmcblk0p3. Priority:-1 extents:1 across:506036k SS
