Skip to content

l4t-csv: fix for Jetpack 7#3

Open
Princemachiavelli wants to merge 27 commits into
elliotberman:jetpack7from
Princemachiavelli:jetpack7
Open

l4t-csv: fix for Jetpack 7#3
Princemachiavelli wants to merge 27 commits into
elliotberman:jetpack7from
Princemachiavelli:jetpack7

Conversation

@Princemachiavelli

Copy link
Copy Markdown

No description provided.

elliotberman and others added 27 commits October 24, 2025 11:28
…ut there

The initrd flash script doesn't report progress back to the flashing
station (host PC). When a carrier board doesn't have a serial port, this
is unfortunate because the user doesn't have any way of knowing whether
the flashing is finished, failed, or succeeded. Fortunately, there's a
USB port we can expose an ACM gadget through and pipe the script's
progress through.

In order to create the USB device, we need to ensure the USB driver
stack is loaded. We inherit from boot.initrd.availableKernelModules
because there are carrier board-specific type-c modules that might be
required.

After setting up the gadget, we connect the input/output to /dev/ttyGS0,
the serial port we set up. We tee output to /dev/console and
/dev/ttyGS0, so if someone does monitor the serial port, they still see
the flashing progress there. This does change behavior for those users
if the flashing script fails: the busybox shell that is launched will
only accept input from /dev/ttyGS0.
In preparation for JetPack 7, use concatMapAttrsStringSep instead of
hard-code dereferencing "common" and "t234". JetPack 7 uses different
names for the repos.
The derivation is similar to JetPack 6, but not more minimal UEFI and
paths have been tweaked.
The UEFI image name is now SoC-specific and there may be no DTBOs output
from the UEFI firmware build.
Update flash tools patch and add new xmlstarlet dependency
The default repo name has changed from "t234" to "som" and
l4t-xusb-firmware is removed.
ATF now uses secure partition manager and our OP-TEE no longer bundles
nvluks.
Now depends on pyusb and there are directories!

Also add meta.mainProgram.
Add NixOS module support for thor-agx-devkit.
On Thor, the console arguments are different from Xavier and Orin.
nvbootctl has moved to l4t-bootloader-utils.
@elliotberman elliotberman force-pushed the jetpack7 branch 7 times, most recently from bc96e7d to c0b9078 Compare October 29, 2025 16:13
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.

2 participants