diff --git a/devices/nanopi-r2s/diy.sh b/devices/nanopi-r2s/diy.sh index 75f103847b66..2f0b742f2b17 100644 --- a/devices/nanopi-r2s/diy.sh +++ b/devices/nanopi-r2s/diy.sh @@ -1,8 +1,8 @@ #!/bin/bash rm -rf ./package/boot/uboot-rockchip target/linux/rockchip -svn co https://github.com/project-openwrt/openwrt/branches/master/package/boot/uboot-rockchip package/boot/uboot-rockchip -svn co https://github.com/project-openwrt/openwrt/branches/master/target/linux/rockchip target/linux/rockchip +svn co https://github.com/garypang13/project-openwrt/branches/master/package/boot/uboot-rockchip package/boot/uboot-rockchip +svn co https://github.com/garypang13/project-openwrt/branches/master/target/linux/rockchip target/linux/rockchip sed -i "s,'eth1' 'eth0','eth0' 'eth1',g" target/linux/rockchip/armv8/base-files/etc/board.d/02_network diff --git a/devices/nanopi-r4s/diy.sh b/devices/nanopi-r4s/diy.sh index cd978758204e..1a500af6eeb3 100644 --- a/devices/nanopi-r4s/diy.sh +++ b/devices/nanopi-r4s/diy.sh @@ -1,8 +1,8 @@ #!/bin/bash rm -rf ./package/boot/uboot-rockchip target/linux/rockchip -svn co https://github.com/project-openwrt/openwrt/branches/master/package/boot/uboot-rockchip package/boot/uboot-rockchip -svn co https://github.com/project-openwrt/openwrt/branches/master/target/linux/rockchip target/linux/rockchip +svn co https://github.com/garypang13/project-openwrt/branches/master/package/boot/uboot-rockchip package/boot/uboot-rockchip +svn co https://github.com/garypang13/project-openwrt/branches/master/target/linux/rockchip target/linux/rockchip sed -i '/set_interface_core 20 "eth1"/a\set_interface_core 8 "ff3c0000" "ff3c0000.i2c"' target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity sed -i '/set_interface_core 20 "eth1"/a\ethtool -C eth0 rx-usecs 1000 rx-frames 25 tx-usecs 100 tx-frames 25' target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity