[poky] [PATCH 3/4] beagleboard: upgrade the kernel to 3.10.x
Bruce Ashfield
bruce.ashfield at windriver.com
Fri Sep 6 13:58:36 PDT 2013
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.
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"
--
1.7.10.4
More information about the poky
mailing list