Pārlūkot izejas kodu

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 <[email protected]>
Claudio Leite 9 gadi atpakaļ
vecāks
revīzija
290ca2ba46
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      target/linux/ramips/image/rt288x.mk

+ 1 - 1
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