aboutsummaryrefslogtreecommitdiff
path: root/target/linux/rockchip/armv8
diff options
context:
space:
mode:
authorTianling Shen <cnsztl@immortalwrt.org>2024-02-16 14:34:40 +0800
committerNick Hainke <vincent@systemli.org>2024-02-19 16:23:32 +0100
commit782266473de09c2b5f9332027bde3e5ad0493534 (patch)
tree2d75c780c3485dfe59b2ba58cc55099dba853360 /target/linux/rockchip/armv8
parent23cb2b1636d2cfacaff4b459139c4026120431be (diff)
rockchip: add NanoPi R2C Plus support
The NanoPi R2C Plus is a small variant of NanoPi R2C with a on-board eMMC flash (8G) included. Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Diffstat (limited to 'target/linux/rockchip/armv8')
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/board.d/01_leds1
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity1
3 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds b/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds
index fbbe2735e9..43dcd55016 100644
--- a/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds
+++ b/target/linux/rockchip/armv8/base-files/etc/board.d/01_leds
@@ -9,6 +9,7 @@ board_config_update
case $board in
friendlyarm,nanopi-r2c|\
+friendlyarm,nanopi-r2c-plus|\
friendlyarm,nanopi-r2s|\
friendlyarm,nanopi-r4s|\
xunlong,orangepi-r1-plus|\
diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
index 01e32c7740..2a83acc85c 100644
--- a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
+++ b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
@@ -8,6 +8,7 @@ rockchip_setup_interfaces()
case "$board" in
friendlyarm,nanopi-r2c|\
+ friendlyarm,nanopi-r2c-plus|\
friendlyarm,nanopi-r2s|\
friendlyarm,nanopi-r4s|\
xunlong,orangepi-r1-plus|\
@@ -68,6 +69,7 @@ rockchip_setup_macs()
wan_mac=$(macaddr_generate_from_mmc_cid mmcblk*)
lan_mac=$(macaddr_add "$wan_mac" 1)
;;
+ friendlyarm,nanopi-r2c-plus|\
friendlyarm,nanopi-r5s)
wan_mac=$(macaddr_generate_from_mmc_cid mmcblk1)
lan_mac=$(macaddr_add "$wan_mac" 1)
diff --git a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
index 09fc420fec..852e84a6e4 100644
--- a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
+++ b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
@@ -30,6 +30,7 @@ set_interface_core() {
case "$(board_name)" in
friendlyarm,nanopi-r2c|\
+friendlyarm,nanopi-r2c-plus|\
friendlyarm,nanopi-r2s|\
xunlong,orangepi-r1-plus|\
xunlong,orangepi-r1-plus-lts)