Getting Linux Distros to New Architectures
summary
Automated bootstrap scripts produce cross toolchains, a minimal chroot and an ordered package build list that resolves circular deps and rebuilds components like libc or Python when needed. Uses GCC/Clang cross targets, RPM macros to select compilers and detect native execution, QEMU for verification and an OS image Builder that handles per-device kernels and partition layouts. Successfully bootstrapped an OpenMandriva RISC‑V port (built on an aarch64 Amp Ultra) with RPM macros for cross-compiling and automated bootstrap scripts to reproduce images.
AI-written summary · about
chapters (15)
- 0:00Porting Linux distros to new arches
- 1:26Why non-x86 architectures matter
- 2:28Building toolchains for new arches
- 4:55Minimal bootable OS for compilation
- 6:44Configuring RPM for cross-compilation
- 8:53Resolving package circular dependencies
- 11:24Bootstrapping core packages
- 12:31Supporting musl ABI
- 14:18Booting challenges on new hardware
- 16:03Hardware-specific images with OS Image Builder
- 19:38Customizing images for use cases
- 21:03Q&A on RISC-V and vendor support
- 22:53Encouraging upstream vendor contributions
- 24:48Debugging build failures
- 29:50Closing remarks
related talks
01h 45mDebootstrapping Embedded Linux Root Filesystems - Building and Optimization for the...
26mBuilding for Heterogeneous Systems
42mPutting Linux into Context – Towards a reproducible example system with Linux...
46mComparing and Contrasting Embedded Linux Build Systems and Distributions
28mUtilizing Bazel for Cross-Platform and Cross-Architecture Compilation an...
43mAccelerated Porting of Linux, U-Boot and Yocto for Production Ready Emb...
37mCross-Building Strategies in the Age of C++ Package Managers
30mStrategies for Developing and Deploying your Embedded Applications and Images
