From 5c19725fcd25e5f3a4c0f680ad055446969504a5 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 11 Jan 2024 17:06:41 +0100 Subject: 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 --- recipes-bsp/u-boot/u-boot-toradex/use_hash_old_parser.cfg | 2 ++ recipes-bsp/u-boot/u-boot-toradex_mainline.bb | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-toradex/use_hash_old_parser.cfg 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" -- cgit v1.2.3