From OpenSCADAWiki
Jump to: navigation, search
  1. Cloning-creation of the RFS project
  2. Presetting of the general configuration of ptxdist, for example, the path to a directory of projects (is not required by defaults)

ptxdist setup

  1. Checking for availability and visibility of the projects to clone

ptxdist projects

  1. Cloning the one of the available projects

cd ~/proj; ptxdist clone OSELAS.BSP-Pengutronix-Generic New_RootFS

  1. Choice to a platform configuration and the previously built ToolChain for this project

cd ~/proj/New_RootFS ptxdist platform configs/arm-qemu-2011.01.0/platformconfig ptxdist toolchain /opt/OSELAS.Toolchain-2011.11.0/arm-xscale-linux-gnueabi/gcc-4.5.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.30.5-sanitized/bin

  1. Other settings of the architecture, programs selection and formation of the result are configured in the pseudographics configurator

ptxdist menuconfig

  1. Building of the RFS and the formation of images

ptxdist go ptxdist images

  1. Additional programs configuration of the building should be placed in directory "rules" as two files: pkg.in and pkg.make.
  2. For a new program to be appeared in the menu of pseudographics configurator, it must be added
  3. to the file ~/proj/ptxdist/lib/ptxdist-2011.11.0/rules/Kconfig

</syntaxhighlight>