mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
parent
9914389a8d
commit
83134525fd
@ -13,6 +13,7 @@ friendlyarm,nanopi-r2c|\
|
|||||||
friendlyarm,nanopi-r2c-plus|\
|
friendlyarm,nanopi-r2c-plus|\
|
||||||
friendlyarm,nanopi-r2s|\
|
friendlyarm,nanopi-r2s|\
|
||||||
friendlyarm,nanopi-r2s-plus|\
|
friendlyarm,nanopi-r2s-plus|\
|
||||||
|
friendlyarm,nanopi-r4se|\
|
||||||
friendlyarm,nanopi-r4s|\
|
friendlyarm,nanopi-r4s|\
|
||||||
friendlyarm,nanopi-r6c|\
|
friendlyarm,nanopi-r6c|\
|
||||||
sharevdi,guangmiao-g4c|\
|
sharevdi,guangmiao-g4c|\
|
||||||
|
@ -59,7 +59,7 @@ rockchip_setup_interfaces()
|
|||||||
;;
|
;;
|
||||||
hinlink,opc-h69k|\
|
hinlink,opc-h69k|\
|
||||||
friendlyarm,nanopi-r5s)
|
friendlyarm,nanopi-r5s)
|
||||||
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
|
ucidef_set_interfaces_lan_wan 'eth1 eth2' 'eth0'
|
||||||
;;
|
;;
|
||||||
lyt,t68m)
|
lyt,t68m)
|
||||||
ucidef_set_interfaces_lan_wan 'lan2 lan3 lan4' 'lan1'
|
ucidef_set_interfaces_lan_wan 'lan2 lan3 lan4' 'lan1'
|
||||||
@ -99,6 +99,7 @@ rockchip_setup_macs()
|
|||||||
local label_mac=""
|
local label_mac=""
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
|
armsom,sige*|\
|
||||||
advantech,rsb4810|\
|
advantech,rsb4810|\
|
||||||
ariaboard,photonicat|\
|
ariaboard,photonicat|\
|
||||||
codinge,xiaobao-nas-v1|\
|
codinge,xiaobao-nas-v1|\
|
||||||
@ -122,19 +123,12 @@ rockchip_setup_macs()
|
|||||||
rumu3f,fine-3399|\
|
rumu3f,fine-3399|\
|
||||||
seewo,srcm3588-*|\
|
seewo,srcm3588-*|\
|
||||||
sharevdi,h3399pc|\
|
sharevdi,h3399pc|\
|
||||||
|
widora,mangopi-m28k|\
|
||||||
|
widora,mangopi-m28k-pro|\
|
||||||
xunlong,orangepi-5-plus)
|
xunlong,orangepi-5-plus)
|
||||||
wan_mac=$(macaddr_generate_from_mmc_cid mmcblk0)
|
wan_mac=$(macaddr_generate_from_mmc_cid mmcblk0)
|
||||||
lan_mac=$(macaddr_add "$wan_mac" +1)
|
lan_mac=$(macaddr_add "$wan_mac" +1)
|
||||||
;;
|
;;
|
||||||
armsom,sige1|\
|
|
||||||
armsom,sige3|\
|
|
||||||
armsom,sige5|\
|
|
||||||
armsom,sige7|\
|
|
||||||
widora,mangopi-m28k|\
|
|
||||||
widora,mangopi-m28k-pro)
|
|
||||||
wan_mac=$(macaddr_generate_from_mmc_cid mmcblk2)
|
|
||||||
lan_mac=$(macaddr_add "$wan_mac" +1)
|
|
||||||
;;
|
|
||||||
friendlyarm,nanopi-r4s|\
|
friendlyarm,nanopi-r4s|\
|
||||||
friendlyarm,nanopi-r4se)
|
friendlyarm,nanopi-r4se)
|
||||||
wan_mac=$(nanopi_r4s_get_mac wan)
|
wan_mac=$(nanopi_r4s_get_mac wan)
|
||||||
|
@ -39,12 +39,9 @@ widora,mangopi-m28k|\
|
|||||||
widora,mangopi-m28k-pro)
|
widora,mangopi-m28k-pro)
|
||||||
set_interface_core 4 "eth0"
|
set_interface_core 4 "eth0"
|
||||||
;;
|
;;
|
||||||
friendlyarm,nanopc-t6|\
|
|
||||||
friendlyarm,nanopi-r3s|\
|
friendlyarm,nanopi-r3s|\
|
||||||
friendlyarm,nanopi-r5c|\
|
friendlyarm,nanopi-r5c|\
|
||||||
friendlyarm,nanopi-r6c|\
|
sinovoip,rk3568-bpi-r2pro)
|
||||||
mmbox,anas3035|\
|
|
||||||
xunlong,orangepi-5-plus)
|
|
||||||
set_interface_core 2 "eth0"
|
set_interface_core 2 "eth0"
|
||||||
set_interface_core 4 "eth1"
|
set_interface_core 4 "eth1"
|
||||||
;;
|
;;
|
||||||
@ -59,16 +56,23 @@ xunlong,orangepi-r1-plus-lts)
|
|||||||
;;
|
;;
|
||||||
friendlyarm,nanopi-r4s|\
|
friendlyarm,nanopi-r4s|\
|
||||||
friendlyarm,nanopi-r4se|\
|
friendlyarm,nanopi-r4se|\
|
||||||
sharevdi,guangmiao-g4c)
|
friendlyarm,nanopi-r6c|\
|
||||||
|
friendlyarm,nanopc-t6|\
|
||||||
|
sharevdi,guangmiao-g4c|\
|
||||||
|
xunlong,orangepi-5-plus)
|
||||||
set_interface_core 10 "eth0"
|
set_interface_core 10 "eth0"
|
||||||
set_interface_core 20 "eth1"
|
set_interface_core 20 "eth1"
|
||||||
;;
|
;;
|
||||||
friendlyarm,nanopi-r5s|\
|
friendlyarm,nanopi-r5s)
|
||||||
friendlyarm,nanopi-r6s)
|
|
||||||
set_interface_core 2 "eth0"
|
set_interface_core 2 "eth0"
|
||||||
set_interface_core 4 "eth1"
|
set_interface_core 4 "eth1"
|
||||||
set_interface_core 8 "eth2"
|
set_interface_core 8 "eth2"
|
||||||
;;
|
;;
|
||||||
|
friendlyarm,nanopi-r6s)
|
||||||
|
set_interface_core 10 "eth0"
|
||||||
|
set_interface_core 20 "eth1"
|
||||||
|
set_interface_core 40 "eth2"
|
||||||
|
;;
|
||||||
widora,mangopi-m28c)
|
widora,mangopi-m28c)
|
||||||
set_interface_core 4 "eth0"
|
set_interface_core 4 "eth0"
|
||||||
set_interface_core 8 "xhci-hcd:usb1"
|
set_interface_core 8 "xhci-hcd:usb1"
|
||||||
|
Loading…
Reference in New Issue
Block a user