public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* U-Boot image
@ 2009-03-03 13:11 Günter Leonhardt
  2009-03-04 16:52 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Günter Leonhardt @ 2009-03-03 13:11 UTC (permalink / raw)
  To: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: U-Boot image
  2009-03-03 13:11 U-Boot image Günter Leonhardt
@ 2009-03-04 16:52 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-03-04 16:52 UTC (permalink / raw)
  To: Günter Leonhardt; +Cc: linuxppc-dev

>>>>> "G=C3=BCnter" =3D=3D G=C3=BCnter Leonhardt <Guenter.Leonhardt@men•de>=
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-04 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03 13:11 U-Boot image Günter Leonhardt
2009-03-04 16:52 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox