I have some trouble with a U-Boot mmc hwpartition of an eMMC storage soldered on an i.MX6 embedded module:
TX6UL U-Boot > mmc info Device: FSL_SDHC Manufacturer ID: 11 OEM: 100 Name: 004G6 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.0 High Capacity: Yes Capacity: 8 MiB Bus Width: 4-bit Erase Group Size: 4 MiB HC WP Group Size: 4 MiB User Capacity: 8 MiB WRREL Boot Capacity: 2 MiB ENH RPMB Capacity: 512 KiB ENH GP1 Capacity: 8 MiB WRREL GP2 Capacity: 1.8 GiB ENH WRREL TX6UL U-Boot > mmc hwpartition set user wrrel on complete Partition configuration: No enhanced user data area User partition write reliability: on No GP1 partition No GP2 partition No GP3 partition No GP4 partition Card already partitioned Failed!
So it looks like the mmc was already hardware partitioned before. According the patch once it is hardware partitioned, it is not reversible.
Is there really no way to repartition the soldered eMMC again? Do I have to throw the whole i.MX6 module away and buy a new one if I need other hardware partitioning?