dtb file causes boot failure

I am having trouble getting my Beagleboard-xm to boot when the omap3-beagle-xm.dtb is loaded by u-boot

Best I can tell, u-boot loads the kernel and the dtb file successfully but boot locks up with “Waiting for root device /dev/mmcblk0p2…”

There are a number of things in the boot log that look unhealthy however directly relating to the SD card I found the following:

[ 1.565521] omap_hsmmc mmc.20: unable to select pin group
[ 1.571563] omap_hsmmc mmc.20: Failed to get debounce clk
[ 1.577270] /ocp/mmc@4809c000: can’t find DMA channel
[ 1.582611] omap_hsmmc mmc.20: unable to obtain RX DMA engine channel 62

If I modify my uEnv.txt to skip loading the dtb file everything appears to load up properly. What can I do to troubleshoot the dtb?

I need SGX drivers so I am stuck with the following versions:
I am using the 3.7.x kernel from https://github.com/RobertCNelson/stable-kernel
Ubuntu 11.10 (no longer available to download from RCN’s file server)
u-boot 2014.1 from http://eewiki.net/display/linuxonarm/BeagleBoard#BeagleBoard-Bootloader:U-Boot

About the bootloader:
Ubuntu 11.10 comes with 2013.7 but there is something wrong with the uEnv.txt and the dtb cannot be loaded and falls back on loading the kernel without it.
I need to rebuild u-boot to remove the 2 second boot delay and kernel validation(boot speed is requirement of the project).

The patches from RCN for version 2013.7 fail to apply properly so I am using version 2014.1 which appears to be functioning properly.

full boot log:
http://pastebin.com/NbsM8gq0

uEnv.txt(dtb load disabled):
http://pastebin.com/NWuYSYd8

I’ve been banging my head against the wall for about a week now on this. Any ideas as to what I could try would be awesome!

Thanks

I am having trouble getting my Beagleboard-xm to boot when the
omap3-beagle-xm.dtb is loaded by u-boot

Best I can tell, u-boot loads the kernel and the dtb file successfully but
boot locks up with "Waiting for root device /dev/mmcblk0p2..."

There are a number of things in the boot log that look unhealthy however
directly relating to the SD card I found the following:

[ 1.565521] omap_hsmmc mmc.20: unable to select pin group
[ 1.571563] omap_hsmmc mmc.20: Failed to get debounce clk
[ 1.577270] /ocp/mmc@4809c000: can't find DMA channel
[ 1.582611] omap_hsmmc mmc.20: unable to obtain RX DMA engine channel 62

If I modify my uEnv.txt to skip loading the dtb file everything appears to
load up properly. What can I do to troubleshoot the dtb?

Well there's nothing to troubleshoot in "v3.7.x" for dtb booting,
device tree support sucked on omap3 back then and almost nothing
worked. It wasn't till v3.11.x that device tree booting on the omap3
(beagle-xm) became end user usable.

So with v3.7.x use the old board file, like you did in the modified uEnv.txt.

I need SGX drivers so I am stuck with the following versions:
I am using the 3.7.x kernel from
GitHub - RobertCNelson/stable-kernel
Ubuntu 11.10 (no longer available to download from RCN's file server)
u-boot 2014.1 from
http://eewiki.net/display/linuxonarm/BeagleBoard#BeagleBoard-Bootloader:U-Boot

About the bootloader:
Ubuntu 11.10 comes with 2013.7 but there is something wrong with the
uEnv.txt and the dtb cannot be loaded and falls back on loading the kernel
without it.
I need to rebuild u-boot to remove the 2 second boot delay and kernel
validation(boot speed is requirement of the project).
The patches from RCN for version 2013.7 fail to apply properly so I am using
version 2014.1 which appears to be functioning properly.

All the u-boot patches can be found in the history of:

&

full boot log:
BBXM bootlog - Pastebin.com

uEnv.txt(dtb load disabled):
bbxm uEnv.txt - Pastebin.com

I've been banging my head against the wall for about a week now on this. Any
ideas as to what I could try would be awesome!

Regards,

Makes sense, thanks very much for commenting on this. I will keep my uEnv.txt the way it is and ignore the dtb files.