[oe] [RFC] Fix uImage generation in way compatible with kernel.bbclass

pHilipp Zabel philipp.zabel at gmail.com
Wed Nov 28 14:49:28 UTC 2007


On Nov 28, 2007 2:43 PM, Koen Kooi <k.kooi at student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Graeme Gregory schreef:
>
> > I would like to do the attached patch to linux.inc to change uImage
> > generation so it is compatible with the way kernel.bbclass does things.
> >
> > This means the uImage ends up in kernel-image not some random file
> > called uImage but not really a uImage.
> >
> > koen said the do_install_prepend stuff was to work around vendor bugs
> > and is no longer needed in this file.
>
> Looks good, except for these bits of collateral damage:
>
> - -        if test -e arch/${ARCH}/boot/images/uImage ; then
> - -             ln -f arch/${ARCH}/boot/images/uImage
> arch/${ARCH}/boot/uImage
>
> The above is needed for various powerpc/ppc boards, and the below is
> needed for at least blackfin:
>
> - -        if test -e arch/${ARCH}/kernel/vmlinux.lds ; then
> - -             ln -f arch/${ARCH}/kernel/vmlinux.lds
> arch/${ARCH}/boot/vmlinux

The blackfin patches overwrite the kernel linker script with the
binary kernel image?!

> The linux kernel doesn't seem to have a strict policy on image placement
> and various vendor patches aren't exactly helping the situation :/
>
> regards,
>
> Koen
>
> - --
> koen at dominion.kabel.utwente.nl will go go away in december 2007, please
> use k.kooi at student.utwente.nl instead.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFHTXB+MkyGM64RGpERAnEUAJ9pzhdplIFn1idz+r9u4m7VbT93YgCgjDpk
> VX+OKjBT3o1A03PyurqBI+g=
> =nfJA
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

cheers
Philipp




More information about the Openembedded-devel mailing list