]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
gemini: Move back to using statically compiled PHYs
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 2 Jun 2025 23:19:27 +0000 (01:19 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Jun 2025 21:05:15 +0000 (23:05 +0200)
Trying to use modules for the PHY:s does not work:

The ethernet driver does not like to probe if it can't find
the PHY.

The ethernet driver really likes to be compiled-in. It will
not probe otherwise. Some hardware issue.

Revert things to how they always worked until I maybe solve
this.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
target/linux/gemini/config-6.12
target/linux/gemini/image/Makefile

index 658aff132228f57266f112b14b510ca65ae7432f..324fa5cd181928ed2472cabcbb0360992d48265e 100644 (file)
@@ -260,6 +260,7 @@ CONFIG_LOGO_LINUX_CLUT224=y
 CONFIG_LOGO_LINUX_VGA16=y
 CONFIG_LZ4_DECOMPRESS=y
 CONFIG_LZO_DECOMPRESS=y
+CONFIG_MARVELL_PHY=y
 CONFIG_MDIO_BITBANG=y
 CONFIG_MDIO_BUS=y
 CONFIG_MDIO_DEVICE=y
@@ -354,6 +355,8 @@ CONFIG_RD_LZ4=y
 CONFIG_RD_LZMA=y
 CONFIG_RD_LZO=y
 CONFIG_RD_XZ=y
+CONFIG_REALTEK_PHY=y
+CONFIG_REALTEK_PHY_HWMON=y
 CONFIG_REGMAP=y
 CONFIG_REGMAP_I2C=y
 CONFIG_REGMAP_MMIO=y
index a77adae7ed0518b9db42ed48a55eb0d1fea6783a..d7b77acdb153f70dbfc75639e4465b1b3e4c9778 100644 (file)
@@ -170,7 +170,7 @@ define Device/dlink_dns-313
        DEVICE_VENDOR := D-Link
        DEVICE_MODEL := DNS-313 1-Bay Network Storage Enclosure
        DEVICE_DTS := gemini-dlink-dns-313
-       DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES) usbgadget-acm kmod-phy-realtek
+       DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES) usbgadget-acm
        BLOCKSIZE := 1k
        FILESYSTEMS := ext4
        IMAGES := factory.bin.gz
@@ -186,7 +186,7 @@ define Device/storlink-reference
        FILESYSTEMS := squashfs
        IMAGE/factory.bin := append-rootfs | pad-rootfs | pad-to 6144k | \
                storlink-default-images $(1)
-       DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES) kmod-phy-realtek
+       DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES)
 endef
 
 define Device/itian_sq201
@@ -194,7 +194,7 @@ define Device/itian_sq201
        DEVICE_VENDOR := ITian
        DEVICE_MODEL := Square One SQ201
        DEVICE_DTS := gemini-sq201
-       DEVICE_PACKAGES += kmod-rt61-pci kmod-usb2-pci kmod-phy-marvell
+       DEVICE_PACKAGES += kmod-rt61-pci kmod-usb2-pci
 endef
 TARGET_DEVICES += itian_sq201
 
@@ -203,7 +203,6 @@ define Device/raidsonic_ib-4220-b
        DEVICE_VENDOR := Raidsonic
        DEVICE_MODEL := NAS IB-4220-B
        DEVICE_DTS := gemini-nas4220b
-       DEVICE_PACKAGES += kmod-phy-marvell
 endef
 TARGET_DEVICES += raidsonic_ib-4220-b
 
@@ -212,7 +211,6 @@ define Device/storlink_sl93512r
        DEVICE_VENDOR := StorLink
        DEVICE_MODEL := SL93512r
        DEVICE_DTS := gemini-sl93512r
-       DEVICE_PACKAGES += kmod-phy-marvell
 endef
 TARGET_DEVICES += storlink_sl93512r