Boot-chain Evidence Lab
Primary platform: Jetson Orin Nano
QEMU alternative: Not applicable
Safety level: S0
Supports: Week 1 of the Tegra System Diagnostics and Bring-up Lab
Question
How do you prove which boot stages, kernel command line, and device-tree selection reached the running Orin without changing boot-critical state?
This is an observation-only lab. It accepts a serial-console log captured during one complete cold boot, validates the existing platform and software baselines, and records live boot-selection evidence. It does not modify UEFI, the kernel, initrd, device tree, root filesystem, or EFI variables.
Prerequisites
- Complete and validate the Platform Evidence Lab.
- Complete and validate the Software Baseline Lab.
- Connect a 3.3 V USB-to-TTL adapter to the board's debug UART with a common ground. Never connect a 5 V TTL signal.
- Capture from power-on through login or multi-user startup. The capture tool is operator-selected because adapter names and host operating systems vary.
The raw log must contain a Linux version line. Earlier MB1, MB2, L4TLauncher, or UEFI lines are valuable but not required: some serial setups begin capturing after firmware output has already passed. Record that limit in the final analysis rather than inventing missing stages.
Run
From this directory on the Orin target:
platform="$HOME/kernel-lab/platform-identity-<UTC timestamp>"
baseline="$HOME/kernel-lab/software-baseline-<UTC timestamp>"
serial="$HOME/kernel-lab/raw/cold-boot-serial.log"
output="$HOME/kernel-lab/boot-chain-$(date -u +%Y%m%dT%H%M%SZ)"
scripts/collect-boot-chain.sh "$platform" "$baseline" "$serial" "$output"
scripts/validate-boot-chain.sh "$output" expected/required-files.txtRun as the same unprivileged user used for the other S0 labs. If EFI runtime state is not exposed, the collector records unavailable; that is a platform observation, not a failure. An unreadable serial log or invalid upstream evidence fails before an output directory is created.
Interpret the evidence
Use observed-boot-markers.txt, boot-selection.txt, live-chosen-properties.txt, and serial-console.log to write a short report that separates:
- stages directly observed in the serial log;
- artifacts selected by the recorded boot configuration;
- values observed in the running kernel;
- stages inferred from NVIDIA's documented boot flow but absent from this capture;
- at least three concrete observations or anomalies and their next check.
Do not claim that a DTB named in a configuration file was loaded solely from its filename. Correlate the baseline's runtime FDT fingerprint, the live /chosen data, compatible strings, boot configuration, and serial evidence.
Completion and cleanup
The lab is complete when validation passes and the report links the exact platform and baseline manifests, explains capture limits, and maps observed evidence to the boot chain. No target cleanup is required because this lab is read-only. Retain the raw serial log; remove only learner-created evidence directories when they are no longer needed.
Repository fixture test:
tests/test-boot-chain.shFixture success proves script behavior only. It is not Orin boot evidence.