Skip to contentSkip to conversation

include: configs: socfpga: Add environment variables for distro boot

PATCH In review Boon Khai Ng via U-Boot 2 participants 2 messages Aug 17 – Sep 21

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 include: configs: socfpga: Add environment variables for distro boot

Added environment variables needed to support distro boot.

---
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(+)
include/configs/socfpga_soc64_common.h +1 -0
index 4d333c63ad9..daa208a27a1 100644
@@ -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" \
Signature · 1 line
2.43.7
Reviewed-by on v2 1/1
#1 lore raw
Quoted 23 lines · Boon Khai Ng

Added environment variables needed to support distro boot.

---
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(+)
include/configs/socfpga_soc64_common.h +0 -0
index 4d333c63ad9..daa208a27a1 100644

include/configs/socfpga_soc64_common.h line 150

Quoted 7 lines
include/configs/socfpga_soc64_common.h +1 -0
@@ -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" \

Best regards,
Tien Fong