Create DOS partition in Yocto IMX8MN-EVK

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

Create DOS partition in Yocto IMX8MN-EVK

1,788 Views
vinothkumars
Senior Contributor IV

Hi All,

 

I able to create  EFI partition but, not able to create DOS partition

### GPT partition layout
#
# 32M /boot
# MAX /
FB: ucmd setenv partitions 'uuid_disk=${uuid_gpt_disk};name=boot_a,start=16MiB,size=166MiB,bootable,type="dos",uuid=${uuid_gpt_boot_a};name=rootfs,start=192MiB,size=MAX,uuid=${uuid_gpt_rootfs},type=linux;'
FB: ucmd gpt write mmc ${emmc_dev} ${partitions}

 

Partition Map for MMC device 2 -- Partition Type: EFI

Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00008000 0x0005afff "boot_a"
attrs: 0x0000000000000004
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: ae55484c-b7a2-ec45-ba8d-0a1c208f08fb
2 0x00060000 0x01d59fde "rootfs"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: f746013c-cb0c-db42-b548-52c4f76cd125

 

I have to create dos partition like that.

u-boot=> mmc part

Partition Map for MMC device 2 -- Partition Type: DOS

Part Start Sector Num Sectors UUID Type
1 16384 170392 55a2bd95-01 0c Boot
2 196608 6418824 55a2bd95-02 83

 

Will you please provide the configuration for EMMC partition type DOS ?

 

 

 

Regards,
Vinothkumar Sekar
Tags (2)
0 Kudos
Reply
4 Replies

1,722 Views
vinothkumars
Senior Contributor IV

I able to create the EMMC partition in Yocto Source by adding new partition in WKS file and using WIC image

Regards,
Vinothkumar Sekar
0 Kudos
Reply

1,760 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

   U-BOOT supports these commands:

fdisk      // partition
fatformat  // format with fat
ext3format // format with est3

usage like this, more details, see their help.
fdisk -c 0
fatformat mmc 0:1
ext3format mmc 0:2
ext3format mmc 0:3
ext3format mmc 0:4

 Hope this information is helpful to you.

Have a nice day!

B.R,

weidong

0 Kudos
Reply

1,751 Views
vinothkumars
Senior Contributor IV

Hi @weidong_sun  thank you for your reply.

 

Unable to execute the following command.

fdisk      // partitionfatformat  // format with fatext3format // format with est3usage like this, more details, see their help.fdisk -c 0fatformat mmc 0:1ext3format mmc 0:2ext3format mmc 0:3ext3format mmc 0:4

 

Will you please give more information,

 

Regards,
Vinothkumar Sekar
0 Kudos
Reply

1,453 Views
hhh_ccc
Contributor I

I have the same problem. Have you done this problem? How to create DOC partition in uboot? In addition, I do not have the fdisk command in uboot.

0 Kudos
Reply