forked from mirror/openwrt
The probe order for PCIe buses and devices is non-deterministic, making the names eth0 and eth1 unpredictable (they may be swapped). This patch fixes the names by referencing the device path using `ucidef_set_network_device_path`. The mapping between silkscreen labels on the board/case and OpenWrt interface names is as follows: - E52C LAN: lan WAN: wan - ROCK 5 ITX RJ45 1: eth0 RJ45 2: eth1 - ROCK 5T RJ45_1: eth0 RJ45_2: eth1 For Radxa E52C, this breaks compatibility of the network config; therefore, set DEVICE_COMPAT_VERSION to `1.1`. Fixes: |
||
|---|---|---|
| .. | ||
| armv8.mk | ||
| default.bootscript | ||
| Makefile | ||
| radxa-e25.bootscript | ||
| rock-pi-s.bootscript | ||