[meta-freescale] [PATCH 3/3][meta-fsl-arm] mxs: Convert to zImage

Fabio Estevam fabio.estevam at freescale.com
Mon Nov 10 06:13:19 PST 2014


U-boot mainline uses zImage as the image type, so let's use zImage by default
in mxs-base.inc.

Boards that use uImage can still override it by passing:
KERNEL_IMAGETYPE = "uImage"

in their .conf file.

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 conf/machine/imx23evk.conf        | 1 -
 conf/machine/imx28evk.conf        | 1 -
 conf/machine/include/mxs-base.inc | 2 ++
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/machine/imx23evk.conf b/conf/machine/imx23evk.conf
index 28dede7..5b79690 100644
--- a/conf/machine/imx23evk.conf
+++ b/conf/machine/imx23evk.conf
@@ -11,7 +11,6 @@ SOC_FAMILY = "mxs:mx23"
 IMXBOOTLETS_MACHINE = "stmp378x_dev"
 UBOOT_MACHINE = "mx23evk_config"
 
-KERNEL_IMAGETYPE = "zImage"
 KERNEL_DEVICETREE = "imx23-evk.dtb"
 
 SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
diff --git a/conf/machine/imx28evk.conf b/conf/machine/imx28evk.conf
index e633487..86123c3 100644
--- a/conf/machine/imx28evk.conf
+++ b/conf/machine/imx28evk.conf
@@ -15,7 +15,6 @@ UBOOT_CONFIG[sd] = "mx28evk_config,sdcard"
 UBOOT_CONFIG[nand] = "mx28evk_nand_config,ubifs"
 UBOOT_CONFIG[sd-auart-console] = "mx28evk_auart_console_config,sdcard"
 
-KERNEL_IMAGETYPE = "zImage"
 KERNEL_DEVICETREE = "imx28-evk.dtb"
 
 SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
index a0fc0d7..40cfa0f 100644
--- a/conf/machine/include/mxs-base.inc
+++ b/conf/machine/include/mxs-base.inc
@@ -41,3 +41,5 @@ INHERIT += "fsl-dynamic-packagearch"
 MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
 
 SERIAL_CONSOLE = "115200 ttyAMA0"
+
+KERNEL_IMAGETYPE = "zImage"
-- 
1.9.1



More information about the meta-freescale mailing list