diff options
author | Gerard Salvatella <gerard.salvatella@toradex.com> | 2018-09-05 14:56:43 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-09-27 15:59:08 +0200 |
commit | 9f2e2a4d05b4b5ef9a3fa79a2bb77fd2523aeb68 (patch) | |
tree | 4a8a8be07304a85d372617040ad0cfd9aa95a58e /conf/machine/include/tegra-base.inc | |
parent | 21c18b9ebb6f3a46ebc9f18db668db842788e1c2 (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/include/tegra-base.inc')
-rw-r--r-- | conf/machine/include/tegra-base.inc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/conf/machine/include/tegra-base.inc b/conf/machine/include/tegra-base.inc index 64b7115..c49f568 100644 --- a/conf/machine/include/tegra-base.inc +++ b/conf/machine/include/tegra-base.inc @@ -13,6 +13,26 @@ XSERVER = "xserver-xorg \ PREFERRED_PROVIDER_virtual/kernel = "linux-toradex" KERNEL_IMAGETYPE = "zImage" + +# wic support +SOC_DEFAULT_IMAGE_FSTYPES = "wic.gz tar.xz" +IMAGE_FSTYPES = "${SOC_DEFAULT_IMAGE_FSTYPES}" + +IMAGE_BOOT_FILES ?= " \ + ${KERNEL_IMAGETYPE} \ +" +WKS_FILE_DEPENDS ?= " \ + virtual/bootloader \ + \ + e2fsprogs-native \ + bmap-tools-native \ +" + +SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks" +SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks" +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 = "" |