2013-09-19 00:50:49 +00:00
|
|
|
#
|
2016-04-21 19:46:53 +00:00
|
|
|
# Copyright (C) 2010-2016 OpenWrt.org
|
2010-12-12 22:57:16 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2012-12-15 02:00:20 +00:00
|
|
|
|
|
|
|
# boards missing since devicetree update
|
2014-04-03 14:26:54 +00:00
|
|
|
#EASY50712 ARV3527P
|
2012-12-15 02:00:20 +00:00
|
|
|
|
2016-04-21 19:46:53 +00:00
|
|
|
KERNEL_LOADADDR = 0x80002000
|
2016-04-26 11:43:15 +00:00
|
|
|
KERNEL_ENTRY = 0x80002000
|
2016-04-21 19:46:53 +00:00
|
|
|
|
2010-12-12 22:57:16 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
|
2016-07-19 12:55:43 +00:00
|
|
|
ifeq ($(SUBTARGET),xway)
|
|
|
|
UBIFS_OPTS := -m 512 -e 15872 -c 1959
|
|
|
|
else
|
|
|
|
UBIFS_OPTS := -m 2048 -e 126KiB -c 4096
|
|
|
|
endif
|
|
|
|
|
2016-07-19 13:36:40 +00:00
|
|
|
define Build/eva-image
|
|
|
|
lzma2eva $(KERNEL_LOADADDR) $(KERNEL_LOADADDR) $@ $@.new
|
|
|
|
( dd if=$@.new bs=64k conv=sync; cat ./eva.dummy.squashfs; ) > $@
|
|
|
|
endef
|
|
|
|
|
2016-10-01 07:59:00 +00:00
|
|
|
define Build/dgn3500-sercom-footer
|
|
|
|
$(STAGING_DIR_HOST)/bin/dgn3500sum $@ $(1) $(2)
|
2010-12-12 22:57:16 +00:00
|
|
|
endef
|
|
|
|
|
2016-04-26 11:43:28 +00:00
|
|
|
define Build/mkbrncmdline
|
|
|
|
mkbrncmdline -i $@ -o $@.new BRN-BOOT
|
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/mkbrnimg
|
2016-07-30 12:19:11 +00:00
|
|
|
mkbrnimg -s $(SIGNATURE) -m $(MAGIC) -p $(CRC32_POLY) -o $@ $(IMAGE_KERNEL) $(IMAGE_ROOTFS)
|
2016-04-26 11:43:28 +00:00
|
|
|
endef
|
2012-12-15 02:00:20 +00:00
|
|
|
|
2016-06-11 14:14:52 +00:00
|
|
|
define Build/fullimage
|
|
|
|
mkimage -A mips -O linux -C lzma -T filesystem -a 0x00 \
|
|
|
|
-e 0x00 -n 'LEDE RootFS' \
|
2016-07-30 12:19:11 +00:00
|
|
|
-d $(IMAGE_ROOTFS) $(IMAGE_ROOTFS).new
|
2016-06-11 14:14:52 +00:00
|
|
|
|
2016-07-30 12:19:11 +00:00
|
|
|
cat $(IMAGE_KERNEL) $(IMAGE_ROOTFS).new > $@.tmp
|
2016-06-11 14:14:52 +00:00
|
|
|
|
|
|
|
mkimage -A mips -O linux -T multi -a 0x00 -C none \
|
|
|
|
-e 0x00 -n 'OpenWrt fullimage' \
|
|
|
|
-d $@.tmp $@
|
|
|
|
|
2016-07-30 12:19:11 +00:00
|
|
|
rm $(IMAGE_ROOTFS).new
|
2016-06-11 14:14:52 +00:00
|
|
|
rm $@.tmp
|
|
|
|
endef
|
|
|
|
|
2016-04-21 19:46:53 +00:00
|
|
|
# Shared device definition: applies to every defined device
|
|
|
|
define Device/Default
|
2016-07-19 13:07:56 +00:00
|
|
|
PROFILES = Default
|
2016-04-21 19:46:53 +00:00
|
|
|
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts)
|
|
|
|
KERNEL_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs
|
|
|
|
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
|
|
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
|
|
|
|
FILESYSTEMS := squashfs
|
2016-07-19 13:07:56 +00:00
|
|
|
DEVICE_DTS := $(1)
|
2016-06-17 14:00:17 +00:00
|
|
|
DEVICE_DTS_DIR := ../dts
|
2016-05-26 20:43:55 +00:00
|
|
|
IMAGE_SIZE :=
|
2016-11-17 10:41:08 +00:00
|
|
|
SUPPORTED_DEVICES = $$(DEVICE_DTS)
|
2016-04-26 11:43:18 +00:00
|
|
|
IMAGES := sysupgrade.bin
|
2016-11-19 13:18:46 +00:00
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
2016-04-21 19:46:53 +00:00
|
|
|
endef
|
2016-07-19 13:07:56 +00:00
|
|
|
DEVICE_VARS += IMAGE_SIZE
|
2013-03-12 13:52:54 +00:00
|
|
|
|
2016-07-19 13:23:56 +00:00
|
|
|
define Device/NAND/xway
|
2016-09-04 06:56:05 +00:00
|
|
|
BLOCKSIZE := 16k
|
2016-07-19 13:23:56 +00:00
|
|
|
PAGESIZE := 512
|
|
|
|
SUBPAGESIZE := 256
|
|
|
|
FILESYSTEMS += ubifs
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/NAND/xrx200
|
2016-09-04 06:56:05 +00:00
|
|
|
BLOCKSIZE := 128k
|
2016-07-19 13:23:56 +00:00
|
|
|
PAGESIZE := 2048
|
|
|
|
SUBPAGESIZE := 512
|
|
|
|
FILESYSTEMS += ubifs
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/NAND
|
|
|
|
$(Device/NAND/$(SUBTARGET))
|
2016-11-17 10:41:08 +00:00
|
|
|
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
2016-07-19 13:23:56 +00:00
|
|
|
endef
|
|
|
|
|
2016-04-26 11:43:28 +00:00
|
|
|
define Device/lantiqBrnImage
|
|
|
|
KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict
|
|
|
|
IMAGES := factory.bin
|
2016-05-26 20:43:55 +00:00
|
|
|
IMAGE/factory.bin := mkbrnimg | check-size $$$$(IMAGE_SIZE)
|
2016-04-26 11:43:28 +00:00
|
|
|
endef
|
|
|
|
DEVICE_VARS += SIGNATURE MAGIC CRC32_POLY
|
|
|
|
|
2016-06-11 14:14:52 +00:00
|
|
|
define Device/lantiqFullImage
|
|
|
|
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | pad-offset 4 0
|
|
|
|
IMAGES := sysupgrade.bin fullimage.img
|
|
|
|
IMAGE/fullimage.img := fullimage | check-size $$$$(IMAGE_SIZE)
|
|
|
|
endef
|
|
|
|
|
2016-07-19 13:36:40 +00:00
|
|
|
define Device/AVM
|
|
|
|
KERNEL := kernel-bin | append-dtb | lzma | eva-image
|
|
|
|
endef
|
|
|
|
|
2016-06-13 17:04:20 +00:00
|
|
|
ifeq ($(SUBTARGET),xway_legacy)
|
2015-07-07 13:44:58 +00:00
|
|
|
|
2016-06-13 17:04:20 +00:00
|
|
|
define Device/ARV4520PW
|
|
|
|
IMAGE_SIZE := 3648k
|
|
|
|
DEVICE_TITLE := Easybox 800, WAV-281 - ARV4520PW
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
|
2016-06-13 17:04:20 +00:00
|
|
|
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
|
2016-06-01 20:43:58 +00:00
|
|
|
ltq-adsl-app ppp-mod-pppoa \
|
2016-06-13 17:04:20 +00:00
|
|
|
kmod-rt61-pci wpad-mini \
|
2016-06-01 20:43:58 +00:00
|
|
|
swconfig
|
|
|
|
endef
|
2016-06-13 17:04:20 +00:00
|
|
|
TARGET_DEVICES += ARV4520PW
|
2016-06-01 20:43:58 +00:00
|
|
|
|
|
|
|
define Device/ARV4525PW
|
|
|
|
IMAGE_SIZE := 3776k
|
|
|
|
DEVICE_TITLE := Speedport W502V Typ A - ARV4525PW
|
|
|
|
DEVICE_PACKAGES := kmod-ath5k wpad-mini \
|
|
|
|
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
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV4525PW
|
|
|
|
|
2016-06-13 17:04:20 +00:00
|
|
|
define Device/ARV452CQW
|
2016-06-01 20:43:58 +00:00
|
|
|
IMAGE_SIZE := 3776k
|
2016-06-13 17:04:20 +00:00
|
|
|
DEVICE_TITLE := Easybox 801 - ARV452CQW
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \
|
2016-06-13 17:04:20 +00:00
|
|
|
kmod-ath5k wpad-mini \
|
2016-06-01 20:43:58 +00:00
|
|
|
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
|
|
|
|
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
|
2016-06-13 17:04:20 +00:00
|
|
|
ltq-adsl-app ppp-mod-pppoa \
|
|
|
|
swconfig
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
2016-06-13 17:04:20 +00:00
|
|
|
TARGET_DEVICES += ARV452CQW
|
2016-06-01 20:43:58 +00:00
|
|
|
|
|
|
|
define Device/ARV4518PWR01
|
|
|
|
IMAGE_SIZE := 3776k
|
|
|
|
DEVICE_TITLE := ARV4518PWR01
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
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-ath5k wpad-mini \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV4518PWR01
|
|
|
|
|
|
|
|
define Device/ARV4518PWR01A
|
|
|
|
IMAGE_SIZE := 3776k
|
|
|
|
DEVICE_TITLE := ARV4518PWR01A
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
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-ath5k wpad-mini \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV4518PWR01A
|
|
|
|
|
2016-06-13 17:04:20 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(SUBTARGET),xway)
|
|
|
|
|
|
|
|
# Danube
|
|
|
|
|
2016-07-19 14:01:14 +00:00
|
|
|
define Device/BTHOMEHUBV2B
|
|
|
|
$(Device/NAND)
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := BT Home Hub 2B
|
2016-10-06 20:55:06 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube \
|
2016-06-15 12:51:11 +00:00
|
|
|
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
|
|
|
|
kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
|
|
|
|
kmod-ltq-deu-danube \
|
|
|
|
ltq-adsl-app ppp-mod-pppoa \
|
|
|
|
kmod-ath9k wpad-mini \
|
|
|
|
swconfig
|
|
|
|
endef
|
2016-07-19 14:01:14 +00:00
|
|
|
TARGET_DEVICES += BTHOMEHUBV2B
|
2016-06-15 12:51:11 +00:00
|
|
|
|
2016-06-13 17:04:20 +00:00
|
|
|
define Device/EASY50712
|
2016-06-01 20:43:58 +00:00
|
|
|
IMAGE_SIZE := 3776k
|
2016-06-13 17:04:20 +00:00
|
|
|
DEVICE_TITLE := Lantiq Danube - EASY50712
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += EASY50712
|
|
|
|
|
|
|
|
define Device/ACMP252
|
|
|
|
IMAGE_SIZE := 14848k
|
|
|
|
DEVICE_TITLE := AudioCodes MediaPack MP-252
|
|
|
|
DEVICE_PACKAGES := kmod-rt2x00-pci wpad-mini \
|
|
|
|
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
|
|
|
|
kmod-ltq-adsl-danube-fw-a kmod-ltq-ptm-danube \
|
|
|
|
ltq-adsl-app
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ACMP252
|
|
|
|
|
|
|
|
define Device/ARV4510PW
|
|
|
|
IMAGE_SIZE := 15616k
|
|
|
|
DEVICE_TITLE := Wippies, Elisa - ARV4510PW
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-ledtrig-usbport kmod-usb2-pci kmod-usb-uhci \
|
2016-06-01 20:43:58 +00:00
|
|
|
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 \
|
2016-06-13 17:04:20 +00:00
|
|
|
kmod-ltq-tapi kmod-ltq-vmmc \
|
|
|
|
kmod-rt2800-pci kmod-ath5k wpad-mini \
|
2016-06-01 20:43:58 +00:00
|
|
|
swconfig
|
|
|
|
endef
|
2016-06-13 17:04:20 +00:00
|
|
|
TARGET_DEVICES += ARV4510PW
|
2016-06-01 20:43:58 +00:00
|
|
|
|
2016-06-13 17:04:20 +00:00
|
|
|
define Device/ARV7525PW
|
|
|
|
IMAGE_SIZE := 3776k
|
|
|
|
DEVICE_TITLE := Speedport W303V Typ A - ARV7525PW
|
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini \
|
2016-06-01 20:43:58 +00:00
|
|
|
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
|
|
|
|
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
|
2016-06-13 17:04:20 +00:00
|
|
|
ltq-adsl-app ppp-mod-pppoa
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
2016-06-13 17:04:20 +00:00
|
|
|
TARGET_DEVICES += ARV7525PW
|
2016-06-01 20:43:58 +00:00
|
|
|
|
2016-06-13 17:04:20 +00:00
|
|
|
define Device/ARV4519PW
|
2016-06-01 20:43:58 +00:00
|
|
|
IMAGE_SIZE := 3776k
|
2016-06-13 17:04:20 +00:00
|
|
|
DEVICE_TITLE := Vodafone, Pirelli - ARV4519PW
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
|
2016-06-13 17:04:20 +00:00
|
|
|
kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
|
2016-06-01 20:43:58 +00:00
|
|
|
ltq-adsl-app ppp-mod-pppoa \
|
|
|
|
swconfig
|
|
|
|
endef
|
2016-06-13 17:04:20 +00:00
|
|
|
TARGET_DEVICES += ARV4519PW
|
2016-06-01 20:43:58 +00:00
|
|
|
|
2016-06-20 16:47:38 +00:00
|
|
|
define Device/ARV7506PW11
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_TITLE := Alice/O2 IAD 4421 - ARV7506PW11
|
|
|
|
DEVICE_PACKAGES := 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-rt2800-pci wpad-mini \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV7506PW11
|
|
|
|
|
2016-06-01 20:43:58 +00:00
|
|
|
define Device/ARV7510PW22
|
|
|
|
IMAGE_SIZE := 31232k
|
|
|
|
DEVICE_TITLE := Astoria - ARV7510PW22
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
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-ltq-tapi kmod-ltq-vmmc \
|
|
|
|
kmod-rt2800-pci wpad-mini \
|
|
|
|
kmod-usb-uhci kmod-usb2 kmod-usb2-pci \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV7510PW22
|
|
|
|
|
|
|
|
define Device/ARV7518PW
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_TITLE := Astoria - ARV7518PW
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
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 \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV7518PW
|
|
|
|
|
|
|
|
define Device/ARV7519PW
|
|
|
|
IMAGE_SIZE := 15488k
|
|
|
|
DEVICE_TITLE := Astoria - ARV7519PW
|
2016-10-05 06:16:08 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube \
|
2016-06-01 20:43:58 +00:00
|
|
|
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-rt2800-pci wpad-mini \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV7519PW
|
|
|
|
|
|
|
|
define Device/ARV752DPW
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_TITLE := Easybox 802 - ARV752DPW
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
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-ltq-tapi kmod-ltq-vmmc \
|
|
|
|
kmod-rt2800-pci wpad-mini \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV752DPW
|
|
|
|
|
|
|
|
define Device/ARV752DPW22
|
|
|
|
IMAGE_SIZE := 7616k
|
|
|
|
DEVICE_TITLE := Easybox 803 - ARV752DPW22
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2-pci kmod-usb-uhci kmod-ltq-hcd-danube kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
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-ltq-tapi kmod-ltq-vmmc \
|
|
|
|
kmod-rt2800-pci wpad-mini \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV752DPW22
|
|
|
|
|
|
|
|
define Device/ARV8539PW22
|
|
|
|
IMAGE_SIZE := 7616k
|
|
|
|
DEVICE_TITLE := Speedport W504V Typ A - ARV8539PW22
|
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube \
|
|
|
|
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 \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV8539PW22
|
|
|
|
|
|
|
|
define Device/GIGASX76X
|
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_TITLE := Gigaset sx76x
|
2016-10-05 06:16:08 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube \
|
2016-06-01 20:43:58 +00:00
|
|
|
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
|
|
|
|
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
|
|
|
|
ltq-adsl-app ppp-mod-pppoe \
|
|
|
|
kmod-ath5k wpad-mini \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += GIGASX76X
|
|
|
|
|
2013-09-19 00:50:48 +00:00
|
|
|
|
2012-12-15 02:00:20 +00:00
|
|
|
# AR9
|
2016-05-18 13:48:57 +00:00
|
|
|
|
2016-07-22 06:59:01 +00:00
|
|
|
define Device/BTHOMEHUBV3A
|
2016-07-19 14:01:14 +00:00
|
|
|
$(Device/NAND)
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := BT Home Hub 3A
|
2016-10-05 06:16:08 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-dwc2 \
|
2016-06-15 12:51:11 +00:00
|
|
|
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 wpad-mini \
|
|
|
|
swconfig uboot-envtools
|
|
|
|
endef
|
2016-07-19 14:01:14 +00:00
|
|
|
TARGET_DEVICES += BTHOMEHUBV3A
|
2016-06-15 12:51:11 +00:00
|
|
|
|
2016-10-01 07:59:00 +00:00
|
|
|
DGN3500_KERNEL_OFFSET_HEX=0x50000
|
|
|
|
DGN3500_KERNEL_OFFSET_DEC=327680
|
|
|
|
define Device/DGN3500
|
|
|
|
IMAGE_SIZE := 16000k
|
|
|
|
IMAGES := \
|
|
|
|
sysupgrade-NA.bin sysupgrade-WW.bin \
|
|
|
|
factory-NA.bin factory-WW.bin
|
|
|
|
IMAGE/sysupgrade-NA.bin := \
|
|
|
|
append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "NA" | \
|
2016-11-19 13:18:46 +00:00
|
|
|
pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
2016-10-01 07:59:00 +00:00
|
|
|
IMAGE/sysupgrade-WW.bin := \
|
|
|
|
append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "WW" | \
|
2016-11-19 13:18:46 +00:00
|
|
|
pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
2016-10-01 07:59:00 +00:00
|
|
|
IMAGE/factory-NA.bin := \
|
|
|
|
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-WW.bin := \
|
|
|
|
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
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := Netgear DGN3500
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
|
2016-06-15 12:51:11 +00:00
|
|
|
kmod-ath9k 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 \
|
|
|
|
kmod-ltq-deu-ar9 swconfig
|
|
|
|
endef
|
2016-10-01 07:59:00 +00:00
|
|
|
TARGET_DEVICES += DGN3500
|
|
|
|
|
|
|
|
define Device/DGN3500B
|
|
|
|
IMAGE_SIZE := 16000k
|
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/sysupgrade.bin := \
|
|
|
|
append-kernel | append-rootfs | dgn3500-sercom-footer 0x0 "DE" | \
|
2016-11-19 13:18:46 +00:00
|
|
|
pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
2016-10-01 07:59:00 +00:00
|
|
|
IMAGE/factory.bin := \
|
|
|
|
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
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := Netgear DGN3500B
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
|
2016-06-15 12:51:11 +00:00
|
|
|
kmod-ath9k 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 swconfig
|
|
|
|
endef
|
2016-10-01 07:59:00 +00:00
|
|
|
TARGET_DEVICES += DGN3500B
|
2016-06-15 12:51:11 +00:00
|
|
|
|
2016-06-01 20:43:58 +00:00
|
|
|
define Device/WBMRA
|
|
|
|
IMAGE_SIZE := 31488k
|
|
|
|
DEVICE_DTS := WBMR
|
|
|
|
DEVICE_TITLE := Buffalo WBMR-HP-G300H (A) - WBMR
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
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 \
|
2016-10-14 04:27:14 +00:00
|
|
|
kmod-ath9k wpad-mini swconfig
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += WBMRA
|
|
|
|
|
|
|
|
define Device/WBMRB
|
|
|
|
IMAGE_SIZE := 31488k
|
|
|
|
DEVICE_DTS := WBMR
|
|
|
|
DEVICE_TITLE := Buffalo WBMR-HP-G300H (B) - WBMR
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
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 \
|
2016-10-14 04:27:14 +00:00
|
|
|
kmod-ath9k wpad-mini swconfig
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += WBMRB
|
|
|
|
|
2016-07-19 14:01:14 +00:00
|
|
|
define Device/FRITZ7320
|
|
|
|
$(Device/AVM)
|
2016-08-21 15:01:33 +00:00
|
|
|
IMAGE_SIZE := 15744k
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := 1&1 HomeServer - FRITZ7320
|
|
|
|
DEVICE_PACKAGES := kmod-ath9k 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
|
|
|
|
endef
|
2016-07-19 14:01:14 +00:00
|
|
|
TARGET_DEVICES += FRITZ7320
|
2016-06-15 12:51:11 +00:00
|
|
|
|
2016-06-01 20:43:58 +00:00
|
|
|
define Device/H201L
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_TITLE := ZTE H201L - H201L
|
|
|
|
DEVICE_PACKAGES := kmod-ath9k-htc 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-pppoe \
|
2016-10-19 10:09:45 +00:00
|
|
|
kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
|
2016-06-01 20:43:58 +00:00
|
|
|
kmod-ltq-tapi kmod-ltq-vmmc \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += H201L
|
|
|
|
|
|
|
|
define Device/P2601HNFX
|
|
|
|
IMAGE_SIZE := 15616k
|
|
|
|
DEVICE_TITLE := ZyXEL P-2601HN-Fx
|
|
|
|
DEVICE_PACKAGES := kmod-rt2800-usb 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-pppoe \
|
|
|
|
kmod-ltq-deu-ar9 kmod-usb-dwc2 \
|
|
|
|
swconfig
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += P2601HNFX
|
|
|
|
|
2013-09-19 00:50:46 +00:00
|
|
|
|
2013-09-17 21:46:00 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2016-06-01 20:43:58 +00:00
|
|
|
ifeq ($(SUBTARGET),xrx200)
|
2012-07-31 18:49:54 +00:00
|
|
|
|
2012-12-15 02:00:20 +00:00
|
|
|
# VR9
|
2016-05-18 13:48:57 +00:00
|
|
|
|
2016-07-19 13:26:59 +00:00
|
|
|
define Device/P2812HNUF1
|
|
|
|
$(Device/NAND)
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := ZyXEL P-2812HNU-F1
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2016-06-15 12:51:11 +00:00
|
|
|
endef
|
2016-07-19 13:26:59 +00:00
|
|
|
TARGET_DEVICES += P2812HNUF1
|
2014-03-30 09:16:06 +00:00
|
|
|
|
2016-07-22 06:59:01 +00:00
|
|
|
define Device/P2812HNUF3
|
2016-07-19 13:26:59 +00:00
|
|
|
$(Device/NAND)
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := ZyXEL P-2812HNU-F3
|
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2
|
|
|
|
endef
|
2016-07-19 13:26:59 +00:00
|
|
|
TARGET_DEVICES += P2812HNUF3
|
2016-06-15 12:51:11 +00:00
|
|
|
|
2016-06-01 20:43:58 +00:00
|
|
|
define Device/ARV7519RW22
|
|
|
|
IMAGE_SIZE := 31232k
|
|
|
|
DEVICE_TITLE := Livebox Astoria ARV7519RW22
|
|
|
|
DEVICE_PACKAGES := kmod-usb-dwc2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ARV7519RW22
|
|
|
|
|
2016-07-19 13:26:59 +00:00
|
|
|
define Device/BTHOMEHUBV5A
|
|
|
|
$(Device/NAND)
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := BT Home Hub 5A
|
2016-08-01 16:29:23 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k kmod-ath10k ath10k-firmware-qca988x wpad-mini kmod-usb-dwc2
|
2016-06-15 12:51:11 +00:00
|
|
|
endef
|
2016-07-19 13:26:59 +00:00
|
|
|
TARGET_DEVICES += BTHOMEHUBV5A
|
2016-06-15 12:51:11 +00:00
|
|
|
|
2016-06-01 20:43:58 +00:00
|
|
|
define Device/EASY80920NAND
|
2016-06-11 14:14:52 +00:00
|
|
|
$(Device/lantiqFullImage)
|
2016-06-01 20:43:58 +00:00
|
|
|
IMAGE_SIZE := 64512k
|
|
|
|
DEVICE_TITLE := Lantiq VR9 - EASY80920NAND
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += EASY80920NAND
|
|
|
|
|
|
|
|
define Device/EASY80920NOR
|
|
|
|
IMAGE_SIZE := 7936k
|
|
|
|
DEVICE_TITLE := Lantiq VR9 - EASY80920NOR
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += EASY80920NOR
|
|
|
|
|
2016-07-19 13:36:40 +00:00
|
|
|
define Device/FRITZ3370
|
|
|
|
$(Device/AVM)
|
2016-08-21 15:01:33 +00:00
|
|
|
$(Device/NAND)
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := Fritz!Box WLan - FRITZ3370
|
|
|
|
DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2
|
|
|
|
endef
|
2016-07-19 13:36:40 +00:00
|
|
|
TARGET_DEVICES += FRITZ3370
|
2016-06-11 13:05:52 +00:00
|
|
|
|
2016-07-19 13:36:40 +00:00
|
|
|
define Device/FRITZ7360SL
|
|
|
|
$(Device/AVM)
|
2016-08-21 15:01:33 +00:00
|
|
|
IMAGE_SIZE := 15744k
|
2016-06-15 12:51:11 +00:00
|
|
|
DEVICE_TITLE := 1&1 HomeServer - FRITZ7360SL
|
|
|
|
DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2
|
|
|
|
endef
|
2016-07-19 13:36:40 +00:00
|
|
|
TARGET_DEVICES += FRITZ7360SL
|
2016-06-15 12:51:11 +00:00
|
|
|
|
2016-10-02 09:10:02 +00:00
|
|
|
define Device/VG3503J
|
|
|
|
IMAGE_SIZE := 8000k
|
|
|
|
DEVICE_TITLE := BT OpenReach - ECI VDSL Modem
|
2016-06-15 12:51:11 +00:00
|
|
|
endef
|
2016-10-02 09:10:02 +00:00
|
|
|
TARGET_DEVICES += VG3503J
|
2016-06-15 12:51:11 +00:00
|
|
|
|
2016-05-30 09:54:06 +00:00
|
|
|
include tp-link.mk
|
2016-05-30 09:54:05 +00:00
|
|
|
|
2016-06-09 14:51:39 +00:00
|
|
|
define Device/WBMR300
|
|
|
|
IMAGE_SIZE := 15616k
|
|
|
|
DEVICE_TITLE := Buffalo WBMR-300HPD
|
|
|
|
DEVICE_PACKAGES := kmod-mt76 wpad-mini kmod-usb-dwc2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += WBMR300
|
|
|
|
|
2016-06-01 20:43:58 +00:00
|
|
|
define Device/VGV7510KW22NOR
|
|
|
|
IMAGE_SIZE := 15232k
|
|
|
|
DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (NOR)
|
2016-11-15 20:43:08 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += VGV7510KW22NOR
|
|
|
|
|
|
|
|
define Device/VGV7510KW22BRN
|
|
|
|
$(Device/lantiqBrnImage)
|
|
|
|
IMAGE_SIZE := 7168k
|
|
|
|
SIGNATURE := 5D00008000
|
|
|
|
MAGIC := 0x12345678
|
|
|
|
CRC32_POLY := 0x2083b8ed
|
|
|
|
DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (BRN)
|
2016-11-15 20:43:08 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += VGV7510KW22BRN
|
|
|
|
|
|
|
|
define Device/VGV7519NOR
|
|
|
|
IMAGE_SIZE := 15360k
|
|
|
|
DEVICE_TITLE := Experiabox 8 VGV7519
|
2016-10-29 11:51:12 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += VGV7519NOR
|
|
|
|
|
|
|
|
define Device/VGV7519BRN
|
|
|
|
$(Device/lantiqBrnImage)
|
|
|
|
IMAGE_SIZE := 7168k
|
|
|
|
SIGNATURE := 5D00008000
|
|
|
|
MAGIC := 0x12345678
|
|
|
|
CRC32_POLY := 0x2083b8ed
|
|
|
|
DEVICE_TITLE := Experiabox 8 VGV7519 (BRN)
|
2016-10-29 11:51:12 +00:00
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
|
2016-06-01 20:43:58 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += VGV7519BRN
|
2013-09-30 20:48:46 +00:00
|
|
|
|
2016-06-17 16:50:07 +00:00
|
|
|
endif
|
|
|
|
|
2010-12-12 22:57:16 +00:00
|
|
|
$(eval $(call BuildImage))
|