Bläddra i källkod

dubhe: linux-starfive-dev: Update patch for all images

Signed-off-by: weiheng.cheng <weiheng.cheng@starfivetech.com>
weiheng.cheng 10 månader sedan
förälder
incheckning
c46fdc74f7

+ 3 - 3
recipes-kernel/linux/files/ext4.patch

@@ -1,13 +1,13 @@
 diff --git a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
-index 3e0e0c1c79a2..ac26f80ed702 100644
+index 879d11946631..8fb6a311b138 100755
 --- a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
 +++ b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
 @@ -12,7 +12,7 @@ aliases {
  	};
  
  	chosen {
--		bootargs = "console=ttySIF0,115200 earlycon=sbi ip=::192.168.152.1:255.255.255.0::eth0:dhcp";
-+		bootargs = "console=ttySIF0,115200 earlycon=sbi root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait ip=::192.168.152.1:255.255.255.0::eth0:dhcp";
+-		bootargs = "console=ttySIF0,115200 earlycon=sbi ip=:::255.255.255.0::eth0:dhcp";
++		bootargs = "console=ttySIF0,115200 earlycon=sbi root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait ip=:::255.255.255.0::eth0:dhcp";
  	};
  
  	cpus {

+ 2 - 2
recipes-kernel/linux/files/nfs.patch

@@ -1,12 +1,12 @@
 diff --git a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
-index 89098aab24d9..0d43a18bd446 100644
+index 879d11946631..f90df1bff74b 100755
 --- a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
 +++ b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
 @@ -12,7 +12,7 @@ aliases {
  	};
  
  	chosen {
--		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";
+-		bootargs = "console=ttySIF0,115200 earlycon=sbi ip=:::255.255.255.0::eth0:dhcp";
 +		bootargs = "console=ttySIF0,115200 earlycon=sbi root=/dev/nfs rw nfsroot=192.168.1.1:/filepath,rw,tcp,vers=3 ip=:::255.255.255.0::eth0:dhcp rootfstype=ext4 rootwait";
  	};
  

+ 3 - 3
recipes-kernel/linux/files/ubi.patch

@@ -1,13 +1,13 @@
 diff --git a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
-index 3e0e0c1c79a2..db68c11b73bd 100644
+index 879d11946631..7026ca656f4a 100755
 --- a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
 +++ b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts
 @@ -12,7 +12,7 @@ aliases {
  	};
  
  	chosen {
--		bootargs = "console=ttySIF0,115200 earlycon=sbi ip=::192.168.152.1:255.255.255.0::eth0:dhcp";
-+		bootargs = "console=ttySIF0,115200 earlycon=sbi ip=::192.168.152.1:255.255.255.0::eth0:dhcp root=ubi0:starfive-dubhe-rootfs ubi.mtd=1 rw rootfstype=ubifs rootwait";
+-		bootargs = "console=ttySIF0,115200 earlycon=sbi ip=:::255.255.255.0::eth0:dhcp";
++		bootargs = "console=ttySIF0,115200 earlycon=sbi ip=:::255.255.255.0::eth0:dhcp root=ubi0:starfive-dubhe-rootfs ubi.mtd=1 rw rootfstype=ubifs rootwait";
  	};
  
  	cpus {