Contents
Port control
NHX53X2-V01/V02/V03/V04
switch1
port_phy | port_id |
---|---|
p0 | 1 |
p1 | 2 |
p2 | 3 |
p3 | 4 |
- pin list NHX7448-SOM-PIN LIST
- port_phy
NHX53X2 port_phy
BXW1800 port_phy
network default configuration
- Phy layout order No requirement, can be redefined by network default configuration, or refer to BXW1800-V06 schematic diagram
- uci-defaults.sh
/qsdk/package/base-files/files/lib/functions/uci-defaults.sh
set network.@switch[0]=switchset network.@switch[0].name='switch1'set network.@switch[0].reset='1'set network.@switch[0].enable_vlan='1'set network.@switch_vlan[0]=switch_vlanset network.@switch_vlan[0].device='switch1'set network.@switch_vlan[0].vlan='1'set network.@switch_vlan[0].ports='0t 1 2 4'set network.@switch_vlan[1]=switch_vlanset network.@switch_vlan[1].device='switch1'set network.@switch_vlan[1].vlan='2'set network.@switch_vlan[1].ports='0t 3'
set network.lan='interface'set network.lan.ifname='$ifname'set network.lan.def_ifname='$ifname'set network.lan.force_link=1set network.lan.type='bridge'set network.lan.proto='static'set network.lan.ipaddr='192.168.100.1'set network.lan.def_ipaddr='192.168.100.1'set network.lan.netmask='255.255.255.0'set network.lan.ip6assign='60'
set network.debug='interface'set network.debug.force_link=1set network.debug.type='bridge'set network.debug.proto='static'set network.debug.ipaddr='169.254.254.254'set network.debug.def_ipaddr='169.254.254.254'set network.debug.netmask='255.255.255.0'set network.debug.ip6assign='60'set network.debug.disabled=1