From 97eab183498046dd09ac8111d7a855d4d53982ad Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 9 Aug 2024 12:37:37 +0200 Subject: [PATCH] board/aarch64/r2s: allow saving U-Boot environment This change allows modifying and saving the U-Boot environment to the aux partition on the NanoPi R2S. Required to able to safely maintain multiple R2S devices on the same LAN. Signed-off-by: Joachim Wiberg --- board/aarch64/r2s/uboot/extras.config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/board/aarch64/r2s/uboot/extras.config b/board/aarch64/r2s/uboot/extras.config index dc4ae013..19bcfa1d 100644 --- a/board/aarch64/r2s/uboot/extras.config +++ b/board/aarch64/r2s/uboot/extras.config @@ -2,5 +2,9 @@ CONFIG_DEVICE_TREE_INCLUDES="infix-env.dtsi infix-key.dtsi r2s-env.dtsi" CONFIG_SYS_PROMPT="(r2s) " -CONFIG_ENV_IS_NOWHERE=y +CONFIG_ENV_OVERWRITE=y +# CONFIG_ENV_IS_NOWHERE is not set +CONFIG_ENV_IS_IN_EXT4=y # CONFIG_ENV_IS_IN_MMC is not set +CONFIG_ENV_EXT4_INTERFACE="mmc" +CONFIG_ENV_EXT4_DEVICE_AND_PART="1:1"