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 <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Max Krummenacher 2016-07-21 20:07:44 +02:00 committed by Otavio Salvador
parent 669a2959b5
commit 73dab3af46
3 changed files with 5 additions and 1 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"