Please Note:
The following instructions have been tested on the

  • TQMa6x BSP REV.113
  • TQMa7x BSP REV.105
  • TQMa6ULx BSP REV.105

Besides the user area an emmc device also offers two dedicated boot partitions to store the U-Boot bootloader. This tutorial describes how to use these boot partitions with the TQ modules.


1. Interrupt Boot process in U-Boot and set u-boot environment variable if deviating from default
setenv uboot <u-boot>

Example


2. Set U-Boot Network Configuration
3. Load U-Boot file via TFTP

Load the u-boot binary as shown below.

  tftp ${uboot}


4. Set block count expression in U.Boot
  setexpr bc ${filesize} + 1ff
  setexpr bc ${bc} / 200


5. Write u-boot binary to boot partitions

boot partition 1

boot partition 2


6. Return to the User Area
  mmc dev ${mmcdev} 0


After writing u-boot binary, select arcording eMMC Boot partition.

User Area boot (default)

mmc partconf ${mmcdev} 0 0 0


Boot Partition 1

mmc partconf ${mmcdev} 0 1 0


Boot Partition 2

mmc partconf ${mmcdev} 0 2 0


Reset the System to make the changes effective

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.