PTXdist 2014.01.0

Jürgen Borleis | | PTXdist

The PTXdist project has released version 2014.01.0 of the embedded linux build system:

  • The pakage templates for integrating self-written programs into a PTXdist BSP have been fixed. This mechanism lets you create a new set of build rules for packages with "simple" makefiles:

    $ ptxdist newpacket src-make-prog

    After answering a few questions, a template for the build rules and for the menu entries is created in rules/<packagename>.{in,make}

    If the program does not already exist (i.e. when starting a new program), ptxdist creates a Makefile and hello-world file in local_src/<packagename>-<version>.

    With this release, the mechanism above was fixed to do the right thing.

  • Recently, the lowpan-tools package has been added, which contains several utilities for using the 6LoWPAN IPv6-over-802.15.4 wireless communication stack on Linux.

    The lowpan-tools package had dependency issues regarding python. With the current updates, python is now only a dependency if really necessary. This improves the build time.

  • Introduction of a "staging" area:

    Some packages have been moved into the newly introduced "staging" area: acpid, upstart and mplayer. These packages do not compile any more, but they are currently not so important for the maintainer team that they have already spent the effort to reactivate them and fix the bugs.

    This is something where we hope for the wider community: if you are interested in getting these packages back into ptxdist mainline, please help us and send patches.

  • Some help texts in the ptxdist menus and the toplevel helpfile have been improved and reflect the behaviour of the code in a better way now.

    The automatically generated ptxdistrc has been synchronized with the current configuration.

  • The build rules for Valgrind, the memory leak debug tool, got improved error messages, so it should now be easier to get a working configuration.

  • rc-once is ptxdist's method of doing certain things on the first boot of a freshly installed embedded system, i.e. when a new SSH host key needs to be created.

    With this release, the error handling for rc-once has been improved, so that the user gets booted into rescue mode when rc-once fails.

  • A lot of small patches have been added, which affects packages like glib, the icu-tools (for C++/Java unicode encoding), libsndfile and JVisu. The SQL database SQ-Lite got cross compiling improvements, and GStreamer does now build properly with Bison 3. Additionally, the host-xz tool has been improved regarding its shared library handling, and some unused files have been removed.

All in all, it was a quiet cycle, as most developers have been out for christmas holidays for the last weeks.


Weiterführende Links

Lizenzmanagement mittels ptxdist make license-report

PTXdist kommt standardmäßig mit einem Werkzeug, welches das Lizenzmanagement erleichtert: ptxdist make license-report. Hiermit lässt sich ein Lizenzreport als PDF erstellen, welcher aus dem verwendeten BSP alle auffindbaren Lizenzen herausfiltert. Die Generierung und Befolgung des Lizenzreports sollte als Mindestanforderung mit viel Raum für weitergehende Lizenzpflege verstanden werden.


Statische Dateisysteme

Jürgen Borleis | | PTXdist

Wann immer es erforderlich ist, ein embedded Gerät einfach so ohne Vorbereitung ausschalten zu können, kommt das Thema Dateisystem-Konsistenz auf. Werden Daten geschrieben und haben vor dem Ausschalten ihren Weg auf das Speichermedium noch nicht vollständig gefunden, droht deren Verlust.


Jump Start your BSP using DistroKit and PTXdist Layers

A BSP (Board Support Package) in Embedded Software is the layer of software that lets you run your application on a specific hardware. For Pengutronix a BSP usually contains a bootloader, Linux Kernel and a userspace. DistroKit is our Demo-BSP that supports a variety of common evaluation boards. DistroKit gives you a head start if you want to develop an application on top of such an evaluation board with most of the hard problems already solved.