summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGenevieve Chan <genevieve.chan@starfivetech.com>2022-11-03 14:08:51 +0300
committerLey Foon Tan <leyfoon.tan@starfivetech.com>2023-12-04 06:00:13 +0300
commit8f299d28d88ff71fc8da325e21dc080b0fd87769 (patch)
tree401a85fabb292da6fc478b593271c8583dc09555
parentcb557f9fc3479bd5b0bffc141b20fd44ac013f8b (diff)
downloadlinux-8f299d28d88ff71fc8da325e21dc080b0fd87769.tar.xz
riscv: dts: dubhe: Enable NFS
This patch adds NFS configuration in the bootargs. The bootargs for NFS is set with the following parameters: * Client IP Address: 192.168.152.100 * Server IP Address: 192.168.153.221 * Gateway IP Address: 192.168.152.1 * Netmask: 255.255.255.0 * Network device to use: eth0 * Autoconfiguration: off * NFS root dir: /home/nfsroot Signed-off-by: Genevieve Chan <genevieve.chan@starfivetech.com>
-rw-r--r--arch/riscv/boot/dts/starfive/dubhe_fpga.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
index 46f724cdcb5f..4563628bd389 100644
--- a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
+++ b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
@@ -12,7 +12,7 @@
};
chosen {
- bootargs = "console=ttySIF0,115200 earlycon=sbi";
+ bootargs = "console=ttySIF0,115200 earlycon=sbi root=/dev/nfs nfsroot=192.168.153.221:/home/nfsroot,rw,tcp,vers=3 ip=192.168.152.100:192.168.153.221:192.168.152.1:255.255.255.0::eth0:off";
};
cpus {