increase UBOOT_MAX_SIZE from 32 to 64
This commit is contained in:
parent
1594cab9f4
commit
6bd3cd4b7f
@ -30,7 +30,7 @@ if [[ -n "$1" ]]; then
|
||||
fi
|
||||
|
||||
function create_new_image {
|
||||
UBOOT_MAX_SIZE='32'
|
||||
UBOOT_MAX_SIZE='64'
|
||||
IMAGE_SIZE=$(( $(stat -c '%s' "${IMAGE_NAME}") / 1024 / 1024 ))
|
||||
NEW_IMAGE_NAME="${IMAGE_NAME}.new"
|
||||
truncate -s "$(( IMAGE_SIZE + (UBOOT_MAX_SIZE * 2) ))"MiB "${NEW_IMAGE_NAME}"
|
||||
|
Loading…
Reference in New Issue
Block a user