mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-12 15:34:59 +00:00
gemini: Convert to use module for Realtek switch
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Only the DIR-685 uses a Realtek DSA switch currently so convert this platform to load it from a module and save memory on all other devices. At the same time drop the rt2800 PCI package that this device actually isn't using, it needs an out-of-tree wireless driver. Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250207-gemini-rtl-dsa-module-v3-1-e25a3df8bdc0@linaro.org/ Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
562ced3d8f
commit
78b78a4268
@ -287,13 +287,6 @@ CONFIG_NEED_KUSER_HELPERS=y
|
||||
CONFIG_NEED_PER_CPU_KM=y
|
||||
CONFIG_NEED_SRCU_NMI_SAFE=y
|
||||
CONFIG_NET_DEVLINK=y
|
||||
CONFIG_NET_DSA=y
|
||||
CONFIG_NET_DSA_REALTEK=y
|
||||
# CONFIG_NET_DSA_REALTEK_MDIO is not set
|
||||
# CONFIG_NET_DSA_REALTEK_RTL8365MB is not set
|
||||
CONFIG_NET_DSA_REALTEK_RTL8366RB=y
|
||||
CONFIG_NET_DSA_REALTEK_SMI=y
|
||||
CONFIG_NET_DSA_TAG_RTL4_A=y
|
||||
CONFIG_NET_EGRESS=y
|
||||
CONFIG_NET_INGRESS=y
|
||||
CONFIG_NET_NS=y
|
||||
|
@ -158,7 +158,7 @@ define Device/dlink_dir-685
|
||||
DEVICE_MODEL := DIR-685 Xtreme N Storage Router
|
||||
DEVICE_DTS := gemini-dlink-dir-685
|
||||
DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES) \
|
||||
kmod-rt2800-pci
|
||||
kmod-dsa-rtl8366rb
|
||||
IMAGES := factory.bin sysupgrade.bin
|
||||
# Pad to 128k erase blocks with 160 bytes WRGG header
|
||||
IMAGE/factory.bin := append-kernel | pad-offset 128k 160 | append-rootfs | dir685-pad-rootfs | dir685-image
|
||||
|
Loading…
x
Reference in New Issue
Block a user