All skills
nvidia avatar

/jetson-flash-image

@87053a0
by NVIDIA Corporationnvidia/skills3.5k stars
424

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.

Use this Skill: https://skilld.dev/gh/nvidia/skills/jetson-flash-image

This session only. Nothing lands on disk.

referencesrecovery-mode-boardctl.md

≈761 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Recovery-mode entry via boardctl

Detailed reference for ../SKILL.md's "Put the DUT into recovery mode" step: locating the in-tree boardctl binary, enumerating targets, invoking recovery, and the manual fallback.

Locate boardctl inside the BSP tree

boardctl ships with the BSP, not the host distro — always prefer the in-tree binary over anything on $PATH, since a stale system-wide boardctl from a previous BSP install is a common source of "<target> not supported" failures.

Search under <bsp_image.root_path>/Linux_for_Tegra/, starting at the conventional location:

ls <bsp_image.root_path>/Linux_for_Tegra/tools/board_automation/boardctl
# fallback if the conventional path is absent:
find <bsp_image.root_path>/Linux_for_Tegra/ -type f -name boardctl

Bind the resolved absolute path as <boardctl>. If neither lookup finds an executable, skip to the manual fallback below — do not silently fall through to a $PATH lookup.

Enumerate targets

Run the resolved binary and parse the targets it advertises under the -t switch:

<boardctl> -h          # read the targets listed under the `-t` switch

Parse that list and present it to the user. Recommend topo when present — it is USB-topology-driven and does not require manual power-cycle. Other listed targets (chip-family names like t234, t264, or board-specific variants) remain selectable when the user has reason to prefer them or when topo is absent.

Invoke recovery

Once the user selects, invoke:

<boardctl> -t <user-selected target> recovery

recovery is the verb that drops the DUT into RCM. Do not substitute reset, reset --recovery, enter-recovery, rcm, or anything else copied from external docs — boardctl's own help is authoritative for the verb list, and recovery is what the current BSPs accept.

Manual fallback

If boardctl cannot be found under Linux_for_Tegra/, or <boardctl> -h lists no usable targets, or the user knows from experience that none will function on their setup, prompt the user to set the force-recovery jumper or button and power-cycle the device by hand. The skill never invents a target name not present in <boardctl> -h, and never falls back to a $PATH boardctl; either the in-tree boardctl runs with a user-confirmed target or the user does it by hand.

The skill's "Preflight checks" step verifies — for both paths — that the DUT actually landed in RCM mode.

Post-flash reset (T26x / Thor)

The same <boardctl> resolved above is reused after a successful flash on T26x platforms, using the same target the user selected for RCM entry:

<boardctl> -t <user-selected target> reset

T23x / Orin issues the reset internally from the flash tool; an extra boardctl reset there is unnecessary noise. If the "Put the DUT into recovery mode" step used the manual jumper / power-cycle path, the operator must remove the force-recovery jumper / release the button and power-cycle the device by hand on T26x.

Source: SKILL.md on GitHub

1 warning3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    The skill automates the flashing of NVIDIA Jetson hardware images using official toolchain scripts. It requires administrative privileges to interact with the device and configure system users, which is the standard and intended workflow for this hardware automation task.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 87053a0. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
version
0.0.1
Other metadata
metadata
{
  "data-classification": "public",
  "author": "Jetson Team",
  "tags": [
    "bsp",
    "flash"
  ],
  "domain": "meta"
}

README badge

README badge for nvidia/skills/jetson-flash-image