lantiq-gphy-firmware: add package

This has several advantages:
* reduction in the size of the kernel and the complete image. Individual
devices only need two of the four binaries. In combination with the second
commit it reduces kernel size by 64.2 kB and image size by 22.8 kB,
* the option to extend this package with firmware for future SoCs,
* combining the kernel and binary blobs with another licence may not be
fully compatible with the licence used by Linux. The current PHY firmware
is built into the kernel. This comit converts it to a package.

Tested on AVM 5490 and BT Home Hub 5A.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/17669
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Aleksander Jan Bajkowski 2020-05-31 21:57:08 +02:00 committed by Hauke Mehrtens
parent 62bf028732
commit a18d95f35b
12 changed files with 143 additions and 33 deletions

View file

@ -13,7 +13,7 @@ PKG_RELEASE:=67
PKG_HASH:=0d71e62beb952b41ebafb20a7ee4df2f960db64c31b054721ceb79ff14014c55 PKG_HASH:=0d71e62beb952b41ebafb20a7ee4df2f960db64c31b054721ceb79ff14014c55
FIRMWARE_LANTIQ_SOURCE:=$(TOPDIR)/target/linux/lantiq/files/firmware/lantiq FIRMWARE_LANTIQ_SOURCE:=$(TOPDIR)/package/firmware/lantiq/lantiq-gphy-firmware/files/
include $(INCLUDE_DIR)/u-boot.mk include $(INCLUDE_DIR)/u-boot.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View file

@ -0,0 +1,78 @@
# SPDX-License-Identifier: GPL-2.0-or-later
include $(TOPDIR)/rules.mk
PKG_NAME:=lantiq-gphy-firmware
PKG_RELEASE:=1
PKG_FLAGS:=nonshared
include $(INCLUDE_DIR)/package.mk
define Package/lantiq-gphy-firmware-defaults
SECTION:=firmware
CATEGORY:=Firmware
DEPENDS:=@TARGET_lantiq_xrx200||TARGET_lantiq_xrx200_legacy
DEFAULT:=n
TITLE:=$(1)
endef
define Package/lantiq-gphy-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/lantiq
$(INSTALL_DATA) files/$(2) $(1)/lib/firmware/lantiq/$(3)
endef
define Package/xrx200-rev1.1-phy11g-firmware
$(call Package/lantiq-gphy-firmware-defaults, xRx200 rev 1.1 Gigabit Ethernet PHY Firmware)
endef
define Package/xrx200-rev1.1-phy11g-firmware/description
This package contains firmware for Gigabit Ethernet PHY integrated in xRx200 rev 1.1 SoC.
endef
define Package/xrx200-rev1.1-phy11g-firmware/install
$(call Package/lantiq-gphy-firmware/install,$(1),xrx200_phy11g_a14.bin,xrx200_phy11g_a14.bin)
endef
define Package/xrx200-rev1.2-phy11g-firmware
$(call Package/lantiq-gphy-firmware-defaults, xRx200 rev 1.2 Gigabit Ethernet PHY Firmware)
endef
define Package/xrx200-rev1.2-phy11g-firmware/description
This package contains firmware for Gigabit Ethernet PHY integrated in xRx200 rev 1.2 SoC.
endef
define Package/xrx200-rev1.2-phy11g-firmware/install
$(call Package/lantiq-gphy-firmware/install,$(1),xrx200_phy11g_a22.bin,xrx200_phy11g_a22.bin)
endef
define Package/xrx200-rev1.1-phy22f-firmware
$(call Package/lantiq-gphy-firmware-defaults, xRx200 rev 1.1 Fast Ethernet PHY Firmware)
endef
define Package/xrx200-rev1.1-phy22f-firmware/description
This package contains firmware for Fast Ethernet PHY integrated in xRx200 rev 1.1 SoC.
endef
define Package/xrx200-rev1.1-phy22f-firmware/install
$(call Package/lantiq-gphy-firmware/install,$(1),xrx200_phy22f_a14.bin,xrx200_phy22f_a14.bin)
endef
define Package/xrx200-rev1.2-phy22f-firmware
$(call Package/lantiq-gphy-firmware-defaults, xRx200 rev 1.2 Fast Ethernet PHY Firmware)
endef
define Package/xrx200-rev1.2-phy22f-firmware/description
This package contains firmware for Fast Ethernet PHY integrated in xRx200 rev 1.2 SoC.
endef
define Package/xrx200-rev1.2-phy22f-firmware/install
$(call Package/lantiq-gphy-firmware/install,$(1),xrx200_phy22f_a22.bin,xrx200_phy22f_a22.bin)
endef
define Build/Compile
endef
$(eval $(call BuildPackage,xrx200-rev1.1-phy11g-firmware))
$(eval $(call BuildPackage,xrx200-rev1.2-phy11g-firmware))
$(eval $(call BuildPackage,xrx200-rev1.1-phy22f-firmware))
$(eval $(call BuildPackage,xrx200-rev1.2-phy22f-firmware))

View file

@ -26,7 +26,8 @@ define Device/tplink_vr200
TPLINK_HWID := 0x63e64801 TPLINK_HWID := 0x63e64801
TPLINK_HWREV := 0x53 TPLINK_HWREV := 0x53
IMAGE_SIZE := 15808k IMAGE_SIZE := 15808k
DEVICE_PACKAGES:= kmod-mt76x0e wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES:= kmod-mt76x0e wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware
SUPPORTED_DEVICES += VR200 SUPPORTED_DEVICES += VR200
endef endef
TARGET_DEVICES += tplink_vr200 TARGET_DEVICES += tplink_vr200
@ -40,7 +41,8 @@ define Device/tplink_vr200v
TPLINK_HWID := 0x73b70801 TPLINK_HWID := 0x73b70801
TPLINK_HWREV := 0x2f TPLINK_HWREV := 0x2f
IMAGE_SIZE := 15808k IMAGE_SIZE := 15808k
DEVICE_PACKAGES:= kmod-mt76x0e wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport kmod-ltq-tapi kmod-ltq-vmmc DEVICE_PACKAGES:= kmod-mt76x0e wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
kmod-ltq-tapi kmod-ltq-vmmc xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware
SUPPORTED_DEVICES += VR200v SUPPORTED_DEVICES += VR200v
endef endef
TARGET_DEVICES += tplink_vr200v TARGET_DEVICES += tplink_vr200v

View file

@ -26,7 +26,9 @@ define Device/tplink_tdw8970
TPLINK_HWID := 0x89700001 TPLINK_HWID := 0x89700001
TPLINK_HWREV := 1 TPLINK_HWREV := 1
IMAGE_SIZE := 7680k IMAGE_SIZE := 7680k
DEVICE_PACKAGES:= kmod-ath9k wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES:= kmod-ath9k wpad-basic-mbedtls kmod-usb-dwc2 \
kmod-usb-ledtrig-usbport xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware
SUPPORTED_DEVICES += TDW8970 SUPPORTED_DEVICES += TDW8970
endef endef
TARGET_DEVICES += tplink_tdw8970 TARGET_DEVICES += tplink_tdw8970
@ -46,7 +48,9 @@ define Device/tplink_tdw8980
TPLINK_HWID := 0x89800001 TPLINK_HWID := 0x89800001
TPLINK_HWREV := 14 TPLINK_HWREV := 14
IMAGE_SIZE := 7680k IMAGE_SIZE := 7680k
DEVICE_PACKAGES:= kmod-ath9k kmod-owl-loader wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES:= kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
kmod-usb-dwc2 kmod-usb-ledtrig-usbport xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware
SUPPORTED_DEVICES += TDW8980 SUPPORTED_DEVICES += TDW8980
endef endef
TARGET_DEVICES += tplink_tdw8980 TARGET_DEVICES += tplink_tdw8980

View file

@ -16,7 +16,7 @@ define Device/arcadyan_arv7519rw22
DEVICE_ALT1_MODEL := ARV7519RW22 DEVICE_ALT1_MODEL := ARV7519RW22
KERNEL_SIZE := 2048k KERNEL_SIZE := 2048k
IMAGE_SIZE := 31232k IMAGE_SIZE := 31232k
DEVICE_PACKAGES := kmod-usb-dwc2 DEVICE_PACKAGES := kmod-usb-dwc2 xrx200-rev1.1-phy22f-firmware xrx200-rev1.2-phy22f-firmware
SUPPORTED_DEVICES += ARV7519RW22 SUPPORTED_DEVICES += ARV7519RW22
DEFAULT := n DEFAULT := n
endef endef
@ -35,7 +35,8 @@ define Device/arcadyan_vgv7510kw22-brn
SIGNATURE := BRNDA6431 SIGNATURE := BRNDA6431
MAGIC := 0x12345678 MAGIC := 0x12345678
CRC32_POLY := 0x04c11db7 CRC32_POLY := 0x04c11db7
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi \
kmod-ltq-vmmc xrx200-rev1.1-phy22f-firmware xrx200-rev1.2-phy22f-firmware
SUPPORTED_DEVICES += VGV7510KW22BRN SUPPORTED_DEVICES += VGV7510KW22BRN
endef endef
TARGET_DEVICES += arcadyan_vgv7510kw22-brn TARGET_DEVICES += arcadyan_vgv7510kw22-brn
@ -49,7 +50,8 @@ define Device/arcadyan_vgv7510kw22-nor
DEVICE_ALT0_MODEL := Box 6431 DEVICE_ALT0_MODEL := Box 6431
DEVICE_ALT0_VARIANT := NOR DEVICE_ALT0_VARIANT := NOR
IMAGE_SIZE := 15232k IMAGE_SIZE := 15232k
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi \
kmod-ltq-vmmc xrx200-rev1.1-phy22f-firmware xrx200-rev1.2-phy22f-firmware
SUPPORTED_DEVICES += VGV7510KW22NOR SUPPORTED_DEVICES += VGV7510KW22NOR
endef endef
TARGET_DEVICES += arcadyan_vgv7510kw22-nor TARGET_DEVICES += arcadyan_vgv7510kw22-nor
@ -67,7 +69,8 @@ define Device/arcadyan_vgv7519-brn
SIGNATURE := 5D00008000 SIGNATURE := 5D00008000
MAGIC := 0x12345678 MAGIC := 0x12345678
CRC32_POLY := 0x2083b8ed CRC32_POLY := 0x2083b8ed
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi \
kmod-ltq-vmmc xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware
SUPPORTED_DEVICES += VGV7519BRN SUPPORTED_DEVICES += VGV7519BRN
endef endef
TARGET_DEVICES += arcadyan_vgv7519-brn TARGET_DEVICES += arcadyan_vgv7519-brn
@ -81,7 +84,8 @@ define Device/arcadyan_vgv7519-nor
DEVICE_ALT0_MODEL := Experiabox 8 DEVICE_ALT0_MODEL := Experiabox 8
DEVICE_ALT0_VARIANT := NOR DEVICE_ALT0_VARIANT := NOR
IMAGE_SIZE := 15360k IMAGE_SIZE := 15360k
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-ltq-tapi \
kmod-ltq-vmmc xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware
SUPPORTED_DEVICES += VGV7519NOR SUPPORTED_DEVICES += VGV7519NOR
endef endef
TARGET_DEVICES += arcadyan_vgv7519-nor TARGET_DEVICES += arcadyan_vgv7519-nor
@ -95,7 +99,8 @@ define Device/arcadyan_vrv9510kwac23
DEVICE_ALT0_MODEL := Next DEVICE_ALT0_MODEL := Next
BOARD_NAME := VRV9510KWAC23 BOARD_NAME := VRV9510KWAC23
DEVICE_PACKAGES := kmod-b43 wpad-basic-mbedtls broadcom-43222-sprom \ DEVICE_PACKAGES := kmod-b43 wpad-basic-mbedtls broadcom-43222-sprom \
broadcom-4360-sprom kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc broadcom-4360-sprom kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc \
xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
SUPPORTED_DEVICES += arcadyan_vrv9510kwac23 SUPPORTED_DEVICES += arcadyan_vrv9510kwac23
endef endef
@ -112,7 +117,8 @@ define Device/avm_fritz3370
IMAGES += eva-kernel.bin eva-filesystem.bin IMAGES += eva-kernel.bin eva-filesystem.bin
IMAGE/eva-kernel.bin := append-kernel IMAGE/eva-kernel.bin := append-kernel
IMAGE/eva-filesystem.bin := append-ubi IMAGE/eva-filesystem.bin := append-ubi
DEVICE_PACKAGES := kmod-ath9k wpad-basic-mbedtls kmod-usb-dwc2 fritz-tffs DEVICE_PACKAGES := kmod-ath9k wpad-basic-mbedtls kmod-usb-dwc2 fritz-tffs \
xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware
endef endef
define Device/avm_fritz3370-rev2-hynix define Device/avm_fritz3370-rev2-hynix
@ -139,7 +145,8 @@ define Device/avm_fritz3390
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
kmod-usb-dwc2 fritz-tffs kmod-usb-dwc2 fritz-tffs xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware
endef endef
TARGET_DEVICES += avm_fritz3390 TARGET_DEVICES += avm_fritz3390
@ -151,7 +158,8 @@ define Device/avm_fritz3490
DEVICE_VARIANT := Other NAND DEVICE_VARIANT := Other NAND
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader DEVICE_PACKAGES := kmod-usb3 fritz-tffs xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware -kmod-owl-loader
endef endef
TARGET_DEVICES += avm_fritz3490 TARGET_DEVICES += avm_fritz3490
@ -163,7 +171,8 @@ define Device/avm_fritz3490-micron
DEVICE_VARIANT := Micron NAND DEVICE_VARIANT := Micron NAND
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader DEVICE_PACKAGES := kmod-usb3 fritz-tffs xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware -kmod-owl-loader
endef endef
TARGET_DEVICES += avm_fritz3490-micron TARGET_DEVICES += avm_fritz3490-micron
@ -178,6 +187,7 @@ define Device/avm_fritz5490
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-dsa-qca8k kmod-phy-qca83xx kmod-usb3 fritz-tffs \ DEVICE_PACKAGES := kmod-dsa-qca8k kmod-phy-qca83xx kmod-usb3 fritz-tffs \
xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware \
-ltq-vdsl-vr9-vectoring-fw-installer -kmod-ltq-vdsl-vr9-mei \ -ltq-vdsl-vr9-vectoring-fw-installer -kmod-ltq-vdsl-vr9-mei \
-kmod-ltq-vdsl-vr9 -kmod-ltq-atm-vr9 -kmod-ltq-ptm-vr9 \ -kmod-ltq-vdsl-vr9 -kmod-ltq-atm-vr9 -kmod-ltq-ptm-vr9 \
-ltq-vdsl-vr9-app -kmod-owl-loader \ -ltq-vdsl-vr9-app -kmod-owl-loader \
@ -196,6 +206,7 @@ define Device/avm_fritz5490-micron
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-dsa-qca8k kmod-phy-qca83xx kmod-usb3 fritz-tffs \ DEVICE_PACKAGES := kmod-dsa-qca8k kmod-phy-qca83xx kmod-usb3 fritz-tffs \
xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware \
-ltq-vdsl-vr9-vectoring-fw-installer -kmod-ltq-vdsl-vr9-mei \ -ltq-vdsl-vr9-vectoring-fw-installer -kmod-ltq-vdsl-vr9-mei \
-kmod-ltq-vdsl-vr9 -kmod-ltq-atm-vr9 -kmod-ltq-ptm-vr9 \ -kmod-ltq-vdsl-vr9 -kmod-ltq-atm-vr9 -kmod-ltq-ptm-vr9 \
-ltq-vdsl-vr9-app -kmod-owl-loader \ -ltq-vdsl-vr9-app -kmod-owl-loader \
@ -209,7 +220,8 @@ define Device/avm_fritz7360sl
DEVICE_MODEL := FRITZ!Box 7360 SL DEVICE_MODEL := FRITZ!Box 7360 SL
IMAGE_SIZE := 15744k IMAGE_SIZE := 15744k
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
kmod-usb-dwc2 fritz-tffs kmod-usb-dwc2 fritz-tffs xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware
SUPPORTED_DEVICES += FRITZ7360SL SUPPORTED_DEVICES += FRITZ7360SL
endef endef
TARGET_DEVICES += avm_fritz7360sl TARGET_DEVICES += avm_fritz7360sl
@ -221,7 +233,8 @@ define Device/avm_fritz7360-v2
DEVICE_VARIANT := v2 DEVICE_VARIANT := v2
IMAGE_SIZE := 32128k IMAGE_SIZE := 32128k
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
kmod-usb-dwc2 fritz-tffs kmod-usb-dwc2 fritz-tffs xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware
endef endef
TARGET_DEVICES += avm_fritz7360-v2 TARGET_DEVICES += avm_fritz7360-v2
@ -233,7 +246,8 @@ define Device/avm_fritz7362sl
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
kmod-usb-dwc2 fritz-tffs kmod-usb-dwc2 fritz-tffs xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware
endef endef
TARGET_DEVICES += avm_fritz7362sl TARGET_DEVICES += avm_fritz7362sl
@ -246,7 +260,8 @@ define Device/avm_fritz7412
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
fritz-tffs-nand fritz-caldata fritz-tffs-nand fritz-caldata xrx200-rev1.1-phy22f-firmware \
xrx200-rev1.2-phy22f-firmware
endef endef
TARGET_DEVICES += avm_fritz7412 TARGET_DEVICES += avm_fritz7412
@ -258,7 +273,8 @@ define Device/avm_fritz7430
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
kmod-usb-dwc2 fritz-tffs-nand fritz-caldata kmod-usb-dwc2 fritz-tffs-nand fritz-caldata xrx200-rev1.1-phy22f-firmware \
xrx200-rev1.2-phy22f-firmware
endef endef
TARGET_DEVICES += avm_fritz7430 TARGET_DEVICES += avm_fritz7430
@ -270,7 +286,8 @@ define Device/avm_fritz7490
DEVICE_VARIANT := Other NAND DEVICE_VARIANT := Other NAND
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader DEVICE_PACKAGES := kmod-usb3 fritz-tffs xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware -kmod-owl-loader
endef endef
TARGET_DEVICES += avm_fritz7490 TARGET_DEVICES += avm_fritz7490
@ -282,7 +299,8 @@ define Device/avm_fritz7490-micron
DEVICE_VARIANT := Micron NAND DEVICE_VARIANT := Micron NAND
KERNEL_SIZE := 4096k KERNEL_SIZE := 4096k
IMAGE_SIZE := 49152k IMAGE_SIZE := 49152k
DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader DEVICE_PACKAGES := kmod-usb3 fritz-tffs xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware -kmod-owl-loader
endef endef
TARGET_DEVICES += avm_fritz7490-micron TARGET_DEVICES += avm_fritz7490-micron
@ -298,8 +316,9 @@ define Device/bt_homehub-v5a
DEVICE_ALT1_VENDOR := Plusnet DEVICE_ALT1_VENDOR := Plusnet
DEVICE_ALT1_MODEL := Hub One DEVICE_ALT1_MODEL := Hub One
BOARD_NAME := BTHOMEHUBV5A BOARD_NAME := BTHOMEHUBV5A
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader \ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader kmod-ath10k-ct \
kmod-ath10k-ct ath10k-firmware-qca988x-ct wpad-basic-mbedtls kmod-usb-dwc2 ath10k-firmware-qca988x-ct wpad-basic-mbedtls kmod-usb-dwc2 \
xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware
SUPPORTED_DEVICES += BTHOMEHUBV5A SUPPORTED_DEVICES += BTHOMEHUBV5A
endef endef
TARGET_DEVICES += bt_homehub-v5a TARGET_DEVICES += bt_homehub-v5a
@ -309,7 +328,8 @@ define Device/buffalo_wbmr-300hpd
DEVICE_VENDOR := Buffalo DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WBMR-300HPD DEVICE_MODEL := WBMR-300HPD
IMAGE_SIZE := 15616k IMAGE_SIZE := 15616k
DEVICE_PACKAGES := kmod-mt7603 wpad-basic-mbedtls kmod-usb-dwc2 DEVICE_PACKAGES := kmod-mt7603 wpad-basic-mbedtls kmod-usb-dwc2 \
xrx200-rev1.1-phy22f-firmware xrx200-rev1.2-phy22f-firmware
SUPPORTED_DEVICES += WBMR300 SUPPORTED_DEVICES += WBMR300
endef endef
TARGET_DEVICES += buffalo_wbmr-300hpd TARGET_DEVICES += buffalo_wbmr-300hpd
@ -321,7 +341,9 @@ define Device/lantiq_easy80920-nand
DEVICE_MODEL := VR9 EASY80920 DEVICE_MODEL := VR9 EASY80920
DEVICE_VARIANT := NAND DEVICE_VARIANT := NAND
IMAGE_SIZE := 64512k IMAGE_SIZE := 64512k
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
kmod-usb-dwc2 kmod-usb-ledtrig-usbport xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware
endef endef
TARGET_DEVICES += lantiq_easy80920-nand TARGET_DEVICES += lantiq_easy80920-nand
@ -331,7 +353,9 @@ define Device/lantiq_easy80920-nor
DEVICE_MODEL := VR9 EASY80920 DEVICE_MODEL := VR9 EASY80920
DEVICE_VARIANT := NOR DEVICE_VARIANT := NOR
IMAGE_SIZE := 7936k IMAGE_SIZE := 7936k
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic-mbedtls \
kmod-usb-dwc2 kmod-usb-ledtrig-usbport xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware
endef endef
TARGET_DEVICES += lantiq_easy80920-nor TARGET_DEVICES += lantiq_easy80920-nor
@ -344,7 +368,9 @@ define Device/zyxel_p-2812hnu-f1
DEVICE_MODEL := P-2812HNU DEVICE_MODEL := P-2812HNU
DEVICE_VARIANT := F1 DEVICE_VARIANT := F1
BOARD_NAME := P2812HNUF1 BOARD_NAME := P2812HNUF1
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 \
kmod-usb-ledtrig-usbport xrx200-rev1.1-phy11g-firmware \
xrx200-rev1.2-phy11g-firmware
KERNEL_SIZE := 5120k KERNEL_SIZE := 5120k
SUPPORTED_DEVICES += P2812HNUF1 SUPPORTED_DEVICES += P2812HNUF1
endef endef
@ -357,7 +383,8 @@ define Device/zyxel_p-2812hnu-f3
DEVICE_MODEL := P-2812HNU DEVICE_MODEL := P-2812HNU
DEVICE_VARIANT := F3 DEVICE_VARIANT := F3
BOARD_NAME := P2812HNUF3 BOARD_NAME := P2812HNUF3
DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-mbedtls kmod-usb-dwc2 \
xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware
KERNEL_SIZE := 2048k KERNEL_SIZE := 2048k
SUPPORTED_DEVICES += P2812HNUF3 SUPPORTED_DEVICES += P2812HNUF3
DEFAULT := n DEFAULT := n

View file

@ -12,6 +12,7 @@ define Device/alphanetworks_asl56026
DEVICE_ALT0_VENDOR := BT Openreach DEVICE_ALT0_VENDOR := BT Openreach
DEVICE_ALT0_MODEL := ECI VDSL Modem V-2FUb/I DEVICE_ALT0_MODEL := ECI VDSL Modem V-2FUb/I
IMAGE_SIZE := 7488k IMAGE_SIZE := 7488k
DEVICE_PACKAGES := xrx200-rev1.1-phy22f-firmware xrx200-rev1.2-phy22f-firmware
DEFAULT := n DEFAULT := n
endef endef
TARGET_DEVICES += alphanetworks_asl56026 TARGET_DEVICES += alphanetworks_asl56026
@ -22,6 +23,7 @@ define Device/arcadyan_vg3503j
DEVICE_MODEL := ECI VDSL Modem V-2FUb/R DEVICE_MODEL := ECI VDSL Modem V-2FUb/R
IMAGE_SIZE := 8000k IMAGE_SIZE := 8000k
SUPPORTED_DEVICES += VG3503J SUPPORTED_DEVICES += VG3503J
DEVICE_PACKAGES := xrx200-rev1.1-phy11g-firmware xrx200-rev1.2-phy11g-firmware
DEFAULT := n DEFAULT := n
endef endef
TARGET_DEVICES += arcadyan_vg3503j TARGET_DEVICES += arcadyan_vg3503j
@ -39,5 +41,6 @@ define Device/netgear_dm200
IMAGE_SIZE := 7872k IMAGE_SIZE := 7872k
NETGEAR_BOARD_ID := DM200 NETGEAR_BOARD_ID := DM200
NETGEAR_HW_ID := 29765233+8+0+64+0+0 NETGEAR_HW_ID := 29765233+8+0+64+0+0
DEVICE_PACKAGES := xrx200-rev1.1-phy22f-firmware xrx200-rev1.2-phy22f-firmware
endef endef
TARGET_DEVICES += netgear_dm200 TARGET_DEVICES += netgear_dm200

View file

@ -10,8 +10,6 @@ CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_HASH_INFO=y CONFIG_CRYPTO_HASH_INFO=y
CONFIG_CRYPTO_LZO=y CONFIG_CRYPTO_LZO=y
CONFIG_CRYPTO_ZSTD=y CONFIG_CRYPTO_ZSTD=y
CONFIG_EXTRA_FIRMWARE="lantiq/xrx200_phy11g_a14.bin lantiq/xrx200_phy11g_a22.bin lantiq/xrx200_phy22f_a14.bin lantiq/xrx200_phy22f_a22.bin"
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
CONFIG_GENERIC_ALLOCATOR=y CONFIG_GENERIC_ALLOCATOR=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GRO_CELLS=y CONFIG_GRO_CELLS=y

View file

@ -8,8 +8,6 @@ CONFIG_CRC16=y
CONFIG_CRYPTO_DEFLATE=y CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_LZO=y CONFIG_CRYPTO_LZO=y
CONFIG_CRYPTO_ZSTD=y CONFIG_CRYPTO_ZSTD=y
CONFIG_EXTRA_FIRMWARE="lantiq/xrx200_phy11g_a14.bin lantiq/xrx200_phy11g_a22.bin lantiq/xrx200_phy22f_a14.bin lantiq/xrx200_phy22f_a22.bin"
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
CONFIG_GENERIC_ALLOCATOR=y CONFIG_GENERIC_ALLOCATOR=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GRO_CELLS=y CONFIG_GRO_CELLS=y