On 17/8/2026 11:21 am, Boon Khai Ng wrote:
Added environment variables needed to support distro boot.

Signed-off-by: Boon Khai Ng <[email protected]>
---
v2:
- Drop the rsu_status environment variable addition. Per review
   comment from Tien Fong, it is not required for distro boot and
   the RSU driver is not yet supported.

v1: https://patchwork.ozlabs.org/project/uboot/
patch/[email protected]/
- Added "nandroot" (rootfs UBI volume for distro boot) and
   "rsu_status" (helper command to show RSU DCMF version/status/retry
   counters) environment variables.
---
  include/configs/socfpga_soc64_common.h | 1 +
  1 file changed, 1 insertion(+)

diff --git a/include/configs/socfpga_soc64_common.h 
b/include/configs/socfpga_soc64_common.h
index 4d333c63ad9..daa208a27a1 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -144,6 +144,7 @@
                " ${qspi_clock}; echo QSPI clock frequency updated; fi; fi\0" \
        "scriptaddr=0x81000000\0" \
        "scriptfile=boot.scr\0" \
+       "nandroot=ubi0:rootfs\0" \
        "socfpga_legacy_reset_compat=1\0" \
        "smc_fid_rd=0xC2000007\0" \
        "smc_fid_wr=0xC2000008\0" \


Reviewed-by: Tien Fong Chee <[email protected]>

Best regards,
Tien Fong

Reply via email to