BSP Build and Deployment
Outcome
Reproduce the NVIDIA BSP source/config relationship, build one artifact at a time, and deploy kernel, modules, or DTB with independent rollback.
Prerequisites
Complete Orin Platform Recovery or provide equivalent board identity, serial capture, artifact backup, and tested recovery evidence; prepare a Linux build host.
Platform boundary
Generic ARM64 compilation is available on a Linux host and in QEMU-oriented workflows. Source matching, NVIDIA modules, active DTB selection, and final deployment evidence require Orin.
Focus areas
- Map Jetson Linux BSP components: Ownership map for kernel, NVIDIA modules, DT, bootloader, rootfs, tools
- Match source to the running release: L4T, tag, kernel release, and vermagic agree
- Prepare ARM64 cross-compilation: Reusable toolchain/output environment
- Reproduce the vendor config: Saved origin and reviewed
olddefconfigdelta - Build only the kernel image: Architecture, release string, symbols, output
- Build only modules: Staging tree, dependency data, vermagic
- Build device trees separately: Exact board DTB/DTBO outputs
- Use incremental builds correctly: Observed target rebuild matrix
- Deploy a kernel without full reflash: New image plus tested fallback
- Deploy modules without mismatch: Successful
depmodand load evidence - Deploy a DTB with rollback: Proof of active DTB and recovery route
- Diagnose a build failure: First actionable error and minimal correction
Concrete diagnostic decision
Treat invalid module format as a release/config evidence problem before editing driver code: compare uname -r, modinfo -F vermagic, the build .config, compiler identity, and installed module path. A code rewrite cannot repair a module built for the wrong kernel.
Lab delivery policy
Build lessons must record exact source, commit/tag, config provenance, toolchain, commands, and artifact hashes. Module lessons must preflight signature enforcement and provide signing rather than globally weakening Secure Boot.
Completion criteria
You can rebuild and deploy a single BSP artifact, prove the running system uses it, and return to the previous artifact without a full reinstall.