[U-Boot] How to use external fdt file with kernel+initramfs uimage?

Howard, Marc Marc.Howard at KLA-Tencor.com
Thu Feb 9 23:37:20 CET 2012


Hi,

I can boot my (powerpc 440gx) board as a "triple" uImage (kernel +
external_initramfs + fdt) using tftp.

(external_initramfs here means an initramfs gzip'd cpio file archive
that is not linked into the kernel as one file.)

I can also load the individual components and boot via bootm.

What I can't get to work is a "double" uImage (kernel +
external_initramfs) and external fdt.  "bootm uImage_addr - fdt_addr"
panics when it attempts to mount the initramfs filesystem.  I assume
that is because bootm isn't passing the address of the initramfs to the
kernel.

So, is there a way to do this?  Is there a way to tftp the uImage and
then obtain pointers to the two file components so that bootm could be
supplied the address of the initramfs blob?

Thanks,

Marc Howard


More information about the U-Boot mailing list