From e2cfec1818c1f55df3eade63bcfca346dd7d0784 Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Mon, 25 Jan 2021 09:42:32 +0100 Subject: [PATCH] scripts: tizen: sd_fusing_rpi3: fix size of the RESERVED2 partition Older version of sd_fusing_rpi3.sh script had a bug, which results in reduced size of the RESERVED2 partition to 125.5M instead of 128M. Adjust the size of the RESERVED2 partition to 125M after the fixing sd_fusing script to avoid further confusion, especially with the upcoming MBR layout validation in the u-boot. Signed-off-by: Marek Szyprowski Change-Id: I41baf2e626aed0473539898b81fe809b4f7256b8 --- scripts/tizen/sd_fusing_rpi3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tizen/sd_fusing_rpi3.sh b/scripts/tizen/sd_fusing_rpi3.sh index 1c7edd0..dda914e 100755 --- a/scripts/tizen/sd_fusing_rpi3.sh +++ b/scripts/tizen/sd_fusing_rpi3.sh @@ -171,7 +171,7 @@ function mkpart_3 () { local -r RAMDISK_RECOVERY_SZ=32 local -r INFORM_SZ=8 local -r RESERVED1_SZ=64 - local -r RESERVED2_SZ=128 + local -r RESERVED2_SZ=125 local -r EXTEND_SZ=12 let "USER_SZ = $SIZE_MB - $BOOT_SZ - $ROOTFS_SZ - $DATA_SZ - $MODULE_SZ - $RAMDISK_SZ - $RAMDISK_RECOVERY_SZ - $INFORM_SZ - $EXTEND_SZ - $RESERVED1_SZ - $RESERVED2_SZ" -- 2.7.4