From 0018d297347b6cea97fa18f95cec2c30e3e9a3c3 Mon Sep 17 00:00:00 2001 From: djurny Date: Fri, 9 May 2025 14:21:04 -0700 Subject: [PATCH] Create helios4_defconfig-0002-enable-setexpr-command.patch Follow-up for: - https://github.com/armbian/build/issues/8165 - https://github.com/armbian/build/pull/8166 Enable the `setexpr` command on the U-Boot monitor commandline, to enable calculating the load addresses based on the sizes of the DT, kernel, initial ramdisk. --- ...ios4_defconfig-0002-enable-setexpr-command.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patch/u-boot/legacy/u-boot-helios4/board_helios4/helios4_defconfig-0002-enable-setexpr-command.patch diff --git a/patch/u-boot/legacy/u-boot-helios4/board_helios4/helios4_defconfig-0002-enable-setexpr-command.patch b/patch/u-boot/legacy/u-boot-helios4/board_helios4/helios4_defconfig-0002-enable-setexpr-command.patch new file mode 100644 index 000000000..237e480e6 --- /dev/null +++ b/patch/u-boot/legacy/u-boot-helios4/board_helios4/helios4_defconfig-0002-enable-setexpr-command.patch @@ -0,0 +1,13 @@ +diff --git a/configs/helios4_defconfig b/configs/helios4_defconfig +index 0a1bb8e0362..c36ae95c336 100644 +--- a/configs/helios4_defconfig ++++ b/configs/helios4_defconfig +@@ -28,7 +28,7 @@ CONFIG_CMD_SF=y + CONFIG_CMD_SPI=y + CONFIG_CMD_USB=y + CONFIG_CMD_DATE=y +-# CONFIG_CMD_SETEXPR is not set ++CONFIG_CMD_SETEXPR=y + CONFIG_CMD_TFTPPUT=y + CONFIG_CMD_CACHE=y + CONFIG_CMD_TIME=y