Skip to content

Commit

Permalink
mx6_install_yocto_emmc.sh: increase eMMC boot partition size
Browse files Browse the repository at this point in the history
Newer kernels are increasing in size and the original 8 MB boot partition
is becoming too small to host them: increase its size to 12 MB.

Signed-off-by: FrancescoFerraro <francesco.f@variscite.com>
  • Loading branch information
FrancescoFerraro authored and varigigi committed Mar 18, 2024
1 parent fb34990 commit 1b5cc27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function create_parts
if [[ $is_dart == true ]] ; then
SECT_SIZE_BYTES=`cat /sys/block/${block}/queue/hw_sector_size`
PART1_FIRST_SECT=`expr 4 \* 1024 \* 1024 \/ $SECT_SIZE_BYTES`
PART2_FIRST_SECT=`expr $((4 + 8)) \* 1024 \* 1024 \/ $SECT_SIZE_BYTES`
PART2_FIRST_SECT=`expr $((4 + 12)) \* 1024 \* 1024 \/ $SECT_SIZE_BYTES`
PART1_LAST_SECT=`expr $PART2_FIRST_SECT - 1`
(echo n; echo p; echo $bootpart; echo $PART1_FIRST_SECT; echo $PART1_LAST_SECT; echo t; echo c; \
Expand Down

0 comments on commit 1b5cc27

Please sign in to comment.