AnsweredAssumed Answered

How many seperate eMMC partition (imx6)

Question asked by Huh yangjae on Oct 11, 2018
Latest reply on Oct 12, 2018 by igorpadykov

Hi,

Linux kernel : 4.1.15

Filesystem : xwayland

eMMC : 8GB

 

How many seperate eMMC partition?

I modified the mkemmc.sh file in the MFG tool.

-- mkemmc.sh file --

#!/bin/sh

# partition size in MB
BOOT_ROM_SIZE=10


# call sfdisk to create partition table
# destroy the partition table
node=$1
dd if=/dev/zero of=${node} bs=1024 count=1

sfdisk --force -uM ${node} << EOF
${BOOT_ROM_SIZE},30,0c
50,3678,83
3738,30,83
3778,,83
EOF

 

As you go through this script, you will have four partitions. But, modified the mkemmc.sh file below.

#!/bin/sh

# partition size in MB
BOOT_ROM_SIZE=10


# call sfdisk to create partition table
# destroy the partition table
node=$1
dd if=/dev/zero of=${node} bs=1024 count=1

sfdisk --force -uM ${node} << EOF
${BOOT_ROM_SIZE},80,0c
100,5197,83
5307,80,0c
5397,40,83
5445,,83
EOF

 

As you go through this script, you will have four partitions.

If you proceed with this script, it looks like you need to split 5 partitions, but it is divided into 4 partitions only. 

How can I divide into more than 4 partitions?

Outcomes