[openwrt/openwrt] ath79: specify factory.bin recipe for ASUS RP-AC51

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 17 11:10:40 PDT 2022


mans0n pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/deb6f378bf3675e53434a62f87244c690ed4634d

commit deb6f378bf3675e53434a62f87244c690ed4634d
Author: Sungbo Eo <mans0n at gorani.run>
AuthorDate: Sun Sep 18 01:07:32 2022 +0900

    ath79: specify factory.bin recipe for ASUS RP-AC51
    
    Currently factory.bin image recipe of ASUS RP-AC51 is not specified
    explicitly and is thus set to the leaked one from the device recipe
    right above, i.e. ASUS PL-AC56. Fix it to avoid potential breakage.
    
    Fixes: 416d4483e878 ("ath79: add support for ASUS RP-AC51")
    Signed-off-by: Sungbo Eo <mans0n at gorani.run>
---
 target/linux/ath79/image/generic.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
index 1ba02fc0fc..9d8b70712d 100644
--- a/target/linux/ath79/image/generic.mk
+++ b/target/linux/ath79/image/generic.mk
@@ -402,6 +402,8 @@ define Device/asus_rp-ac51
   DEVICE_MODEL := RP-AC51
   IMAGE_SIZE := 16000k
   IMAGES += factory.bin
+  IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
+	append-rootfs | pad-rootfs
   DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct \
 	-swconfig
 endef




More information about the lede-commits mailing list