jetson-flash-image
Use to flash a promoted BSP image to a Jetson DUT in RCM mode via flash.sh or l4t_initrd_flash.sh. Do NOT use for BSP customization, image promotion, or carrier derivation.
Install / Use
npx skills add NVIDIA/skills --skill jetson-flash-imageInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of jetson-flash-image
jetson-flash-image scores 93/100 on our quality scale, 532nd of 3,356 Development & Engineering skills we index (top 16%).
Its SKILL.md is 19 KB long, well organised into 17 sections with 3 code examples: a thorough specification that gives an agent plenty to work with.
With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 5 days ago, so jetson-flash-image is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
jetson-flash-image compared with similar skills
All 4 of these similar skills score higher than jetson-flash-image; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| jetson-flash-image (this skill)by NVIDIA | 93 | 3.4k | 5d ago | SKILL.md |
| ai-job-searchby MadsLorentzen | 100 | 44.4k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 41.7k | 2d ago | CLAUDE.md |
| LocalAIby mudler | 100 | 49.3k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 6d ago | SKILL.md |
Frequently asked questions
- How do I install jetson-flash-image?
- Run
npx skills add NVIDIA/skills --skill jetson-flash-image. The install tabs above show the steps for each supported agent. - Which AI agents does jetson-flash-image work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is jetson-flash-image safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is jetson-flash-image still maintained?
- The repository was last updated 5 days ago, so jetson-flash-image is actively maintained.
Skill content
View source on GitHubname: jetson-flash-image description: Use to flash a promoted BSP image to a Jetson DUT in RCM mode via flash.sh or l4t_initrd_flash.sh. Do NOT use for BSP customization, image promotion, or carrier derivation. version: 0.0.1 license: "Apache-2.0" metadata: data-classification: public author: "Jetson Team" tags: - bsp - flash domain: meta
Flash BSP Image
Purpose
Push a promoted bsp_image to a Jetson DUT by running the NVIDIA flashing toolchain (flash.sh or l4t_initrd_flash.sh) from the in-tree Linux_for_Tegra/. The DUT must be in RCM (recovery) mode at flash time. This is the flash leg of the BSP overlay deploy chain (/jetson-promote-image → /jetson-flash-image); see the BSP overlay workflow at ../../context/bsp-customization-workflow.md.
Design principle. Four invariants govern this skill; each is fully explained in the Instructions step that owns it.
- Host-side flash variables (
<board>,<boot-dev>, flow tool, per-board.conf,boardctl) are resolved from the active profile or the in-tree BSP. - Artifact paths (
DTB_FILE,BPFDTB_FILE, partition XML, BCTs, DRAM training) are resolved insideflash.sh/l4t_initrd_flash.shat flash time fromboard_sku/board_FABread off the DUT's EEPROM. - The DUT's EEPROM is authoritative; the profile is an authoring-time prediction reconciled by the preflight cross-check. Empty EEPROM values are valid, not refusal triggers.
- The user explicitly confirms a printed resolution before flashing.
Out of scope: BSP customization (use the /jetson-customize-* skills), promoting the overlay tracker into bsp_image (use /jetson-promote-image), and producing a custom carrier's flash conf (use /jetson-derive-carrier).
Prerequisites
- Active target-platform profile resolved per
../../context/target-platform-contract.mdwith a populatedbsp_image:block. Refuse and route to/jetson-init-imageif missing. <bsp_image.root_path>/Linux_for_Tegra/exists on the host and has been throughapply_binaries.sh(route to/jetson-init-imageotherwise).- A per-board flash
.confresolvable via the active-block precedence rule (custom_carrier.flash_config→reference_devkit.flash_config). Refuse and route to/jetson-derive-carrieror/jetson-init-imageif absent. - For the prior overlay → image leg:
/jetson-promote-imagehas already run (or a standalone re-flash with no promotion changes since the last flash). - A DUT cabled to the host that can be driven into RCM mode either via the in-tree
boardctlor by manual recovery + reset buttons.
When to invoke
- After
/jetson-promote-imagehas updatedbsp_imageto carry the desired customizations. - Standalone re-flash with no promotion changes since the last flash.
- DUT must be in RCM mode before invocation.
Instructions
Resolve target and bsp_image
Resolve the active profile per
../../context/target-platform-contract.md.
Refuse if bsp_image: is missing or <bsp_image.root_path>/Linux_for_Tegra/
does not exist (route the user to /jetson-init-image).
Resolve the flash conf path
Pick the per-board .conf using the active-block precedence rule
from
target-platform-contract.md:
custom_carrier.flash_config when present, else
reference_devkit.flash_config. Verify the chosen file exists under
<bsp_image.root_path>/Linux_for_Tegra/. Refuse if absent — route
the user at /jetson-derive-carrier (custom carrier) or
/jetson-promote-image / /jetson-init-image (reference devkit).
Bind <board> as the basename of the resolved .conf minus the
.conf suffix (e.g. jetson-agx-thor-devkit.conf →
<board>=jetson-agx-thor-devkit). the "Invoke the flash" step's command shape consumes
this binding directly.
No dispatch preview at this stage. Artifact resolution (DTB_FILE,
BPFDTB_FILE, partition XML, MB1 BCTs, DRAM training tables) happens
inside flash.sh / l4t_initrd_flash.sh during image generation,
using board_sku and board_FAB read from the DUT's EEPROM in
recovery mode — not values typed in from the profile. The profile
is an authoring-time prediction; the DUT EEPROM is authoritative
at flash time. The "Preflight checks" step's EEPROM cross-check reads EEPROM and refuses the flash on profile
/ EEPROM mismatch, so passing preflight is what guarantees the
flash-time dispatch will pick the artifacts the profile expects.
For static analyses outside the flash flow that need predicted
artifact paths (KB generation, customize-* skills locating files
to edit), see the standalone snippet in
per-board conf dispatch
— that snippet is valid for BSP-side resolution but not as a
flash-time preview.
Select <boot-dev> and flash flow
<boot-dev> is resolved deliberately, never assumed. Source order:
- If the active profile records the boot device, use it.
- Otherwise, prompt the user with the choices the per-board conf
actually supports (
internal,external,nvme0n1p1,mmcblk0p1, etc., depending on chip family and conf variant).
Pick the flow tool from the matrix below:
| Chip family | Default boot media | Tool |
|---|---|---|
| T234 / Orin | eMMC / SD | flash.sh |
| T234 / Orin | NVMe / USB | l4t_initrd_flash.sh |
| T264 / Thor | NVMe / UFS | l4t_initrd_flash.sh |
Massflash and --flash-only re-runs use the same tool selection but
add their respective flags.
Put the DUT into recovery mode
Drive the device into recovery via the in-tree boardctl (preferred)
or by manually pressing the recovery button followed by the reset button.
The full procedure — where to find boardctl under Linux_for_Tegra/,
how to enumerate -t targets and pick one (recommend topo), the
exact recovery verb to use, and the manual fallback — lives in
references/recovery-mode-boardctl.md.
Bind the resolved binary path as <boardctl> for the remainder of
this skill. Never substitute a $PATH boardctl, never invent a
target name not present in <boardctl> -h. The "Preflight checks" step's DUT-recovery verification covers — for
both paths — that the DUT actually landed in RCM mode.
Preflight checks
Performing the following preflight checks in the specified order, and never skip each check. Host-side checks run first (fail early before asking the user to flip recovery), then DUT-side checks once the user has put the device in RCM mode. EEPROM-dependent checks come after RCM detection, since the recovery channel is what makes the read possible.
5.1 bsp_image readiness (host-side).
- Per-board conf exists at
<bsp_image.root_path>/Linux_for_Tegra/<flash_config>. - Artifact subtrees populated:
kernel/dtb/,bootloader/,bootloader/generic/BCT/,rootfs/. apply_binaries.shhas been run — check forrootfs/etc/nv_tegra_releaseand the chip'snvidia-l4t-bsp-*marker package files.- The exact resolved
DTB_FILE/BPFDTB_FILE/ BCT filenames are intentionally not checked here — those are picked from EEPROM at flash time (see the "Resolve the flash conf path" step). - Kernel
Imagemirror invariant. When both<LFT_DST>/kernel/Imageand<LFT_DST>/rootfs/boot/Imageexist, they must be byte-identical (cmp -s); drift means/jetson-promote-image's Mirror step was skipped — route back. Initramfs presence.l4t_initrd_flash.shrequires<LFT_DST>/bootloader/l4t_initrd.imgand<LFT_DST>/rootfs/boot/initrd; absent → route to/jetson-init-image. (Freshness vs.rootfs/lib/modules/<ver>/is not checked here — owned by/jetson-promote-image's Refresh initramfs step.)
5.2 DUT in RCM mode.
-
Verifies the outcome of the "Put the DUT into recovery mode" step (either the user-selected
<boardctl> -t <target>invocation or the manual fallback). -
lsusb -d 0955:must report at least one device matching the active chip family's recovery VID:PID pair:| Chip family | Recovery VID:PID | |---|---| | T23x / Orin |
0955:7X23(X is any hex digit — module variant) | | T26x / Thor |0955:7026|For T23x, match on the trailing
23(e.g.lsusb -d 0955: | grep -E ' 0955:7.23 '); a literal0955:7023check will miss valid T23x variants. -
Absent → if the "Put the DUT into recovery mode" step used
boardctl, surface its output and refuse; if the "Put the DUT into recovery mode" step used the manual path, re-prompt the user to confirm the jumper / button and power-cycle. -
This is the gate for everything downstream.
flash.sh's image-generation phase reads EEPROM over the same recovery channel; a device that's not in RCM here will fail there too.
5.3 EEPROM cross-check vs. active profile.
Read board_sku and board_FAB (and any additional dispatch inputs
the active chip family uses) from the DUT's EEPROM in recovery mode
using sudo ./nvautoflash.sh --print_boardid from
<bsp_image.root_path>/Linux_for_Tegra/. The full reference —
sample output, label-to-dispatch-input mapping, empty-value
semantics, and the EEPROM-vs-profile reconciliation table — lives in
references/eeprom-cross-check.md.
Refusal trigger is a real non-empty disagreement, never a missing value. Empty EEPROM values are valid and not a refusal trigger. The cross-check is the primary defense against the wrong-target / wrong-SKU class of failures whenever both sides supply enough information to disagree.
5.4 Default user staging (host-side, interactive).
A freshly applied bsp_image has no Linux user pre-staged. Detect via
<bsp_image.root_path>/Linux_for_Tegra/rootfs/home/ and
rootfs/etc/passwd UID ≥ 1000. If none, issue one AskUserQuestion
with four click-to-select options: ubuntu / ubuntu, nvidia / nvidia,
custom (sub-prompt for username + password), or skip (OEM wizard
on first boot). Non-skip picks run
l4t_create_default_user.sh --autologin --accept-license. Full
invocation + rationale in
references/default-user-staging.md.
Record the resolution so the "Confirm resolution" step can display it. This step is not a refusal gate — it is a user-interaction point.
Confirm resolution
Print the resolved plan and require explicit acceptance. The format is the resolution, not the shell command — the user is approving what will flash, not the string that will be executed:
Target: <reference_devkit.name> [+ custom_carrier.name]
Profile: target-platform/<active>.yaml
bsp_image: <bsp_image.root_path>/Linux_for_Tegra (version <X>)
Flash conf: <flash_config> (path verified in the "Resolve the flash conf path" step)
DUT EEPROM → board_sku=<value-or-(empty)> board_FAB=<value-or-(empty)>
Profile → module.sku=<value-or-(any)> module.revision=<value-or-(any)>
(reconciled per the "Preflight checks" step's EEPROM cross-check)
Boot device: <boot-dev>
Flow tool: flash.sh | l4t_initrd_flash.sh
boardctl: <bsp_image.root_path>/Linux_for_Tegra/tools/board_automation/boardctl
(or the path the "Put the DUT into recovery mode" step resolved)
RCM entry: <boardctl> -t <user-selected target> recovery | manual recovery + reset buttons
Post-flash: <boardctl> -t <user-selected target> reset (T26x / Thor)
not required — flash tool resets internally (T23x / Orin)
Default user: <username> (autologin)
| already staged in rootfs (kept)
| none — OEM config wizard on first boot
Artifact paths (DTB_FILE, BPFDTB_FILE, pa
Truncated for display — read the full file on GitHub.
Related Skills
ai-job-search
44.4kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.7kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
LocalAI
49.3kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
