the following information relates to BSP Rev.@bsp_version@
For older revisions of the BSP click here !!!
This toolchain requires PTXdist version @ptx_version@.0 to built properly.
Please note:
Ubuntu @ubuntu_version@ or newer required for the toolchain.
To install PTXdist you need Linux on your development workstation (or a virtual machine running Linux). The build system needs some additional packages which may be normally not installed by default. These packages are (names should match for Debian based systems):
For development it is also recommended to have a tftp server for image download and update and an nfs server for network mounted rootfs configured and running.
First install the toolchain's ptxdist, then compile toolchain, then install BSP's ptxdist.
Later you can select which ptxdist to use by calling ptxdist-<version>.
Example:
$ ptxdist-2012.07.0 version
The link ptxdist always calls the most recently installed ptxdist version.
After installing all packages download PTXdist source, configure, compile and install. See download page for links.
Extract the package ptxdist-<version>.tar.bz2 to a temporary directory and call in that directory:
$ ./configure $ make $ sudo make install
This will install PTXdist to /usr/local/lib by default. Afterwards please setup PTXdist with:
$ ptxdist setup
You have to setup the following things:
See download page for links to toolchain download. If using precompiled toolchain install to /opt. Otherwise carefully follow the documentation for building toolchains found here or in the download section.
By default the toolchain will get installed to /opt/OSELAS.Toolchain-<version>.
Follow chapter “Building a toolchain” in the PTXdist manual and keep in mind:
$ ptxdist select ptxconfigs/...
select this ptxconfig: ptxconfigs/@ptxconfig_arch@_gcc-<version>_glibc-<version>_binutils-<version>_kernel-<version>-sanitized.ptxconfig (for @mod_name@)
The Toolchain normally is already setup in the BSP project. So you can move on to the next step.
Extract the package OSELAS.BSP-TQ-@mod_name@.<version>.tgz to any directory (e.g. /opt or /home):
$ cd /opt/projekte $ tar -xvf OSELAS.BSP-TQ-@mod_name@.<version>.tgz $ cd OSELAS.BSP-TQ-@mod_name@