[U-Boot-Users] boot kernel hanags with u-boot

Andy Fleming afleming at gmail.com
Mon Aug 6 07:25:25 CEST 2007


On 7/23/07, Detlev Zundel <dzu at denx.de> wrote:
> Hi Ramesh,
>
> >    I have booted my kernel (montavista) using flattened device tree that i
> > supply as third argument in bootm command through U-boot .But kernel hangs
> > after uncompressing the kernel and ramdisk image and i have attached the screen
> > shot as attachment , of it for your reference.Infact ihave checked IMAP_ADDR
> > and CFG_IMMR both are same in my case.Can anyone help me out where exactly i am
> > going wrong.I could be of great help if anyone reply me ASAP as we already
> > running out of time.
>

You need a patch to u-boot to fix initrd/fdt loading.  As a
workaround, you can try:
setenv initrd_high 0x1000000

This will restrict the ramdisk to the first 16M, and thus the flat
device tree, too.  You can play around with that number.  You want to
make sure that the start of the initrd image is within the first 16M
(address < 16M) of memory. If you can't do that, you'll need to grab
the patch to fix that bug.

It can be found here:
http://opensource.freescale.com/pub/scm/u-boot-85xx.git at the top of
the tree.  You can use gitweb to grab it, too:

http://opensource.freescale.com/git?p=u-boot-85xx.git;a=commitdiff;h=41fcfecbd651acd91e7fa6acfd8598c26bdf445b

Andy




More information about the U-Boot mailing list