summaryrefslogtreecommitdiff
path: root/conf/machine/apalis-tk1.conf
diff options
context:
space:
mode:
authorGerard Salvatella <gerard.salvatella@toradex.com>2018-09-05 14:56:43 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-27 15:59:08 +0200
commit9f2e2a4d05b4b5ef9a3fa79a2bb77fd2523aeb68 (patch)
tree4a8a8be07304a85d372617040ad0cfd9aa95a58e /conf/machine/apalis-tk1.conf
parent21c18b9ebb6f3a46ebc9f18db668db842788e1c2 (diff)
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 <gerard.salvatella@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'conf/machine/apalis-tk1.conf')
-rw-r--r--conf/machine/apalis-tk1.conf18
1 files changed, 17 insertions, 1 deletions
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"