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 ?
I able to create the EMMC partition in Yocto Source by adding new partition in WKS file and using WIC image
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
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,
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.