lantiq: set maximum kernel size for ARV7519RW22
authorAleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
Wed, 3 Mar 2021 21:46:50 +0000 (22:46 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 18 Mar 2021 15:17:43 +0000 (16:17 +0100)
Some users report that current snapshot producies non-bootable images.
Stock uboot can boot images if the kernel is smaller than 2MB.

Set maximum kernel size and disable image building for this board.

Ref: https://forum.openwrt.org/t/astoria-arv7519rw22-bootloops-after-upgrade/89843
Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
target/linux/lantiq/image/vr9.mk

index d3420bb2b9d6075c5677349633a8862a2fbbb461..1f045ee594d6fa1840b982c77bb687c4efe9dd03 100644 (file)
@@ -17,9 +17,11 @@ define Device/arcadyan_arv7519rw22
   DEVICE_ALT0_VARIANT := 2.1
   DEVICE_ALT1_VENDOR := Astoria Networks
   DEVICE_ALT1_MODEL := ARV7519RW22
+  KERNEL_SIZE := 2048k
   IMAGE_SIZE := 31232k
   DEVICE_PACKAGES := kmod-usb-dwc2
   SUPPORTED_DEVICES += ARV7519RW22
+  DEFAULT := n
 endef
 TARGET_DEVICES += arcadyan_arv7519rw22