How many seperate eMMC partition (imx6)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How many seperate eMMC partition (imx6)

1,471 Views
huhyangjae
Contributor I

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?

Labels (4)
0 Kudos
2 Replies

1,088 Views
ji_yun
Contributor II

I have the same problem as you. Is your problem solved?

I change my mksdcard.sh like this:

sfdisk --force -uM ${node} << EOF
${BOOT_ROM_SIZE},8,0c
18,3072,83
3090,8,0c
3098,3072,83
6170,,83
EOF

But it is divided into 4 partitions only,what's wrong with it?

Looking forward to your reply

0 Kudos

1,088 Views
igorpadykov
NXP Employee
NXP Employee

Hi Huh

what mfg tool used in the case, please try nxp releases from

i.MX Software|NXP 

for example "i.MX Series Manufacturing Toolkit for Linux 4.1.15_2.1.0 Release"

https://www.nxp.com/webapp/Download?colCode=IMX_L4.1.15_2.1.0_MFG_TOOL&appType=license&location=null... 

seems mkemmc.sh can not be found in that package.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos