Hi,
we were trying to perform all commands on eMMC according to JEDEC 5.1 specs.
We facing some issues on the way. We booting from another memory.
We want confirmation regarding same.
1) How to test all the eMMC features on onboard device. If it has to be formatted, what is the right way to do it?
2) Can we explore all eMMC modes/features using on board device or not?
We were trying in Linux user space, We can able to see mmc-utility at Linux user space but it didn't cover all the commands we required.
We were trying to implement the state flow as mentioned in specs. We were exploring commands from CMD0 to CMD56.
1 ) is there limitation to do it so?
We were facing this issue regarding same.
And we were trying to format the eMMC memory using fdisk tool:
root@imx8mm-lpddr4-evk:~# fdisk /dev/mmcblk2
Welcome to fdisk (util-linux 2.37.4).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x0a90c99b.
Command (m for help): p
Disk /dev/mmcblk2: 14.68 GiB, 15758000128 bytes, 30777344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0a90c99b
Command (m for help): d
No partition is defined yet!
We can able to see
root@imx8mm-lpddr4-evk:~# ls /dev/mmcblk2
mmcblk2 mmcblk2boot0 mmcblk2boot1 mmcblk2rpmb
We trying to delete partition and format it.
2) How can we achieve that?
Sanket Parekh