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

Bruce Ashfield bruce.ashfield at windriver.com
Tue Dec 9 10:13:14 PST 2014


On 12/09/2014 12:59 PM, Maciek Borzecki wrote:
> On wto, 2014-12-09 at 10:51 -0500, Bruce Ashfield wrote:
>> On 12/09/2014 10:44 AM, 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.
>>
>> poky's README.hardware should be updated as well. When we wrote the
>> instructions
>> (and tested on 3.14) the uImage worked, so that is what is referenced
>> in the instructions :)
>
> Actually README.hardware section about BBB can be updated with info
> about wic. Starting with 1.7 working SD card images for BBB can be built
> out of the box, without going through manual partitiong, untarring,
> etc.
>

I wouldn't remove the raw commands for wic-only instructions.  Since there
are multiple ways to do it .. they can all be documented.

Bruce

> AFAIK the same applies to x86 images, though Tom would be the best
> person to comment here.
>
>
>> Bruce
>>
>>>
>>> Signed-off-by: Maciej Borzecki <maciej.borzecki at open-rnd.pl>
>>> Signed-off-by: Maciek Borzecki <maciek.borzecki at gmail.com>
>>> ---
>>>    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}"
>>>
>>>
>>
>
>




More information about the yocto mailing list