summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFUKAUMI Naoki <naobsd@gmail.com>2016-12-09 17:53:15 +0900
committerFelix Fietkau <nbd@nbd.name>2017-01-28 20:32:39 +0100
commit70a6bbd53d7fad461dfed305ad9f338b40702841 (patch)
tree486ac170331b3494984b956c25dc86bb02294424
parentf5e8c908bd522812b8d7e3d0c903ef290065c751 (diff)
downloadmtk-20170518-70a6bbd53d7fad461dfed305ad9f338b40702841.zip
mtk-20170518-70a6bbd53d7fad461dfed305ad9f338b40702841.tar.gz
mtk-20170518-70a6bbd53d7fad461dfed305ad9f338b40702841.tar.bz2
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@gmail.com>
-rw-r--r--target/linux/ar71xx/image/generic.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index e2867e6..d978dec 100644
--- a/target/linux/ar71xx/image/generic.mk
+++ b/target/linux/ar71xx/image/generic.mk
@@ -722,6 +722,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@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