ath79: bsap18x0: pad rootfs image
This image is supposed to be written with help of bootloader to the
flash, but as it stands, it's not aligned to block size and RedBoot will
happily create non-aligned partition size in FIS directory. This could
lead to kernel to mark the partition as read-only, therefore pad the
image to block erase size boundary.
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
(cherry picked from commit 9decd2a843
)
This commit is contained in:
parent
1be4cad669
commit
409534860f
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ define Device/adtran_bsap1880
|
||||||
IMAGE_SIZE := 11200k
|
IMAGE_SIZE := 11200k
|
||||||
IMAGES += kernel.bin rootfs.bin
|
IMAGES += kernel.bin rootfs.bin
|
||||||
IMAGE/kernel.bin := append-kernel
|
IMAGE/kernel.bin := append-kernel
|
||||||
IMAGE/rootfs.bin := append-rootfs | pad-rootfs
|
IMAGE/rootfs.bin := append-rootfs | pad-rootfs | pad-to $$(BLOCKSIZE)
|
||||||
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | \
|
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | \
|
||||||
check-size | sysupgrade-tar rootfs=$$$$@ | append-metadata
|
check-size | sysupgrade-tar rootfs=$$$$@ | append-metadata
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue