From: Marek Szyprowski Date: Mon, 25 Jan 2021 08:42:32 +0000 (+0100) Subject: scripts: tizen: sd_fusing_rpi3: fix size of the RESERVED2 partition X-Git-Tag: submit/tizen/20210126.025856~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1249c6dc550d787bb49cdb5d34676c8df4d56961;p=platform%2Fkernel%2Fu-boot.git 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 --- diff --git a/scripts/tizen/sd_fusing_rpi3.sh b/scripts/tizen/sd_fusing_rpi3.sh index 1c7edd0a3f..dda914e895 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"