From 6bd3cd4b7ffc15f244d2891386f6fdf81a0384ab Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 20 Nov 2023 18:37:11 +0530 Subject: [PATCH] increase UBOOT_MAX_SIZE from 32 to 64 --- create-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-image.sh b/create-image.sh index 9572072..12e27df 100755 --- a/create-image.sh +++ b/create-image.sh @@ -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}"