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>
This commit is contained in:
parent
2ae06f3013
commit
239ad94165
5 changed files with 118 additions and 64 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
BOARD:=lantiq
|
BOARD:=lantiq
|
||||||
BOARDNAME:=Lantiq
|
BOARDNAME:=Lantiq
|
||||||
FEATURES:=squashfs
|
FEATURES:=squashfs
|
||||||
SUBTARGETS=xway xrx200
|
SUBTARGETS=xrx200 xway xway_legacy
|
||||||
MAINTAINER:=John Crispin <john@phrozen.org>
|
MAINTAINER:=John Crispin <john@phrozen.org>
|
||||||
|
|
||||||
KERNEL_PATCHVER:=4.4
|
KERNEL_PATCHVER:=4.4
|
||||||
|
|
|
@ -281,6 +281,73 @@ define Device/lantiqBrnImage
|
||||||
endef
|
endef
|
||||||
DEVICE_VARS += SIGNATURE MAGIC CRC32_POLY
|
DEVICE_VARS += SIGNATURE MAGIC CRC32_POLY
|
||||||
|
|
||||||
|
ifeq ($(SUBTARGET),xway_legacy)
|
||||||
|
|
||||||
|
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-b kmod-ltq-atm-danube \
|
||||||
|
ltq-adsl-app ppp-mod-pppoa \
|
||||||
|
kmod-rt61-pci wpad-mini \
|
||||||
|
swconfig
|
||||||
|
endef
|
||||||
|
TARGET_DEVICES += ARV4520PW
|
||||||
|
|
||||||
|
define Device/ARV4525PW
|
||||||
|
DEVICE_PROFILE := 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
|
||||||
|
|
||||||
|
define Device/ARV452CQW
|
||||||
|
DEVICE_PROFILE := ARV452CQW
|
||||||
|
IMAGE_SIZE := 3776k
|
||||||
|
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 \
|
||||||
|
swconfig
|
||||||
|
endef
|
||||||
|
TARGET_DEVICES += ARV452CQW
|
||||||
|
|
||||||
|
define Device/ARV4518PWR01
|
||||||
|
DEVICE_PROFILE := ARV4518PWR01
|
||||||
|
IMAGE_SIZE := 3776k
|
||||||
|
DEVICE_TITLE := ARV4518PWR01
|
||||||
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
|
||||||
|
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
|
||||||
|
DEVICE_PROFILE := ARV4518PWR01A
|
||||||
|
IMAGE_SIZE := 3776k
|
||||||
|
DEVICE_TITLE := ARV4518PWR01A
|
||||||
|
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
|
||||||
|
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
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(SUBTARGET),xway)
|
ifeq ($(SUBTARGET),xway)
|
||||||
|
|
||||||
# Danube
|
# Danube
|
||||||
|
@ -322,17 +389,6 @@ define Device/ARV4510PW
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ARV4510PW
|
TARGET_DEVICES += ARV4510PW
|
||||||
|
|
||||||
define Device/ARV4525PW
|
|
||||||
DEVICE_PROFILE := 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
|
|
||||||
|
|
||||||
define Device/ARV7525PW
|
define Device/ARV7525PW
|
||||||
DEVICE_PROFILE := ARV7525PW
|
DEVICE_PROFILE := ARV7525PW
|
||||||
IMAGE_SIZE := 3776k
|
IMAGE_SIZE := 3776k
|
||||||
|
@ -344,32 +400,6 @@ define Device/ARV7525PW
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ARV7525PW
|
TARGET_DEVICES += ARV7525PW
|
||||||
|
|
||||||
define Device/ARV4518PWR01
|
|
||||||
DEVICE_PROFILE := ARV4518PWR01
|
|
||||||
IMAGE_SIZE := 3776k
|
|
||||||
DEVICE_TITLE := ARV4518PWR01
|
|
||||||
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
|
|
||||||
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
|
|
||||||
DEVICE_PROFILE := ARV4518PWR01A
|
|
||||||
IMAGE_SIZE := 3776k
|
|
||||||
DEVICE_TITLE := ARV4518PWR01A
|
|
||||||
DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
|
|
||||||
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
|
|
||||||
|
|
||||||
define Device/ARV4519PW
|
define Device/ARV4519PW
|
||||||
DEVICE_PROFILE := ARV4519PW
|
DEVICE_PROFILE := ARV4519PW
|
||||||
IMAGE_SIZE := 3776k
|
IMAGE_SIZE := 3776k
|
||||||
|
@ -382,32 +412,6 @@ define Device/ARV4519PW
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ARV4519PW
|
TARGET_DEVICES += ARV4519PW
|
||||||
|
|
||||||
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 \
|
|
||||||
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
|
|
||||||
endef
|
|
||||||
TARGET_DEVICES += ARV4520PW
|
|
||||||
|
|
||||||
define Device/ARV452CQW
|
|
||||||
DEVICE_PROFILE := ARV452CQW
|
|
||||||
IMAGE_SIZE := 3776k
|
|
||||||
DEVICE_TITLE := Easybox 801 - ARV452CQW
|
|
||||||
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 \
|
|
||||||
ltq-adsl-app ppp-mod-pppoa \
|
|
||||||
swconfig
|
|
||||||
endef
|
|
||||||
TARGET_DEVICES += ARV452CQW
|
|
||||||
|
|
||||||
define Device/ARV7510PW22
|
define Device/ARV7510PW22
|
||||||
DEVICE_PROFILE := ARV7510PW22
|
DEVICE_PROFILE := ARV7510PW22
|
||||||
IMAGE_SIZE := 31232k
|
IMAGE_SIZE := 31232k
|
||||||
|
|
29
target/linux/lantiq/xway_legacy/config-default
Normal file
29
target/linux/lantiq/xway_legacy/config-default
Normal file
|
@ -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
|
9
target/linux/lantiq/xway_legacy/profiles/00-default.mk
Normal file
9
target/linux/lantiq/xway_legacy/profiles/00-default.mk
Normal file
|
@ -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))
|
12
target/linux/lantiq/xway_legacy/target.mk
Normal file
12
target/linux/lantiq/xway_legacy/target.mk
Normal file
|
@ -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
|
Loading…
Reference in a new issue