summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-10-06 09:23:00 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-10-17 18:43:43 +0200
commitd7239e79c6a0f6a364ae57fc0916d0508ace3ed7 (patch)
tree43084931804f1d7286ada84e6786393cdab6e279
parentaa9fe446ef114894a290fca27663294ec44ad3a0 (diff)
class: image_type_tezi: use tezi config format 4 for mx8
On i.MX8 processors there was a bug in Tezi that leaked an old u-boot environment into newly installed image. This got fixed and can be enforced by using Tezi config format number 4. Make use of that. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 51927b354280c398b11b7b6bd64c1617825f17d1)
-rw-r--r--classes/image_type_tezi.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass
index 5d505e3..f93cc12 100644
--- a/classes/image_type_tezi.bbclass
+++ b/classes/image_type_tezi.bbclass
@@ -24,6 +24,8 @@ TEZI_ROOT_LABEL ??= "RFS"
TEZI_ROOT_SUFFIX ??= "tar.xz"
TEZI_BOOT_SUFFIX ??= "bootfs.tar.xz"
TEZI_CONFIG_FORMAT ??= "2"
+# Require newer Tezi for mx8 Socs with the u-boot environment bugfix
+TEZI_CONFIG_FORMAT_mx8 ??= "4"
TEZI_EXTERNAL_KERNEL_DEVICETREE ??= ""
TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT ??= ""
TORADEX_FLASH_TYPE ??= "emmc"