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

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 27 15:49:00 PST 2021


mkresin pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/4172a8e0ad26d95ad21d7dd92f85a1d3f5abd74a

commit 4172a8e0ad26d95ad21d7dd92f85a1d3f5abd74a
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 1f045ee594..1ef95cf01c 100644
--- a/target/linux/lantiq/image/vr9.mk
+++ b/target/linux/lantiq/image/vr9.mk
@@ -243,6 +243,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