[meta-freescale] [PATCH 1/5] mxs-base.inc: Consolidate IMAGE_FSTYPES definition

Otavio Salvador otavio at ossystems.com.br
Tue Sep 22 05:46:48 PDT 2015


The IMAGE_FSTYPES should have a default that uses the SD Card class
for image generation, using this all evaluation boards work out of box
using the provided .sdcard image.

The duplicated definition has been removed, affected machines are:

 - imx23evk
 - imx28evk

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 conf/machine/imx23evk.conf        | 3 ---
 conf/machine/imx28evk.conf        | 3 ---
 conf/machine/include/mxs-base.inc | 3 +++
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/conf/machine/imx23evk.conf b/conf/machine/imx23evk.conf
index ecaef9a..1d5eaef 100644
--- a/conf/machine/imx23evk.conf
+++ b/conf/machine/imx23evk.conf
@@ -13,7 +13,4 @@ UBOOT_MACHINE = "mx23evk_config"
 
 KERNEL_DEVICETREE = "imx23-evk.dtb"
 
-SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
-IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard"
-
 MACHINE_FEATURES = "apm usbgadget usbhost vfat touchscreen"
diff --git a/conf/machine/imx28evk.conf b/conf/machine/imx28evk.conf
index 86123c3..5a55d72 100644
--- a/conf/machine/imx28evk.conf
+++ b/conf/machine/imx28evk.conf
@@ -17,9 +17,6 @@ UBOOT_CONFIG[sd-auart-console] = "mx28evk_auart_console_config,sdcard"
 
 KERNEL_DEVICETREE = "imx28-evk.dtb"
 
-SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
-IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard"
-
 SERIAL_CONSOLE = "115200 ttyAMA0"
 
 MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
index d576dd3..b32e926 100644
--- a/conf/machine/include/mxs-base.inc
+++ b/conf/machine/include/mxs-base.inc
@@ -35,5 +35,8 @@ SERIAL_CONSOLE = "115200 ttyAMA0"
 
 KERNEL_IMAGETYPE = "zImage"
 
+SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
+IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard"
+
 # Add the ability to specify _imx machines
 MACHINEOVERRIDES =. "imx:"
-- 
2.5.3



More information about the meta-freescale mailing list