Skip to content

Instantly share code, notes, and snippets.

@bradfa
Created March 17, 2011 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradfa/874183 to your computer and use it in GitHub Desktop.
Save bradfa/874183 to your computer and use it in GitHub Desktop.
Successful CLFS Embedded Boot on BeagleBoard-xM
Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27)
Beagle xM Rev A
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2010.03-dirty (Aug 20 2010 - 20:50:46)
OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz,
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MB
NAND: 0 MiB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Probing for expansion boards, if none are connected you'll see a harmles
s I2C error.
No EEPROM on expansion board
Beagle xM Rev A
Die ID #146000011ff00000015739eb0b021002
Hit any key to stop autoboot: 0
OMAP3 beagleboard.org # setenv console ttyO2,115200n8
OMAP3 beagleboard.org # mmc init ${mmcdev}
mmc1 is available
OMAP3 beagleboard.org # setenv mmcroot /dev/mmcblk0p3 rw
OMAP3 beagleboard.org # run loaduimage
reading uImage
2772524 bytes read
OMAP3 beagleboard.org # run mmcboot
Booting from mmc ...
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Linux-2.6.38-rc8-be20110315-0949
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2772460 Bytes = 2.6 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 2.6.38-rc8-be20110315-09493-gd6f5a6e (clfs-
embedded-arm@bigbox) (gcc version 4.5.2 (GCC) ) #4 Tue Mar 15 06:14:01 E
DT 2011
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10
c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instructi
on cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3630 ES1.1 (l2cache iva sgx neon isp 192mhz_clk )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. T
otal pages: 130048
[ 0.000000] Kernel command line: console=ttyO2,115200n8 mpurate=1000
buddy=none camera=lbcm3m1 vram=12M omapfb.mode=dvi:640x480MR-16@60 omapd
ss.def_disp=dvi root=/dev/mmcblk0p3 rw rootfstype=ext3 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144
bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 b
ytes)
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 508940k/508940k available, 15348k reserved, 0K hi
ghmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xe0800000 - 0xf8000000 ( 376 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc0036000 ( 184 kB)
[ 0.000000] .text : 0xc0036000 - 0xc050d4b8 (4958 kB)
[ 0.000000] .data : 0xc050e000 - 0xc055c640 ( 314 kB)
[ 0.000000] NR_IRQS:409
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 i
nterrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] omap_hwmod: gpt12_fck: missing clockdomain for gpt12_fck.
[ 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, In
c., 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.000762] Calibrating delay loop... 319.32 BogoMIPS (lpj=1249280)
[ 0.150604] pid_max: default: 32768 minimum: 301
[ 0.151000] Security Framework initialized
[ 0.151184] Mount-cache hash table entries: 512
[ 0.154296] CPU: Testing write buffer coherency: ok
[ 0.155059] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5
counters available
[ 0.162750] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for
l3_main
[ 0.162780] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for
l4_core
[ 0.162811] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for
l4_per
[ 0.162811] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for
l4_wkup
[ 0.168670] print_constraints: dummy:
[ 0.169891] NET: Registered protocol family 16
[ 0.170135] GPMC revision 5.0
[ 0.170257] Trying to install interrupt handler for IRQ402
[ 0.170288] Trying to install interrupt handler for IRQ403
[ 0.170288] Trying to install interrupt handler for IRQ404
[ 0.170318] Trying to install interrupt handler for IRQ405
[ 0.170349] Trying to install interrupt handler for IRQ406
[ 0.170349] Trying to install interrupt handler for IRQ407
[ 0.170379] Trying to install interrupt handler for IRQ408
[ 0.170379] Trying to install type control for IRQ409
[ 0.170410] Trying to set irq flags for IRQ409
[ 0.176635] omap_device: omap_gpio.0: new worst case activate latency
0: 91552
[ 0.177185] OMAP GPIO hardware version 2.5
[ 0.177612] OMAP GPIO hardware version 2.5
[ 0.178009] OMAP GPIO hardware version 2.5
[ 0.178375] OMAP GPIO hardware version 2.5
[ 0.178771] OMAP GPIO hardware version 2.5
[ 0.179168] OMAP GPIO hardware version 2.5
[ 0.189300] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.191802] OMAP3 Beagle Rev: xM
[ 0.195495] omap_device: omap_uart.0: new worst case activate latency
0: 30517
[ 0.197662] omap_device: omap_uart.2: new worst case deactivate laten
cy 0: 30517
[ 0.198699] Found NAND on CS0
[ 0.198730] Registering NAND on CS0
[ 0.199707] Unable to get DVI reset GPIO
[ 0.199737] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.213134] ------------[ cut here ]------------
[ 0.213165] WARNING: at arch/arm/mach-omap2/clock.c:438 omap2_clk_swi
tch_mpurate_at_boot+0x7c/0xb0()
[ 0.213195] clock: dpll1_ck: unable to set MPU rate to 1000: -22
[ 0.213226] [<c00413b0>] (unwind_backtrace+0x0/0xe4) from [<c0063498>
] (warn_slowpath_common+0x48/0x60)
[ 0.213287] [<c0063498>] (warn_slowpath_common+0x48/0x60) from [<c006
34f4>] (warn_slowpath_fmt+0x2c/0x3c)
[ 0.213378] [<c00634f4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c001217
4>] (omap2_clk_switch_mpurate_at_boot+0x7c/0xb0)
[ 0.213409] [<c0012174>] (omap2_clk_switch_mpurate_at_boot+0x7c/0xb0)
from [<c00122e0>] (omap3xxx_clk_arch_init+0xc/0x3c)
[ 0.213439] [<c00122e0>] (omap3xxx_clk_arch_init+0xc/0x3c) from [<c00
08c58>] (do_one_initcall+0xbc/0x194)
[ 0.213470] [<c0008c58>] (do_one_initcall+0xbc/0x194) from [<c0008dc8
>] (kernel_init+0x98/0x148)
[ 0.213531] [<c0008dc8>] (kernel_init+0x98/0x148) from [<c003c4ec>] (
kernel_thread_exit+0x0/0x8)
[ 0.213745] ---[ end trace 1b75b31a2719ed1c ]---
[ 0.214233] OMAP DMA hardware revision 5.0
[ 0.272674] bio: create slab <bio-0> at 0
[ 0.279266] SCSI subsystem initialized
[ 0.279754] omap_device: omap2_mcspi.1: new worst case activate laten
cy 0: 30517
[ 0.286560] usbcore: registered new interface driver usbfs
[ 0.287445] usbcore: registered new interface driver hub
[ 0.288177] usbcore: registered new device driver usb
[ 0.290069] omap_device: omap_i2c.1: new worst case activate latency
0: 30517
[ 0.301269] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz
[ 0.309783] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.309906] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.311553] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.321014] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV no
rmal standby
[ 0.323242] print_constraints: VDAC: 1800 mV normal standby
[ 0.325469] print_constraints: VDVI: 1800 mV normal standby
[ 0.327972] print_constraints: VSIM: 1800 <--> 3000 mV at 1800 mV nor
mal standby
[ 0.328552] omap_device: omap_i2c.1: new worst case deactivate latenc
y 0: 30517
[ 0.338806] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 100 kHz
[ 0.343688] Advanced Linux Sound Architecture Driver Version 1.0.23.
[ 0.347198] Switching to clocksource 32k_counter
[ 0.351470] Switched to NOHz mode on CPU #0
[ 0.402160] NET: Registered protocol family 2
[ 0.402648] IP route cache hash table entries: 4096 (order: 2, 16384
bytes)
[ 0.404022] TCP established hash table entries: 16384 (order: 5, 1310
72 bytes)
[ 0.404693] TCP bind hash table entries: 16384 (order: 7, 589824 byte
s)
[ 0.413940] TCP: Hash tables configured (established 16384 bind 16384
)
[ 0.414031] TCP reno registered
[ 0.414062] UDP hash table entries: 256 (order: 2, 20480 bytes)
[ 0.414398] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[ 0.415283] NET: Registered protocol family 1
[ 0.416625] RPC: Registered udp transport module.
[ 0.416625] RPC: Registered tcp transport module.
[ 0.416656] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.422973] PMU: registered new PMU device of type 0
[ 0.430541] VFS: Disk quotas dquot_6.5.2
[ 0.430633] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes
)
[ 0.432312] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.433044] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.434356] JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat
, Inc.
[ 0.436401] msgmni has been set to 994
[ 0.440399] io scheduler noop registered
[ 0.440429] io scheduler deadline registered
[ 0.440521] io scheduler cfq registered (default)
[ 0.441955] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.448028] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMA
P UART0
[ 0.449768] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMA
P UART1
[ 0.450805] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMA
P UART2
[ 1.293762] console [ttyO2] enabled
[ 1.298675] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMA
P UART3
[ 1.337646] brd: module loaded
[ 1.355682] loop: module loaded
[ 1.363494] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.370330] omap2-nand driver initializing
[ 1.375152] No NAND device found.
[ 1.378875] No NAND device found.
[ 1.383239] OneNAND driver initializing
[ 1.392395] usbcore: registered new interface driver cdc_ether
[ 1.399261] usbcore: registered new interface driver smsc95xx
[ 1.407409] usbcore: registered new interface driver uas
[ 1.413055] Initializing USB Mass Storage driver...
[ 1.418762] usbcore: registered new interface driver usb-storage
[ 1.425048] USB Mass Storage support registered.
[ 1.430877] usbcore: registered new interface driver libusual
[ 1.437438] usbcore: registered new interface driver usbtest
[ 1.443420] udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)
[ 1.453002] mousedev: PS/2 mouse device common for all mice
[ 1.461456] input: gpio-keys as /devices/platform/gpio-keys/input/inp
ut0
[ 1.473876] omap_device: omap_i2c.1: new worst case activate latency
0: 61035
[ 1.482177] input: twl4030_pwrbutton as /devices/platform/omap/omap_i
2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 1.497406] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 1.505706] i2c /dev entries driver
[ 1.513427] omap_device: omap_wdt.-1: new worst case activate latency
0: 30517
[ 1.522521] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 1.528900] omap_device: omap_wdt.-1: new worst case deactivate laten
cy 0: 30517
[ 1.537567] twl4030_wdt twl4030_wdt: Failed to register misc device
[ 1.544219] twl4030_wdt: probe of twl4030_wdt failed with error -16
[ 1.551422] cpuidle: using governor ladder
[ 1.555725] cpuidle: using governor menu
[ 1.571136] usbcore: registered new interface driver usbhid
[ 1.577056] usbhid: USB HID core driver
[ 1.583801] usbcore: registered new interface driver snd-usb-audio
[ 1.592010] ALSA device list:
[ 1.595123] No soundcards found.
[ 1.600128] oprofile: using arm/armv7
[ 1.604461] TCP cubic registered
[ 1.607910] Initializing XFRM netlink socket
[ 1.612518] NET: Registered protocol family 17
[ 1.617279] NET: Registered protocol family 15
[ 1.622344] Registering the dns_resolver key type
[ 1.627746] VFP support v0.3: implementor 41 architecture 3 part 30 v
ariant c rev 3
[ 1.645996] Power Management for TI OMAP3.
[ 1.650756] ------------[ cut here ]------------
[ 1.655670] WARNING: at arch/arm/mach-omap2/cpuidle34xx.c:468 omap_in
it_power_states+0x1b4/0x1d8()
[ 1.665039] omap_init_power_states: core off state C7 disabled due to
i583
[ 1.672271] [<c00413b0>] (unwind_backtrace+0x0/0xe4) from [<c0063498>
] (warn_slowpath_common+0x48/0x60)
[ 1.682159] [<c0063498>] (warn_slowpath_common+0x48/0x60) from [<c006
34f4>] (warn_slowpath_fmt+0x2c/0x3c)
[ 1.692230] [<c00634f4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c004df4
4>] (omap_init_power_states+0x1b4/0x1d8)
[ 1.702667] [<c004df44>] (omap_init_power_states+0x1b4/0x1d8) from [<
c0011c44>] (omap3_idle_init+0x5c/0x184)
[ 1.712982] [<c0011c44>] (omap3_idle_init+0x5c/0x184) from [<c00111e0
>] (omap3_pm_init+0x528/0x6bc)
[ 1.722473] [<c00111e0>] (omap3_pm_init+0x528/0x6bc) from [<c0008c58>
] (do_one_initcall+0xbc/0x194)
[ 1.731964] [<c0008c58>] (do_one_initcall+0xbc/0x194) from [<c0008dc8
>] (kernel_init+0x98/0x148)
[ 1.741180] [<c0008dc8>] (kernel_init+0x98/0x148) from [<c003c4ec>] (
kernel_thread_exit+0x0/0x8)
[ 1.750366] ---[ end trace 1b75b31a2719ed1d ]---
[ 1.788635] clock: disabling unused clocks to save power
[ 1.798980] regulator_init_complete: VDVI: incomplete constraints, le
aving on
[ 1.806854] regulator_init_complete: VDAC: incomplete constraints, le
aving on
[ 1.815673] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:10
:46 UTC (946685446)
[ 1.826965] Waiting for root device /dev/mmcblk0p3...
[ 1.942962] mmc0: host does not support reading read-only switch. ass
uming write-enable.
[ 1.954101] mmc0: new high speed SDHC card at address 1234
[ 1.962768] mmcblk0: mmc0:1234 SA04G 3.67 GiB
[ 1.973541] mmcblk0: p1 p2 p3
[ 2.061279] EXT3-fs: barriers not enabled
[ 6.317932] kjournald starting. Commit interval 5 seconds
[ 7.024475] EXT3-fs (mmcblk0p3): using internal journal
[ 7.029998] EXT3-fs (mmcblk0p3): recovery complete
[ 7.038909] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data
mode
[ 7.046569] VFS: Mounted root (ext3 filesystem) on device 179:3.
[ 7.053070] Freeing init memory: 184K
init started: BusyBox v1.17.3 (2011-02-27 14:07:01 EST)
Starting mdev: OK
Mounting devpts: OK
Starting fsck for local filesystems.
Checking local filesystems: OK
Enabling swap space: OK
Remounting root rw: OK
Setting hostname: OK
Cleaning up system: OK
Setting up interface lo: OK
Running start scripts.
Starting syslogd: OK
Starting klogd: OK
/etc/rc.d/start/S09bridge: .: line 9: can't open '/etc/network.conf'
/etc/rc.d/start/S10network: .: line 9: can't open '/etc/network.conf'
beagle-xm login: root
~ # uname -a
Linux beagle-xm 2.6.38-rc8-be20110315-09493-gd6f5a6e #4 Tue Mar 15 06:14
:01 EDT 2011 armv7l GNU/Linux
~ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment