[yocto] [meta-yocto-bsp][PATCH] beaglebone.conf: update KERNEL_IMAGETYPE to match u-boot

Bruce Ashfield bruce.ashfield at windriver.com
Thu Dec 11 04:14:18 PST 2014


On 12/11/2014 07:05 AM, Maciek Borzecki wrote:
> On wto, 2014-12-09 at 10:50 -0500, Denys Dmytriyenko wrote:
>> On Tue, Dec 09, 2014 at 04:44:31PM +0100, Maciej Borzecki wrote:
>>> U-boot 2014.07 in Poky expects a zImage kernel image, thus a build done with
>>> current machien config will not be directly useable. Update machine config to
>>> produce a zImage.
>>>
>>> Signed-off-by: Maciej Borzecki <maciej.borzecki at open-rnd.pl>
>>> Signed-off-by: Maciek Borzecki <maciek.borzecki at gmail.com>
>>
>> Acked-by: Denys Dmytriyenko <denys at ti.com>
>
> Can we pick that up for master?

We really should spend the few minutes and make sure the zImage is updated
in the README as well. Since with this change, we are knowingly making
them invalid (I admit they don't work now if you can't boot the uImage,
but we shouldn't make it worse).

Bruce

>>
>> This was sitting in my tree pending fixed update to U-boot 2014.10...
>>
>>> ---
>>>   meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/meta-yocto-bsp/conf/machine/beaglebone.conf b/meta-yocto-bsp/conf/machine/beaglebone.conf
>>> index a316207..fb0189d 100644
>>> --- a/meta-yocto-bsp/conf/machine/beaglebone.conf
>>> +++ b/meta-yocto-bsp/conf/machine/beaglebone.conf
>>> @@ -24,7 +24,7 @@ SERIAL_CONSOLE = "115200 ttyO0"
>>>   PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
>>>   PREFERRED_VERSION_linux-yocto ?= "3.14%"
>>>
>>> -KERNEL_IMAGETYPE = "uImage"
>>> +KERNEL_IMAGETYPE = "zImage"
>>>   KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"
>>>   KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
>>>
>>> --
>>> 1.9.3
>>>
>
>




More information about the yocto mailing list