~~NOCACHE~~ ===== Development Environment ===== ===== Preface ===== The following instructions have been tested on Ubuntu \\ (64 bit) in a VMWare virtual machine. Some users have reported various issues using Ubuntu 16.04.\\ We recommend to use Ubuntu 14.04 This page always refers to the latest BSP revision (including ancillary tools) according to the following table: {{section>.:version-matrix#version_matrix&noheader}} We recommend using PTXdist version .0 to build the OSELAS.Toolchain-.. This version may differ from the PTXdist version required to build the BSP itself. ===== Prerequisites ===== Please note:\\ Ubuntu is required for the toolchain. The BSP is available as a project ready to use with the PTXdist((http://www.ptxdist.org)) build system. As PTXdist runs on linux, first of all you need a development workstation (or a virtual machine) with a (preferably) recent Linux distribution installed. The distribution of your choice, however, may not have installed all required packages by default. Commonly missing packages (package names taken from Debian based systems) include: {{page>en:templates:packet-list}} Although not required by PTXdist, we also recommend to configure and run a [[en:tftp|tftp server]] (for image download / update) and an [[en:nfs|nfs server]] (for network mounted rootfs) on your development host. ===== PTXdist set-up ===== It is recommended to first install PTXdist in order to build the toolchain (see note above). Once the toolchain is compiled, install PTXdist is required to build the BSP.\\ You can always use a specific version of PTXdist by explicitly calling **ptxdist-**.\\ \\ __Example:__\\ $ ptxdist- __Please note:__\\ The link **/usr/local/bin/ptxdist** always calls the PTXdists version installed most recently. Starting with PTXdist 2014.07, **ptxdist** calls a script which tries to automatically determine and call the required version by parsing the config files in the project directory. Make sure the development host meets the [[:::::prepare#preface|prerequisites]] and download the required PTXdist tarball(s) (see [[:::::Downloads|Downloads]] page for URLs). Extract the tarball ptxdist-.tar.bz2 and install as follows: $ tar xvf ptxdist-.tar.bz2 $ cd ptxdist- $ ./configure $ make $ sudo make install This will install PTXdist to ///usr/local/lib// by default. Afterwards please configure PTXdist with: $ ptxdist setup .config - PTXdist ────────────────────────────────────────────────────────────────────────────── ┌─────────────────────────── PTXdist ───────────────────────────┐ │ Arrow keys navigate the menu. selects submenus --->. │ │ Highlighted letters are hotkeys. Pressing includes, excludes, │ │ modularizes features. Press to exit, for Help, │ │ for Search. Legend: [*] built-in [ ] excluded module < > │ │ ┌─────────────────────────────────────────────────────────────────────┐ │ │ │ --- PTXDIST Setup Menu │ │ │ │ User ---> │ │ │ │ Proxies ---> │ │ │ │ Project Searchpath ---> │ │ │ │ Source Directories ---> │ │ │ │ Source Download ---> │ │ │ │ IPKG Repository ---> │ │ │ │ Java SDK ---> │ │ │ │ Developer Options ---> │ │ │ │ │ │ │ └─────────────────────────────────────────────────────────────────────┘ │ ├─────────────────────────────────────────────────────────────────────────┤ │