Creating Your Own Tiny Linux Distribution Using Yocto: Keeping it Small With
summary
Builds with Yocto and poky-tiny swap glibc for musl, replace many util-linux bits with busybox and add dropbear, shrinking a reference core-image from ~4 MB rootfs / 7 MB kernel / 9.1 s boot to ~1 MB rootfs / 2.7 MB kernel / 0.93 s boot by using core-image-tiny-initramfs that loads rootfs into RAM. A real product example cuts a 13 MB rootfs, 15 MB kernel and 42 s boot down to ~1.2 MB rootfs, 5.4 MB kernel and ~3.7 s by distro overrides, tuned kernel defconfig and trimming userland. Tools used: Yocto distro layer overrides and boot tracing with butcherd.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 4:07What is a distro
- 11:51Yocto Tiny
- 18:42Creating your own distro
- 22:21Analysis
- 30:21Comparison
related talks
40mRunning Linux on Tiny Peripherals
01h 08mUnderstanding, Building and Researching Minimal (and not so minimal) Linux Systems
31mRunning Linux on Constrained IOT Device
39mRunning Linux on Tiny Peripherals
01h 58mTutorial: Building the Simplest Possible Linux System
23mBuilding a Network Operating System Using Linux and Yocto
39mTiming Boot Time Reduction Techniques
24mSoftware Optimization for Early Linux Boot for Time Critical...
