AnsweredAssumed Answered

Hi, I am trying to create boot partitions on eMMC card on T2081 board from uboot prompt. I have added a GPT utility and tied the "gpt" command to create partition but it is failing while writing to the eMMC blocks.

Question asked by Mohammed Ahad on Apr 18, 2016
Latest reply on Apr 20, 2016 by Pavel Chubakov

Hi, I am trying to create boot partitions on eMMC card on T2081 board from uboot prompt. I have added a GPT utility and tied the "gpt" command to create partition but it is failing while writing to the eMMC blocks. writing fails and hence the command doesn't succeed.

Sample command for the same is :

gpt write mmc 0 "uuid_disk=80878087-8087-8087-8087-000000000000;name=kernel,size=128M,uuid=80868086-8086-8086-8086-000000000000;"

the error is:

mmc_send_cmd: ret = -18 MMC_RSP_R1,5,6,7         0x00000900

mmc write failed

** Can't write to device 0 **

Here, CMD_SEND is 25 which indicates it is for multiple block writes. The return value indicates COMM_ERR;

below is the eMMC related info:

=> mmcinfo

Device: FSL_SDHC

Manufacturer ID: fe

OEM: 14e

Name: MMC08

Tran Speed: 52000000

Rd Block Len: 512

MMC version 4.41

High Capacity: Yes

Capacity: 7.3 GiB

Bus Width: 8-bit

Erase Group Size: 512 KiB

HC WP Group Size: 8 MiB

User Capacity: 7.3 GiB

Boot Capacity: 16 MiB ENH

RPMB Capacity: 128 KiB ENH

Can somebody guide me, how to create partitions on eMMC, and let me know if I have picked the right utility to create partition. I just need DOS file system on my partitions.

 

Thanks in advance

Outcomes