summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2021-01-25 09:42:32 +0100
committerMarek Szyprowski <m.szyprowski@samsung.com>2021-11-15 11:37:12 +0100
commitef2f07419d4d04f9c05a89cf61cb9ba07db29467 (patch)
tree8917bbee3f2e96f5d18bacf41432bba27e44bc4f
parentced02b7cc3d9321004e8f60372f2e31b8d3ee666 (diff)
downloadu-boot-ef2f07419d4d04f9c05a89cf61cb9ba07db29467.tar.gz
u-boot-ef2f07419d4d04f9c05a89cf61cb9ba07db29467.tar.bz2
u-boot-ef2f07419d4d04f9c05a89cf61cb9ba07db29467.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-xscripts/tizen/sd_fusing_rpi3.sh2
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"