[source] mvebu: fix OpenBlocks AX3 image
LEDE Commits
lede-commits at lists.infradead.org
Sun Sep 11 10:41:41 PDT 2016
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/306f1c7846e3768dff51396c9dadce3956d5778f
commit 306f1c7846e3768dff51396c9dadce3956d5778f
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sun Sep 11 19:06:32 2016 +0200
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 <dev at kresin.me>
---
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 f3eda17..7900fb9 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
More information about the lede-commits
mailing list