Преглед изворни кода

mvebu: fix OpenBlocks AX3 image

The KERNEL_SIZE variable is unset and no padding is applied. This looks
like a typo to me since the ubinized image need to be aligned to the
flash blocksize.

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin пре 9 година
родитељ
комит
306f1c7846
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      target/linux/mvebu/image/Makefile

+ 1 - 1
target/linux/mvebu/image/Makefile

@@ -141,7 +141,7 @@ define Device/openblocks-ax3
   DEVICE_DTS := armada-xp-openblocks-ax3-4
   BLOCKSIZE := 128k
   PAGESIZE := 1
-  IMAGE/factory.img := append-kernel $$$$(KERNEL_SIZE) | append-ubi
+  IMAGE/factory.img := append-kernel | pad-to $$(BLOCKSIZE) | append-ubi
   DEVICE_TITLE := Plat'Home OpenBlocks AX3
 endef
 TARGET_DEVICES += openblocks-ax3