[openwrt/openwrt] bcm4908: fix Netgear R8000P image

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 7 13:49:38 BST 2021


rmilecki pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f2c8c62d98f2137d8af896e56d5e29759cf48715

commit f2c8c62d98f2137d8af896e56d5e29759cf48715
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Wed Apr 7 14:38:45 2021 +0200

    bcm4908: fix Netgear R8000P image
    
    Use vendor format to allow flashing using Negear UI.
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 target/linux/bcm4908/image/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/target/linux/bcm4908/image/Makefile b/target/linux/bcm4908/image/Makefile
index 3d23568069..bc0ee09c19 100644
--- a/target/linux/bcm4908/image/Makefile
+++ b/target/linux/bcm4908/image/Makefile
@@ -4,6 +4,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/image.mk
 
 DEVICE_VARS += ASUS_PRODUCTID ASUS_BUILD_NO ASUS_FW_REV ASUS_EXT_NO
+DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION
 
 define Build/bcm4908asus
 	$(STAGING_DIR_HOST)/bin/bcm4908asus create -i $@ \
@@ -66,8 +67,10 @@ define Device/netgear_r8000p
   DEVICE_VENDOR := Netgear
   DEVICE_MODEL := R8000P
   DEVICE_DTS := broadcom/bcm4908/bcm4906-netgear-r8000p
-  IMAGES := bin
-  IMAGE/bin := append-ubi | bcm4908img
+  IMAGES := chk
+  IMAGE/chk := append-ubi | bcm4908img | netgear-chk
+  NETGEAR_BOARD_ID := U12H359T00_NETGEAR
+  NETGEAR_REGION := 1
 endef
 TARGET_DEVICES += netgear_r8000p
 



More information about the lede-commits mailing list