[meta-freescale] [meta-fsl-arm-extra][PATCH v2 4/9] toradex machine conf: build sdcard and tar.bz2 image

Max Krummenacher max.oss.09 at gmail.com
Thu Jul 21 11:07:44 PDT 2016


This helps deploying the images:

- The U-Boot booting from on module mass storage is able to directly boot the
  sdcard image.

- The tar.bz2 rootfs can easily be used to update on module mass storage.

Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
Acked-by: Stefan Agner <stefan.agner at toradex.com>

---
 conf/machine/apalis-imx6.conf  | 2 ++
 conf/machine/colibri-imx6.conf | 2 ++
 conf/machine/colibri-vf.conf   | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/conf/machine/apalis-imx6.conf b/conf/machine/apalis-imx6.conf
index e77b1de..553c729 100644
--- a/conf/machine/apalis-imx6.conf
+++ b/conf/machine/apalis-imx6.conf
@@ -25,6 +25,8 @@ UBOOT_CONFIG ??= "it"
 UBOOT_CONFIG[com] = "apalis_imx6_defconfig"
 UBOOT_CONFIG[it] = "apalis_imx6_it_defconfig"
 
+IMAGE_FSTYPES = "sdcard.gz tar.xz"
+
 SERIAL_CONSOLE ?= "115200 ttymxc0"
 
 MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g pci"
diff --git a/conf/machine/colibri-imx6.conf b/conf/machine/colibri-imx6.conf
index 4342f0f..807cb77 100644
--- a/conf/machine/colibri-imx6.conf
+++ b/conf/machine/colibri-imx6.conf
@@ -17,6 +17,8 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex"
 PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex"
 UBOOT_MACHINE ?= "colibri_imx6_defconfig"
 
+IMAGE_FSTYPES = "sdcard.gz tar.xz"
+
 SERIAL_CONSOLE ?= "115200 ttymxc0"
 
 MACHINE_FEATURES += "screen usbgadget usbhost vfat ext2 alsa touchscreen wifi bluetooth 3g"
diff --git a/conf/machine/colibri-vf.conf b/conf/machine/colibri-vf.conf
index b224418..6d72d19 100644
--- a/conf/machine/colibri-vf.conf
+++ b/conf/machine/colibri-vf.conf
@@ -27,7 +27,7 @@ UBOOT_BINARY ?= "u-boot-nand.imx"
 UBOOT_MAKE_TARGET ?= "u-boot-nand.imx"
 UBOOT_MACHINE ?= "colibri_vf_defconfig"
 
-IMAGE_FSTYPES = "tar.bz2 ubifs ubi"
+IMAGE_FSTYPES = "sdcard.gz tar.xz ubifs ubi"
 
 # Enable free --space-fixup (-F) by default, this allows DFU updates
 MKUBIFS_ARGS = " -c 8112 -e 124KiB -m 2KiB -F"
-- 
2.5.5



More information about the meta-freescale mailing list