===== Using PTXdist to create the BSP firmware =====
We suggest to read the following page before you proceed with this page\\
1. [[[[@lang@:@mod_arch@:@mod_name_code@:@bsp_name@:prepare|preparing Development Host]]
We suggest to build the BSP with the default configuration for the fist time.
==== Getting help ====
1. The manual is your friend. See [[@lang@:@mod_arch@:@mod_name@:@bsp_name@:downloads|Downloads]] where to get it.\\
2. See the README in your BSP root folder
PTXdist @ptx_version@ Build System for Embedded Linux Systems
ptxdist [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 create a new project, cloned 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.
==== Compilation ====
{{section>..:data#compilation}}
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: \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