From 306f1c7846e3768dff51396c9dadce3956d5778f Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 11 Sep 2016 19:06:32 +0200 Subject: [PATCH] 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 --- target/linux/mvebu/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index f3eda17a0bf..7900fb9ddb4 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 -- 2.30.2