From: Mathias Kresin Date: Sun, 11 Sep 2016 17:06:32 +0000 (+0200) Subject: mvebu: fix OpenBlocks AX3 image X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=306f1c7846e3768dff51396c9dadce3956d5778f;p=openwrt%2Fstaging%2Fthess.git 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 --- diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index f3eda17a0b..7900fb9ddb 100644 --- a/target/linux/mvebu/image/Makefile +++ b/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