openwrt/target/linux/rockchip/image
FUKAUMI Naoki 1f1db75432
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
rockchip: make NIC name predictable for Radxa E52C/ROCK 5 ITX/ROCK 5T
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: d16d2765bd ("rockchip: add support for Radxa E52C")
Fixes: 0839345211 ("rockchip: add support for Radxa ROCK 5 ITX/ITX+")
Fixes: 4a78af9876 ("rockchip: add support for Radxa ROCK 5T")
Link: https://github.com/openwrt/openwrt/issues/20202
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/20608
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-11-09 21:56:13 +01:00
..
armv8.mk rockchip: make NIC name predictable for Radxa E52C/ROCK 5 ITX/ROCK 5T 2025-11-09 21:56:13 +01:00
default.bootscript rockchip: add Radxa ROCK 4D support 2025-10-02 22:42:35 +02:00
Makefile rockchip: make use of OpenWrt compiled dtbs 2025-10-04 15:01:50 +02:00
radxa-e25.bootscript rockchip: fix baudrate for Radxa E25 2024-07-10 09:46:19 +02:00
rock-pi-s.bootscript rockchip: add support for Radxa ROCK Pi S 2024-07-24 00:03:02 +02:00