Radxa Dragon 6AThe Radxa Dragon Q6A is a credit card-sized single-board computer built around Qualcomm’s QCS6490 — the same silicon family found in the Fairphone 5 and Qualcomm’s own RB3gen2 reference platform. It packs an octa-core Kryo 670 CPU, an Adreno 643 GPU, and a 12 TOPS Hexagon NPU into a board with Gigabit Ethernet, WiFi 6, HDMI, triple camera connectors, and an M.2 NVMe slot. Starting at around $60, it sits in an interesting spot — significantly more compute per dollar than a Raspberry Pi 5, with a genuine ML inference pipeline that doesn’t require an external accelerator. Qualcomm provides Yocto builds for RB3Gen2 boards and Radxa mentions this in their documentation but doesn’t provide any how-to. In this article, we shall explore the steps taken to get Yocto running with Mainline Linux Kernel. ...
U-Boot: protect sensitive environment variables
This is a follow-up from our Accessing the U-Boot environment from a C program blog post. 🌳Need to protect the environment When you’re trying to harden an embedded Linux device to make it more resistant to attacks, one key part to secure is the bootloader, because that’s the part that boots the operating system. Even you implement a secure boot chain, if an attacker manages to interrupt the boot process and get access to the bootloader shell, this attacker would be able to load and run her/his own payload on the device. ...
Mainline Linux 7.0 running on Arduino Q
Here are steps to reproduce it by yourself, if you are the happy owner of this board, currently priced at 48 EUR on the Arduino shop for the 2 GB version. This is done without removing the original kernel. Your board will still boot such kernel by default. Setup and prerequisites To do this by yourself, you will need: An Arduino Q board A USB-C hub with external power, to power the board and to connect external devices such as USB mass storage or USB-Ethernet. A USB-serial dongle supporting 1.8V operation. 🛑 Most devices of this kind are using 3.3V or 5V… you’re likely to damage the main processor if you apply excess voltage to it. I’m using the DSD Tech SH-USB-U09C2 USB to TTL adapter. A USB stick A PC with GNU/Linux to compile the Linux kernel The rest of this tutorial also assumes the board is flashed with its official Debian distribution image. See Flashing a New Image to the UNO Q if you need to restore such an image. It also assumes you can access the board’s serial console (look for Hardware Debug UART on the Debian guide). ...
Accessing the U-Boot environment from a C program
Need to modify the U-Boot environment from Linux A/B update and recovery workflow implemented for a Root Commit customerThere are multiple reasons for wanting to modify U-Boot variables from Linux, one of them being to implement A/B update mechanisms. Typically, after you’ve flashed a device with a new version, you’ll set the upgrade_available U-Boot variable to 1, reboot, and let U-Boot try to boot the new version. ...
Contributions to Linux 6.19
Root Commit’s contributions to Linux 6.19 Linux 6.19 is out with 7 contributions from Root Commit: riscv: dts: spacemit: add Ethernet and PDMA to OrangePi RV2 dt-bindings: riscv: spacemit: Add OrangePi R2S board riscv: dts: spacemit: Add OrangePi R2S board device tree dt-bindings: arm: rockchip: merge Asus Tinker and Tinker S dt-bindings: arm: rockchip: Add Asus Tinker Board 3/3S arm64: dts: rockchip: Add Asus Tinker Board 3 and 3S device tree arm64: dts: rockchip: Enable i2c2 on Orange Pi 3B These are mainly Device Tree contributions to support completely new boards in the Linux kernel, such as Asus Tinker Board 3S (arm64) or Orange Pi R2S (riscv), or to expand support for existing boards, here for Orange Pi 3B (arm64) and Orange Pi RV2 (riscv). ...
Yocto Project Virtual Summit 2025: devtool hands-on class slides
Happy to share the slides from my Devtool hands-on class presentation at Yocto Project Virtual Summit 2025. Devtool is a very helpful tool for creating and maintaining recipes. I’m very happy I accepted to take over the traditional devtool hands-on class at the Yocto Project Summit in 2024, because devtool provided invaluable in my Yocto work since then. Thanks to the additional experience, a devtool section was added to Root Commit’s Yocto Project and OpenEmbedded training course, and the hands-on slides got a complete overhaul compared to the 2024 version. The 2025 version is also based on the upcoming Whinlatter version, and is also expected to be compatible with the next Wrynose LTS version. ...
Using Yocto to build images for Orange Pi 3B
Introduction Orange PI 3B is a cheap and attractive Raspberry Pi sized single board computer based on the Rockchip RK3566: Rockchip RK3566 (4x ARM Cortex-A55 @ 1.6GHz) ARM Mali-G52-2EE GPU (OpenGL ES 1.1/2.0/3.0/3.1/3.2, Vulkan 1.1, OpenCL 2.0) LPDDR4 RAM (2/4/8 GB) Micro-SD card slot SPI flash (16/32 MB) Optional eMMC pluggable module (16/32/64/128/256 GB) Wi-Fi5 + Bluetooth 5.0, BLE 1x USB 2.0 Type A OTG, 2x USB 2.0 Type A HOST, 1x USB 3.0 Type A Host 1x HDMI (up to 4K @ 60fps) 1x MIPI DSI LCD port 1x MIPI CSI camera port Colour-coded 40-pin GPIO (uart, spi, i2c, pwm, gpio) Gigabit Ethernet port Optional M.2 M-KEY PCIe port 89 x 56 mm The versions with 2 GB / 4 GB / 8 GB of RAM are currently sold at 38 / 44 and 66 EUR on the manufacturer’s AliExpress store. For the same amount of RAM, the price is much lower than Raspberry Pi 5 (currently 98 EUR with 8 GB of RAM), and you can use PCI Express without an additional board. This being said, Raspberry Pi 5 has its own strengths, such as dual 4K HDMI output. ...
Mixing Yocto training and consulting in Italy
Training or consulting? In partnership with Amarula Solutions, I was in discussion with an Italian company, Novavision. Moving to a new hardware platform, they wanted to take the opportunity to gain ownership of the tools that are used to build their products, here Yocto, instead of subcontracting this part of system development as they did previously. Their first idea was to order our Yocto Project and OpenEmbedded training course. However, facing project deadline pressure, they also wondered whether consulting wouldn’t be a better choice to get their new project started in an efficient way. However, they didn’t want to fall back to subcontracting what they want to learn. That’s how the idea of a hybrid solution came up: consulting and training at the same time! ...
Orange Pi RV2 RISC-V board running Linux 6.18-rc1
Introduction Five days ago, I received the Orange Pi RV2 board I ordered. For about 54 EUR / 64 USD (+ shipping), this board has very attractive features, in particular: Top view - Source Orange Pi- 8 GB of LPDDR4X RAM (2 and 4 GB options exist) 8-core K1 64 bit RISC-V CPU 2x Gigabit Ethernet ports 2x M.2 M-Key PCIe2 sockets… great to plug-in PCIe devices, in particular NVME SSDs. 3x USB 3 and 1x USB 2 ports WiFi and Bluetooth 128 Mb SPI flash Micro-SD card and eMMC (not populated) Full-size HDMI Others: 2x MIPI CSI camera interfaces, MIPI DSI display connector, general purpose headers, buttons, jack audio… All this is amazing, and if not for the slower CPU compared to Raspberry Pi 4 (according to reviews I read), this board could be more appealing than the Raspberry Pi 5 itself, which has just one Gigabit Ethernet port, no SPI flash and needs an additional “HAT” to connect just one PCIe device. Raspberry Pi 5 has two HDMI ports though, sadly micro-HDMI ones. ...
Yocto security: Kernel Hardening
This is another blog post about securing your Yocto built systems: Securing Yocto Built Systems overview presentation slides Yocto Security: Production and Development Images Yocto security: Kernel Hardening Introduction The Linux kernel is the cornerstone and stronghold of a Linux based system. Unlike user-space applications which run with limited privileges, if it’s compromised, there is almost no limit to what an attacker can do. While nothing is unbreakable, there are two types of settings you can change to make your kernel harder to compromise: ...