lantiq: set maximum kernel size

These boards have a fixed size kernel partition but do not limit the
kernel size during image building.

Disable image building for both boards as well, since the kernel of the
last release as well as master are to big to fit into the 2 MByte kernel
partition.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2021-02-16 19:35:01 +01:00
parent 7995a93744
commit 23dd786734
2 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,7 @@ define Device/bt_homehub-v3a
DEVICE_VARIANT := Type A DEVICE_VARIANT := Type A
BOARD_NAME := BTHOMEHUBV3A BOARD_NAME := BTHOMEHUBV3A
SOC := ar9 SOC := ar9
KERNEL_SIZE := 2048k
DEVICE_PACKAGES := kmod-usb-dwc2 \ DEVICE_PACKAGES := kmod-usb-dwc2 \
kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \ kmod-ltq-adsl-ar9-mei kmod-ltq-adsl-ar9 \
kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \ kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
@ -42,6 +43,7 @@ define Device/bt_homehub-v3a
kmod-ath9k kmod-owl-loader wpad-basic-wolfssl \ kmod-ath9k kmod-owl-loader wpad-basic-wolfssl \
uboot-envtools uboot-envtools
SUPPORTED_DEVICES += BTHOMEHUBV3A SUPPORTED_DEVICES += BTHOMEHUBV3A
DEFAULT := n
endef endef
TARGET_DEVICES += bt_homehub-v3a TARGET_DEVICES += bt_homehub-v3a

View File

@ -188,6 +188,7 @@ define Device/bt_homehub-v2b
DEVICE_VARIANT := Type B DEVICE_VARIANT := Type B
BOARD_NAME := BTHOMEHUBV2B BOARD_NAME := BTHOMEHUBV2B
SOC := danube SOC := danube
KERNEL_SIZE := 2048k
DEVICE_PACKAGES := kmod-usb-dwc2 \ DEVICE_PACKAGES := kmod-usb-dwc2 \
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-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-a kmod-ltq-atm-danube \
@ -195,6 +196,7 @@ define Device/bt_homehub-v2b
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ath9k kmod-owl-loader wpad-basic-wolfssl kmod-ath9k kmod-owl-loader wpad-basic-wolfssl
SUPPORTED_DEVICES += BTHOMEHUBV2B SUPPORTED_DEVICES += BTHOMEHUBV2B
DEFAULT := n
endef endef
TARGET_DEVICES += bt_homehub-v2b TARGET_DEVICES += bt_homehub-v2b