[openwrt/openwrt] bcm2712: add kmod-r8169 and kmod-usb-net-rtl8152
LEDE Commits
lede-commits at lists.infradead.org
Mon Sep 8 15:09:29 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a61ab43fe753daa0b422181472a716652e16119c
commit a61ab43fe753daa0b422181472a716652e16119c
Author: Elbert Mai <code at elbertmai.com>
AuthorDate: Sat Jul 12 05:58:59 2025 -0700
bcm2712: add kmod-r8169 and kmod-usb-net-rtl8152
Boards such as [1] and [2] add an extra Ethernet port to Raspberry Pi (CM)5.
These typically use Realtek PCIe or USB Ethernet NICs. Include kmod-r8169 and
kmod-usb-net-rtl8152 by default to make it easy to configure LAN/WAN ports
with these parts on Raspberry Pi 5.
Because CM5 can fit in the same carrier boards as CM4, also ensure that both
devices have the same Ethernet NIC kmods.
[1]: https://www.waveshare.com/wiki/CM5-DUAL-ETH-MINI
[2]: https://www.waveshare.com/wiki/PCIe_TO_Gigabit_ETH_Board_(C)
Signed-off-by: Elbert Mai <code at elbertmai.com>
Link: https://github.com/openwrt/openwrt/pull/19384
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/bcm27xx/image/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/target/linux/bcm27xx/image/Makefile b/target/linux/bcm27xx/image/Makefile
index 8320855573..0a83d1e733 100644
--- a/target/linux/bcm27xx/image/Makefile
+++ b/target/linux/bcm27xx/image/Makefile
@@ -193,6 +193,7 @@ define Device/rpi-4
kmod-spi-bcm2835-aux \
kmod-i2c-brcmstb \
kmod-usb-net-lan78xx \
+ kmod-usb-net-rtl8152 \
kmod-r8169
IMAGE/sysupgrade.img.gz := boot-common | boot-2711 | sdcard-img | gzip | append-metadata
IMAGE/factory.img.gz := boot-common | boot-2711 | sdcard-img | gzip
@@ -222,7 +223,10 @@ define Device/rpi-5
kmod-i2c-bcm2835 kmod-spi-bcm2835 \
kmod-i2c-brcmstb \
kmod-i2c-designware-platform kmod-spi-dw-mmio \
- kmod-hwmon-pwmfan kmod-thermal
+ kmod-hwmon-pwmfan kmod-thermal \
+ kmod-usb-net-lan78xx \
+ kmod-usb-net-rtl8152 \
+ kmod-r8169
IMAGE/sysupgrade.img.gz := boot-common | sdcard-img | gzip | append-metadata
IMAGE/factory.img.gz := boot-common | sdcard-img | gzip
endef
More information about the lede-commits
mailing list