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-03-20 05:10:43 +0300
commitd2a593bea7f94070b238ed1008c676c4ac7288e5 (patch)
tree18dec444ee145579ca64b2bf4cdf21ea0899a083
parentb52a01344c5749372916fc3957db3778ff96cd48 (diff)
downloadlinux-d2a593bea7f94070b238ed1008c676c4ac7288e5.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 {