I have to partition (i.e hardware partition) the UDA (User Data Area) of the eMMC as follows:
- First 336MB region should be in pSLC.
- Next 2GB region as MLC partition.
- The remaining region again should be in pSLC mode.
I have already done complete eMMC region as pSLC and it got worked with the below command:
mmc hwpartition user enh <start> <size> wrrel on complete However, I didn't get how to achieve the above combination of MLC and pSLC with the same command.
I have tried the below commands and none of them are working as expected.
- Both region with complete flag:
mmc hwpartition user enh "first_region_start" "first_region_size" wrrel on complete
mmc hwpartition user enh "second_region_start" "second_region_size" wrrel on complete
In this case, it failed because the first complete flag will not allow the second pSLC region update.
- First region with Set flag and second region with complete flag:
mmc hwpartition user enh "first_region_start" "first_region_size" wrrel on set
mmc hwpartition user enh "second_region_start" "second_region_size" wrrel on complete
This doesn't make any effect and not make enhanced too! After the power cycle, it shows the complete eMMC region as MLC itself.
Could anyone help me to figure out how to perform the mentioned partition combination?