diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2021-01-25 09:42:32 +0100 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2021-01-25 10:45:30 +0100 |
commit | 1249c6dc550d787bb49cdb5d34676c8df4d56961 (patch) | |
tree | d1a095f8d86b94c087fa17fce1849afcb67a91d7 | |
parent | 1e27b0c44ef30aa38442de5cd729380f0e9082a8 (diff) | |
download | u-boot-1249c6dc550d787bb49cdb5d34676c8df4d56961.tar.gz u-boot-1249c6dc550d787bb49cdb5d34676c8df4d56961.tar.bz2 u-boot-1249c6dc550d787bb49cdb5d34676c8df4d56961.zip |
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 <m.szyprowski@samsung.com>
Change-Id: I41baf2e626aed0473539898b81fe809b4f7256b8
-rwxr-xr-x | scripts/tizen/sd_fusing_rpi3.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |