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

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 19 00:25:37 GMT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c027dbac5a5222e6be4706a7a6a0effefce8ae76

commit c027dbac5a5222e6be4706a7a6a0effefce8ae76
Author: Aleksander Jan Bajkowski <A.Bajkowski at stud.elka.pw.edu.pl>
AuthorDate: Wed Mar 3 22:46:50 2021 +0100

    lantiq: set maximum kernel size for ARV7519RW22
    
    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 at stud.elka.pw.edu.pl>
---
 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 d3420bb2b9..1f045ee594 100644
--- a/target/linux/lantiq/image/vr9.mk
+++ b/target/linux/lantiq/image/vr9.mk
@@ -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
 



More information about the lede-commits mailing list