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.

referencesdefault-user-staging.md

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

Default-user staging via l4t_create_default_user.sh

Detailed reference for ../SKILL.md's "Preflight checks" step (default-user-staging sub-aspect): detecting existing staged users, the helper invocation, and the OEM-wizard fallback path.

Why it matters

A freshly applied bsp_image has no Linux user pre-staged in the rootfs. At first boot the DUT therefore runs Ubuntu's OEM configuration wizard, which requires a keyboard + monitor (or serial console interaction) to complete. To skip the wizard, stage a default user into the rootfs before flashing with l4t_create_default_user.sh.

Detect an existing staged user

Check <bsp_image.root_path>/Linux_for_Tegra/rootfs/home/ and rootfs/etc/passwd for a non-system UID ≥ 1000. If a staged user is already present, skip the staging step — re-running the helper overwrites the staged credentials, which is rarely what the operator wants.

Pick credentials (one AskUserQuestion)

If no user is staged, prompt once with four click-to-select options:

Option Effect
ubuntu / ubuntu Stage username=ubuntu password=ubuntu (BSP default convention)
nvidia / nvidia Stage username=nvidia password=nvidia (NVIDIA SDKM default)
custom Sub-prompt for <username> + <password>
skip No staging — OEM wizard runs on first boot

For any non-skip choice, run from <bsp_image.root_path>/Linux_for_Tegra/:

sudo ./tools/l4t_create_default_user.sh \
  --username <username> --password <password> \
  --autologin --accept-license

--autologin skips GDM at first boot; --accept-license is mandatory for non-interactive use (helper otherwise blocks on EULA prompt).

Record the resolution for the "Confirm resolution" step in SKILL.md (refusal-gate semantics are owned there).

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