evidence · 10.3 KiB

README.md

Committed at docs/evidence/mainline-boot-splash/current-baseline-2026-10-20/README.md. This is what grounds the requirements that cite it.

Open raw source

Current splash investigation: source baseline, not a fix

Task 4.1 of the-mainline-kernel-keeps-the-boot-splash remains open (8/9 tasks complete). The October 12 films show transient logo corruption; they do not establish whether it reproduces on the currently installed kernel. This directory records a read-only source audit on October 20, 2026, after the operator accepted the native Settings top drawer. No new film, reproduction, kernel change or removal of the corruption is claimed.

Installed baseline and provenance

The separately committed ordinary-boot observation in ../../shade-status/persistent/README.md records the accepted system and cleanup. This audit reuses that boot’s protected kernel journal; it performs no additional SSH command, reboot or board mutation. The board and build slot are released. Landscape remains 1232×568 with output transform 270.

IdentityValue
Audit worktree revision8b0ef828bcbec5f2c11d3c37cc3892284e2f50c8
Ordinary boot ID9cc88abc-dc62-490e-8035-5d4832558a41
Running, booted and persistent system/nix/store/p501mchy0dq9lyjnaxwkx5s2pdm4i2yj-nixos-system-nixos-26.11.20260919.20b1ddd
Kernel GNU build ID7a61d8cea3e26df94695189b766de3fd66fa6860
Kernel output/nix/store/21lz5c6pkk329c0xcac9bzlx40dplrlk-linux-riscv64-unknown-linux-gnu-7.3.0-rc5
Kernel derivation/nix/store/0zq193wki0mimhnmsr0gq406g901c5gx-linux-riscv64-unknown-linux-gnu-7.3.0-rc5.drv
Configured source/nix/store/1sr18plbky4kzy5x1gjqmy4pqdm68zbc-linux-mainline-k230-drm-src

source-audit.json records the original audit time, source hashes, protected input hash, selected journal lines and limits. current-boot-allowlist.log contains only the selected safe lines. The full journal stays outside Git because unrelated boot messages can contain private data. These are printed journal monotonic timestamps; no camera-to-kernel clock mapping has been qualified from them.

What the source establishes

Repeat the source checks

From the repository at the audit revision, with the recorded store paths still present:

kernel=/nix/store/21lz5c6pkk329c0xcac9bzlx40dplrlk-linux-riscv64-unknown-linux-gnu-7.3.0-rc5
nix-store --query --deriver "$kernel"
nix derivation show /nix/store/0zq193wki0mimhnmsr0gq406g901c5gx-linux-riscv64-unknown-linux-gnu-7.3.0-rc5.drv
python3 docs/evidence/mainline-boot-splash/current-baseline-2026-10-20/check-source.py
git blame -L 900,914 -- nix/patches/mainline/drm/canaan_vo.c

The recorded Nix JSON format is version 4: the derivation entry’s structuredAttrs.src selects the source. An earlier exploratory read of the legacy env.src field failed with KeyError before any mutation or evidence claim; it is not a build failure. check-source.py repeats the derivation and hash checks and verifies the committed allowlist hash. It does not fetch, build, access the board or claim to re-read the protected full journal.

Next physical capture and its timing gate

The original board evidence places the corruption near kernel 17/27 seconds, with approximately ±2 seconds of clock uncertainty. Its complete-boot films are evidence of the old defect, but that timing does not meet task 4.1’s ±0.1-second requirement. Earlier camera helpers’ first FFmpeg progress message is a process-start bound, not an exposure timestamp or a kernel/video synchronization event.

At the source-audit check, /dev/video* and /sys/class/video4linux had no camera devices, and no camera connector tool was available. A request for the board-facing camera to be reconnected, or its live feed URL, is pending. The accepted ordinary reboot above was not filmed.

Once a camera is available, the next bounded board action is:

  1. Reserve the board with /tmp/k230-board.lock; inspect the current boot identity, profile and rollback roots before changing anything. Preview the camera, select the actual panel ROI and a static off-panel control, and record exposure/frame-rate controls. Reusing an old ROI is insufficient.
  2. Qualify how camera exposure/packet timestamps map to a host clock and how that clock maps to this boot’s kernel clock. Record measured intervals, buffering, clock drift assumptions and the resulting uncertainty. A separately observed optical marker with a bounded kernel presentation timestamp is another possible anchor. The combined bound must be at most ±0.1 seconds; loose SSH arrival times or compositor-config log offsets cannot substitute. Choose and validate the method against the available feed before counting a film as proof.
  3. Record a complete normal warm reboot of the current accepted default, covering every frame from logo appearance through the compositor’s first frame. Keep landscape. Use SSH through the protected configuration for the reboot and post-boot identity; no USB data cable is required. Preserve the raw film, packet timestamps, identity and logs, and extract all candidate corruption frames against the static control. Hash and account for binary evidence before committing it.
  4. If corruption reproduces, correlate qualified frame intervals with logs before selecting a narrow kernel change. Build and prove that change, then repeat the full default-boot film. If it does not reproduce, record only that bounded observation; absence in one film alone does not explain removal of the historical defect. Release the board after capture.

The task remains unchecked until its actual fix and named physical proof exist. No archive, cold-power claim, scope reduction or waiver follows from this source audit.

Recorder preparation, October 20

tools/capture-boot-camera.c now provides a bounded host recorder for a single-planar V4L2 camera already configured for MJPEG. It saves unmodified buffer bytes to frames.mjpeg, and one frames.jsonl record per buffer with its sequence, byte range, raw flags, driver timestamp, decoded clock/source flags, and host monotonic times immediately around dequeue. No rotation, transcoding, camera format/control write, board access or reboot is included. It requests eight mmap buffers; the actual count is chosen by the driver.

The kernel buffer API defines the timestamp clock and source flags. An end-of-frame timestamp is recorded as such, not relabeled as start of exposure. An unknown clock stays unknown. Host dequeue times describe receipt, not exposure. All outputs explicitly retain kernel_video_alignment_qualified: false, even when capture completes. The recorder supplies timestamp evidence for later qualification; it does not itself satisfy ±0.1 s or prove any camera’s timestamp accuracy, exposure/readout delay, frame coverage or boot behavior.

Build and run a short camera qualification sample once the device is available, with a new output directory outside the repository:

cc -std=c11 -O2 -Wall -Wextra -Werror tools/capture-boot-camera.c -o /tmp/k230-capture-boot-camera
/tmp/k230-capture-boot-camera /dev/video0 /tmp/k230-camera-qualification-new 5 64 150

Arguments are device, new directory, seconds, maximum video MiB and optional maximum frames. Camera format/size/rate must be inspected and explicitly set separately if needed; unsupported formats are rejected. For a later full boot recording, use a newly named directory and limits chosen to cover the whole boot (for example 180 seconds / 512 MiB / 6000 frames), after qualifying the camera and clock mapping. Preview the raw orientation and ROI first. Starting this program does not trigger a reboot.

Exit 0 and a terminal capture_complete: true mean that the recording reached its duration/frame limit without a detected stream/file error. Inspect the process exit and terminal summary, verify raw-file size and every record’s byte range, then hash both files before preserving them as evidence. A byte cap, sequence discontinuity, error buffer, timestamp regression/invalidity, changed clock/source flags, camera stall or setup/write failure yields a nonzero exit. SIGINT/SIGTERM preserve partial output and stop the stream. An abrupt kill may leave buffered bytes or a missing summary: that is an incomplete capture. Existing output directories are never overwritten.

Host checks: python3 -m unittest tests.test_boot_camera compiles with warnings treated as errors and runs 12 tests using synthetic ioctl buffers with real file/mmap/poll operations. They cover raw bytes/timestamps, unknown clocks, sequence wrap/gaps, malformed index/size/timeval, error and regressing/future timestamps, changed timestamp flags, byte limits, requeue failure, existing output, wrong format, invalid limits and SIGTERM cleanup. recorder-host.json pins the source hashes and exact host results. No real camera, board capture, optical clock qualification or hardware fix was performed. Camera reconnect/feed remains pending.