summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2020-12-01 12:15:38 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2020-12-08 14:37:42 +0100
commit7ff44a4cc166fd99933cee6cc103e48591cd5c0d (patch)
tree0c83fee36da8406961f7677473f434b937ccc25c
parent378386aa2e17f9d4df25bd2291d31f3e908be548 (diff)
verdin-imx8mp: use dedicated wks file and add space to the wic rootfs
With this we get a wic file which can be easier copied onto the eMMC through U-Boot ums as the rootfs partiition label now maches the one assigned with Toradex Easy Installer. Additionally make sure that we have 1GB of free space in the rootfs partition. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 4087b01cd5c70f4656cdff26a4e7d7ecc73bf41f)
-rw-r--r--conf/machine/verdin-imx8mp.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/machine/verdin-imx8mp.conf b/conf/machine/verdin-imx8mp.conf
index fbed917..4ace41d 100644
--- a/conf/machine/verdin-imx8mp.conf
+++ b/conf/machine/verdin-imx8mp.conf
@@ -49,6 +49,11 @@ IMAGE_BOOTLOADER = "imx-boot"
# Set imx-mkimage boot target
IMXBOOT_TARGETS = "flash_evk_emmc_fastboot"
+# Temporary until we have TEZI for installation on the eMMC
+SOC_DEFAULT_WKS_FILE_verdin-imx8mp ?= "verdin-imx8mp-imx-boot-bootpart.wks.in"
+# Add 1GB free space to the wic rootfs partition
+IMAGE_ROOTFS_EXTRA_SPACE = "1048576"
+
IMAGE_BOOT_FILES_append = " boot.scr-${MACHINE};boot.scr"
WKS_FILE_DEPENDS_append = " u-boot-default-script"
PREFERRED_PROVIDER_u-boot-default-script = "u-boot-distro-boot"