====== Convert eMMC to pSLC ======
To ease converting the userspace of the eMMC to pSLC, TQ Systems has extended the functionality of U-Boot.\\
\\
**Please Note:**\\
The following instructions have been tested on the\\
* TQMa6x BSP REV.113
* TQMa7x BSP REV.105
* TQMa6ULx BSP REV.104
* TQMLS102xA BSP REV.109
\\
** The hardware partitioning of the eMMC is a one-time, non-reversible action.A all data on the eMMC gets lost when converting.**
\\
==== Converting eMMC to pSLC: ====
* Set Starterkit to boot from eMMC please see the appropriate wiki page how to set the DIP switches:\\ [[https://support.tq-group.com/doku.php?id=en:arm:tqma6x:mba6x:dip_switches|TQMa6x]] \\ [[https://support.tq-group.com/doku.php?id=en:arm:tqma7x:mba7x:dip_switches|TQMa7x]] \\ [[https://support.tq-group.com/doku.php?id=en:arm:tqma6ulx:mba6ulx:dip_switches|TQMa6ULx]] \\ [[https://support.tq-group.com/doku.php?id=en:arm:tqmls102xa:mbls102xa:dip_switches|TQMLS102xA]]
* Interrupt Boot process in U-Boot
* Determine the maximum 512-byte blocks usable for hardware partitioning:
mmc rescan
mmc maxhwpartsectors
++++ Example |
=> mmc rescan
=> mmc maxhwpartsectors
maxhwpartsectors: 6d4000
=>
++++
* Check Partition configuration:
mmc hwpartition user enh 0 0x${maxhwpartsectors} wrrel on check
++++ Example |
=> mmc hwpartition user enh 0 0x${maxhwpartsectors} wrrel on check
Partition configuration:
User Enhanced Start: 0 Bytes
User Enhanced Size: 3.4 GiB
User partition write reliability: on
No GP1 partition
No GP2 partition
No GP3 partition
No GP4 partition
=>
++++
* Convert eMMC to pSLC:
mmc hwpartition user enh 0 0x${maxhwpartsectors} wrrel on complete
* After power cycle, settings will be applied