Kurse › Raspberry Pi › Stufe 38
Raspberry Pi · Advanced · Stufe 38 / 40
Custom Images, Device CI/CD and Other Boards
Produce reproducible system images in a pipeline, test them on real hardware and port your stack to non-Pi boards.
Advanced freischalten · CHF 29.90 Stufen 27–40, einmalig, kein Abo
10 Lektionen in dieser Stufe
- Building a Custom Raspberry Pi OS Image with pi-gen
Generate your own Bookworm-based image from source stages. · Lab: Build a lite image with pi-gen and boot it. - Baking Your Application into the Image with a Custom Stage
Add packages, users, units and configuration at build time. · Lab: Add a stage that installs your service, enables the read-only layout and removes default credentials. - Yocto Project Concepts: Layers, Recipes and Board Support
Understand when a from-source distribution is worth the cost. · Lab: Read a minimal layer and recipe and map each part to its pi-gen equivalent. - A CI Pipeline That Lints, Tests and Builds Images
Automate quality checks and image builds on every change. · Lab: Configure a pipeline with a self-hosted arm64 runner that produces an image artifact. - Hardware-in-the-Loop Test Rigs
Flash, boot and test real boards automatically. · Lab: Build a rig that switches a card, power-cycles a board and checks boot over serial. - Versioning, Signing and Publishing Release Artifacts
Trace every image in the field back to its source. · Lab: Embed version and commit in the image, sign the artifacts and publish checksums. - The SBC Landscape: Rockchip, Allwinner and Their Boot Chains
Compare other board families in boot, kernel support and vendor quality. · Lab: Compare boot stages and kernel sources for a Pi, an Orange Pi and a Radxa ROCK. - Running Your Stack on an Orange Pi or Radxa ROCK
Install a community Debian image and find the equivalent pins and buses. · Lab: Flash a board, enable I2C through its overlay mechanism and read your sensor. - A Hardware Abstraction Layer for Board-Agnostic Code
Isolate board differences behind one small interface. · Lab: Wrap GPIO, I2C and board facts behind a module with per-board back ends using libgpiod. - Supply Risk, Second Sources and Board Selection
Choose and qualify hardware for a multi-year product. · Lab: Score three boards on availability, lifetime guarantee, software support and cost.
Abschlussprojekt
A pipeline that turns a Git tag into a signed, tested image for the Pi, plus the same application running through a hardware abstraction layer on an Orange Pi or Radxa ROCK board.
Teile für diese Stufe
- 1 × Raspberry Pi 5 or Compute Module set from earlier levels
- 1 × Build computer or Pi 5 (8 GB) with NVMe storage
- 1 × Orange Pi board (Rockchip-based)
- 1 × Radxa ROCK board
- 2 × Power supply matching each alternative board
- 3 × microSD card 32 GB
- 1 × USB to TTL serial adapter (3.3 V)
- 1 × Relay module and USB SD card multiplexer for the test rig
- 1 × I2C sensor and LED set for portability tests
In jeder Lektion legst du die passenden Teile direkt in den Warenkorb. Raspberry Pi →
Voraussetzung: Levels 16, 30, 32 and 33: Git, device tree, read-only systems and update bundles.