public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@sunsite•dk>
To: "Günter Leonhardt" <Guenter.Leonhardt@men•de>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: U-Boot image
Date: Wed, 04 Mar 2009 17:52:15 +0100	[thread overview]
Message-ID: <87fxhtgri8.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <D0B748CCD5DF144CA5C56A9D860A31341DE5C9@men-exch1.intra.men.de> ("Günter Leonhardt"'s message of "Tue\, 3 Mar 2009 14\:11\:36 +0100")

>>>>> "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

      reply	other threads:[~2009-03-04 17:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 13:11 U-Boot image Günter Leonhardt
2009-03-04 16:52 ` Peter Korsgaard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fxhtgri8.fsf@macbook.be.48ers.dk \
    --to=jacmet@sunsite$(echo .)dk \
    --cc=Guenter.Leonhardt@men$(echo .)de \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox