[beagleboard] dtb file causes boot failure

2014-03-11 Thread Brett
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

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] dtb file causes boot failure

2014-03-11 Thread Robert Nelson
On Tue, Mar 11, 2014 at 4:33 PM, Brett  wrote:
> 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
> 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.

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

https://github.com/RobertCNelson/Bootloader-Builder
&
https://github.com/eewiki/u-boot-patches

> 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!

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] dtb file causes boot failure

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

On Tuesday, March 11, 2014 4:14:46 PM UTC-6, RobertCNelson wrote:
>
> On Tue, Mar 11, 2014 at 4:33 PM, Brett > 
> wrote: 
> > 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 
> > 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. 
>
> All the u-boot patches can be found in the history of: 
>
> https://github.com/RobertCNelson/Bootloader-Builder 
> &  
> https://github.com/eewiki/u-boot-patches 
>
> > 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! 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.