[meta-freescale] [PATCH 3/5] imx-base.inc, mxs-base.inc: Change default image to sdcard.gz

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


The sdcard image can be compressed for easier download and transfer
between machine when doing the development. For it, we can change it
for sdcard.gz so the image generation backend handles the compression
steps.

While on that, we drop the ext3 explicit definition as it is also
included by the backend code automatically.

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

 conf/machine/include/imx-base.inc | 2 +-
 conf/machine/include/mxs-base.inc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index d2075f1..fe12455 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -127,7 +127,7 @@ IMX_DEFAULT_KERNEL_mx6ul = "linux-imx"
 PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
 
 SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
-IMAGE_FSTYPES ?= "ext3 sdcard"
+IMAGE_FSTYPES ?= "sdcard.gz"
 
 SERIAL_CONSOLE = "115200 ttymxc0"
 
diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
index 38450be..48c2bf4 100644
--- a/conf/machine/include/mxs-base.inc
+++ b/conf/machine/include/mxs-base.inc
@@ -36,7 +36,7 @@ SERIAL_CONSOLE = "115200 ttyAMA0"
 KERNEL_IMAGETYPE = "zImage"
 
 SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
-IMAGE_FSTYPES ?= "ext3 uboot.mxsboot-sdcard sdcard"
+IMAGE_FSTYPES ?= "uboot.mxsboot-sdcard sdcard.gz"
 
 # Add the ability to specify _imx machines
 MACHINEOVERRIDES =. "imx:"
-- 
2.5.3



More information about the meta-freescale mailing list