U-Boot image

2 messages, 2 authors, 2009-03-04 · open the first message on its own page

U-Boot image

From: Günter Leonhardt <hidden>
Date: 2009-03-03 13:11:39

Hello,
I'am looking for an image to boot a embedded device with a single image.

I though the generated uImage in arch/powerpc/boot should work, but =
u-boot cannot but this,
because the addresses of initrd and dtb not found.

Now I'am creating the image by hand with mkimage:
mkimage -A ppc -n F302 -O linux \
		-T multi -C gzip -a 0x0 -e 0x0 \
            -d vmlinux.bin.gz:initramfs_data.cpio.gz:f302.dtb \
            uImage

This file is bootable, but I don't understand how a standard file has to =
be booted.

I read in th u-boot documentation about a new fileformat which is build =
with the dtc.

Can someone explain me the different fileforamts for booting a powerpc =
with u-boot?
Which is the simplest to use?

Shold I reconfigure u-boot?

Thanks for help
G=FCnter

Re: U-Boot image

From: Peter Korsgaard <jacmet@sunsite.dk>
Date: 2009-03-04 17:16:39

quoted
quoted
quoted
quoted
"G=C3=BCnter" =3D=3D G=C3=BCnter Leonhardt [off-list ref]=
 writes:

 G=C3=BCnter> Hello,

 G=C3=BCnter> I'am looking for an image to boot a embedded device with a
 G=C3=BCnter> single image.

 G=C3=BCnter> I though the generated uImage in arch/powerpc/boot should
 G=C3=BCnter> work, but u-boot cannot but this, because the addresses of
 G=C3=BCnter> initrd and dtb not found.

 G=C3=BCnter> Now I'am creating the image by hand with mkimage:
 G=C3=BCnter> mkimage -A ppc -n F302 -O linux \
 G=C3=BCnter> 		-T multi -C gzip -a 0x0 -e 0x0 \
 G=C3=BCnter>             -d vmlinux.bin.gz:initramfs_data.cpio.gz:f302.dtb=
 \
 G=C3=BCnter>             uImage

I posted a patch to add support for multi image uImages to the kernel
makefiles, E.G. uImage.<platform> some time ago. It got nack'ed by
wdenx though as he wants people to use the new fitimage stuff in
u-boot instead. Anyway, it might be useful to you:

http://peter.korsgaard.com/patches/linux/bootwrapper-uboot-multi-2.patch

To use it, add:

image-$(CONFIG_<your-platform>) + uImage.<your-platform>

to arch/powerpc/boot/Makefile.

 G=C3=BCnter> This file is bootable, but I don't understand how a standard
 G=C3=BCnter> file has to be booted.

With an external dtb / initrd.

 G=C3=BCnter> Can someone explain me the different fileforamts for booting
 G=C3=BCnter> a powerpc with u-boot?  Which is the simplest to use?

Have a look at Documentation/powerpc/bootwrapper.txt

--=20
Bye, Peter Korsgaard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help