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. ==== Configuration ==== The BSP provides helper scripts for automatic configuration according to the following table: ^ Platform ^ Configuration ^ Command ^ | ++MBa6x|\\ ''configs/platform-tq-tqma6x/mba6x/platformconfig''++ | ++linux/mainline ¦ systemd init ¦ Qt5|\\ ''configs/platform-tq-tqma6x/ptxconfig.qt5''++ | ''tools/config-mba6x'' | | ::: | ++linux/mainline ¦ busybox init|\\ ''configs/platform-tq-tqma6x/ptxconfig.tiny''++ | ''tools/config-mba6x.tiny'' | | ++MBa6x-FSL|\\ ''configs/platform-tq-tqma6x-fsl/mba6x/platformconfig''++ | ++linux-imx/NXP ¦ systemd init ¦ Qt5|\\ ''configs/platform-tq-tqma6x-fsl/ptxconfig.qt''++ | ''tools/config-mba6x-fsl'' | | ::: | ++linux-imx/NXP ¦ busybox init|\\ ''configs/platform-tq-tqma6x-fsl/ptxconfig.tiny''++ | ''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-'') * call ''./p platform configs/platform-tq-tqma6x[-fsl]/mba6x/platformconfig'' * call ''./p select configs/'' 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 ==== Build ==== Finally, to build the BSP and create the image files simply execute $ ./p images or (in case of a manual configuration) $ ptxdist images ==== Older BSP Revisions ==== ++++Instructions for older BSP revisons| ==== BSP Rev.0105 (and later) ==== $ tools/config.sh --config ptxconfig.qt5 --platform mba6x this will effectivly:\\ * check for configured ptxdist version * create symlink to configured ptxdist version (''./p'' -> ''/usr/local/bin/ptxdist-'') * call ''./p platform configs/platform-tq-mba6x/platformconfig'' * call ''./p select configs/ptxconfig.qt5'' Finally you can build the BSP by executing $ ./p images --git ==== BSP Rev.0104 (and earlier) ==== $ ptxdist platform configs/platform-tq-mba6x/platformconfig $ ptxdist select configs/ptxconfig $ ptxdist go --git $ ptxdist images ++++