Generated banner for Jetson Print Bsp Info
Generated logo for Jetson Print Bsp Info

Jetson Print Bsp Info

NVIDIAOfficialCreated by Jetson TeamDistributed by NVIDIA

  • Skill
  • Research and analysis
  • Cloud and DevOps
  • Apache-2.0
  • Medium risk

From the author

Use when you need to print Jetson BSP info (L4T version, board configs, rootfs state) from a Linux_for_Tegra root on the host PC. This is an example skill.
— the description by Jetson Team

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The jetson-print-bsp-info skill provides a read-only diagnostic report for a Linux_for_Tegra (L4T) board support package (BSP) directory on a host PC. It validates the directory structure, identifies the L4T release version, lists available board configuration files, and checks whether the root filesystem has been populated. This tool is designed to help developers verify their environment setup before initiating flashing procedures.

What it does

  • Validates that the target directory is a valid Linux_for_Tegra root.
  • Extracts and displays the L4T release version header.
  • Lists all available board configuration files found in the directory.
  • Determines if the root filesystem is populated or empty.
  • Generates a concise, human-readable summary report of the BSP state.

When to use it

  • Immediately after unpacking a Jetson BSP tarball to verify its contents.
  • Before starting a flash process to ensure the correct L4T version is present.
  • When troubleshooting environment issues related to missing or incomplete BSP files.
  • To quickly confirm if the root filesystem has been successfully populated.

Advantages

  • Provides a quick, non-destructive sanity check of the BSP environment.
  • Prevents common errors by verifying prerequisites before flashing.
  • Standardizes the output format for BSP information across different environments.
  • Operates in a read-only mode, ensuring no accidental modifications to the BSP.

Usage examples

“Check the status of my Jetson BSP in the current directory.”
The agent validates the directory and prints the L4T version, available board configs, and whether the rootfs is populated.
“Verify the BSP info for the directory at /opt/nvidia/Linux_for_Tegra.”
The agent inspects the specified path and returns a formatted report confirming the release version and board support status.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/nvidia/jetson-print-bsp-info/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip jetson-print-bsp-info.zip -d .agents/skills

Documentation by Jetson Team

jetson-print-bsp-info

Prints a concise summary of a Jetson Linux_for_Tegra (BSP) tree on the host PC.

This skill is intended as a reference example for the jetson-bsp-skills repo and the NVIDIA-wide skills CI. It performs read-only inspection — no flashing, no rootfs changes.

Purpose

Capture a baseline snapshot of a Linux_for_Tegra BSP tree (release, board configs, rootfs state) before flashing, so issues like "wrong L4T version" or "rootfs never populated" are caught early.

When to use

  • A user has unpacked a Jetson BSP tarball and wants to confirm the L4T version, supported boards, and rootfs state before flashing.

  • You need a quick sanity check that a Linux_for_Tegra/ directory looks valid (expected scripts and config files present).

Prerequisites

  • Running on the host PC (Linux), not on the Jetson target.

  • A Linux_for_Tegra/ directory extracted from a Jetson BSP tarball.

  • Standard CLIs available: ls, head, cat, paste, sed.

Inputs

  • L4T_ROOT (optional): absolute path to the Linux_for_Tegra/ directory. If unset, use the current working directory.

Instructions

Run each step in order and print the captured values into the report shown under Output format.

  1. Resolve L4T_ROOT and validate the directory is a Linux_for_Tegra root — exit early otherwise. flash.sh and nv_tegra/ are the two anchor artifacts that every BSP ships:

    L4T_ROOT="${L4T_ROOT:-$PWD}"
    if [ ! -f "$L4T_ROOT/flash.sh" ] || [ ! -d "$L4T_ROOT/nv_tegra" ]; then
      echo "Not a Linux_for_Tegra root: '$L4T_ROOT' (missing flash.sh or nv_tegra/)"
      exit 1
    fi
    echo "$L4T_ROOT"
  2. Extract the L4T release header line. The canonical host-side location is nv_tegra/nv_tegra_release; the same file is copied into the rootfs by apply_binaries.sh. Only the first line is useful — the rest is a long list of library SHAs:

    head -1 "$L4T_ROOT/nv_tegra/nv_tegra_release" 2>/dev/null \
      || head -1 "$L4T_ROOT/rootfs/etc/nv_tegra_release" 2>/dev/null \
      || echo "L4T release info not found"
  3. List supported board config files and join them onto one comma-separated line:

    (cd "$L4T_ROOT" && ls *.conf 2>/dev/null) | paste -sd, -
  4. Check whether the rootfs has been populated. An empty rootfs/ means apply_binaries.sh has not been run yet:

    if [ -f "$L4T_ROOT/rootfs/etc/passwd" ]; then
      echo "populated"
    else
      echo "empty"
    fi

Output format

Print a short report with these sections, one line each where possible:

L4T root:        <path>
L4T release:     <release header line>
Board configs:   <comma-separated list>
Rootfs:          populated | empty

Examples

Example output on an Orin AGX BSP (L4T R36):

L4T root:        $HOME/Linux_for_Tegra
L4T release:     # R36 (release), REVISION: 3.0
Board configs:   jetson-agx-orin-devkit.conf,jetson-orin-nano-devkit.conf
Rootfs:          populated

Example output on a freshly untarred BSP where apply_binaries.sh has not been run yet:

L4T root:        /tmp/Linux_for_Tegra
L4T release:     # R39 (release), REVISION: 0.0
Board configs:   jetson-agx-thor-devkit.conf
Rootfs:          empty

Error handling

Each command falls back to a clearly labeled "... not found" string if the underlying file is missing — the skill never errors out mid-report. If L4T_ROOT does not contain flash.sh and nv_tegra/, exit early with a clear "not a Linux_for_Tegra root" message rather than printing misleading info.

Limitations

  • Read-only inspection only — does not validate signatures, kernel images, or device-tree overlays.

  • Only checks the presence of rootfs/etc/passwd as a populated-rootfs proxy; will not detect a half-populated rootfs.

  • Lists all *.conf board configs in L4T_ROOT/; does not try to infer which one the user intends to flash.

Troubleshooting

  • Error: Not a Linux_for_Tegra root: '...' (missing flash.sh or nv_tegra/) Cause: L4T_ROOT points at a parent directory, an extracted rootfs, or an unrelated path. Solution: Point L4T_ROOT at the directory that contains flash.sh (typically Linux_for_Tegra/).

  • Error: L4T release info not found Cause: Neither nv_tegra/nv_tegra_release nor rootfs/etc/nv_tegra_release exists — the BSP tarball may be incomplete or apply_binaries.sh was never run. Solution: Re-extract the BSP tarball or run apply_binaries.sh to populate the rootfs.

Notes

  • Do not modify any files. This skill is read-only.

  • If multiple board config files exist, list all of them — do not try to guess which one the user intends to flash.

Files

evals/evals.json

[
  {
    "id": "jetson-print-bsp-info-001",
    "question": "I just untarred a Jetson BSP into /home/dev/jetson/Linux_for_Tegra and want a one-shot summary of the L4T release, supported board configs, and whether the rootfs is populated before I flash. Can you do that?",
    "expected_skill": "jetson-print-bsp-info",
    "expected_script": null,
    "ground_truth": "Set L4T_ROOT=/home/dev/jetson/Linux_for_Tegra and run jetson-print-bsp-info. The skill validates the directory by checking flash.sh and nv_tegra/, then extracts the first line of nv_tegra/nv_tegra_release for the L4T release header, lists *.conf board configs joined onto a comma-separated line via paste -sd, - and checks rootfs/etc/passwd as the populated-rootfs proxy. Output is the four-line report with L4T root, L4T release, Board configs, and Rootfs (populated|empty) sections.",
    "expected_behavior": [
      "Read skills/jetson-print-bsp-info/SKILL.md",
      "Resolve L4T_ROOT to /home/dev/jetson/Linux_for_Tegra (fall back to $PWD if unset)",
      "Validate the directory by checking that flash.sh and nv_tegra/ both exist; exit early otherwise",
      "Run head -1 on nv_tegra/nv_tegra_release with a fallback to rootfs/etc/nv_tegra_release for the release header",
      "List *.conf in L4T_ROOT and join via paste -sd, - for the Board configs line",
      "Check rootfs/etc/passwd to print 'populated' or 'empty' for the Rootfs line",
      "Print the four-line report exactly per the Output format section (L4T root / L4T release / Board configs / Rootfs)"
    ]
  },
  {
    "id": "jetson-print-bsp-info-002",
    "question": "I pointed the skill at /tmp/my-bsp and it printed 'L4T release info not found' even though flash.sh and nv_tegra/ are present. What does that mean and how do I fix it?",
    "expected_skill": "jetson-print-bsp-info",
    "expected_script": null,
    "ground_truth": "The skill's Error handling falls back to a clearly labeled 'L4T release info not found' string when neither nv_tegra/nv_tegra_release nor rootfs/etc/nv_tegra_release exists, which per the Troubleshooting section means the BSP tarball may be incomplete or apply_binaries.sh was never run. Re-extract the BSP tarball to restore nv_tegra/nv_tegra_release, or run apply_binaries.sh to populate the rootfs (which copies nv_tegra_release into rootfs/etc/). The skill is read-only and never errors out mid-report — only that one line is missing while Board configs and Rootfs status still print.",
    "expected_behavior": [
      "Read skills/jetson-print-bsp-info/SKILL.md",
      "Locate the Troubleshooting entry for 'L4T release info not found'",
      "Explain that neither nv_tegra/nv_tegra_release nor rootfs/etc/nv_tegra_release was found",
      "Recommend re-extracting the BSP tarball or running apply_binaries.sh to populate the rootfs copy",
      "Note that per Error handling the skill never errors out mid-report — other report lines still print",
      "Reaffirm the skill is read-only and does not modify any files"
    ]
  }
]

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

What our scanner noticed· Medium risk

  • Large base64-encoded blobs

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Jetson Team
Publisher
NVIDIA (Official)
Distributed by
NVIDIA
Source
NVIDIA/skills · skills/jetson-print-bsp-info · commit fce3cca
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE-APACHE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Jetson Team or NVIDIA.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download jetson-print-bsp-info.zip