[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78A6HA6QKJ1SSHAPKBHM59Y":3,"skill-same:01M78A6HA6QKJ1SSHAPKBHM59Y":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M78A6HA6QKJ1SSHAPKBHM59Y","jetson-flash-image",null,"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.","Solizardking\u002Ftrain2earn","Solizardking","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108096810?v=4","01M786KDB10AYV042N0F9BD5B5","Clawd","01M786KDC5C3NPE4W44C5641EZ",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: jetson-flash-image\ndescription: 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.\nversion: 0.0.1\nlicense: \"Apache-2.0\"\nmetadata:\n  data-classification: public\n  author: \"Jetson Team\"\n  tags:\n    - bsp\n    - flash\n  domain: meta\n---\n\n# Flash BSP Image\n\n## Purpose\n\nPush 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\u002F`. The DUT must be in RCM (recovery) mode at flash time. This is the **flash leg** of the BSP overlay deploy chain (`\u002Fjetson-promote-image` → `\u002Fjetson-flash-image`); see the BSP overlay workflow at `..\u002F..\u002Fcontext\u002Fbsp-customization-workflow.md`.\n\n**Design principle.** Four invariants govern this skill; each is fully explained in the Instructions step that owns it.\n\n- Host-side flash variables (`\u003Cboard>`, `\u003Cboot-dev>`, flow tool, per-board `.conf`, `boardctl`) are resolved from the active profile or the in-tree BSP.\n- Artifact paths (`DTB_FILE`, `BPFDTB_FILE`, partition XML, BCTs, DRAM training) are resolved inside `flash.sh` \u002F `l4t_initrd_flash.sh` at flash time from `board_sku` \u002F `board_FAB` read off the DUT's EEPROM.\n- 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.\n- The user explicitly confirms a printed *resolution* before flashing.\n\nOut of scope: BSP customization (use the `\u002Fjetson-customize-*` skills), promoting the overlay tracker into `bsp_image` (use `\u002Fjetson-promote-image`), and producing a custom carrier's flash conf (use `\u002Fjetson-derive-carrier`).\n\n## Prerequisites\n\n- Active target-platform profile resolved per `..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md` with a populated `bsp_image:` block. Refuse and route to `\u002Fjetson-init-image` if missing.\n- `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F` exists on the host and has been through `apply_binaries.sh` (route to `\u002Fjetson-init-image` otherwise).\n- A per-board flash `.conf` resolvable via the active-block precedence rule (`custom_carrier.flash_config` → `reference_devkit.flash_config`). Refuse and route to `\u002Fjetson-derive-carrier` or `\u002Fjetson-init-image` if absent.\n- For the prior overlay → image leg: `\u002Fjetson-promote-image` has already run (or a standalone re-flash with no promotion changes since the last flash).\n- A DUT cabled to the host that can be driven into RCM mode either via the in-tree `boardctl` or by manual recovery + reset buttons.\n\n## When to invoke\n\n- After `\u002Fjetson-promote-image` has updated `bsp_image` to carry the desired customizations.\n- Standalone re-flash with no promotion changes since the last flash.\n- DUT must be in RCM mode before invocation.\n\n## Instructions\n\n### Resolve target and `bsp_image`\n\nResolve the active profile per\n[`..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md).\nRefuse if `bsp_image:` is missing or `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`\ndoes not exist (route the user to `\u002Fjetson-init-image`).\n\n### Resolve the flash conf path\n\nPick the per-board `.conf` using the active-block precedence rule\nfrom\n[`target-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md):\n`custom_carrier.flash_config` when present, else\n`reference_devkit.flash_config`. Verify the chosen file exists under\n`\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`. Refuse if absent — route\nthe user at `\u002Fjetson-derive-carrier` (custom carrier) or\n`\u002Fjetson-promote-image` \u002F `\u002Fjetson-init-image` (reference devkit).\n\nBind `\u003Cboard>` as the basename of the resolved `.conf` minus the\n`.conf` suffix (e.g. `jetson-agx-thor-devkit.conf` →\n`\u003Cboard>=jetson-agx-thor-devkit`). the \"Invoke the flash\" step's command shape consumes\nthis binding directly.\n\n**No dispatch preview at this stage.** Artifact resolution (`DTB_FILE`,\n`BPFDTB_FILE`, partition XML, MB1 BCTs, DRAM training tables) happens\ninside `flash.sh` \u002F `l4t_initrd_flash.sh` during image generation,\nusing `board_sku` and `board_FAB` **read from the DUT's EEPROM in\nrecovery mode** — not values typed in from the profile. The profile\nis an authoring-time *prediction*; the DUT EEPROM is *authoritative*\nat flash time. The \"Preflight checks\" step's EEPROM cross-check reads EEPROM and refuses the flash on profile\n\u002F EEPROM mismatch, so passing preflight is what guarantees the\nflash-time dispatch will pick the artifacts the profile expects.\n\nFor static analyses outside the flash flow that need predicted\nartifact paths (KB generation, `customize-*` skills locating files\nto edit), see the standalone snippet in\n[per-board conf dispatch](..\u002F..\u002Fcontext\u002Fbsp-customization-software-layers.md#per-board-conf-dispatch--update_flash_args_common)\n— that snippet is valid for *BSP-side* resolution but **not** as a\nflash-time preview.\n\n### Select `\u003Cboot-dev>` and flash flow\n\n`\u003Cboot-dev>` is resolved deliberately, never assumed. Source order:\n\n1. If the active profile records the boot device, use it.\n2. Otherwise, prompt the user with the choices the per-board conf\n   actually supports (`internal`, `external`, `nvme0n1p1`, `mmcblk0p1`,\n   etc., depending on chip family and conf variant).\n\nPick the flow tool from the matrix below:\n\n| Chip family | Default boot media | Tool |\n|---|---|---|\n| T234 \u002F Orin | eMMC \u002F SD | `flash.sh` |\n| T234 \u002F Orin | NVMe \u002F USB | `l4t_initrd_flash.sh` |\n| T264 \u002F Thor | NVMe \u002F UFS | `l4t_initrd_flash.sh` |\n\nMassflash and `--flash-only` re-runs use the same tool selection but\nadd their respective flags.\n\n### Put the DUT into recovery mode\n\nDrive the device into recovery via the in-tree `boardctl` (preferred)\nor by manually pressing the recovery button followed by the reset button.\n\nThe full procedure — where to find `boardctl` under `Linux_for_Tegra\u002F`,\nhow to enumerate `-t` targets and pick one (recommend `topo`), the\nexact `recovery` verb to use, and the manual fallback — lives in\n[`references\u002Frecovery-mode-boardctl.md`](references\u002Frecovery-mode-boardctl.md).\n\nBind the resolved binary path as `\u003Cboardctl>` for the remainder of\nthis skill. Never substitute a `$PATH` `boardctl`, never invent a\ntarget name not present in `\u003Cboardctl> -h`. The \"Preflight checks\" step's DUT-recovery verification covers — for\nboth paths — that the DUT actually landed in RCM mode.\n\n### Preflight checks\n\nPerforming the following preflight checks in the specified order,\nand never skip each check. Host-side checks run first (fail early\nbefore asking the user to flip recovery), then DUT-side checks once\nthe user has put the device in RCM mode. EEPROM-dependent checks come\nafter RCM detection, since the recovery channel is what makes the read\npossible.\n\n**5.1 `bsp_image` readiness (host-side).**\n\n- Per-board conf exists at `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F\u003Cflash_config>`.\n- Artifact subtrees populated: `kernel\u002Fdtb\u002F`, `bootloader\u002F`,\n  `bootloader\u002Fgeneric\u002FBCT\u002F`, `rootfs\u002F`.\n- `apply_binaries.sh` has been run — check for\n  `rootfs\u002Fetc\u002Fnv_tegra_release` and the chip's `nvidia-l4t-bsp-*`\n  marker package files.\n- The *exact* resolved `DTB_FILE` \u002F `BPFDTB_FILE` \u002F BCT filenames\n  are intentionally not checked here — those are picked from\n  EEPROM at flash time (see the \"Resolve the flash conf path\" step).\n- **Kernel `Image` mirror invariant.** When both\n  `\u003CLFT_DST>\u002Fkernel\u002FImage` and `\u003CLFT_DST>\u002Frootfs\u002Fboot\u002FImage` exist,\n  they must be byte-identical (`cmp -s`); drift means\n  `\u002Fjetson-promote-image`'s [Mirror step](..\u002Fjetson-promote-image\u002FSKILL.md#mirror-kernel-image-into-rootfs-when-kernel-changed)\n  was skipped — route back. **Initramfs presence.**\n  `l4t_initrd_flash.sh` requires `\u003CLFT_DST>\u002Fbootloader\u002Fl4t_initrd.img`\n  and `\u003CLFT_DST>\u002Frootfs\u002Fboot\u002Finitrd`; absent → route to\n  `\u002Fjetson-init-image`. (Freshness vs.\n  `rootfs\u002Flib\u002Fmodules\u002F\u003Cver>\u002F` is not checked here — owned by\n  `\u002Fjetson-promote-image`'s\n  [Refresh initramfs step](..\u002Fjetson-promote-image\u002FSKILL.md#refresh-initramfs-when-kernel-or-modules-changed).)\n\n**5.2 DUT in RCM mode.**\n\n- Verifies the outcome of the \"Put the DUT into recovery mode\" step (either the user-selected\n  `\u003Cboardctl> -t \u003Ctarget>` invocation or the manual fallback).\n- `lsusb -d 0955:` must report at least one device matching the\n  active chip family's recovery VID:PID pair:\n\n  | Chip family | Recovery VID:PID |\n  |---|---|\n  | T23x \u002F Orin | `0955:7X23` (X is any hex digit — module variant) |\n  | T26x \u002F Thor | `0955:7026` |\n\n  For T23x, match on the trailing `23` (e.g. `lsusb -d 0955: | grep -E ' 0955:7.23 '`); a literal `0955:7023` check will miss valid T23x variants.\n\n- Absent → if the \"Put the DUT into recovery mode\" step used `boardctl`, surface its output and\n  refuse; if the \"Put the DUT into recovery mode\" step used the manual path, re-prompt the user to\n  confirm the jumper \u002F button and power-cycle.\n- **This is the gate for everything downstream.** `flash.sh`'s\n  image-generation phase reads EEPROM over the same recovery\n  channel; a device that's not in RCM here will fail there too.\n\n**5.3 EEPROM cross-check vs. active profile.**\n\nRead `board_sku` and `board_FAB` (and any additional dispatch inputs\nthe active chip family uses) from the DUT's EEPROM in recovery mode\nusing `sudo .\u002Fnvautoflash.sh --print_boardid` from\n`\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`. The full reference —\nsample output, label-to-dispatch-input mapping, empty-value\nsemantics, and the EEPROM-vs-profile reconciliation table — lives in\n[`references\u002Feeprom-cross-check.md`](references\u002Feeprom-cross-check.md).\n\nRefusal trigger is a *real non-empty disagreement*, never a missing\nvalue. Empty EEPROM values are valid and not a refusal trigger. The\ncross-check is the primary defense against the wrong-target \u002F\nwrong-SKU class of failures whenever both sides supply enough\ninformation to disagree.\n\n**5.4 Default user staging (host-side, interactive).**\n\nA freshly applied `bsp_image` has no Linux user pre-staged. Detect via\n`\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002Frootfs\u002Fhome\u002F` and\n`rootfs\u002Fetc\u002Fpasswd` UID ≥ 1000. If none, issue one `AskUserQuestion`\nwith four click-to-select options: `ubuntu \u002F ubuntu`, `nvidia \u002F nvidia`,\n`custom` (sub-prompt for username + password), or `skip` (OEM wizard\non first boot). Non-`skip` picks run\n`l4t_create_default_user.sh --autologin --accept-license`. Full\ninvocation + rationale in\n[`references\u002Fdefault-user-staging.md`](references\u002Fdefault-user-staging.md).\n\nRecord the resolution so the \"Confirm resolution\" step can display it. This step is **not**\na refusal gate — it is a user-interaction point.\n\n### Confirm resolution\n\nPrint the resolved plan and require explicit acceptance. The format\nis the resolution, not the shell command — the user is approving\n*what* will flash, not the *string* that will be executed:\n\n```\nTarget:         \u003Creference_devkit.name> [+ custom_carrier.name]\nProfile:        target-platform\u002F\u003Cactive>.yaml\nbsp_image:      \u003Cbsp_image.root_path>\u002FLinux_for_Tegra  (version \u003CX>)\nFlash conf:     \u003Cflash_config>   (path verified in the \"Resolve the flash conf path\" step)\n\nDUT EEPROM  →   board_sku=\u003Cvalue-or-(empty)>  board_FAB=\u003Cvalue-or-(empty)>\nProfile     →   module.sku=\u003Cvalue-or-(any)>    module.revision=\u003Cvalue-or-(any)>\n                (reconciled per the \"Preflight checks\" step's EEPROM cross-check)\n\nBoot device:    \u003Cboot-dev>\nFlow tool:      flash.sh  |  l4t_initrd_flash.sh\nboardctl:       \u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002Ftools\u002Fboard_automation\u002Fboardctl\n                (or the path the \"Put the DUT into recovery mode\" step resolved)\nRCM entry:      \u003Cboardctl> -t \u003Cuser-selected target> recovery  |  manual recovery + reset buttons\nPost-flash:     \u003Cboardctl> -t \u003Cuser-selected target> reset   (T26x \u002F Thor)\n                not required — flash tool resets internally    (T23x \u002F Orin)\nDefault user:   \u003Cusername> (autologin)\n              | already staged in rootfs (kept)\n              | none — OEM config wizard on first boot\n```\n\nArtifact paths (`DTB_FILE`, `BPFDTB_FILE`, partition XML, BCTs) are\nnot shown — they are resolved by `flash.sh` from EEPROM at flash\ntime, not by this skill. The \"Preflight checks\" step's EEPROM cross-check is what\nguarantees those flash-time picks will line up with what the profile\nexpects.\n\nThis is the user-acceptance gate. Refuse to fall back to a raw\n\"paste this command\" workflow — that path is how stale doc snippets,\nwrong dashes, and prompt-character paste artifacts make it into\nproduction flashes.\n\n### Invoke the flash\n\nConstruct the command from the resolved variables — never accept a\nverbatim command from the user, the docs, or memory:\n\n```bash\ncd \u003Cbsp_image.root_path>\u002FLinux_for_Tegra\nsudo .\u002F\u003Cflow-tool> [\u003Cresolved flags>] \u003Cboard> \u003Cboot-dev>\n```\n\nAbort and surface the failed step on the first non-zero exit. Do\nnot auto-retry on transient USB errors.\n\n### Post-flash reset (T26x \u002F Thor only)\n\nT26x platforms do **not** auto-reboot from the freshly flashed image\nwhen `flash.sh` \u002F `l4t_initrd_flash.sh` returns. Run, using the\n`\u003Cboardctl>` resolved in the \"Put the DUT into recovery mode\" step and the same target the user\nselected for RCM entry:\n\n```bash\n\u003Cboardctl> -t \u003Cuser-selected target> reset\n```\n\nT23x \u002F Orin issues the reset internally; skip this step on Orin. If\nthe \"Put the DUT into recovery mode\" step used the manual path, prompt the user to remove the\nforce-recovery jumper \u002F button and power-cycle by hand. Gate this\nstep on chip family resolved from the active profile.\n\n### Summary\n\nReport: command line(s) used (flash + post-flash reset if it ran),\nexit code, log location (if teed). Persist the resolved plan and\noutcome where validation can re-read it.\n\n## Limitations\n\n- **DUT must be in RCM mode.** Image-generation (EEPROM read) and the flash itself both use the recovery USB channel; not-in-RCM at the gate fails image-gen too.\n- **Artifact paths resolved at flash time.** `DTB_FILE`, `BPFDTB_FILE`, partition XML, BCTs, DRAM training are picked from EEPROM (`board_sku` \u002F `board_FAB`) by `flash.sh` \u002F `l4t_initrd_flash.sh`; this skill validates only host-side scaffolding.\n- **EEPROM is authoritative over the profile.** Real non-empty disagreement refuses; *empty* EEPROM values are valid.\n- **No raw-command bypass.** Refuses to fall back to user-supplied \"paste this command\" — that path is how stale doc snippets and prompt-character paste artifacts reach production flashes.\n- **No transient-error auto-retry.** USB hiccups abort; re-enter RCM and re-invoke.\n- **T26x needs an explicit post-flash reset.** T26x doesn't auto-reboot from a freshly flashed image; `\u003Cboardctl> -t \u003Ctarget> reset` (or manual power-cycle) required. T23x resets internally.\n- **Massflash \u002F `--flash-only`** uses the same tool selection + respective flags; massflash topology setup is out of scope here.\n\n## Troubleshooting\n\n| Error | Cause | Solution |\n|---|---|---|\n| `lsusb -d 0955:` reports nothing matching `0955:7X23` (T23x) or `0955:7026` (T26x) | DUT did not enter RCM mode — `boardctl recovery` failed or the manual recovery + reset sequence didn't take. | If `boardctl` was used, surface its output and re-prompt; manual path, re-confirm the recovery jumper \u002F button and power-cycle. Re-run the \"DUT in RCM mode\" preflight. |\n| Preflight EEPROM cross-check refuses with `board_sku` \u002F `board_FAB` mismatch vs. profile | EEPROM holds a *real non-empty* value that disagrees with `module.sku` \u002F `module.revision` in the active profile. | Fix the profile (`\u002Fjetson-set-target` or `\u002Fjetson-init-target`) to match the DUT's actual EEPROM. Do **not** override EEPROM from the profile — EEPROM is authoritative. |\n| Preflight refuses with \"per-board conf not found\" | Active profile points at a `flash_config` that does not exist under `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`. | For custom carriers: run `\u002Fjetson-derive-carrier` to produce the conf. For reference devkits: re-run `\u002Fjetson-promote-image` \u002F `\u002Fjetson-init-image` to repopulate the BSP image. |\n| Preflight refuses because `rootfs\u002Fetc\u002Fnv_tegra_release` is missing | `apply_binaries.sh` has not been run against `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`. | Re-run `\u002Fjetson-init-image` (which invokes `apply_binaries.sh`) or run `apply_binaries.sh` manually from `Linux_for_Tegra\u002F`. |\n| `boardctl -t \u003Ctarget> recovery` errors out or has no effect | Wrong `boardctl` (a `$PATH` binary instead of the in-tree one) or a target name not enumerated by `\u003Cboardctl> -h`. | Use the in-tree `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002Ftools\u002Fboard_automation\u002Fboardctl`; pick the target from `\u003Cboardctl> -h`. Fall back to manual recovery + reset buttons if needed. |\n| Flash succeeds on T26x but the DUT stays in recovery \u002F does not boot the new image | T26x does not auto-reset out of recovery after `flash.sh` \u002F `l4t_initrd_flash.sh` returns. | Run `\u003Cboardctl> -t \u003Ctarget> reset` (same target used for RCM entry), or for the manual path remove the force-recovery jumper \u002F button and power-cycle. T23x \u002F Orin needs no extra step. |\n| First boot lands on Ubuntu's OEM configuration wizard despite expecting autologin | No default user was staged into `rootfs` before flashing. | Either re-flash after staging via `l4t_create_default_user.sh --autologin --accept-license` (see the default-user-staging step), or complete the OEM wizard on the DUT this once. |\n| `flash.sh` exits non-zero on an artifact-not-found error (DTB \u002F BPFDTB \u002F partition XML) | EEPROM-driven dispatch resolved a filename that doesn't exist in `bsp_image` — usually `\u002Fjetson-promote-image` didn't copy the customized artifact, or the EEPROM SKU is unsupported by the BSP. | Re-run `\u002Fjetson-promote-image`. If the SKU is unsupported, the DUT needs a different BSP version. |\n| `kernel\u002FImage` ↔ `rootfs\u002Fboot\u002FImage` drift, missing `bootloader\u002Fl4t_initrd.img` \u002F `rootfs\u002Fboot\u002Finitrd`, or `modprobe` \"disagrees about version of symbol …\" on the DUT | `\u002Fjetson-promote-image`'s mirror \u002F refresh steps were skipped, or `bsp_image` was hand-edited outside Deploy. | Re-run `\u002Fjetson-promote-image` and re-flash. If initramfs files are entirely absent, run `\u002Fjetson-init-image` first. See [promote-image's kernel-image-and-initramfs reference](..\u002Fjetson-promote-image\u002Freferences\u002Fkernel-image-and-initramfs.md) for the manual escape hatch. |\n\n## References\n\n- [`references\u002Frecovery-mode-boardctl.md`](references\u002Frecovery-mode-boardctl.md) — locate the in-tree `boardctl`, enumerate targets, invoke `recovery` \u002F `reset`, manual fallback (the \"Put the DUT into recovery mode\" step \u002F the \"Post-flash reset\" step details).\n- [`references\u002Feeprom-cross-check.md`](references\u002Feeprom-cross-check.md) — `nvautoflash.sh --print_boardid` sample, label-to-dispatch-input map, EEPROM-vs-profile reconciliation table (used by the \"Preflight checks\" step).\n- [`references\u002Fdefault-user-staging.md`](references\u002Fdefault-user-staging.md) — `l4t_create_default_user.sh` invocation + flag rationale (used by the \"Preflight checks\" step).\n- [`..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md) — target-platform contract.\n- [`..\u002F..\u002Fcontext\u002Fbsp-customization-workflow.md`](..\u002F..\u002Fcontext\u002Fbsp-customization-workflow.md#workflow-invariants) — Workspace edit protocol (this skill is the flash leg of Deploy).\n- [Per-board conf dispatch](..\u002F..\u002Fcontext\u002Fbsp-customization-software-layers.md#per-board-conf-dispatch--update_flash_args_common) — `\u003Cboard>`, DTB, and BCT resolution from the active profile.\n- [`..\u002Fjetson-promote-image\u002FSKILL.md`](..\u002Fjetson-promote-image\u002FSKILL.md) — prior leg; copies overlay → bsp_image.\n- [`..\u002Fjetson-derive-carrier\u002FSKILL.md`](..\u002Fjetson-derive-carrier\u002FSKILL.md) — produces the custom carrier's flash conf consumed by the \"Resolve the flash conf path\" step.\n","# Flash BSP Image\n\n## Purpose\n\nPush 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\u002F`. The DUT must be in RCM (recovery) mode at flash time. This is the **flash leg** of the BSP overlay deploy chain (`\u002Fjetson-promote-image` → `\u002Fjetson-flash-image`); see the BSP overlay workflow at `..\u002F..\u002Fcontext\u002Fbsp-customization-workflow.md`.\n\n**Design principle.** Four invariants govern this skill; each is fully explained in the Instructions step that owns it.\n\n- Host-side flash variables (`\u003Cboard>`, `\u003Cboot-dev>`, flow tool, per-board `.conf`, `boardctl`) are resolved from the active profile or the in-tree BSP.\n- Artifact paths (`DTB_FILE`, `BPFDTB_FILE`, partition XML, BCTs, DRAM training) are resolved inside `flash.sh` \u002F `l4t_initrd_flash.sh` at flash time from `board_sku` \u002F `board_FAB` read off the DUT's EEPROM.\n- 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.\n- The user explicitly confirms a printed *resolution* before flashing.\n\nOut of scope: BSP customization (use the `\u002Fjetson-customize-*` skills), promoting the overlay tracker into `bsp_image` (use `\u002Fjetson-promote-image`), and producing a custom carrier's flash conf (use `\u002Fjetson-derive-carrier`).\n\n## Prerequisites\n\n- Active target-platform profile resolved per `..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md` with a populated `bsp_image:` block. Refuse and route to `\u002Fjetson-init-image` if missing.\n- `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F` exists on the host and has been through `apply_binaries.sh` (route to `\u002Fjetson-init-image` otherwise).\n- A per-board flash `.conf` resolvable via the active-block precedence rule (`custom_carrier.flash_config` → `reference_devkit.flash_config`). Refuse and route to `\u002Fjetson-derive-carrier` or `\u002Fjetson-init-image` if absent.\n- For the prior overlay → image leg: `\u002Fjetson-promote-image` has already run (or a standalone re-flash with no promotion changes since the last flash).\n- A DUT cabled to the host that can be driven into RCM mode either via the in-tree `boardctl` or by manual recovery + reset buttons.\n\n## When to invoke\n\n- After `\u002Fjetson-promote-image` has updated `bsp_image` to carry the desired customizations.\n- Standalone re-flash with no promotion changes since the last flash.\n- DUT must be in RCM mode before invocation.\n\n## Instructions\n\n### Resolve target and `bsp_image`\n\nResolve the active profile per\n[`..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md).\nRefuse if `bsp_image:` is missing or `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`\ndoes not exist (route the user to `\u002Fjetson-init-image`).\n\n### Resolve the flash conf path\n\nPick the per-board `.conf` using the active-block precedence rule\nfrom\n[`target-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md):\n`custom_carrier.flash_config` when present, else\n`reference_devkit.flash_config`. Verify the chosen file exists under\n`\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`. Refuse if absent — route\nthe user at `\u002Fjetson-derive-carrier` (custom carrier) or\n`\u002Fjetson-promote-image` \u002F `\u002Fjetson-init-image` (reference devkit).\n\nBind `\u003Cboard>` as the basename of the resolved `.conf` minus the\n`.conf` suffix (e.g. `jetson-agx-thor-devkit.conf` →\n`\u003Cboard>=jetson-agx-thor-devkit`). the \"Invoke the flash\" step's command shape consumes\nthis binding directly.\n\n**No dispatch preview at this stage.** Artifact resolution (`DTB_FILE`,\n`BPFDTB_FILE`, partition XML, MB1 BCTs, DRAM training tables) happens\ninside `flash.sh` \u002F `l4t_initrd_flash.sh` during image generation,\nusing `board_sku` and `board_FAB` **read from the DUT's EEPROM in\nrecovery mode** — not values typed in from the profile. The profile\nis an authoring-time *prediction*; the DUT EEPROM is *authoritative*\nat flash time. The \"Preflight checks\" step's EEPROM cross-check reads EEPROM and refuses the flash on profile\n\u002F EEPROM mismatch, so passing preflight is what guarantees the\nflash-time dispatch will pick the artifacts the profile expects.\n\nFor static analyses outside the flash flow that need predicted\nartifact paths (KB generation, `customize-*` skills locating files\nto edit), see the standalone snippet in\n[per-board conf dispatch](..\u002F..\u002Fcontext\u002Fbsp-customization-software-layers.md#per-board-conf-dispatch--update_flash_args_common)\n— that snippet is valid for *BSP-side* resolution but **not** as a\nflash-time preview.\n\n### Select `\u003Cboot-dev>` and flash flow\n\n`\u003Cboot-dev>` is resolved deliberately, never assumed. Source order:\n\n1. If the active profile records the boot device, use it.\n2. Otherwise, prompt the user with the choices the per-board conf\n   actually supports (`internal`, `external`, `nvme0n1p1`, `mmcblk0p1`,\n   etc., depending on chip family and conf variant).\n\nPick the flow tool from the matrix below:\n\n| Chip family | Default boot media | Tool |\n|---|---|---|\n| T234 \u002F Orin | eMMC \u002F SD | `flash.sh` |\n| T234 \u002F Orin | NVMe \u002F USB | `l4t_initrd_flash.sh` |\n| T264 \u002F Thor | NVMe \u002F UFS | `l4t_initrd_flash.sh` |\n\nMassflash and `--flash-only` re-runs use the same tool selection but\nadd their respective flags.\n\n### Put the DUT into recovery mode\n\nDrive the device into recovery via the in-tree `boardctl` (preferred)\nor by manually pressing the recovery button followed by the reset button.\n\nThe full procedure — where to find `boardctl` under `Linux_for_Tegra\u002F`,\nhow to enumerate `-t` targets and pick one (recommend `topo`), the\nexact `recovery` verb to use, and the manual fallback — lives in\n[`references\u002Frecovery-mode-boardctl.md`](references\u002Frecovery-mode-boardctl.md).\n\nBind the resolved binary path as `\u003Cboardctl>` for the remainder of\nthis skill. Never substitute a `$PATH` `boardctl`, never invent a\ntarget name not present in `\u003Cboardctl> -h`. The \"Preflight checks\" step's DUT-recovery verification covers — for\nboth paths — that the DUT actually landed in RCM mode.\n\n### Preflight checks\n\nPerforming the following preflight checks in the specified order,\nand never skip each check. Host-side checks run first (fail early\nbefore asking the user to flip recovery), then DUT-side checks once\nthe user has put the device in RCM mode. EEPROM-dependent checks come\nafter RCM detection, since the recovery channel is what makes the read\npossible.\n\n**5.1 `bsp_image` readiness (host-side).**\n\n- Per-board conf exists at `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F\u003Cflash_config>`.\n- Artifact subtrees populated: `kernel\u002Fdtb\u002F`, `bootloader\u002F`,\n  `bootloader\u002Fgeneric\u002FBCT\u002F`, `rootfs\u002F`.\n- `apply_binaries.sh` has been run — check for\n  `rootfs\u002Fetc\u002Fnv_tegra_release` and the chip's `nvidia-l4t-bsp-*`\n  marker package files.\n- The *exact* resolved `DTB_FILE` \u002F `BPFDTB_FILE` \u002F BCT filenames\n  are intentionally not checked here — those are picked from\n  EEPROM at flash time (see the \"Resolve the flash conf path\" step).\n- **Kernel `Image` mirror invariant.** When both\n  `\u003CLFT_DST>\u002Fkernel\u002FImage` and `\u003CLFT_DST>\u002Frootfs\u002Fboot\u002FImage` exist,\n  they must be byte-identical (`cmp -s`); drift means\n  `\u002Fjetson-promote-image`'s [Mirror step](..\u002Fjetson-promote-image\u002FSKILL.md#mirror-kernel-image-into-rootfs-when-kernel-changed)\n  was skipped — route back. **Initramfs presence.**\n  `l4t_initrd_flash.sh` requires `\u003CLFT_DST>\u002Fbootloader\u002Fl4t_initrd.img`\n  and `\u003CLFT_DST>\u002Frootfs\u002Fboot\u002Finitrd`; absent → route to\n  `\u002Fjetson-init-image`. (Freshness vs.\n  `rootfs\u002Flib\u002Fmodules\u002F\u003Cver>\u002F` is not checked here — owned by\n  `\u002Fjetson-promote-image`'s\n  [Refresh initramfs step](..\u002Fjetson-promote-image\u002FSKILL.md#refresh-initramfs-when-kernel-or-modules-changed).)\n\n**5.2 DUT in RCM mode.**\n\n- Verifies the outcome of the \"Put the DUT into recovery mode\" step (either the user-selected\n  `\u003Cboardctl> -t \u003Ctarget>` invocation or the manual fallback).\n- `lsusb -d 0955:` must report at least one device matching the\n  active chip family's recovery VID:PID pair:\n\n  | Chip family | Recovery VID:PID |\n  |---|---|\n  | T23x \u002F Orin | `0955:7X23` (X is any hex digit — module variant) |\n  | T26x \u002F Thor | `0955:7026` |\n\n  For T23x, match on the trailing `23` (e.g. `lsusb -d 0955: | grep -E ' 0955:7.23 '`); a literal `0955:7023` check will miss valid T23x variants.\n\n- Absent → if the \"Put the DUT into recovery mode\" step used `boardctl`, surface its output and\n  refuse; if the \"Put the DUT into recovery mode\" step used the manual path, re-prompt the user to\n  confirm the jumper \u002F button and power-cycle.\n- **This is the gate for everything downstream.** `flash.sh`'s\n  image-generation phase reads EEPROM over the same recovery\n  channel; a device that's not in RCM here will fail there too.\n\n**5.3 EEPROM cross-check vs. active profile.**\n\nRead `board_sku` and `board_FAB` (and any additional dispatch inputs\nthe active chip family uses) from the DUT's EEPROM in recovery mode\nusing `sudo .\u002Fnvautoflash.sh --print_boardid` from\n`\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`. The full reference —\nsample output, label-to-dispatch-input mapping, empty-value\nsemantics, and the EEPROM-vs-profile reconciliation table — lives in\n[`references\u002Feeprom-cross-check.md`](references\u002Feeprom-cross-check.md).\n\nRefusal trigger is a *real non-empty disagreement*, never a missing\nvalue. Empty EEPROM values are valid and not a refusal trigger. The\ncross-check is the primary defense against the wrong-target \u002F\nwrong-SKU class of failures whenever both sides supply enough\ninformation to disagree.\n\n**5.4 Default user staging (host-side, interactive).**\n\nA freshly applied `bsp_image` has no Linux user pre-staged. Detect via\n`\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002Frootfs\u002Fhome\u002F` and\n`rootfs\u002Fetc\u002Fpasswd` UID ≥ 1000. If none, issue one `AskUserQuestion`\nwith four click-to-select options: `ubuntu \u002F ubuntu`, `nvidia \u002F nvidia`,\n`custom` (sub-prompt for username + password), or `skip` (OEM wizard\non first boot). Non-`skip` picks run\n`l4t_create_default_user.sh --autologin --accept-license`. Full\ninvocation + rationale in\n[`references\u002Fdefault-user-staging.md`](references\u002Fdefault-user-staging.md).\n\nRecord the resolution so the \"Confirm resolution\" step can display it. This step is **not**\na refusal gate — it is a user-interaction point.\n\n### Confirm resolution\n\nPrint the resolved plan and require explicit acceptance. The format\nis the resolution, not the shell command — the user is approving\n*what* will flash, not the *string* that will be executed:\n\n```\nTarget:         \u003Creference_devkit.name> [+ custom_carrier.name]\nProfile:        target-platform\u002F\u003Cactive>.yaml\nbsp_image:      \u003Cbsp_image.root_path>\u002FLinux_for_Tegra  (version \u003CX>)\nFlash conf:     \u003Cflash_config>   (path verified in the \"Resolve the flash conf path\" step)\n\nDUT EEPROM  →   board_sku=\u003Cvalue-or-(empty)>  board_FAB=\u003Cvalue-or-(empty)>\nProfile     →   module.sku=\u003Cvalue-or-(any)>    module.revision=\u003Cvalue-or-(any)>\n                (reconciled per the \"Preflight checks\" step's EEPROM cross-check)\n\nBoot device:    \u003Cboot-dev>\nFlow tool:      flash.sh  |  l4t_initrd_flash.sh\nboardctl:       \u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002Ftools\u002Fboard_automation\u002Fboardctl\n                (or the path the \"Put the DUT into recovery mode\" step resolved)\nRCM entry:      \u003Cboardctl> -t \u003Cuser-selected target> recovery  |  manual recovery + reset buttons\nPost-flash:     \u003Cboardctl> -t \u003Cuser-selected target> reset   (T26x \u002F Thor)\n                not required — flash tool resets internally    (T23x \u002F Orin)\nDefault user:   \u003Cusername> (autologin)\n              | already staged in rootfs (kept)\n              | none — OEM config wizard on first boot\n```\n\nArtifact paths (`DTB_FILE`, `BPFDTB_FILE`, partition XML, BCTs) are\nnot shown — they are resolved by `flash.sh` from EEPROM at flash\ntime, not by this skill. The \"Preflight checks\" step's EEPROM cross-check is what\nguarantees those flash-time picks will line up with what the profile\nexpects.\n\nThis is the user-acceptance gate. Refuse to fall back to a raw\n\"paste this command\" workflow — that path is how stale doc snippets,\nwrong dashes, and prompt-character paste artifacts make it into\nproduction flashes.\n\n### Invoke the flash\n\nConstruct the command from the resolved variables — never accept a\nverbatim command from the user, the docs, or memory:\n\n```bash\ncd \u003Cbsp_image.root_path>\u002FLinux_for_Tegra\nsudo .\u002F\u003Cflow-tool> [\u003Cresolved flags>] \u003Cboard> \u003Cboot-dev>\n```\n\nAbort and surface the failed step on the first non-zero exit. Do\nnot auto-retry on transient USB errors.\n\n### Post-flash reset (T26x \u002F Thor only)\n\nT26x platforms do **not** auto-reboot from the freshly flashed image\nwhen `flash.sh` \u002F `l4t_initrd_flash.sh` returns. Run, using the\n`\u003Cboardctl>` resolved in the \"Put the DUT into recovery mode\" step and the same target the user\nselected for RCM entry:\n\n```bash\n\u003Cboardctl> -t \u003Cuser-selected target> reset\n```\n\nT23x \u002F Orin issues the reset internally; skip this step on Orin. If\nthe \"Put the DUT into recovery mode\" step used the manual path, prompt the user to remove the\nforce-recovery jumper \u002F button and power-cycle by hand. Gate this\nstep on chip family resolved from the active profile.\n\n### Summary\n\nReport: command line(s) used (flash + post-flash reset if it ran),\nexit code, log location (if teed). Persist the resolved plan and\noutcome where validation can re-read it.\n\n## Limitations\n\n- **DUT must be in RCM mode.** Image-generation (EEPROM read) and the flash itself both use the recovery USB channel; not-in-RCM at the gate fails image-gen too.\n- **Artifact paths resolved at flash time.** `DTB_FILE`, `BPFDTB_FILE`, partition XML, BCTs, DRAM training are picked from EEPROM (`board_sku` \u002F `board_FAB`) by `flash.sh` \u002F `l4t_initrd_flash.sh`; this skill validates only host-side scaffolding.\n- **EEPROM is authoritative over the profile.** Real non-empty disagreement refuses; *empty* EEPROM values are valid.\n- **No raw-command bypass.** Refuses to fall back to user-supplied \"paste this command\" — that path is how stale doc snippets and prompt-character paste artifacts reach production flashes.\n- **No transient-error auto-retry.** USB hiccups abort; re-enter RCM and re-invoke.\n- **T26x needs an explicit post-flash reset.** T26x doesn't auto-reboot from a freshly flashed image; `\u003Cboardctl> -t \u003Ctarget> reset` (or manual power-cycle) required. T23x resets internally.\n- **Massflash \u002F `--flash-only`** uses the same tool selection + respective flags; massflash topology setup is out of scope here.\n\n## Troubleshooting\n\n| Error | Cause | Solution |\n|---|---|---|\n| `lsusb -d 0955:` reports nothing matching `0955:7X23` (T23x) or `0955:7026` (T26x) | DUT did not enter RCM mode — `boardctl recovery` failed or the manual recovery + reset sequence didn't take. | If `boardctl` was used, surface its output and re-prompt; manual path, re-confirm the recovery jumper \u002F button and power-cycle. Re-run the \"DUT in RCM mode\" preflight. |\n| Preflight EEPROM cross-check refuses with `board_sku` \u002F `board_FAB` mismatch vs. profile | EEPROM holds a *real non-empty* value that disagrees with `module.sku` \u002F `module.revision` in the active profile. | Fix the profile (`\u002Fjetson-set-target` or `\u002Fjetson-init-target`) to match the DUT's actual EEPROM. Do **not** override EEPROM from the profile — EEPROM is authoritative. |\n| Preflight refuses with \"per-board conf not found\" | Active profile points at a `flash_config` that does not exist under `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`. | For custom carriers: run `\u002Fjetson-derive-carrier` to produce the conf. For reference devkits: re-run `\u002Fjetson-promote-image` \u002F `\u002Fjetson-init-image` to repopulate the BSP image. |\n| Preflight refuses because `rootfs\u002Fetc\u002Fnv_tegra_release` is missing | `apply_binaries.sh` has not been run against `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002F`. | Re-run `\u002Fjetson-init-image` (which invokes `apply_binaries.sh`) or run `apply_binaries.sh` manually from `Linux_for_Tegra\u002F`. |\n| `boardctl -t \u003Ctarget> recovery` errors out or has no effect | Wrong `boardctl` (a `$PATH` binary instead of the in-tree one) or a target name not enumerated by `\u003Cboardctl> -h`. | Use the in-tree `\u003Cbsp_image.root_path>\u002FLinux_for_Tegra\u002Ftools\u002Fboard_automation\u002Fboardctl`; pick the target from `\u003Cboardctl> -h`. Fall back to manual recovery + reset buttons if needed. |\n| Flash succeeds on T26x but the DUT stays in recovery \u002F does not boot the new image | T26x does not auto-reset out of recovery after `flash.sh` \u002F `l4t_initrd_flash.sh` returns. | Run `\u003Cboardctl> -t \u003Ctarget> reset` (same target used for RCM entry), or for the manual path remove the force-recovery jumper \u002F button and power-cycle. T23x \u002F Orin needs no extra step. |\n| First boot lands on Ubuntu's OEM configuration wizard despite expecting autologin | No default user was staged into `rootfs` before flashing. | Either re-flash after staging via `l4t_create_default_user.sh --autologin --accept-license` (see the default-user-staging step), or complete the OEM wizard on the DUT this once. |\n| `flash.sh` exits non-zero on an artifact-not-found error (DTB \u002F BPFDTB \u002F partition XML) | EEPROM-driven dispatch resolved a filename that doesn't exist in `bsp_image` — usually `\u002Fjetson-promote-image` didn't copy the customized artifact, or the EEPROM SKU is unsupported by the BSP. | Re-run `\u002Fjetson-promote-image`. If the SKU is unsupported, the DUT needs a different BSP version. |\n| `kernel\u002FImage` ↔ `rootfs\u002Fboot\u002FImage` drift, missing `bootloader\u002Fl4t_initrd.img` \u002F `rootfs\u002Fboot\u002Finitrd`, or `modprobe` \"disagrees about version of symbol …\" on the DUT | `\u002Fjetson-promote-image`'s mirror \u002F refresh steps were skipped, or `bsp_image` was hand-edited outside Deploy. | Re-run `\u002Fjetson-promote-image` and re-flash. If initramfs files are entirely absent, run `\u002Fjetson-init-image` first. See [promote-image's kernel-image-and-initramfs reference](..\u002Fjetson-promote-image\u002Freferences\u002Fkernel-image-and-initramfs.md) for the manual escape hatch. |\n\n## References\n\n- [`references\u002Frecovery-mode-boardctl.md`](references\u002Frecovery-mode-boardctl.md) — locate the in-tree `boardctl`, enumerate targets, invoke `recovery` \u002F `reset`, manual fallback (the \"Put the DUT into recovery mode\" step \u002F the \"Post-flash reset\" step details).\n- [`references\u002Feeprom-cross-check.md`](references\u002Feeprom-cross-check.md) — `nvautoflash.sh --print_boardid` sample, label-to-dispatch-input map, EEPROM-vs-profile reconciliation table (used by the \"Preflight checks\" step).\n- [`references\u002Fdefault-user-staging.md`](references\u002Fdefault-user-staging.md) — `l4t_create_default_user.sh` invocation + flag rationale (used by the \"Preflight checks\" step).\n- [`..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md`](..\u002F..\u002Fcontext\u002Ftarget-platform-contract.md) — target-platform contract.\n- [`..\u002F..\u002Fcontext\u002Fbsp-customization-workflow.md`](..\u002F..\u002Fcontext\u002Fbsp-customization-workflow.md#workflow-invariants) — Workspace edit protocol (this skill is the flash leg of Deploy).\n- [Per-board conf dispatch](..\u002F..\u002Fcontext\u002Fbsp-customization-software-layers.md#per-board-conf-dispatch--update_flash_args_common) — `\u003Cboard>`, DTB, and BCT resolution from the active profile.\n- [`..\u002Fjetson-promote-image\u002FSKILL.md`](..\u002Fjetson-promote-image\u002FSKILL.md) — prior leg; copies overlay → bsp_image.\n- [`..\u002Fjetson-derive-carrier\u002FSKILL.md`](..\u002Fjetson-derive-carrier\u002FSKILL.md) — produces the custom carrier's flash conf consumed by the \"Resolve the flash conf path\" step.\n",{"name":5,"license":15,"version":24,"metadata":25,"description":7},"0.0.1",{"tags":26,"author":29,"domain":30,"data-classification":31},[27,28],"bsp","flash","Jetson Team","meta","public","main","86cc27ffd16af6cb85948f1155578e6f3f61cc4c","skillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn","https:\u002F\u002Fgithub.com\u002FSolizardking","https:\u002F\u002Fmusebook.trade","Got a mile high and never came down","2026-10-08 11:52:53",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add Solizardking\u002Ftrain2earn --skill jetson-flash-image",{"tool":46,"command":47},"bunx","bunx skills add Solizardking\u002Ftrain2earn --skill jetson-flash-image",{"tool":49,"command":50},"pnpm","pnpm dlx skills add Solizardking\u002Ftrain2earn --skill jetson-flash-image","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image\u002FSKILL.md",true,[54,60,64,68,72,76,80],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"BENCHMARK.md","REFERENCE","参考文档",3689,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image\u002FBENCHMARK.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"evals\u002Fevals.json",5927,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image\u002Fevals\u002Fevals.json",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fdefault-user-staging.md",1814,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image\u002Freferences\u002Fdefault-user-staging.md",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Feeprom-cross-check.md",3343,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image\u002Freferences\u002Feeprom-cross-check.md",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Frecovery-mode-boardctl.md",3044,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image\u002Freferences\u002Frecovery-mode-boardctl.md",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"skill-card.md",3771,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image\u002Fskill-card.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"skill.oms.sig","OTHER","其他",5337,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fnvidia\u002Fjetson-flash-image\u002Fskill.oms.sig",[87,95,103,111,118,126],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M78B94RSCAKMH1QS79VE6DG9","testing","For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation.","MIT","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Ftesting\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M78B81BKY8RX12HETPG8YKWK","qedgen","Formally verify programs by writing Lean 4 proofs. Trigger this skill whenever the user wants to formally verify code, generate Lean 4 proofs, prove properties about algorithms or smart contracts, verify invariants, convert program logic into formal specifications, or anything involving Lean 4 and formal verification. Also trigger when the user mentions \"qedgen\", \"lean proof\", \"formal proof\", \"verify my code\", \"prove correctness\", \"formal verification\", or wants mathematical guarantees about their implementation.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-formal-verification\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-formal-verification\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M78B7Q7C5K54E01DN83A60KG","solana-dev","Use when user asks to \"build a Solana dapp\", \"write an Anchor program\", \"create a token\", \"debug Solana errors\", \"set up wallet connection\", \"test my Solana program\", \"deploy to devnet\", or \"explain Solana concepts\" (rent, accounts, PDAs, CPIs, etc.). Also use for quick on-chain lookups via public RPC + curl — \"what's the balance of \u003Cwallet>\", \"look up transaction \u003Csig>\", \"token balance for \u003Caccount>\", \"check this address on mainnet\u002Fdevnet\". End-to-end Solana development playbook covering wallet connection, Anchor\u002FPinocchio programs, Codama client generation, LiteSVM\u002FMollusk\u002FSurfpool testing, security checklists, and JSON-RPC curl lookups against public clusters. Integrates with the Solana MCP server for live documentation search. Prefers framework-kit (@solana\u002Fclient + @solana\u002Freact-hooks) for UI, wallet-standard-first connection (incl. ConnectorKit), @solana\u002Fkit for client\u002FRPC code, and @solana\u002Fweb3-compat for legacy boundaries.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-dev\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-dev\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M78B7HXD6N6GWKSVRQ8F6Q31","solana-common-errors","Diagnose and fix common Solana development errors — GLIBC mismatches, Anchor version conflicts, cargo build-sbf \u002F platform-tools failures, LiteSVM issues, edition2024 crate pins, RPC airdrops, and Anchor 0.29→0.32 migrations. Use when builds fail, Anchor CLI won't install, or CI breaks on Debian\u002FUbuntu.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fsolana-common-errors\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M78B6T7YSYWQ0N4DP40QDXEZ","skill-creator","Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fskill-creator\u002Flicense.txt","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M78B1VFT9X5AND7AE1HZPZGF","phantom-wallet-mcp","Execute wallet operations through the Phantom MCP server. Use when the user wants to interact with their Phantom wallet directly — get addresses, transfer SOL or SPL tokens, buy\u002Fswap tokens, sign transactions, and sign messages across Solana, Ethereum, Bitcoin, and Sui. Requires the @phantom\u002Fmcp-server to be configured as an MCP server.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Ftrain2earn\u002Fblob\u002Fmain\u002Fskillhub\u002Fskills\u002Fphantom-wallet-mcp\u002FSKILL.md",[],[]]