From a20616863d32d91163043b6657a63c836bd9c5ba Mon Sep 17 00:00:00 2001 From: Martin Blumenstingl Date: Sat, 26 Nov 2016 01:01:15 +0100 Subject: lantiq: use ath9k device tree bindings binding/owl-loader This moves the extraction of the eeprom/calibration data to a hotplug firmware script. Additionally it modifies all .dts to configure ath9k directly from within the .dts. The owl-loader approach enables support on devices with exotic eeprom data locations (such as unaligned positions on the flash or data inside an UBI volume). Signed-off-by: Martin Blumenstingl [add ath9k caldata mac address patcher] [fixes DGN3500 wifi mac] [fixes BTHOMEHUBV3A wifi mac] [set invalid mac for BTHOMEHUB2B, FRITZ3370, FRITZ7320 & FRITZ7360SL to restore previous random mac behavior] Signed-off-by: Mathias Kresin --- target/linux/lantiq/image/Makefile | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'target/linux/lantiq/image/Makefile') diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index 490bd54..fe0221f 100644 --- a/target/linux/lantiq/image/Makefile +++ b/target/linux/lantiq/image/Makefile @@ -176,7 +176,7 @@ define Device/BTHOMEHUBV2B kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ kmod-ltq-deu-danube \ ltq-adsl-app ppp-mod-pppoa \ - kmod-ath9k wpad-mini + kmod-ath9k kmod-owl-loader wpad-mini endef TARGET_DEVICES += BTHOMEHUBV2B @@ -258,7 +258,7 @@ define Device/ARV7518PW kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ - kmod-ath9k wpad-mini + kmod-ath9k kmod-owl-loader wpad-mini endef TARGET_DEVICES += ARV7518PW @@ -304,7 +304,7 @@ define Device/ARV8539PW22 kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ - kmod-ath9k wpad-mini + kmod-ath9k kmod-owl-loader wpad-mini endef TARGET_DEVICES += ARV8539PW22 @@ -330,7 +330,8 @@ define Device/BTHOMEHUBV3A kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \ kmod-ltq-deu-ar9 \ ltq-adsl-app ppp-mod-pppoa \ - kmod-ath9k wpad-mini uboot-envtools + kmod-ath9k kmod-owl-loader wpad-mini \ + uboot-envtools endef TARGET_DEVICES += BTHOMEHUBV3A @@ -357,7 +358,7 @@ define Device/DGN3500 check-size 16320k | pad-to 16384k DEVICE_TITLE := Netgear DGN3500 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \ - kmod-ath9k wpad-mini \ + kmod-ath9k kmod-owl-loader wpad-mini \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \ ltq-adsl-app ppp-mod-pppoa \ @@ -377,7 +378,7 @@ define Device/DGN3500B check-size 16320k | pad-to 16384k DEVICE_TITLE := Netgear DGN3500B DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \ - kmod-ath9k wpad-mini \ + kmod-ath9k kmod-owl-loader wpad-mini \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ ltq-adsl-app ppp-mod-pppoa \ @@ -393,7 +394,7 @@ define Device/WBMRA kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \ ltq-adsl-app ppp-mod-pppoa \ - kmod-ath9k wpad-mini + kmod-ath9k kmod-owl-loader wpad-mini endef TARGET_DEVICES += WBMRA @@ -405,7 +406,7 @@ define Device/WBMRB kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ ltq-adsl-app ppp-mod-pppoa \ - kmod-ath9k wpad-mini + kmod-ath9k kmod-owl-loader wpad-mini endef TARGET_DEVICES += WBMRB @@ -413,12 +414,11 @@ define Device/FRITZ7320 $(Device/AVM) IMAGE_SIZE := 15744k DEVICE_TITLE := 1&1 HomeServer - FRITZ7320 - DEVICE_PACKAGES := kmod-ath9k wpad-mini \ + DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ ltq-adsl-app ppp-mod-pppoa \ - kmod-ltq-deu-ar9 kmod-usb-dwc2 \ - kmod-ath9k wpad-mini -swconfig + kmod-ltq-deu-ar9 kmod-usb-dwc2 -swconfig endef TARGET_DEVICES += FRITZ7320 @@ -477,7 +477,8 @@ TARGET_DEVICES += ARV7519RW22 define Device/BTHOMEHUBV5A $(Device/NAND) DEVICE_TITLE := BT Home Hub 5A - DEVICE_PACKAGES := kmod-ath9k kmod-ath10k ath10k-firmware-qca988x wpad-mini kmod-usb-dwc2 + DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader \ + kmod-ath10k ath10k-firmware-qca988x wpad-mini kmod-usb-dwc2 endef TARGET_DEVICES += BTHOMEHUBV5A @@ -485,14 +486,14 @@ define Device/EASY80920NAND $(Device/lantiqFullImage) IMAGE_SIZE := 64512k DEVICE_TITLE := Lantiq VR9 - EASY80920NAND - DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport + DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += EASY80920NAND define Device/EASY80920NOR IMAGE_SIZE := 7936k DEVICE_TITLE := Lantiq VR9 - EASY80920NOR - DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport + DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += EASY80920NOR @@ -508,7 +509,7 @@ define Device/FRITZ7360SL $(Device/AVM) IMAGE_SIZE := 15744k DEVICE_TITLE := 1&1 HomeServer - FRITZ7360SL - DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 + DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 endef TARGET_DEVICES += FRITZ7360SL -- cgit v1.1