How to add new partition on emmc in imx6dl

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

How to add new partition on emmc in imx6dl

1,526 Views
Aravinthkumar
Contributor III

Hi Team,

We are using iMX6dl sabresd board with Yocto L5.15. We want to add one more partition on emmc, can you please help how to add one more partition. For flashing we are using UUU tool

 

Regards,

Aravinth

Tags (3)
0 Kudos
Reply
3 Replies

1,512 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Aravinthkumar 

 
I hope you are doing well
 
One can use the fdisk tool to make partitions in SD/EMMC. Please refer to section 4.3.3 Partitioning the SD/MMC card from the i.MX Linux User's Guide.
 
Thanks & Regards,
Sanket Parekh
0 Kudos
Reply

1,500 Views
Aravinthkumar
Contributor III

Hi @Sanket_Parekh ,

We don't want to do it manually. How to add this to be part of yocto.

 

Regards,

Aravinth

0 Kudos
Reply

1,481 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Aravinthkumar,

I hope you are doing well
 
One can make a partition in emmc by the following method using yocto:
 
One can modify the below file and create a partition in the final 'wic' image.
sources/meta-freescale/wic/imx-imx-boot-bootpart.wks.in
 
The size for the partition can be set using the --size parameter, specified in MB.
Other parameters like filesystem and labels can also be set here.
 

 

i.e part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --size 64
 
here, --size 64 refers to the size of the partition and
--fstype=vfat refers to the type of partition.

 

--label boot suggests the label of partition.
 
Thanks & Regards,
Sanket Parekh

0 Kudos
Reply