Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24) Reading boot sector Loading u-boot.bin from mmc U-Boot 2011.06 (Mar 09 2012 - 14:23:30) OMAP3530-GP ES3.0, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 In: serial Out: serial Err: serial Beagle Rev C1/C2/C3 timed out in wait_for_pin: I2C_STAT=0 I2C read: I/O error Unrecognized expansion board: 0 Die ID #5cf200030000000004013f7902012010 Hit any key to stop autoboot: 2  0 OMAP3 beagleboard.org # un  run sboot reading uimage 3149840 bytes read ## Booting kernel from Legacy Image at 80000000 ... Image Name: Linux-3.4.0-rc2-00032-g3af35fb Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3149776 Bytes = 3 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Linux version 3.4.0-rc2-00032-g3af35fb (paul@nozomi) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #1 SMP Thu Apr 19 04:33:55 MDT 2012 [ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: OMAP3 Beagle Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] OMAP3430/3530 ES3.0 (l2cache iva sgx neon isp ) [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [ 0.000000] PERCPU: Embedded 8 pages/cpu @c0dc9000 s11456 r8192 d13120 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64768 [ 0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 mem=256M rootwait earlyprintk [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 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: 255MB = 255MB total [ 0.000000] Memory: 246772k/246772k available, 15372k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0590c18 (5668 kB) [ 0.000000] .init : 0xc0591000 - 0xc05ddcc0 ( 308 kB) [ 0.000000] .data : 0xc05de000 - 0xc066ea18 ( 579 kB) [ 0.000000] .bss : 0xc066ea3c - 0xc0bc2c20 (5457 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:474 [ 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] OMAP clockevent source: GPTIMER12 at 32768 Hz [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.000000] ... CHAINHASH_SIZE: 16384 [ 0.000000] memory used by lock dependency info: 3695 kB [ 0.000000] per task-struct memory footprint: 1152 bytes [ 0.001220] Calibrating delay loop... 471.61 BogoMIPS (lpj=1843200) [ 0.081756] pid_max: default: 32768 minimum: 301 [ 0.082855] Security Framework initialized [ 0.083251] Mount-cache hash table entries: 512 [ 0.090667] CPU: Testing write buffer coherency: ok [ 0.091918] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.092041] Setting up static identity map for 0x803e87f0 - 0x803e8860 [ 0.094604] Brought up 1 CPUs [ 0.094635] SMP: Total of 1 processors activated (471.61 BogoMIPS). [ 0.124511] dummy: [ 0.127716] NET: Registered protocol family 16 [ 0.129547] GPMC revision 5.0 [ 0.144989] gpiochip_add: registered GPIOs 0 to 31 on device: gpio [ 0.145751] OMAP GPIO hardware version 2.5 [ 0.147277] gpiochip_add: registered GPIOs 32 to 63 on device: gpio [ 0.150024] gpiochip_add: registered GPIOs 64 to 95 on device: gpio [ 0.152130] gpiochip_add: registered GPIOs 96 to 127 on device: gpio [ 0.154205] gpiochip_add: registered GPIOs 128 to 159 on device: gpio [ 0.156677] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 0.167541] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.171905] OMAP3 Beagle Rev: C1/C2/C3 [ 0.190887] Reprogramming SDRC clock to 332000000 Hz [ 0.192291] Found NAND on CS0 [ 0.192321] Registering NAND on CS0 [ 0.194183] Unable to get DVI reset GPIO [ 0.194915] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.217407] omap-mcbsp.2: alias fck already exists [ 0.218566] omap-mcbsp.3: alias fck already exists [ 0.225372] OMAP DMA hardware revision 4.0 [ 0.324829] bio: create slab at 0 [ 0.337493] SCSI subsystem initialized [ 0.340301] omap2_mcspi omap2_mcspi.1: master is unqueued, this is deprecated [ 0.342742] omap2_mcspi omap2_mcspi.2: master is unqueued, this is deprecated [ 0.344573] omap2_mcspi omap2_mcspi.3: master is unqueued, this is deprecated [ 0.346405] omap2_mcspi omap2_mcspi.4: master is unqueued, this is deprecated [ 0.351562] usbcore: registered new interface driver usbfs [ 0.353179] usbcore: registered new interface driver hub [ 0.354370] usbcore: registered new device driver usb [ 0.358428] omap_i2c omap_i2c.1: bus 1 rev1.3.12 at 2600 kHz [ 0.372680] twl 1-0048: PIH (irq 7) chaining IRQs 320..328 [ 0.373596] twl 1-0048: power (irq 325) chaining IRQs 328..335 [ 0.377044] twl4030_gpio twl4030_gpio: gpio (irq 320) chaining IRQs 336..353 [ 0.379028] gpiochip_add: registered GPIOs 192 to 211 on device: twl4030 [ 0.390594] VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby [ 0.394439] VDAC: 1800 mV normal standby [ 0.397613] VDVI: 1800 mV normal standby [ 0.401000] VSIM: 1800 <--> 3000 mV at 1800 mV normal standby [ 0.416748] omap_i2c omap_i2c.3: bus 3 rev1.3.12 at 100 kHz [ 0.430419] Switching to clocksource 32k_counter [ 0.602081] NET: Registered protocol family 2 [ 0.603973] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.606933] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.607543] TCP bind hash table entries: 8192 (order: 6, 294912 bytes) [ 0.613342] TCP: Hash tables configured (established 8192 bind 8192) [ 0.613464] TCP: reno registered [ 0.613525] UDP hash table entries: 128 (order: 1, 10240 bytes) [ 0.613922] UDP-Lite hash table entries: 128 (order: 1, 10240 bytes) [ 0.615325] NET: Registered protocol family 1 [ 0.617462] RPC: Registered named UNIX socket transport module. [ 0.617492] RPC: Registered udp transport module. [ 0.617523] RPC: Registered tcp transport module. [ 0.617553] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.619506] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.848358] VFS: Disk quotas dquot_6.5.2 [ 0.848907] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.851196] NFS: Registering the id_resolver key type [ 0.854125] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.855834] msgmni has been set to 481 [ 0.862396] io scheduler noop registered [ 0.862426] io scheduler deadline registered [ 0.862792] io scheduler cfq registered (default) [ 0.867370] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.877929] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0 [ 0.880554] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1 [ 0.882537] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2 [ 1.564697] console [ttyO2] enabled [ 1.621185] brd: module loaded [ 1.654449] loop: module loaded [ 1.669311] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.677276] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit) [ 1.687866] Creating 5 MTD partitions on "omap2-nand.0": [ 1.693786] 0x000000000000-0x000000080000 : "X-Loader" [ 1.709533] 0x000000080000-0x000000260000 : "U-Boot" [ 1.723419] 0x000000260000-0x000000280000 : "U-Boot Env" [ 1.735656] 0x000000280000-0x000000680000 : "Kernel" [ 1.750762] 0x000000680000-0x000010000000 : "File System" [ 1.976379] OneNAND driver initializing [ 1.993255] usbcore: registered new interface driver asix [ 2.000122] usbcore: registered new interface driver cdc_ether [ 2.007446] usbcore: registered new interface driver net1080 [ 2.014373] usbcore: registered new interface driver cdc_subset [ 2.021575] usbcore: registered new interface driver zaurus [ 2.028442] usbcore: registered new interface driver cdc_ncm [ 2.037719] usbcore: registered new interface driver cdc_wdm [ 2.043884] Initializing USB Mass Storage driver... [ 2.049957] usbcore: registered new interface driver usb-storage [ 2.056488] USB Mass Storage support registered. [ 2.062988] usbcore: registered new interface driver libusual [ 2.070098] usbcore: registered new interface driver usbtest [ 2.076232] udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma) [ 2.087829] mousedev: PS/2 mouse device common for all mice [ 2.102233] input: twl4030_pwrbutton as /devices/platform/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0 [ 2.117065] twl_rtc twl_rtc: Enabling TWL-RTC [ 2.127655] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 2.136230] i2c /dev entries driver [ 2.144622] Driver for 1-wire Dallas network protocol. [ 2.154876] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.163818] twl4030_wdt twl4030_wdt: Failed to register misc device [ 2.170776] twl4030_wdt: probe of twl4030_wdt failed with error -16 [ 2.412139] usbcore: registered new interface driver usbhid [ 2.418212] usbhid: USB HID core driver [ 2.422241] oprofile: hardware counters not available [ 2.427612] oprofile: using timer interrupt. [ 2.433410] TCP: cubic registered [ 2.436889] Initializing XFRM netlink socket [ 2.441680] NET: Registered protocol family 17 [ 2.446533] NET: Registered protocol family 15 [ 2.451721] Registering the dns_resolver key type [ 2.457122] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 [ 2.465393] ThumbEE CPU extension supported. [ 2.485015] PM: no software I/O chain control; some wakeups may be lost [ 2.541931] clock: disabling unused clocks to save power [ 2.554016] VDVI: incomplete constraints, leaving on [ 2.559631] VDAC: incomplete constraints, leaving on [ 2.568481] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 2.580657] twl_rtc twl_rtc: setting system clock to 2008-07-22 12:10:41 UTC (1216728641) [ 2.594818] Waiting for root device /dev/mmcblk0p2... [ 2.716949] mmc0: new SD card at address 8001 [ 2.725555] mmcblk0: mmc0:8001 SD02G 1.89 GiB [ 2.738952] mmcblk0: p1 p2 [ 4.128448] kjournald starting. Commit interval 5 seconds [ 4.135070] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended [ 4.327728] EXT3-fs (mmcblk0p2): using internal journal [ 4.337829] EXT3-fs (mmcblk0p2): recovery complete [ 4.342864] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 4.350830] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 4.358306] Freeing init memory: 304K INIT: version 2.86 booting Starting the hotplug events dispatcher udevd [ 5.576293] udevd (598): /proc/598/oom_adj is deprecated, please use /proc/598/oom_score_adj instead. Synthesizing the initial hotplug events Remounting root file system... mount: according to mtab, /proc is already mounted on /proc WARNING: Couldn't open directory /lib/modules/3.4.0-rc2-00032-g3af35fb: No such file or directory FATAL: Could not open /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep.temp for writing: No such file or directory Setting up IP spoofing protection: rp_filter. Configuring network interfaces... modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory ifconfig: SIOCGIFFLAGS: No such device modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory eth0 No such device modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory udhcpc: SIOCGIFINDEX: No such device done. Starting portmap daemon: portmap. INIT: Entering runlevel: 5 ALSA: Restoring mixer settings... /usr/sbin/alsactl: load_state:1327: No soundcards found... Starting Dropbear SSH server: modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory dropbear. Starting advanced power management daemon: No APM support in kernel (failed.) Starting system message bus: dbus. Starting syslogd/klogd: start-stop-daemon: lseek: Invalid argument * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ ok ] Starting Bluetooth subsystem: hcidmodprobe: FATAL: Could not load /lib/modules/3.4.0-rc2-00032-g3af35fb/modules.dep: No such file or directory hid2hci. .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution beagleboard ttyO2 Angstrom 2008.1-test-20080712 beagleboard ttyO2 beagleboard login: root login[1706]: root login on `ttyO2' root@beagleboard:~# echo mem > /syroot@beagleboard:~# echo mem > /sys/powerroot@beagleboard:~# echo mem > /sys/power/stroot@beagleboard:~# echo mem > /sys/power/state [ 28.070861] PM: Syncing filesystems ... done. [ 28.839965] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 28.872131] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done. [ 28.903259] Suspending console(s) (use no_console_suspend to debug) [ 29.037384] PM: suspend of devices complete after 123.260 msecs [ 29.039733] PM: late suspend of devices complete after 2.288 msecs [ 29.044799] PM: noirq suspend of devices complete after 5.065 msecs [ 29.044891] Disabling non-boot CPUs ... [ 29.570526] Successfully put all powerdomains to target state [ 29.573486] PM: noirq resume of devices complete after 2.685 msecs [ 29.577850] PM: early resume of devices complete after 2.319 msecs [ 29.865386] PM: resume of devices complete after 287.322 msecs [ 29.918029] Restarting tasks ... done. root@beagleboard:~# root@beagleboard:~# echo mem > /sys/power/state [ 32.751159] PM: Syncing filesystems ... done. [ 33.496673] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 33.522644] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done. [ 33.553741] Suspending console(s) (use no_console_suspend to debug) [ 33.687316] PM: suspend of devices complete after 122.773 msecs [ 33.689636] PM: late suspend of devices complete after 2.258 msecs [ 33.694305] PM: noirq suspend of devices complete after 4.668 msecs [ 33.694335] Disabling non-boot CPUs ... [ 34.430816] Successfully put all powerdomains to target state [ 34.433715] PM: noirq resume of devices complete after 2.685 msecs [ 34.438049] PM: early resume of devices complete after 2.319 msecs [ 34.725830] PM: resume of devices complete after 287.597 msecs [ 34.778320] Restarting tasks ... done. root@beagleboard:~# cd /sysroot@beagleboard:~# cd /sys/ root@beagleboard:/sys# root@beagleboard:/sys# echo 1000 > /sys/devices/platform/omap_uart.0/tty/ttyO0/p ower/autosuspend_delay_ms root@beagleboard:/sys# echo 1000 > /sys/devices/platform/omap_uart.0/power/autos uspend_delay_ms root@beagleboard:/sys# echo 1000 > /sys/devices/platform/omap_uart.1/tty/ttyO1/p ower/autosuspend_delay_ms root@beagleboard:/sys# echo 1000 > /sys/devices/platform/omap_uart.1/power/autos uspend_delay_ms root@beagleboard:/sys# echo 1000 > /sys/devices/platform/omap_uart.2/tty/ttyO2/p ower/autosuspend_delay_ms root@beagleboard:/sys# echo 1000 > /sys/devices/platform/omap_uart.2/power/autos uspend_delay_ms root@beagleboard:/sys# root@beagleboard:/sys# cat /e deroot@beagleboard:/sys# cat /debroot@beagleboard:/sys# cat /debugfs/pmroot@beagleboard:/sys# cat /debugfs/pm_debug/root@beagleboard:/sys# cat /debugfs/pm_debug/croot@beagleboard:/sys# cat /debugfs/pm_debug/coroot@beagleboard:/sys# cat /debugfs/pm_debug/couroot@beagleboard:/sys# cat /debugfs/pm_debug/count usbhost_pwrdm (ON),OFF:0,RET:1304,INA:0,ON:1305,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 core_pwrdm (ON),OFF:0,RET:11,INA:0,ON:12,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0 per_pwrdm (ON),OFF:0,RET:19,INA:0,ON:20,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 dss_pwrdm (ON),OFF:0,RET:1304,INA:0,ON:1305,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 cam_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 neon_pwrdm (ON),OFF:0,RET:1304,INA:0,ON:1305,RET-LOGIC-OFF:0 mpu_pwrdm (ON),OFF:0,RET:1304,INA:0,ON:1305,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 iva2_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 usbhost_clkdm->usbhost_pwrdm (1) sgx_clkdm->sgx_pwrdm (0) per_clkdm->per_pwrdm (16) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (1) core_l4_clkdm->core_pwrdm (21) core_l3_clkdm->core_pwrdm (4) d2d_clkdm->core_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) neon_clkdm->neon_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) prm_clkdm->wkup_pwrdm (0) cm_clkdm->core_pwrdm (0) root@beagleboard:/sys# xi