scripts: mkbootimg_rpi3.sh: Change image size fitted to partition
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 26 Mar 2018 01:37:39 +0000 (10:37 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 6 Jul 2020 09:07:44 +0000 (18:07 +0900)
From partitioning script of rpi3, boot partition is 64MiB. Change
image size fitted to the partition.

The partitioning script is on below link:
https://review.tizen.org/git/?p=platform/kernel/u-boot.git;a=blob_plain;f=scripts/tizen/sd_fusing_rpi3.sh;hb=refs/heads/tizen

Change-Id: Ia95c392235fe712bc1345078c64d07f6567fcbcb
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
scripts/mkbootimg_rpi3.sh

index 721817e..f5ee92e 100755 (executable)
@@ -7,7 +7,7 @@ GROUP_ID=`id -g`
 rm -f boot.img
 rm -rf tmp
 mkdir tmp
-mkfs.vfat -F 16 -C boot.img 32768
+mkfs.vfat -F 16 -C boot.img 65536
 sudo mount -o loop,uid=$USER_ID,gid=$GROUP_ID,showexec boot.img ./tmp
 cp -a $BOOT_PATH/* ./tmp
 cp -a arch/arm64/boot/Image ./tmp