diff options
author | Genevieve Chan <genevieve.chan@starfivetech.com> | 2022-11-03 14:08:51 +0300 |
---|---|---|
committer | Ley Foon Tan <leyfoon.tan@starfivetech.com> | 2023-12-04 06:00:13 +0300 |
commit | 8f299d28d88ff71fc8da325e21dc080b0fd87769 (patch) | |
tree | 401a85fabb292da6fc478b593271c8583dc09555 | |
parent | cb557f9fc3479bd5b0bffc141b20fd44ac013f8b (diff) | |
download | linux-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.dts | 2 |
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 { |