From 9f2e2a4d05b4b5ef9a3fa79a2bb77fd2523aeb68 Mon Sep 17 00:00:00 2001 From: Gerard Salvatella Date: Wed, 5 Sep 2018 14:56:43 +0200 Subject: images: add wic support for tegra Currently only imx and vybrid automatically generate wic images. This functionality is useful e.g. for booting from SD cards. Add wic image generation in tegra modules. Signed-off-by: Gerard Salvatella Acked-by: Marcel Ziswiler --- conf/machine/apalis-tk1.conf | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'conf/machine/apalis-tk1.conf') diff --git a/conf/machine/apalis-tk1.conf b/conf/machine/apalis-tk1.conf index 513e5d8..5cddb23 100644 --- a/conf/machine/apalis-tk1.conf +++ b/conf/machine/apalis-tk1.conf @@ -12,6 +12,22 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-toradex" KERNEL_IMAGETYPE = "zImage" KERNEL_DEVICETREE += "tegra124-apalis-eval.dtb tegra124-apalis-v1.2-eval.dtb" + +# wic support +IMAGE_BOOT_FILES ?= " \ + ${KERNEL_IMAGETYPE} \ + ${KERNEL_DEVICETREE} \ +" +WKS_FILE_DEPENDS ?= " \ + virtual/bootloader \ + \ + e2fsprogs-native \ + bmap-tools-native \ +" + +WKS_FILE = "sdimage-bootpart-tegra.wks" +WIC_CREATE_EXTRA_ARGS_append = " --no-fstab-update" + # The kernel lives in a seperate FAT or UBI partition, don't deploy it in /boot RDEPENDS_kernel-base = "" @@ -61,7 +77,7 @@ EXTRA_IMAGEDEPENDS += "u-boot" # used by sysvinit_2 SERIAL_CONSOLE = "115200 ttyS0" IMAGE_CLASSES += "image_type_tezi" -IMAGE_FSTYPES = "tar.xz teziimg" +IMAGE_FSTYPES += "wic.gz teziimg" TORADEX_PRODUCT_IDS = "0034" TORADEX_FLASH_TYPE = "emmc" -- cgit v1.2.3