[poky] [PATCH 3/4] beagleboard: upgrade the kernel to 3.10.x

Bruce Ashfield bruce.ashfield at windriver.com
Tue Sep 10 01:16:19 PDT 2013


On 13-09-10 04:08 AM, Anders Darander wrote:
> * Bruce Ashfield <bruce.ashfield at windriver.com> [130906 22:59]:
>> From: Liming Wang <liming.wang at windriver.com>
>
>> In 3.10.x linux kernel, uImage can't be compiled by default. But zImage
>> has been supported by the latest u-boot, so use zImage as the default kernel
>> image file. In u-boot command, use "bootz", instead of "bootm", to boot the kernel.
>
> NAK. (At least based on the info given above regarding the uImage to
> zImage transfer).
>
> I missed this patch earlier...
>
> What's the issue with uImage on 3.10.x?
> I'm running a kernel.org 3.10.x using linux-yocto-custom just fine here
> (although for another board).
>
> I suspect the issue (that I guess Liming had), is due to the powerpc
> being mixed into his build. (Bruce replied on the oe-core list to a
> path which corrected the path to the DTS).

No, that wasn't the issue. uImage requires a LOADADDR in many cases and
that isn't currently encoded in the machine configs.

zImage works fine, want to expand our coverage with the reference boards,
so no, there's no NAK of this. It's fine as is.

Other layers and BSPs are free to use uImage, just as this reference
is free to use the zImage.

Bruce

>
> Cheers,
> Anders
>
>> And add device tree files to support dtb in latest kernel.
>
>> Signed-off-by: Liming Wang <liming.wang at windriver.com>
>> Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
>> ---
>>   meta-yocto-bsp/conf/machine/beagleboard.conf |    5 +++--
>>   1 file changed, 3 insertions(+), 2 deletions(-)
>
>> diff --git a/meta-yocto-bsp/conf/machine/beagleboard.conf b/meta-yocto-bsp/conf/machine/beagleboard.conf
>> index 5f4c55a..dd0c222 100644
>> --- a/meta-yocto-bsp/conf/machine/beagleboard.conf
>> +++ b/meta-yocto-bsp/conf/machine/beagleboard.conf
>> @@ -29,9 +29,10 @@ EXTRA_IMAGECMD_jffs2 = "-lnp "
>>   SERIAL_CONSOLE = "115200 ttyO2"
>
>>   PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
>> -PREFERRED_VERSION_linux-yocto ?= "3.4%"
>> +PREFERRED_VERSION_linux-yocto ?= "3.10%"
>
>> -KERNEL_IMAGETYPE = "uImage"
>> +KERNEL_IMAGETYPE = "zImage"
>> +KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/omap3-beagle.dts ${S}/arch/powerpc/boot/dts/omap3-beagle-xm.dts"
>
>>   SPL_BINARY = "MLO"
>>   UBOOT_SUFFIX = "img"




More information about the poky mailing list