Skip to content
Development
Skill

/jetson-init-image

Extract Jetson Linux + sample-rootfs tarballs and run apply_binaries.sh for the active target, then record bsp_image in the profile. Use after jetson-init-target; not for source-tree setup.

From plugin
skills
3.8k200 skills

Claude Code

$ npx -y skills add NVIDIA/skills --skill jetson-init-image --agent claude-code

SKILL.md

jetson-init-image.SKILL.md
name: jetson-init-image
description: >-
  Extract Jetson Linux + sample-rootfs tarballs and run
  apply_binaries.sh for the active target, then record bsp_image in
  the profile. Use after jetson-init-target; not for source-tree
  setup.
version: 0.0.1
license: "Apache-2.0"
metadata:
  data-classification: public
  author: "Jetson Team"
  tags:
    - bsp
    - image
    - bootstrap
  domain: meta

Initialize BSP Image

Output is only `bsp_image:` in the active profile: derived `version` plus `root_path` only when overriding `<workspace>/Image`.

When to invoke

  • The user asks to extract, prepare, or initialize the BSP image.
  • A downstream skill reports missing

`<bsp_image.root_path>/Linux_for_Tegra/`.

  • The active profile has no `bsp_image:` block yet.

Procedure

Resolve target and image path

Resolve the active profile per [`../../context/target-platform-contract.md`](../../context/target-platform-contract.md). Refuse if there is no active profile or `reference_devkit:` is missing.

`<workspace>` is the parent of the active profile's `target-platform/` directory. `<bsp_image.root_path>` defaults to `<workspace>/Image`.

| Profile state | Action | |---|---| | `bsp_image.root_path` exists | Use it without prompting. | | `bsp_image:` exists without `root_path` | Use `<workspace>/Image`. | | No `bsp_image:` block | Ask once: Enter for default, or absolute override path. |

For an override, validate that the closest existing parent is writable. Omit `root_path` when the default is used.

Determine GPU stack

Use the shared GPU-driver invariant from [`../../context/target-platform-contract.md`](../../context/target-platform-contract.md#derived-platform-facts). Derive the expected stack from `reference_devkit.module.id` and the catalogue:

| Chip family | Module IDs | Stack | `apply_binaries.sh` flag | |---|---|---|---| | T234 / Orin | `p3701`, `p3767` | nvgpu | none | | T264 and later / Thor+ | `p3834` | OpenRM | `--openrm` |

Refuse unknown module IDs. The `--openrm` flag is only valid on BSP releases that ship the OpenRM stack; if the active BSP doesn't expose the flag, omit it regardless of what the target wants.

Reuse or extract

If `<bsp_image.root_path>/Linux_for_Tegra/` already exists:

1. Do not extract over it unless the user explicitly requested re-extraction and accepted the overwrite risk. 2. Derive the on-disk version from `Linux_for_Tegra/nv_tegra_release`. Ask before replacing a different recorded `bsp_image.version`. 3. Verify the installed GPU stack against the platform-derived expectation when possible. Detection precedence (first probe that yields a definitive answer wins):

1. `Linux_for_Tegra/rootfs/etc/nv_tegra_release` carries an `INSTALL_TYPE=` token on BSP releases that expose it (newer lines). Read and compare directly. 2. Otherwise, `find Linux_for_Tegra -name nvgpu.ko`: present → nvgpu, absent → OpenRM. 3. If the chip family has only ever shipped one stack (e.g. T234 / Orin is always nvgpu in current BSPs), fall back to the catalogue-derived expectation without disk probing.

If the installed stack conflicts with the active target, refuse and ask the user to re-extract with the correct stack or fix the target profile. Otherwise skip extraction and update the profile.

Locate tarballs

When extraction is needed, search:

1. `<bsp_image.root_path>/` 2. `<workspace>/` 3. current working directory

Prompt for absolute paths for anything missing. Required filenames:

  • `Jetson_Linux_R<ver>_aarch64.tbz2`
  • `Tegra_Linux_Sample-Root-Filesystem_R<ver>_aarch64.tbz2`

Both filenames must contain the same `R<ver>` token. Refuse mismatches and record `<ver>` as `bsp_image.version`. Do not download tarballs.

Extract and apply binaries

Use absolute tarball paths; they may live outside `<bsp_image.root_path>`.

ROOT="<bsp_image.root_path>"
BSP_TARBALL="<absolute path to Jetson_Linux_R<ver>_aarch64.tbz2>"
ROOTFS_TARBALL="<absolute path to Tegra_Linux_Sample-Root-Filesystem_R<ver>_aarch64.tbz2>"

mkdir -p "$ROOT"
tar xjf "$BSP_TARBALL" -C "$ROOT"
sudo tar xpjf "$ROOTFS_TARBALL" -C "$ROOT/Linux_for_Tegra/rootfs"

cd "$ROOT/Linux_for_Tegra"
if [ "$GPU_STACK" = "openrm" ]; then
  sudo ./apply_binaries.sh --openrm
else
  sudo ./apply_binaries.sh
fi

Set `GPU_STACK` from the "Determine GPU stack" step above. Abort on the first failing command and surface the failed command.

Update the active profile

Persist the resolved BSP image metadata in the active target profile so later skills can find the BSP without re-prompting. Preserve existing blocks, comments, and quoted SKU values; use a round-tripping YAML writer such as `ruamel.yaml`.

bsp_image:
  root_path: <absolute override path>  # omit for <workspace>/Image
  version: "<derived version>"

Rules:

  • Same version and same root path: no rewrite.
  • Different version: ask before updating.
  • Different recorded `root_path`: refuse automatic rewrite.
  • Always quote `version`.

Finish

Report the image path, extracted vs reused state, GPU stack, derived version, and profile update status. Then suggest `/jetson-init-source`.

Purpose

Materialize `Linux_for_Tegra/` on disk by extracting the right Jetson Linux + sample-rootfs tarballs and running `apply_binaries.sh` with the GPU-stack flag derived from the active target (nvgpu for T234, OpenRM for T264+). Then commit the derived BSP version into the profile's `bsp_image:` block.

Prerequisites

  • Active target profile resolved per

`../../context/target-platform-contract.md`.

  • Jetson Linux BSP tarball and matching sample-rootfs tarball staged

on disk (e.g. by `/jetson-download-bsp` or hand-placed).

  • Write access to the workspace `Image/` root (or the override

`bsp_image.root_path`).

  • `sudo` available for `apply_binaries.sh`.

Limitations

  • Writes only the `bsp_image:` block; source tree, documents, and

carrier profile are owned by sibling skills. -

Read more
@nvidia
Ships withskills

Official, NVIDIA-verified Agent Skills for Claude Code, Codex, and other coding agents.

3.8k200 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
3.8k
Star history of NVIDIA/skills on GitHub, a chart by star-history.com

Other skills on skills.

nvidia-skill-finder

nvidia-skill-finder

Use for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not ask for a skill. Trigger on NVIDIA…

@nvidia@nvidiaInstall Skill
accelerated-computing-cudf

accelerated-computing-…

Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby,…

@nvidia@nvidiaInstall Skill
amc-run-rtsp-calibration

amc-run-rtsp-calibrati…

Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or…

@nvidia@nvidiaInstall Skill
amc-run-sample-calibration

amc-run-sample-calibra…

Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice.…

@nvidia@nvidiaInstall Skill
amc-run-video-calibration

amc-run-video-calibrat…

Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live…

@nvidia@nvidiaInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about jetson-init-image.

Which coding agents can use jetson-init-image?
jetson-init-image installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.