[openwrt/openwrt] bcm47xx: Fix Netgear WNR3500L v2 image format

LEDE Commits lede-commits at lists.infradead.org
Mon Jun 20 15:16:54 PDT 2022


florian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5f108050941b467f9911ef75e7ccf4401fd1d5c0

commit 5f108050941b467f9911ef75e7ccf4401fd1d5c0
Author: Florian Fainelli <f.fainelli at gmail.com>
AuthorDate: Tue Dec 14 12:27:43 2021 -0800

    bcm47xx: Fix Netgear WNR3500L v2 image format
    
    CFE on these devices expects to find the kernel compressed with LZMA but
    with no dictionnary and no loader, adjust the image generation
    accordingly.
    
    Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
---
 target/linux/bcm47xx/image/mips74k.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/bcm47xx/image/mips74k.mk b/target/linux/bcm47xx/image/mips74k.mk
index 53e7b53eba..7e65821a55 100644
--- a/target/linux/bcm47xx/image/mips74k.mk
+++ b/target/linux/bcm47xx/image/mips74k.mk
@@ -460,6 +460,8 @@ define Device/netgear_wnr3500l-v2
   $(Device/netgear)
   NETGEAR_BOARD_ID := U12H172T00_NETGEAR
   NETGEAR_REGION := 1
+  KERNEL_NAME = vmlinux-nodictionary.lzma
+  IMAGE/chk := append-rootfs | trx-without-loader | netgear-chk
 endef
 TARGET_DEVICES += netgear_wnr3500l-v2
 




More information about the lede-commits mailing list