My first Yocto layer

Posted on Tue 27 November 2018 in BSP • Tagged with linux, tutorial, yocto

Now that we have built a first bootable image with Yocto we can start customizing it. I will demonstrate how to create a simple layer to add a first custom library and an application depending on it, that should cover most of typical the use cases and should give you …

Continue reading

My first Yocto target

Posted on Wed 21 November 2018 in BSP • Tagged with linux, tutorial, yocto

Due to its flexibility, Yocto might seem a bit complex the first time we use it and can be very scary. In this article I would like to demonstrate the basic usage of this wonderful build system by building a first image for your specific target, that is the first …

Continue reading

The quest to the perfect Makefile

Posted on Wed 17 October 2018 in Programming • Tagged with tutorial, make, unit test

I have been using cmake for a while because I think writing good Makefile is a very tricky task. Unfortunately, cmake is not always available and writing a Makefile is the only solution. I decided to spend some time on writing a small Makefile structure that I could use for …

Continue reading

Managing manually compiled packages with stow

Posted on Wed 18 July 2018 in Sysadmin • Tagged with linux, tutorial

I often compile applications (mostly game) manually because I love using the very last features and seeing the progress of the development! I usually install everything in /usr/local/ to avoid polluting my base system as much as possible. Unfortunately it is difficult to make sur that all files are …

Continue reading

Interrupt driven user space application with the uio driver

Posted on Thu 07 September 2017 in Programming • Tagged with linux, tutorial

I would like to present here a simple solution to write an interrupt driven user space application with the help of the generic user IO kernel driver. It permits sharing a part of the memory to the user space and catch a given interrupt without the need of programming a …

Continue reading