How to add new partition on emmc in imx6dl

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to add new partition on emmc in imx6dl

1,522件の閲覧回数
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

タグ(3)
0 件の賞賛
返信
3 返答(返信)

1,508件の閲覧回数
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 件の賞賛
返信

1,496件の閲覧回数
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 件の賞賛
返信

1,477件の閲覧回数
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 件の賞賛
返信