From 73dab3af4640653f1cac523672d16fb26d4d2d5f Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 21 Jul 2016 20:07:44 +0200 Subject: [PATCH] toradex machine conf: build sdcard and tar.bz2 image 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 Acked-by: Stefan Agner Signed-off-by: Otavio Salvador --- 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"