Diy Bsp Build logo

Diy Bsp Build

Organization
Seeed-Projects
diy-bsp-build

Create a custom flashable BSP (Board Support Package) by cloning a complete Jetson development environment. Covers working directory setup, environment cloning via l4t_backup_restore, BSP packaging, and flashing to target devices. Requires Ubuntu 22.04 host PC and USB-C cable.

Overview

PublisherSeeed-Projects
RepositorySeeed-Jetson-DevelopTool
Skill namediy-bsp-build
Stars
58
Forks
9
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Seeed-Projects on GitHub. Read the source before you install it.

Installation

Install the Diy Bsp Build AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool/tree/main/seeed_jetson_develop/skills/openclaw/diy-bsp-build
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool.git /tmp/Seeed-Jetson-DevelopTool
mkdir -p .claude/skills
cp -r /tmp/Seeed-Jetson-DevelopTool/seeed_jetson_develop/skills/openclaw/diy-bsp-build .claude/skills/diy-bsp-build
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Diy Bsp Build in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Diy Bsp Build on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Diy Bsp Build is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Creating a Custom BSP Package from Jetson Development Environment


Execution model

Run one phase at a time. After each phase:

  • Relay all command output to the user.
  • If output contains [STOP] → stop immediately, consult the failure decision tree below.
  • If output ends with [OK] → tell the user "Phase N complete" and proceed to the next phase.

Prerequisites

RequirementDetails
Source JetsonDevice with configured development environment
Host PCUbuntu 22.04
CableUSB Type-C data transmission cable
JetPack6.0 / 6.2 / 6.2.1 (guide uses 6.2 as example)
Disk spaceApproximately 2× the storage used by the Jetson dev environment

The reComputer Classic series has insufficient cooling for MAXN super mode. Do not enable MAXN mode on reComputer Classic with JetPack 6.2.


Phase 1 — Install host dependencies and prepare working directory (~10 min)

Download the working directory package for your JetPack version from the Seeed wiki, then install build dependencies on the host PC.

bash
sudo apt-get update -y
sudo apt-get install -y \
  build-essential flex bison libssl-dev \
  sshpass abootimg nfs-kernel-server \
  libxml2-utils qemu-user-static

Extract the downloaded package and generate content:

bash
sudo tar xpf xxx.tar.gz
# Example: sudo tar xpf L4T36-4-3_plus.tar

cd Linux_for_Tegra/
sudo ./apply_binaries.sh
cd ..

[OK] when apply_binaries.sh completes without errors. [STOP] if extraction or apply_binaries fails.


Phase 2 — Set environment variables and compile source (~20–60 min)

Set up cross-compilation environment variables in the extracted directory:

bash
export ARCH=arm64
export CROSS_COMPILE="$PWD/aarch64--glibc--stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-"
export PATH="$PWD/aarch64--glibc--stable-2022.08-1/bin:$PATH"
export INSTALL_MOD_PATH="$PWD/Linux_for_Tegra/rootfs/"

Compile the source code:

bash
cd Linux_for_Tegra/source
./nvbuild.sh

After compilation, copy and install:

bash
./do_copy.sh
./nvbuild.sh -i

[OK] when nvbuild.sh -i completes. [STOP] if compilation errors occur.


Phase 3 — Clone development environment from Jetson (~15–30 min)

Connect the source Jetson to the host PC via USB-C through the flashing port. Put the Jetson into Recovery mode (see https://wiki.seeedstudio.com/flash/jetpack_to_selected_product/).

Navigate to Linux_for_Tegra/ and clone:

bash
sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b -c <board-name>

# Example:
# sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b -c recomputer-orin-j401

Replace <board-name> with your device name. Valid names for L4T 36.4.3 include:

  • recomputer-industrial-orin-j201
  • recomputer-orin-j401
  • reserver-agx-orin-j501x
  • recomputer-orin-j40mini
  • recomputer-orin-robotics-j401
  • recomputer-orin-super-j401

Check .conf filenames in Linux_for_Tegra/ root to find valid device names.

[OK] when backup completes. [STOP] if device not detected — check Recovery mode and USB cable.


Phase 4 — Package BSP (~15–30 min)

The backup device must remain in Recovery mode. Package the cloned content:

bash
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --use-backup-image --no-flash --network usb0 --massflash 5 <board-name> internal

# Example:
# sudo ./tools/kernel_flash/l4t_initrd_flash.sh --use-backup-image --no-flash --network usb0 --massflash 5 recomputer-orin-j401 internal

Expected: files with mfi_ prefix and a mfi_xxxxx.tar.gz package generated in Linux_for_Tegra/.

(Optional) For QSPI flash format BSP suitable for factory production:

bash
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_t234_nvme.xml \
-p "-c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg" --no-flash --massflash 5 --showlogs \
--network usb0 <board-name> internal

[OK] when mfi_xxxxx.tar.gz is generated. [STOP] if packaging fails.


Phase 5 — Flash target device (~10–20 min)

Extract and flash the BSP to a new target Jetson (must be in Recovery mode):

bash
sudo tar xpf mfi_xxxx.tar.gz
cd mfi_xxxx
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1 --network usb0 --showlogs

[OK] when flashing completes and the target Jetson boots with the cloned environment.


Failure decision tree

SymptomAction
apply_binaries.sh failsVerify the tar.gz matches your JetPack version. Re-download if corrupted.
nvbuild.sh compilation errorConfirm cross-compiler path is correct. Check CROSS_COMPILE and PATH exports.
Device not detected in Recovery modeRe-seat USB-C cable. Verify correct flashing port. Re-enter Recovery mode.
l4t_backup_restore.sh failsEnsure sufficient disk space (2× Jetson storage). Confirm <board-name> matches a valid .conf file.
BSP packaging hangs or failsDevice must stay in Recovery mode throughout. Check USB connection stability.
Flash fails on target deviceConfirm target is in Recovery mode. Verify mfi_ package was extracted with sudo tar xpf.
Insufficient disk spaceFree space or use a larger drive. BSP requires ~2× the source Jetson's used storage.

Reference files

  • references/source.body.md — full original Seeed tutorial with download links, device name tables, and screenshots (reference only)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Diy Bsp Build AI skill do?

Create a custom flashable BSP (Board Support Package) by cloning a complete Jetson development environment. Covers working directory setup, environment cloning via l4t_backup_restore, BSP packaging, and flashing to target devices. Requires Ubuntu 22.04 host PC and USB-C cable.

Why use Diy Bsp Build on TypingMind?

Because you install it once and use it with any model. Diy Bsp Build is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Diy Bsp Build in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool/tree/main/seeed_jetson_develop/skills/openclaw/diy-bsp-build. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Diy Bsp Build?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Diy Bsp Build?

As many as you like. As long as a model supports skills, you can use Diy Bsp Build with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Diy Bsp Build AI skill free?

Yes. It is published on GitHub by Seeed-Projects under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇