Seeed-Jetson-DevelopTool / jetpack-ota-update
AGENTS.md57 starsChanged 4 months agoMITView on GitHub
Perform an image-based OTA update on Seeed Jetson devices to upgrade from JetPack 5.1.3 to JetPack 6.0. Requires Ubuntu 20.04 host PC and USB-C cable. Demonstrated on reComputer J3010.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,843 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository297 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-nvrAGENTS.md
- allxon-ota-updateAGENTS.md
- allxon-setupAGENTS.md
- alwaysai-setupAGENTS.md
- backup-restoreAGENTS.md
- bsp-source-buildAGENTS.md
- clawdbot-developmentAGENTS.md
- cochl-sense-setupAGENTS.md
- cvedia-setupAGENTS.md
- dashcamnet-xavier-nx-multicameraAGENTS.md
- deciai-setupAGENTS.md
- deepseek-quick-deployAGENTS.md
- deploy-deepseek-mlcAGENTS.md
- deploy-depth-anything-v3AGENTS.md
- deploy-diaAGENTS.md
- deploy-efficient-vision-engineAGENTS.md
- deploy-frigateAGENTS.md
- deploy-live-vlm-webuiAGENTS.md
- deploy-nvbloxAGENTS.md
- deploy-ollama-anythingllmAGENTS.md
- deploy-riva-llama2AGENTS.md
- developtool-deviceAGENTS.md
- disk-encryptionAGENTS.md
- diy-bsp-buildAGENTS.md
- ethercat-communicationAGENTS.md
- ethercat-setupAGENTS.md
- finetune-llm-llama-factoryAGENTS.md
- fix-browser-snap-jetsonAGENTS.md
- gapi-setupAGENTS.md
- generative-ai-introAGENTS.md
- gpt-oss-liveAGENTS.md
- gr00t-n1-5-deploy-thorAGENTS.md
- gr00t-n1-6-deploy-agxAGENTS.md
- hardhat-setupAGENTS.md
- hybrid-bsp-dk-to-recomputerAGENTS.md
- imx477-a603-setupAGENTS.md
- j501-viola-fruit-sortingAGENTS.md
- jetpack5-ssd-boot-fixAGENTS.md
- jetpack-flash-wsl2AGENTS.md
- jetpack-jetson-overviewAGENTS.md
- jetson-ai-toolsAGENTS.md
- jetson-docker-setupAGENTS.md
- jetson-faqAGENTS.md
- jetson-pc-wired-shareAGENTS.md
- jetson-project-galleryAGENTS.md
- jetson-resource-indexAGENTS.md
- jetson-tutorial-exercisesAGENTS.md
- ko-module-buildAGENTS.md
- l4t-differencesAGENTS.md
- langchain-output-formattingAGENTS.md
- lerobot-env-setupAGENTS.md
- llama-cpp-rpc-distributedAGENTS.md
- llm-interface-controlAGENTS.md
- local-chatbot-multimodalAGENTS.md
- local-chatbot-physicalAGENTS.md
- local-llm-text-to-imageAGENTS.md
- local-rag-llamaindexAGENTS.md
- lumeo-setupAGENTS.md
- maskcam-nanoAGENTS.md
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Run one phase at a time. After each phase:
- Very specific: line 19
If output contains [STOP] → stop immediately, consult the failure decision tree
- Very specific: line 20
If output ends with [OK] → tell the user "Phase N complete" and proceed
- Distinctive: line 71
If the device doesn't already have JP5.1.3:
- Distinctive: line 151
After completion, reboot the device:
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
JetPack Image-Based OTA Update (5.1.3 → 6.0)
Upgrade Jetson Linux from JetPack 5.1.3 to JetPack 6.0 using NVIDIA's image-based over-the-air update mechanism. Demonstrated on reComputer J3010.
Hardware: reComputer J4012/J4011/J3010/J3011, USB-C cable Software: Ubuntu 20.04 host PC, internet connection
Execution model
Run one phase at a time. After each phase:
- If output contains
[STOP]→ stop immediately, consult the failure decision tree - If output ends with
[OK]→ tell the user "Phase N complete" and proceed
Board-specific variables must be set based on the Jetson module:
| Module | BOARDID | BOARDSKU | FAB | BOARDREV | CHIP_SKU |
| Orin Nano 4G | 3767 | 0004 | 300 | N.2 | 00:00:00:D6 |
| Orin Nano 8G | 3767 | 0003 | 300 | N.2 | 00:00:00:D6 |
| Orin NX 8G | 3767 | 0001 | 300 | M.3 | 00:00:00:D4 |
| Orin NX 16G | 3767 | 0000 | 300 | G.3 | 00:00:00:D3 |
Phase 1 — download JP5.1.3 BSP (~10 min)
mkdir -p jp5 && cd jp5
wget https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v5.0/release/jetson_linux_r35.5.0_aarch64.tbz2
wget https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v5.0/release/tegra_linux_sample-root-filesystem_r35.5.0_aarch64.tbz2[OK] when both files download successfully.
Phase 2 — build JP5.1.3 system image (~15 min)
tar xf jetson_linux_r35.5.0_aarch64.tbz2
sudo tar xpf tegra_linux_sample-root-filesystem_r35.5.0_aarch64.tbz2 -C Linux_for_Tegra/rootfs/
cd Linux_for_Tegra
sudo ./apply_binaries.shGenerate the system image (replace variables per the table above):
sudo BOARDID=<BOARDID> BOARDSKU=<BOARDSKU> FAB=<FAB> BOARDREV=<BOARDREV> CHIP_SKU=<CHIP_SKU> \
./tools/kernel_flash/l4t_initrd_flash.sh \
--external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_nvme.xml \
-p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml --no-systemimg" \
--no-flash --massflash 5 --network usb0 \
jetson-orin-nano-devkit external[OK] when mfi_jetson-orin-nano-devkit.tar.gz is generated in Linux_for_Tegra/.
Phase 3 — (optional) flash JP5.1.3 to device
If the device doesn't already have JP5.1.3:
sudo tar xpf mfi_jetson-orin-nano-devkit.tar.gz
cd mfi_jetson-orin-nano-devkit
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1 --network usb0 --showlogs[OK] when device boots JP5.1.3.
Phase 4 — download JP6.0 BSP + OTA tools (~10 min)
cd <root_dir>
mkdir -p jp6 && cd jp6
wget https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v3.0/release/jetson_linux_r36.3.0_aarch64.tbz2
wget https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v3.0/release/tegra_linux_sample-root-filesystem_r36.3.0_aarch64.tbz2
wget https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v3.0/release/ota_tools_R36.3.0_aarch64.tbz2[OK] when all three files download successfully.
Phase 5 — build JP6.0 system image (~15 min)
tar xf jetson_linux_r36.3.0_aarch64.tbz2
sudo tar xpf tegra_linux_sample-root-filesystem_r36.3.0_aarch64.tbz2 -C Linux_for_Tegra/rootfs
cd Linux_for_Tegra
sudo ./apply_binaries.sh
sudo BOARDID=<BOARDID> BOARDSKU=<BOARDSKU> FAB=<FAB> BOARDREV=<BOARDREV> CHIP_SKU=<CHIP_SKU> \
./tools/kernel_flash/l4t_initrd_flash.sh \
--external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_nvme.xml \
-p "-c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg" \
--no-flash --massflash 5 --network usb0 \
jetson-orin-nano-devkit external[OK] when image generation completes.
Phase 6 — generate OTA payload package (~10 min)
cd <root_dir>/jp6
tar xf ota_tools_R36.3.0_aarch64.tbz2
cd Linux_for_Tegra
sudo BASE_BSP=<root_dir>/jp5/Linux_for_Tegra \
./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh \
--external-device nvme0n1 -S 80GiB jetson-orin-nano-devkit R35-5[OK] when ota_payload_package.tar.gz appears in
Linux_for_Tegra/bootloader/jetson-orin-nano-devkit/.
Phase 7 — apply OTA on device (~15 min)
Copy the OTA package to the Jetson device and run on the device:
scp <host_path>/jp6/Linux_for_Tegra/bootloader/jetson-orin-nano-devkit/ota_payload_package.tar.gz <user>@<jetson_ip>:~On the Jetson device:
wget https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v3.0/release/ota_tools_R36.3.0_aarch64.tbz2
sudo mkdir -p /ota
sudo mv ~/ota_payload_package.tar.gz /ota
tar xf ota_tools_R36.3.0_aarch64.tbz2
cd ~/Linux_for_Tegra/tools/ota_tools/version_upgrade
sudo ./nv_ota_start.sh /ota/ota_payload_package.tar.gzAfter completion, reboot the device:
sudo reboot[OK] when device boots into JetPack 6.0.
Failure decision tree
| Symptom | Action |
| BSP download fails | Check internet. Verify URLs are still valid at NVIDIA's download page. |
apply_binaries.sh fails | Ensure rootfs was extracted with sudo tar xpf. Re-extract and retry. |
| Image generation fails | Verify BOARDID/BOARDSKU/FAB/BOARDREV/CHIP_SKU match your module. |
| OTA package generation fails | Ensure BASE_BSP path points to the JP5.1.3 Linux_for_Tegra directory. |
nv_ota_start.sh fails on device | Check disk space (df -h). Ensure OTA package is in /ota/. |
| Device won't boot after OTA | Re-flash JP6.0 directly using standard flash method as fallback. |
Reference files
references/source.body.md— Original Seeed wiki with board-specific variable tables and screenshots
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

