Skip to contentSkip to conversation

xilinx: Enable the NFS command by default

PATCH Superseded Tejas Bhumkar 2 participants 2 messages Jan 3, 2024 Arm/Zynq architecture

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xilinx: Enable the NFS command by default

Enabled the default utilization of the NFS command across all Xilinx platforms to facilitate the booting of images through the network using the NFS protocol.

---
 configs/xilinx_versal_net_virt_defconfig | 2 ++
 configs/xilinx_versal_virt_defconfig     | 2 ++
 configs/xilinx_zynq_virt_defconfig       | 2 ++
 configs/xilinx_zynqmp_virt_defconfig     | 2 ++
 4 files changed, 8 insertions(+)
configs/xilinx_versal_net_virt_defconfig +2 -0
index 0553ac6b17..3095e402ff 100644
@@ -46,6 +46,8 @@ CONFIG_CMD_USB=y
 CONFIG_BOOTP_MAY_FAIL=y
 CONFIG_BOOTP_BOOTFILESIZE=y
 CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_NFS=y
+CONFIG_NFS_TIMEOUT=2000
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EFIDEBUG=y
 CONFIG_CMD_TIME=y
configs/xilinx_versal_virt_defconfig +2 -0
index 6a2c03ccdd..080d0b2f34 100644
@@ -48,6 +48,8 @@ CONFIG_CMD_USB=y
 CONFIG_BOOTP_MAY_FAIL=y
 CONFIG_BOOTP_BOOTFILESIZE=y
 CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_NFS=y
+CONFIG_NFS_TIMEOUT=2000
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EFIDEBUG=y
 CONFIG_CMD_TIME=y
configs/xilinx_zynq_virt_defconfig +2 -0
index c3ee9beaef..7aa278c25f 100644
@@ -70,6 +70,8 @@ CONFIG_CMD_SF_TEST=y
 CONFIG_CMD_USB=y
 CONFIG_BOOTP_MAY_FAIL=y
 CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_NFS=y
+CONFIG_NFS_TIMEOUT=2000
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EFIDEBUG=y
 CONFIG_CMD_TIME=y
configs/xilinx_zynqmp_virt_defconfig +2 -0
index 239bb1f5cc..62e37309aa 100644
@@ -82,6 +82,8 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_BOOTP_MAY_FAIL=y
 CONFIG_BOOTP_BOOTFILESIZE=y
 CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_NFS=y
+CONFIG_NFS_TIMEOUT=2000
 CONFIG_CMD_BMP=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EFIDEBUG=y
Signature · 1 line
2.27.0
maintainer
#1 lore raw
Quoted 3 lines · Tejas Bhumkar

Enabled the default utilization of the NFS command across all Xilinx platforms to facilitate the booting of images through the network using the NFS protocol.

you should reference to 10de1257079905ac383e7abf346a04221cafa620 which introduced regression and disable NFS

Quoted 14 lines
---
  configs/xilinx_versal_net_virt_defconfig | 2 ++
  configs/xilinx_versal_virt_defconfig     | 2 ++
  configs/xilinx_zynq_virt_defconfig       | 2 ++
  configs/xilinx_zynqmp_virt_defconfig     | 2 ++
  4 files changed, 8 insertions(+)
configs/xilinx_versal_net_virt_defconfig +0 -0
index 0553ac6b17..3095e402ff 100644

configs/xilinx_versal_net_virt_defconfig CONFIG_CMD_USB=y · line 50

Quoted 5 lines
configs/xilinx_versal_net_virt_defconfig +2 -0
@@ -46,6 +46,8 @@ CONFIG_CMD_USB=y
  CONFIG_BOOTP_MAY_FAIL=y
  CONFIG_BOOTP_BOOTFILESIZE=y
  CONFIG_CMD_TFTPPUT=y
+CONFIG_CMD_NFS=y
+CONFIG_NFS_TIMEOUT=2000

Did you run savedefconfig? Because 2000 is default value.

M