How dbast/qnap-ts-433-bootloader-builder works
This repository builds reproducible, model-specific U-Boot firmware for QNAP TS-233 and TS-433 devices. The documented workflow combines pinned U-Boot, Trusted Firmware-A, and Rockchip firmware inputs in a Docker-based environment, then produces two U-Boot images and a shared SPL loader. The graph also preserves the documented artifact-verification and SBOM capabilities. The README documents the workflow, but the Makefile and build configuration were not sampled, so internal build-stage wiring is shown only where documented.
Main entry points: Makefile Build orchestration · sbom.py SBOM generator · u-boot U-Boot · trusted-firmware-a Trusted Firmware-A
Components 17
Build workflow
- Build orchestration
Makefile - Docker environment
Dockerfile - Loader normalizer
normalize-rockchip-loader.py
Firmware inputs
- U-Boot
u-boot - Trusted Firmware-A
trusted-firmware-a - Rockchip firmware
rkbin - Build patches
0001-Enable-setting-current_time-from-env-variable.patch
Firmware artifacts
- TS-233 image
u-boot - TS-433 image
u-boot - Shared SPL loader
rkbin
Artifact verification
- SBOM generator
sbom.py - CycloneDX SBOM
sbom.cdx.json - Release bundle
- Verification methods
Other components
- Builder
- GitHub services
- drand beacon
Connections 20
- Builder → Build orchestration: runs targets
README.md - Build orchestration → Docker environment: builds in
README.md - Build orchestration → U-Boot: uses source
README.md - Build orchestration → Trusted Firmware-A: builds BL31
README.md - Build orchestration → Rockchip firmware: uses firmware
README.md - Build orchestration → Build patches: applies patch
README.md - Build orchestration → TS-233 image: produces image
README.md - Build orchestration → TS-433 image: produces image
README.md - Build orchestration → Shared SPL loader: produces loader
README.md - Build orchestration → Loader normalizer: normalizes loader
- U-Boot → TS-233 image: provides bootloader
README.md - U-Boot → TS-433 image: provides bootloader
README.md - SBOM generator → U-Boot: reads version
sbom.py - SBOM generator → Trusted Firmware-A: reads version
sbom.py - SBOM generator → Rockchip firmware: reads firmware metadata
sbom.py - SBOM generator → CycloneDX SBOM: writes
sbom.py - Builder → Release bundle: downloads
README.md - Release bundle → Verification methods: verified by
README.md - Verification methods → GitHub services: queries or trusts
README.md - Verification methods → drand beacon: checks beacon
README.md