mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 08:25:29 +00:00
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@gmail.com>
This commit is contained in:
parent
76eb62e5af
commit
290ca2ba46
@ -14,7 +14,7 @@ define Device/ar670w
|
|||||||
BLOCKSIZE := 64k
|
BLOCKSIZE := 64k
|
||||||
DEVICE_TITLE := Airlink AR670W
|
DEVICE_TITLE := Airlink AR670W
|
||||||
IMAGE_SIZE := $(ralink_default_fw_size_4M)
|
IMAGE_SIZE := $(ralink_default_fw_size_4M)
|
||||||
KERNEL := $(KERNEL_DTB)
|
KERNEL := $(KERNEL_DTB) | pad-to $$(BLOCKSIZE)
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
|
||||||
wrg-header wrgn16a_airlink_ar670w
|
wrg-header wrgn16a_airlink_ar670w
|
||||||
|
Loading…
x
Reference in New Issue
Block a user