aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/image/ar9.mk
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-15 22:58:34 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-22 01:24:23 +0100
commitde6dd7a8db1c073734113156668bca6792dc123d (patch)
tree3159ae3fe17b8d9df7e64c08a1af491d5a05fcd6 /target/linux/lantiq/image/ar9.mk
parent4c88b3b5dc4cae62f40fdf5adc0f32885eac7f9b (diff)
downloadupstream-de6dd7a8db1c073734113156668bca6792dc123d.tar.gz
upstream-de6dd7a8db1c073734113156668bca6792dc123d.tar.bz2
upstream-de6dd7a8db1c073734113156668bca6792dc123d.zip
lantiq: split device definitions into files
This splits device definitions into several *.mk files to increase overview. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/lantiq/image/ar9.mk')
-rw-r--r--target/linux/lantiq/image/ar9.mk163
1 files changed, 163 insertions, 0 deletions
diff --git a/target/linux/lantiq/image/ar9.mk b/target/linux/lantiq/image/ar9.mk
new file mode 100644
index 0000000000..272227bdb3
--- /dev/null
+++ b/target/linux/lantiq/image/ar9.mk
@@ -0,0 +1,163 @@
+define Device/avm_fritz7312
+ $(Device/AVM)
+ DEVICE_MODEL := FRITZ!Box 7312
+ DEVICE_DTS := FRITZ7312
+ IMAGE_SIZE := 15744k
+ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic \
+ 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 -swconfig
+endef
+TARGET_DEVICES += avm_fritz7312
+
+define Device/avm_fritz7320
+ $(Device/AVM)
+ DEVICE_MODEL := FRITZ!Box 7320
+ DEVICE_ALT0_VENDOR := 1&1
+ DEVICE_ALT0_MODEL := HomeServer
+ DEVICE_DTS := FRITZ7320
+ IMAGE_SIZE := 15744k
+ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic \
+ 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 -swconfig
+ SUPPORTED_DEVICES += FRITZ7320
+endef
+TARGET_DEVICES += avm_fritz7320
+
+define Device/bt_homehub-v3a
+ $(Device/NAND)
+ DEVICE_VENDOR := British Telecom
+ DEVICE_MODEL := Home Hub
+ DEVICE_VARIANT := Type A
+ BOARD_NAME := BTHOMEHUBV3A
+ DEVICE_DTS := BTHOMEHUBV3A
+ DEVICE_PACKAGES := kmod-usb-dwc2 \
+ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
+ kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
+ kmod-ltq-deu-ar9 \
+ ltq-adsl-app ppp-mod-pppoa \
+ kmod-ath9k kmod-owl-loader wpad-basic \
+ uboot-envtools
+ SUPPORTED_DEVICES += BTHOMEHUBV3A
+endef
+TARGET_DEVICES += bt_homehub-v3a
+
+define Device/buffalo_wbmr-hp-g300h-a
+ DEVICE_VENDOR := Buffalo
+ DEVICE_MODEL := WBMR-HP-G300H
+ DEVICE_VARIANT := A
+ IMAGE_SIZE := 31488k
+ DEVICE_DTS := WBMR
+ DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
+ 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 kmod-owl-loader wpad-basic
+ SUPPORTED_DEVICES := WBMR buffalo,wbmr-hp-g300h
+endef
+TARGET_DEVICES += buffalo_wbmr-hp-g300h-a
+
+define Device/buffalo_wbmr-hp-g300h-b
+ DEVICE_VENDOR := Buffalo
+ DEVICE_MODEL := WBMR-HP-G300H
+ DEVICE_VARIANT := B
+ IMAGE_SIZE := 31488k
+ DEVICE_DTS := WBMR
+ DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
+ 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 kmod-owl-loader wpad-basic
+ SUPPORTED_DEVICES := WBMR buffalo,wbmr-hp-g300h
+endef
+TARGET_DEVICES += buffalo_wbmr-hp-g300h-b
+
+DGN3500_KERNEL_OFFSET_HEX=0x50000
+DGN3500_KERNEL_OFFSET_DEC=327680
+define Device/netgear_dgn3500
+ DEVICE_VENDOR := NETGEAR
+ DEVICE_MODEL := DGN3500
+ DEVICE_DTS := DGN3500
+ IMAGE_SIZE := 16000k
+ IMAGES := \
+ sysupgrade-na.bin sysupgrade.bin \
+ factory-na.img factory.img
+ IMAGE/sysupgrade-na.bin := \
+ append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "NA" | \
+ pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
+ IMAGE/sysupgrade.bin := \
+ append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "WW" | \
+ pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
+ IMAGE/factory-na.img := \
+ pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
+ dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "NA" | pad-rootfs | \
+ check-size 16320k | pad-to 16384k
+ IMAGE/factory.img := \
+ pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
+ dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "WW" | pad-rootfs | \
+ check-size 16320k | pad-to 16384k
+ DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
+ kmod-ath9k kmod-owl-loader wpad-basic \
+ 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-ltq-deu-ar9
+ SUPPORTED_DEVICES += DGN3500
+endef
+TARGET_DEVICES += netgear_dgn3500
+
+define Device/netgear_dgn3500b
+ DEVICE_VENDOR := NETGEAR
+ DEVICE_MODEL := DGN3500B
+ DEVICE_DTS := DGN3500B
+ IMAGE_SIZE := 16000k
+ IMAGES += factory.img
+ IMAGE/sysupgrade.bin := \
+ append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "DE" | \
+ pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
+ IMAGE/factory.img := \
+ pad-extra $(DGN3500_KERNEL_OFFSET_DEC) | append-kernel | append-rootfs | \
+ dgn3500-sercom-footer $(DGN3500_KERNEL_OFFSET_HEX) "DE" | pad-rootfs | \
+ check-size 16320k | pad-to 16384k
+ DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
+ kmod-ath9k kmod-owl-loader wpad-basic \
+ 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
+ SUPPORTED_DEVICES += DGN3500B
+endef
+TARGET_DEVICES += netgear_dgn3500b
+
+define Device/zte_h201l
+ DEVICE_VENDOR := ZTE
+ DEVICE_MODEL := H201L
+ IMAGE_SIZE := 7808k
+ DEVICE_DTS := H201L
+ DEVICE_PACKAGES := kmod-ath9k-htc wpad-basic \
+ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
+ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
+ ltq-adsl-app ppp-mod-pppoe \
+ kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
+ kmod-ltq-tapi kmod-ltq-vmmc
+ SUPPORTED_DEVICES += H201L
+endef
+TARGET_DEVICES += zte_h201l
+
+define Device/zyxel_p-2601hn
+ DEVICE_VENDOR := ZyXEL
+ DEVICE_MODEL := P-2601HN
+ DEVICE_VARIANT := F1/F3
+ IMAGE_SIZE := 15616k
+ DEVICE_DTS := P2601HNFX
+ DEVICE_PACKAGES := kmod-rt2800-usb wpad-basic \
+ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
+ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
+ ltq-adsl-app ppp-mod-pppoe \
+ kmod-ltq-deu-ar9 kmod-usb-dwc2
+ SUPPORTED_DEVICES += P2601HNFX
+endef
+TARGET_DEVICES += zyxel_p-2601hn