One of the key things I often stress when working with the Yocto Project is: Never edit the recipe files of a layer you have downloaded from the Internet (unless you are planning on pushing those changes back upstream) If… Read more
A Quick Guide to Getting Started With The Yocto Project
I really like the Yocto Project. As someone who builds Embedded Linux distributions, it makes my life so much easier. However, if you are just coming into the world of Yocto it is very easy to get overwhelmed with the… Read more
How to Override Standard Files in a Yocto Project
Exploring how to overwrite some of the ‘standard’ Linux files
Checking for Security Vulnerabilities in a Yocto Build
Yocto has a fantastic feature that enables it to automatically check any software packages added to a system image against the known security vulnerabilities, as tracked by the public Common Vulnerabilities and Exposures (CVE) database. To enable the check, add the following… Read more
How to layout the structure of a Yocto Project
I like to keep the directories in my Yocto projects structured so that I can easily keep track of where things come from. One of my biggest things is keeping any layers I have created separate from any layers I… Read more
How to add a Golang recipe to Yocto
Yocto supports Golang recipes, but they are slightly different to standard ones. Simple Recipe For a basic recipe without any dependancies, it is still quite simple. SUMMARY = “This is a simple example recipe that cross-compiles a Go program.” SECTION… Read more
Yocto: Conditionally setting a variable based on the image name
With one of my current build systems, I have two different build images – a production and a development one. For the production system, I want to have the root filesystem installed on the on-board eMMC storage but for the… Read more
Decompiling the Device Tree (DTB) for Embedded Linux
One of the things I find very frustrating when working with device trees is that often the entries are split over several different files. This is great when you want to support several different boards that are only differ slightly… Read more
Licences and Security in a Yocto Build (Part 1 – Licences)
I Am Not A Lawyer Please ignore anything I say in this article! When building a system that makes use of Open Source Software, it is vital to know what your licence obligations are. Other than just the common decency… Read more
Git Commands
This is purely a space for me to keep a reference to the git commands I don’t use often enough to remember. Undo The Last Commit So, you have just commited something and realised you didn’t want to do that……. Read more