diff options
author | John Crispin <john@phrozen.org> | 2016-06-13 19:04:20 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-06-13 22:51:43 +0200 |
commit | 239ad94165adc3ffb5290dd871d2ff0ddff4bdcf (patch) | |
tree | 03fcdeb281332b91774a3f261e58a2e822016116 /target/linux | |
parent | 2ae06f30134f856b7f27132dffe725817f4fb801 (diff) | |
download | master-31e0f0ae-239ad94165adc3ffb5290dd871d2ff0ddff4bdcf.tar.gz master-31e0f0ae-239ad94165adc3ffb5290dd871d2ff0ddff4bdcf.tar.bz2 master-31e0f0ae-239ad94165adc3ffb5290dd871d2ff0ddff4bdcf.zip |
lantiq: add xway_legacy target
due to bloat recent builds fail to fit into the flash of the old danube units
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/lantiq/Makefile | 2 | ||||
-rw-r--r-- | target/linux/lantiq/image/Makefile | 126 | ||||
-rw-r--r-- | target/linux/lantiq/xway_legacy/config-default | 29 | ||||
-rw-r--r-- | target/linux/lantiq/xway_legacy/profiles/00-default.mk | 9 | ||||
-rw-r--r-- | target/linux/lantiq/xway_legacy/target.mk | 12 |
5 files changed, 116 insertions, 62 deletions
diff --git a/target/linux/lantiq/Makefile b/target/linux/lantiq/Makefile index b615c4b784..af4295cbb8 100644 --- a/target/linux/lantiq/Makefile +++ b/target/linux/lantiq/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk BOARD:=lantiq BOARDNAME:=Lantiq FEATURES:=squashfs -SUBTARGETS=xway xrx200 +SUBTARGETS=xrx200 xway xway_legacy MAINTAINER:=John Crispin <john@phrozen.org> KERNEL_PATCHVER:=4.4 diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index 49f3fbda06..e822af20cc 100644 --- a/target/linux/lantiq/image/Makefile +++ b/target/linux/lantiq/image/Makefile @@ -281,46 +281,20 @@ define Device/lantiqBrnImage endef DEVICE_VARS += SIGNATURE MAGIC CRC32_POLY -ifeq ($(SUBTARGET),xway) - -# Danube -BTHOMEHUBV2B_UBIFS_OPTS:="-m 512 -e 15872 -c 1959" -BTHOMEHUBV2B_UBI_OPTS:="-m 512 -p 16KiB -s 256" - -Image/BuildKernel/Profile/BTHOMEHUBV2B=$(call Image/BuildKernel/Template,BTHOMEHUBV2B) -Image/Build/Profile/BTHOMEHUBV2B=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV2B) - -define Device/EASY50712 - DEVICE_PROFILE := EASY50712 - IMAGE_SIZE := 3776k - DEVICE_TITLE := Lantiq Danube - EASY50712 -endef -TARGET_DEVICES += EASY50712 - -define Device/ACMP252 - DEVICE_PROFILE := 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 +ifeq ($(SUBTARGET),xway_legacy) -define Device/ARV4510PW - DEVICE_PROFILE := ARV4510PW - IMAGE_SIZE := 15616k - DEVICE_TITLE := Wippies, Elisa - ARV4510PW - DEVICE_PACKAGES := kmod-ledtrig-usbdev kmod-usb2-pci kmod-usb-uhci \ +define Device/ARV4520PW + DEVICE_PROFILE := ARV4520PW + IMAGE_SIZE := 3648k + DEVICE_TITLE := Easybox 800, WAV-281 - ARV4520PW + DEVICE_PACKAGES := kmod-ltq-hcd-danube \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ - kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-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 kmod-ath5k wpad-mini \ + kmod-rt61-pci wpad-mini \ swconfig endef -TARGET_DEVICES += ARV4510PW +TARGET_DEVICES += ARV4520PW define Device/ARV4525PW DEVICE_PROFILE := ARV4525PW @@ -333,16 +307,18 @@ define Device/ARV4525PW endef TARGET_DEVICES += ARV4525PW -define Device/ARV7525PW - DEVICE_PROFILE := ARV7525PW +define Device/ARV452CQW + DEVICE_PROFILE := ARV452CQW IMAGE_SIZE := 3776k - DEVICE_TITLE := Speedport W303V Typ A - ARV7525PW - DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini \ + DEVICE_TITLE := Easybox 801 - ARV452CQW + DEVICE_PACKAGES := kmod-ltq-hcd-danube \ + 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 + ltq-adsl-app ppp-mod-pppoa \ + swconfig endef -TARGET_DEVICES += ARV7525PW +TARGET_DEVICES += ARV452CQW define Device/ARV4518PWR01 DEVICE_PROFILE := ARV4518PWR01 @@ -370,43 +346,71 @@ define Device/ARV4518PWR01A endef TARGET_DEVICES += ARV4518PWR01A -define Device/ARV4519PW - DEVICE_PROFILE := ARV4519PW +endif + +ifeq ($(SUBTARGET),xway) + +# Danube +BTHOMEHUBV2B_UBIFS_OPTS:="-m 512 -e 15872 -c 1959" +BTHOMEHUBV2B_UBI_OPTS:="-m 512 -p 16KiB -s 256" + +Image/BuildKernel/Profile/BTHOMEHUBV2B=$(call Image/BuildKernel/Template,BTHOMEHUBV2B) +Image/Build/Profile/BTHOMEHUBV2B=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV2B) + +define Device/EASY50712 + DEVICE_PROFILE := EASY50712 IMAGE_SIZE := 3776k - DEVICE_TITLE := Vodafone, Pirelli - ARV4519PW - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_TITLE := Lantiq Danube - EASY50712 +endef +TARGET_DEVICES += EASY50712 + +define Device/ACMP252 + DEVICE_PROFILE := 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 + DEVICE_PROFILE := ARV4510PW + IMAGE_SIZE := 15616k + DEVICE_TITLE := Wippies, Elisa - ARV4510PW + DEVICE_PACKAGES := kmod-ledtrig-usbdev kmod-usb2-pci kmod-usb-uhci \ 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 kmod-ath5k wpad-mini \ swconfig endef -TARGET_DEVICES += ARV4519PW +TARGET_DEVICES += ARV4510PW -define Device/ARV4520PW - DEVICE_PROFILE := ARV4520PW - IMAGE_SIZE := 3648k - DEVICE_TITLE := Easybox 800, WAV-281 - ARV4520PW - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ +define Device/ARV7525PW + DEVICE_PROFILE := ARV7525PW + IMAGE_SIZE := 3776k + DEVICE_TITLE := Speedport W303V Typ A - ARV7525PW + DEVICE_PACKAGES := kmod-rt2800-pci 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 \ - kmod-rt61-pci wpad-mini \ - swconfig + ltq-adsl-app ppp-mod-pppoa endef -TARGET_DEVICES += ARV4520PW +TARGET_DEVICES += ARV7525PW -define Device/ARV452CQW - DEVICE_PROFILE := ARV452CQW +define Device/ARV4519PW + DEVICE_PROFILE := ARV4519PW IMAGE_SIZE := 3776k - DEVICE_TITLE := Easybox 801 - ARV452CQW + DEVICE_TITLE := Vodafone, Pirelli - ARV4519PW DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ - kmod-ath5k wpad-mini \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ - kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ + kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ swconfig endef -TARGET_DEVICES += ARV452CQW +TARGET_DEVICES += ARV4519PW define Device/ARV7510PW22 DEVICE_PROFILE := ARV7510PW22 diff --git a/target/linux/lantiq/xway_legacy/config-default b/target/linux/lantiq/xway_legacy/config-default new file mode 100644 index 0000000000..b838106ddc --- /dev/null +++ b/target/linux/lantiq/xway_legacy/config-default @@ -0,0 +1,29 @@ +CONFIG_ADM6996_PHY=y +CONFIG_AR8216_PHY=y +CONFIG_CRC16=y +CONFIG_CRYPTO_DEFLATE=y +CONFIG_CRYPTO_LZO=y +CONFIG_FIRMWARE_IN_KERNEL=y +# CONFIG_GPIO_SYSFS is not set +# CONFIG_HW_RANDOM is not set +CONFIG_INPUT=y +CONFIG_INPUT_EVDEV=y +CONFIG_INPUT_POLLDEV=y +# CONFIG_ISDN is not set +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +# CONFIG_LEDS_TRIGGER_TIMER is not set +CONFIG_LZO_COMPRESS=y +CONFIG_LZO_DECOMPRESS=y +# CONFIG_MTD_PHYSMAP_OF is not set +CONFIG_NLS=y +CONFIG_RTL8306_PHY=y +CONFIG_RTL8366S_PHY=y +CONFIG_RTL8367B_PHY=y +CONFIG_RTL8367_PHY=y +CONFIG_USB=y +CONFIG_USB_COMMON=y +# CONFIG_USB_EHCI_HCD is not set +CONFIG_USB_SUPPORT=y +# CONFIG_USB_UHCI_HCD is not set +CONFIG_ZLIB_DEFLATE=y +CONFIG_ZLIB_INFLATE=y diff --git a/target/linux/lantiq/xway_legacy/profiles/00-default.mk b/target/linux/lantiq/xway_legacy/profiles/00-default.mk new file mode 100644 index 0000000000..26bc8b502b --- /dev/null +++ b/target/linux/lantiq/xway_legacy/profiles/00-default.mk @@ -0,0 +1,9 @@ +define Profile/Default + NAME:=Default Profile + PRIORITY:=1 +endef + +define Profile/Default/Description + Default package set compatible with most boards. +endef +$(eval $(call Profile,Default)) diff --git a/target/linux/lantiq/xway_legacy/target.mk b/target/linux/lantiq/xway_legacy/target.mk new file mode 100644 index 0000000000..2d9cc56d38 --- /dev/null +++ b/target/linux/lantiq/xway_legacy/target.mk @@ -0,0 +1,12 @@ +ARCH:=mips +SUBTARGET:=xway_legacy +BOARDNAME:=XWAY Legacy +FEATURES:=squashfs atm mips16 ramdisk small_flash +CPU_TYPE:=34kc +CPU_SUBTYPE:=dsp + +DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug + +define Target/Description + Lantiq XWAY Legacy for old boards with small flash +endef |