First of all you need to choose for which platform you want to build and which userland configuration should be used.
The commands in the following sections have to be executed within the BSP root directory.

The BSP provides helper scripts for automatic configuration according to the following table:

Platform Configuration Command
MBa6x linux/mainline ¦ systemd init ¦ Qt5 tools/config-mba6x
linux/mainline ¦ busybox init tools/config-mba6x.tiny
MBa6x-FSL linux-imx/NXP ¦ systemd init ¦ Qt5 tools/config-mba6x-fsl
linux-imx/NXP ¦ busybox init tools/config-mba6x-fsl.tiny

Example:

$ tools/config-mba6x

This will effectively do

  • check for the configured ptxdist version
  • create a symlink to the configured ptxdist version (./p/usr/local/bin/ptxdist-<version>)
  • call ./p platform configs/platform-tq-tqma6x[-fsl]/mba6x/platformconfig
  • call ./p select configs/<ptxconfig>

For manual configuration please refer to ./p –help and use the platformconfig and ptxconfig.* files listed in the table above.

Example:

$ ptxdist platform configs/platform-tq-tqma6x-fsl/mba6x/platformconfig
$ ptxdist select configs/platform-tq-tqma6x-fsl/ptxconfig.tiny

Finally, to build the BSP and create the image files simply execute

$ ./p images

or (in case of a manual configuration)

$ ptxdist images

Instructions for older BSP revisons

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.