TALES FROM THE TRENCHES · #2
Resizing an Embedded Linux Filesystem on First Boot
Automatically expanding a Yocto root filesystem on first boot, from repairing the GPT through to resizing the ext4 filesystem.
Silicon Blade Consultants provides hands-on Yocto Project and OpenEmbedded consulting for engineering teams building and maintaining embedded Linux products.
A Yocto project that starts small can become difficult to understand as products, machines, hardware variants and customer-specific changes are added.
We can help structure layers, configuration and customisation so that the build remains understandable and maintainable as the product evolves.
We can help integrate applications, services and system configuration into your Yocto build, including:
.bbappend filesYocto work often crosses the boundary between the build system and the hardware platform. Problems that appear in the build can involve the bootloader, kernel, device tree or vendor BSP.
We can help with:
Moving an established product to a newer Yocto release can expose years of accumulated assumptions, workarounds and customisations.
We can help identify what needs to change, separate obsolete customisation from genuine product requirements, and move the platform forward without simply recreating the old build on a new release.
We can also help teams migrating existing embedded Linux products from other build systems, including Buildroot, to Yocto.
Production image design often extends well beyond creating a root filesystem. The partition layout, bootloader, update mechanism and recovery strategy all need to work together.
Support can include:
Sometimes you do not need a large development project. You need to understand why something does not work.
We can investigate focused problems involving build failures, unexpected BitBake behaviour, dependencies, packaging, image generation, BSP conflicts, boot failures or interactions between different parts of the platform.
You might have:
These are usually engineering problems rather than isolated BitBake questions. Solving them often means working across Yocto, bootloaders, kernels, device trees, filesystems and the wider embedded Linux platform.
Silicon Blade Consultants is led by Iain Menzies-Runciman, an Embedded Linux engineer with more than 30 years of Linux and Unix experience.
Our focus is hands-on engineering: working with your actual build and platform, investigating the problem, implementing changes and explaining the reasoning behind them to your engineering team.
The aim is not simply to get the next build through. It is to leave the project in a better state afterwards: easier to understand, easier to maintain and better prepared for future development.
Our technical articles cover practical problems encountered while developing Yocto and embedded Linux systems. They show the kind of investigation and engineering work that goes into solving problems on real products.
TALES FROM THE TRENCHES · #2
Automatically expanding a Yocto root filesystem on first boot, from repairing the GPT through to resizing the ext4 filesystem.
TALES FROM THE TRENCHES · #1
How conflicting OP-TEE Device Tree and ETZPC configuration caused an STM32MP1 to panic before Linux booted
How to use .bbappend files in a Yocto Project - A brief guide
Sometimes the best way to improve a project is to strengthen the engineering team's own Yocto knowledge.
We provide structured Yocto training as well as mentoring and knowledge transfer while working alongside your engineers on real development work.
Tell us what you are building, what is causing difficulty and where you need additional engineering support.