From 708ea56fb9e2b4ab77e726085d572bf80a4cc76a Mon Sep 17 00:00:00 2001 From: Johannes Heimansberg Date: Mon, 12 Dec 2022 15:39:58 +0100 Subject: [PATCH] bcm27xx: bcm2711: add kmod-r8169 Some carrier boards [1][2] for the Raspberry Pi CM4 that are specifically designed to be used as routers come with secondary NICs using a Realtek RTL8111 Gigabit Ethernet chip. When using such a board as a router with OpenWrt, it is very helpful when both NICs are working by default. Since the Raspberry Pi 4 and the CM4 have plenty of disk space, it should cause no harm to include the kmod-r8169. [1] https://wiki.dfrobot.com/Compute_Module_4_IoT_Router_Board_Mini_SKU_DFR0767 [2] https://www.waveshare.com/wiki/CM4-DUAL-ETH-MINI Signed-off-by: Johannes Heimansberg (r8169 should pull in the necessary dependencies.) Signed-off-by: Christian Lamparter --- target/linux/bcm27xx/image/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/bcm27xx/image/Makefile b/target/linux/bcm27xx/image/Makefile index 1334386c574d..999361e8cde5 100644 --- a/target/linux/bcm27xx/image/Makefile +++ b/target/linux/bcm27xx/image/Makefile @@ -163,7 +163,8 @@ define Device/rpi-4 cypress-firmware-43455-sdio \ brcmfmac-nvram-43455-sdio \ kmod-brcmfmac wpad-basic-wolfssl \ - kmod-usb-net-lan78xx + kmod-usb-net-lan78xx \ + 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 endef -- 2.30.2