Embedded module TQMa28 - PTXdist Linux BSP documentation



We suggest to read the following page before you proceed with this page
1. preparing Development Host

We suggest to build the BSP with the default configuration for the fist time.

1. The manual is your friend. See Downloads where to get it.
2. See the README in your BSP root folder

PTXdist 2016.04                Build System for Embedded Linux Systems

  ptxdist <action [args]> [options]

Setup and Project Actions:

  menu				enter main control menu

  setup				setup per-user preferences
  boardsetup			setup per-board preferences

  projects			show available projects
  clone <from> <to>		create a new project, cloned from <from>.

  nconfig
  menuconfig			configure the project's filesystem

  menuconfig kernel
  kernelconfig			configure the kernel

  menuconfig platform
  platformconfig		configure the platform

  menuconfig collection		configure the collection
...

To configure the system (e.g. add additional packages) you can start the PTXdist menu:

$ ptxdist menu

PTXdist menu

To add additional packages to your root filesystem simply use the ptxdist tool. The ncurses based UI is the same that is used by the linux kernel with “make menuconfig”. It can be used the following way:

  • use the up / down arrow keys to navigate in the menu
  • use the left / right arrow keys to navigate between buttons
  • select / deselect packages and options using the SPACE key
  • enter submenus or press buttons using the ENTER key

Dependencies between packages should be automagically resolved. Software is organized in sections.

Select one of the supported hardware platforms, select a software configuration and start building the image.

The available hardware platforms for TQMa28 are:

  • configs/platforms/tqma28/tqma28-fsl/platformconfig (TQMa28 on MBa28 with u-boot 2009.08, kernel 2.6.35 and Freescale patches)
  • configs/platforms/tqma28/tqma28/platformconfig (TQMa28 on MBa28 on a mainline u-boot 2015.07 and kernel 3.14)

Currently the following software configurations are available:

  • configs/systems/minimal/ptxconfig (minimal rootfs with busybox)
  • configs/systems/qt/ptxconfig (rootfs with busybox and qt)

Building the BSP for tqma28 BSP REV.0115 (and ealier) :

$ ptxdist platform configs/platforms/tqma28/tqma28/platformconfig
$ ptxdist select configs/systems/minimal/ptxconfig
$ ptxdist go --git
$ ptxdist images

Building the BSP for tqma28 BSP REV.0117 (and later) :

$ tools/config-tqma28.qt4

this will effectivly:

  • check for configured ptxdist version
  • create symlink to configured ptxdist version (./p/usr/local/bin/ptxdist-<version>)
  • call ./p platform 'configs/platforms/tqma28/tqma28/platformconfig' * call ./p select configs/systems/qt/ptxconfig * call ./p select configs/platforms/tqma28/ptxcollection.tqma28''

Finally you can build the BSP by executing

$ ./p images --git

Building the BSP for tqma28-fsl (up to BSP REV.0109):

$ ptxdist platform configs/platforms/tqma28/tqma28-fsl/platformconfig
$ ptxdist select configs/platforms/tqma28/tqma28-fsl/ptxconfig
$ ptxdist go --git
$ ptxdist images

PTXdist downloads some packages. If it reports some errors please

  • verify your internet connection or proxy settings.
  • make sure the package source is correct. Some package source pages will change from time to time.
    (You can always try to download the source package manually and copy it to your package pool (by default: <BSP project>\src))
  • some packages like bootloaders and kernels where you can select versions need to know about their hash sums. You have to calculate them using md5sum and enter the correct hash in the ptxdist configuration.
  • run
    $ ptxdist get

  • Last modified: 2022/08/04 15:02