[source] ramips: fix AR670W partition alignment
LEDE Commits
lede-commits at lists.infradead.org
Thu Feb 9 00:15:31 PST 2017
blogic pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/4e2c2b51f51e3f2643d5c781dfeed99c4d1adc38
commit 4e2c2b51f51e3f2643d5c781dfeed99c4d1adc38
Author: Claudio Leite <leitec at gmail.com>
AuthorDate: Sun Feb 5 03:59:45 2017 -0500
ramips: fix AR670W partition alignment
mtdsplit_lzma requires that the rootfs be aligned to a block boundary.
Pad the kernel partition to make this so.
Signed-off-by: Claudio Leite <leitec at gmail.com>
---
target/linux/ramips/image/rt288x.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ramips/image/rt288x.mk b/target/linux/ramips/image/rt288x.mk
index f22182f..93cdda5 100644
--- a/target/linux/ramips/image/rt288x.mk
+++ b/target/linux/ramips/image/rt288x.mk
@@ -14,7 +14,7 @@ define Device/ar670w
BLOCKSIZE := 64k
DEVICE_TITLE := Airlink AR670W
IMAGE_SIZE := $(ralink_default_fw_size_4M)
- KERNEL := $(KERNEL_DTB)
+ KERNEL := $(KERNEL_DTB) | pad-to $$(BLOCKSIZE)
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
wrg-header wrgn16a_airlink_ar670w
More information about the lede-commits
mailing list