Skip to content

Add device post flash command hook#16

Open
mbssrc wants to merge 11 commits into
tiiuae:masterfrom
mbssrc:device-postflashhook
Open

Add device post flash command hook#16
mbssrc wants to merge 11 commits into
tiiuae:masterfrom
mbssrc:device-postflashhook

Conversation

@mbssrc

@mbssrc mbssrc commented Feb 10, 2026

Copy link
Copy Markdown
Description of changes

Add post device flash hook to flashInitrd.

Testing

ConnorBaker and others added 9 commits January 29, 2026 17:17
…kgs CUDA packages

Signed-off-by: Connor Baker <cbaker2@anduril.com>
Signed-off-by: Elliot Berman <eberman@anduril.com>
after the merge of buildFromDebs with normalizeDebs the scope changed
and now the strictDeps misses the compiler here.

 > Running phase: unpackPhase
       > unpacking source archive /nix/store/3y5rmqix8dwp293kqfbf1axq3cp5vn4v-dlopen-override
       > source root is dlopen-override
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > /nix/store/bjrzd5xzzdzf8344979jiba4viz61rq8-stdenv-linux/setup: line 1767: cc: command not found
       For full logs, run:
         nix log
       > /nix/store/fx1wxs0x743zj6whb3h42v6ain2bncw6-dlopen-override-aarch64-unknown-linux-gnu-1.0.drv

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
…m-overlay

overlay.nix: remove l4t-opencv, which generally isn't useful for Nixpkgs CUDA packages
- Replace cursedBup uniqueHash calculation with a deterministic hash
  based on som, carrierBoard, and targetBoard
- Remove jetson-edk2-uefi reference from biosVersion to break circular
  dependency
- This is a temporary fix until proper solution is implemented to break
  the circular dependency between bup and uefi-firmware

The issue was that bup depends on uefi-firmware through mkFlashScript,
and uefi-firmware was trying to compute a uniqueHash based on bup,
creating an infinite recursion.

Signed-off-by: Julius Koskela <julius.koskela@unikie.com>
Signed-off-by: juliuskoskela <julius@koskela.email>
Signed-off-by: Tanel Dettenborn <tanel.dettenborn@tii.ae>
The 11-fisheye sample explicitly tests for OpenCV 4.10 and complains
about incompatability.

/build/source/opt/nvidia/vpi4/samples/11-fisheye/main.cpp:39:6: error: #error "OpenCV >= 4.10 isn't supported"
  39 | #    error "OpenCV >= 4.10 isn't supported"
While experimenting I ended up getting a reliable video-out if I connected the DP cable when the fan stops during boot. This doesn't work with all monitors, though, hence the "try".
Add hook for postFlashDeviceCommands to allow running commands before
device reboot.

Signed-off-by: Manuel Bluhm <manuel@ssrc.tii.ae>
@mbssrc mbssrc force-pushed the device-postflashhook branch from d967b02 to cc3fb07 Compare February 19, 2026 20:07
Signed-off-by: Manuel Bluhm <manuel@ssrc.tii.ae>
Fix cuda x86 cross compilation issue. Should be done in nixpkgs.

Signed-off-by: Manuel Bluhm <manuel@ssrc.tii.ae>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants