Hi,
I also don’t get the fdt to work with a beagle-xm as well.
u-boot:
U-Boot SPL 2012.04.01-mainline-jenkinsuser1-v2012.04.01 (Jul 01 2012 - 16:00:04)
U-Boot 2012.04.01-mainline-jenkinsuser1-v2012.04.01 (Jul 01 2012 - 16:00:04)
kernel (just the config is custom - it’s a 3.4.4. stable kernel):
root@generic-armv7a:~# cat /proc/version
Linux version 3.4.4-custom-jenkinsuser1 (jenkinsuser1@jenkins-slave-1) (gcc version 4.6.4 20120303 (prerelease) (GCC) ) #1 PREEMPT Sun Jul 1 21:02:35 EEST 2012
Note that I’m able to boot from /dev/mmcblk0p2
root@generic-armv7a:~# cat /proc/cmdline
console=ttyO2,115200n8 mpurate=auto buddy=none camera=none vram=12M omapfb.mode=dvi:640x480MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
That’s how I try to use the fdt:
OMAP3 beagleboard.org # setenv fdtargs ‘mmc rescan 0; ext2load mmc 0:2 0x82000000 /boot/uImage; ext2load mmc 0:2 0x80000000 /boot/omap3-beagle.dtb’
OMAP3 beagleboard.org # run fdtargs
Loading file “/boot/uImage” from mmc device 0:2 (xxa2)
3239720 bytes read
Loading file “/boot/omap3-beagle.dtb” from mmc device 0:2 (xxa2)
1732 bytes read
OMAP3 beagleboard.org # setenv bootargs ‘console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootdelay=2 rootfstype=ext3 rw’
OMAP3 beagleboard.org # setenv bootcmd ‘fdt addr 0x80000000; fdt resize; bootm 0x82000000 - 0x80000000’
OMAP3 beagleboard.org # boot
Booting kernel from Legacy Image at 82000000 …
Image Name: Linux-3.4.4-custom-jenkinsuser1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3239656 Bytes = 3.1 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK
Flattened Device Tree blob at 80000000
Booting using the fdt blob at 0x80000000
Loading Kernel Image … OK
OK
reserving fdt memory region: addr=80000000 size=1000
Loading Device Tree to 8fffc000, end 8fffffff … OK
Starting kernel …
Uncompressing Linux… done, booting the kernel.
Booting Linux on physical CPU 0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 3.4.4-custom-jenkinsuser1 (jenkinsuser1@jenkins-slave-1) (gcc version 4.6.4 20120303 (prerelease) (GCC) ) #1 PREEMPT Sun Jul 1 21:02:35 EEST 2012
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Generic OMAP3 (Flattened Device Tree), model: TI OMAP3 BeagleBoard
Reserving 14680064 bytes SDRAM for VRAM
Memory policy: ECC disabled, Data cache writeback
OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
sr_init: platform driver register failed for SR
SmartReflex Class3 initialized
clock: disabling unused clocks to save power
registered taskstats version 1
omapfb omapfb: no displays
omapfb omapfb: failed to setup omapfb
omapfb: probe of omapfb failed with error -22
console [netcon0] enabled
netconsole: network logging started
twl_rtc twl_rtc: setting system clock to 2012-05-07 20:58:45 UTC (1336424325)
ALSA device list:
No soundcards found.
Waiting 2sec before mounting root device…
VFS: Cannot open root device “mmcblk0p2” or unknown-block(0,0): error -6
Please append a correct “root=” boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[] (unwind_backtrace+0x0/0xec) from [] (dump_stack+0x20/0x24)
[] (dump_stack+0x20/0x24) from [] (panic+0x88/0x1c4)
[] (panic+0x88/0x1c4) from [] (mount_block_root+0x1e0/0x224)
[] (mount_block_root+0x1e0/0x224) from [] (mount_root+0xf0/0x110)
[] (mount_root+0xf0/0x110) from [] (prepare_namespace+0x168/0x1c8)
[] (prepare_namespace+0x168/0x1c8) from [] (kernel_init+0x1c0/0x200)
[] (kernel_init+0x1c0/0x200) from [] (kernel_thread_exit+0x0/0x8)
Looks like somehow on the way we lost the capability to boot from /dev/mmcblk0p2.
Did anyhow have success with a fdt on a beagle-xm and a recent mainline kernel?
Regards,
Robert