summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2024-01-11 17:06:41 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2024-01-11 17:13:38 +0100
commit5c19725fcd25e5f3a4c0f680ad055446969504a5 (patch)
tree3f9b90aeacc5365c2ad1a0463175aa9f52684b00
parent4886be4b958e8802e070772c442cf942d4cc4a31 (diff)
u-boot-toradex: mainline: workaround hush parser changes
U-Boot mainline after v2024.01 has a new hush parser added with by default is used, however we have the option to still use the old one. Our boot script fails with the new parser, thus change the u-boot config to keep our master builds working. Related-to: ELB-5543 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex/use_hash_old_parser.cfg2
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex_mainline.bb2
2 files changed, 4 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex/use_hash_old_parser.cfg b/recipes-bsp/u-boot/u-boot-toradex/use_hash_old_parser.cfg
new file mode 100644
index 0000000..b5f407b
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-toradex/use_hash_old_parser.cfg
@@ -0,0 +1,2 @@
+CONFIG_HUSH_OLD_PARSER=y
+CONFIG_HUSH_MODERN_PARSER=n \ No newline at end of file
diff --git a/recipes-bsp/u-boot/u-boot-toradex_mainline.bb b/recipes-bsp/u-boot/u-boot-toradex_mainline.bb
index 1624697..a151efc 100644
--- a/recipes-bsp/u-boot/u-boot-toradex_mainline.bb
+++ b/recipes-bsp/u-boot/u-boot-toradex_mainline.bb
@@ -8,6 +8,8 @@ require u-boot-toradex-common.inc
SRCREV = "${AUTOREV}"
# patches which are not (yet) in the latest master
TDX_PATCHES = " \
+ file://use_hash_old_parser.cfg \
"
+
DEFAULT_PREFERENCE = "-1"