diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2016-11-26 01:01:15 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-29 21:40:16 +0100 |
commit | a20616863d32d91163043b6657a63c836bd9c5ba (patch) | |
tree | f61732ad0a3aa68cd56ccd237e08bbdbdcf6bf0f /target/linux/lantiq/image | |
parent | 448b9b67e15b85994562a2e585028c0595148a98 (diff) | |
download | upstream-a20616863d32d91163043b6657a63c836bd9c5ba.tar.gz upstream-a20616863d32d91163043b6657a63c836bd9c5ba.tar.bz2 upstream-a20616863d32d91163043b6657a63c836bd9c5ba.zip |
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 <martin.blumenstingl@googlemail.com>
[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 <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/image')
-rw-r--r-- | target/linux/lantiq/image/Makefile | 31 | ||||
-rw-r--r-- | target/linux/lantiq/image/tp-link.mk | 2 |
2 files changed, 17 insertions, 16 deletions
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index 490bd543e0..fe0221ff51 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 diff --git a/target/linux/lantiq/image/tp-link.mk b/target/linux/lantiq/image/tp-link.mk index 97d9e836f4..49c4bc10e1 100644 --- a/target/linux/lantiq/image/tp-link.mk +++ b/target/linux/lantiq/image/tp-link.mk @@ -33,7 +33,7 @@ define Device/TDW8980 BOARD_ID := TD-W8980v1 IMAGE_SIZE := 7680k DEVICE_TITLE := TP-LINK TD-W8980 - 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 define Device/VR200v |