[OE-core] [PATCH 3/8] kernel.bbclass: move uboot image generation to a specific class

Andrea Adami andrea.adami at gmail.com
Sat Aug 20 22:14:46 UTC 2011


On 8/20/11, Bruce Ashfield <bruce.ashfield at gmail.com> wrote:
> On Sat, Aug 20, 2011 at 1:12 AM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
>> On Sat, Aug 20, 2011 at 02:07, Bruce Ashfield <bruce.ashfield at gmail.com>
>> wrote:
>>> These aren't equivalent. We should maintain what is already in
>>> kernel.bbclass
>>> and just move it over. If there already a uImage in the build tree,
>>> there's no
>>> need to run all the objcopy "mess" below. I found that it created useless
>>> binary
>>> blobs forme in the past.
>>
>> In this case can you take a look on this and also fix it in meta-oe?
>> The class had some differences and I do think we ought to avoid those
>> as much as possible since it only makes debugging harder.
>
> I'm not a meta-oe user. I can look into this, but it will be some time,
> since
> my plate is full with yocto 1.1 release items. I just wanted to point out
> that
> this patch isn't just a movement of code and can't go in as-is, without a
> good
> reason.


There are more differences than this:

+uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C none -a
${UBOOT_LOADADDRESS} -
-uboot-mkimage -A ${ARCH} -O linux -T kernel -C gzip -a ${UBOOT_ENTRYPOINT}

It looks to me the line should set -a ${UBOOT_LOADADDRESS}

Regards

Andrea

>
> Cheers,
>
> Bruce
>
>>
>> --
>> Otavio Salvador                             O.S. Systems
>> E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
>> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list