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.


  • Set Starterkit to boot from eMMC please see the appropriate wiki page how to set the DIP switches:
    TQMa6x
    TQMa7x
    TQMa6ULx
    TQMLS102xA
  • Interrupt Boot process in U-Boot
  • Determine the maximum 512-byte blocks usable for hardware partitioning:
mmc rescan
mmc maxhwpartsectors

Example

  • Check Partition configuration:
mmc hwpartition user enh 0 0x${maxhwpartsectors} wrrel on check

Example

  • Convert eMMC to pSLC:
mmc hwpartition user enh 0 0x${maxhwpartsectors} wrrel on complete
  • After power cycle, settings will be applied

Disclaimer
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.