[openwrt/openwrt] lantiq: set maximum kernel size for P2812HNUF3

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 27 13:52:52 PST 2021


mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6f5c27edd4f5b51c5b2287f2b3e0cb67ec73e693

commit 6f5c27edd4f5b51c5b2287f2b3e0cb67ec73e693
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sat Nov 27 17:28:19 2021 +0100

    lantiq: set maximum kernel size for P2812HNUF3
    
    The board has 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 at kresin.me>
---
 target/linux/lantiq/image/vr9.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/lantiq/image/vr9.mk b/target/linux/lantiq/image/vr9.mk
index d997866568..909479587c 100644
--- a/target/linux/lantiq/image/vr9.mk
+++ b/target/linux/lantiq/image/vr9.mk
@@ -282,6 +282,8 @@ define Device/zyxel_p-2812hnu-f3
   DEVICE_VARIANT := F3
   BOARD_NAME := P2812HNUF3
   DEVICE_PACKAGES := kmod-rt2800-pci wpad-basic-wolfssl kmod-usb-dwc2
+  KERNEL_SIZE := 2048k
   SUPPORTED_DEVICES += P2812HNUF3
+  DEFAULT := n
 endef
 TARGET_DEVICES += zyxel_p-2812hnu-f3



More information about the lede-commits mailing list