[source] ar71xx: prepare jffs2 partition properly in factory.bin for BHR-4GRV2

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 28 11:32:14 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/e5a0eb2af56c2439801dec5988c0d64978698922

commit e5a0eb2af56c2439801dec5988c0d64978698922
Author: FUKAUMI Naoki <naobsd at gmail.com>
AuthorDate: Fri Dec 9 17:53:15 2016 +0900

    ar71xx: prepare jffs2 partition properly in factory.bin for BHR-4GRV2
    
    "pad-rootfs" is required just after "append-rootfs".
    
    Signed-off-by: FUKAUMI Naoki <naobsd at gmail.com>
---
 target/linux/ar71xx/image/generic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index ab64e76..5813239 100644
--- a/target/linux/ar71xx/image/generic.mk
+++ b/target/linux/ar71xx/image/generic.mk
@@ -763,6 +763,6 @@ define Device/bhr-4grv2
   MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14528k(rootfs),1472k(kernel),64k(art)ro,16000k at 0x50000(firmware)
   IMAGES := sysupgrade.bin factory.bin
   IMAGE/sysupgrade.bin = append-rootfs | pad-rootfs | pad-to $$$$(ROOTFS_SIZE) | append-kernel | check-size $$$$(IMAGE_SIZE)
-  IMAGE/factory.bin = append-kernel | pad-to $$$$(KERNEL_SIZE) | append-rootfs | mkbuffaloimg
+  IMAGE/factory.bin = append-kernel | pad-to $$$$(KERNEL_SIZE) | append-rootfs | pad-rootfs | mkbuffaloimg
 endef
 TARGET_DEVICES += bhr-4grv2



More information about the lede-commits mailing list