Re: U-Boot image

2009-03-04 Thread Peter Korsgaard
 Günter == Günter Leonhardt guenter.leonha...@men.de writes:

 Günter Hello,

 Günter I'am looking for an image to boot a embedded device with a
 Günter single image.

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

 Günter Now I'am creating the image by hand with mkimage:
 Günter mkimage -A ppc -n F302 -O linux \
 Günter-T multi -C gzip -a 0x0 -e 0x0 \
 Günter -d vmlinux.bin.gz:initramfs_data.cpio.gz:f302.dtb \
 Günter 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ünter This file is bootable, but I don't understand how a standard
 Günter file has to be booted.

With an external dtb / initrd.

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

Have a look at Documentation/powerpc/bootwrapper.txt

-- 
Bye, Peter Korsgaard
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

U-Boot image

2009-03-03 Thread Günter Leonhardt
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ünter






___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev