Ko Module Build logo

Ko Module Build

Organization
Seeed-Projects
ko-module-build

Compile and load a custom .ko kernel driver module on Seeed Jetson devices (reComputer/reServer). Downloads BSP source, extracts driver code, builds with Makefile, and loads via modprobe. Example uses pl2303 on JetPack 6.2.

Overview

PublisherSeeed-Projects
RepositorySeeed-Jetson-DevelopTool
Skill nameko-module-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 Ko Module 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/ko-module-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/ko-module-build .claude/skills/ko-module-build
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ko Module 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 Ko Module 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 Ko Module 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.

Build a .ko Driver Module for Seeed Jetson

When a required .ko driver module is missing from reComputer/reServer, compile it directly on the Jetson device. This guide uses the pl2303 USB-to-serial driver on JetPack 6.2 (L4T 36.4.3) as an example.

Hardware: Seeed Jetson device (reComputer/reServer) Software: JetPack 6.x (L4T 36.x), 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

Replace <driver_name> with the actual driver (e.g. pl2303) throughout.


Phase 1 — identify L4T version and target driver (~30 s)

bash
cat /etc/nv_tegra_release

Determine the L4T version (e.g. 36.4.3 = JetPack 6.2). Find the JetPack ↔ L4T mapping at: https://developer.nvidia.com/embedded/jetpack-archive

Ask the user which driver module they need (e.g. pl2303, ch341, etc.).

[OK] when L4T version and target driver are confirmed.


Phase 2 — download and extract BSP source (~10 min)

Download public_sources.tbz2 for the matching L4T version from NVIDIA's L4T release page.

Extract all nested archives:

bash
tar -xjf public_sources.tbz2
cd Linux_for_Tegra/source

find . -type f \( -name "*.tbz2" -o -name "*.tar.bz2" -o -name "*.tar.gz" -o -name "*.tgz" -o -name "*.tar.xz" \) -exec bash -c '
    dir=$(dirname "$1")
    filename=$(basename "$1")
    cd "$dir"
    if [[ "$filename" == *.tbz2 || "$filename" == *.tar.bz2 ]]; then
        tar -xjf "$filename"
    elif [[ "$filename" == *.tar.gz || "$filename" == *.tgz ]]; then
        tar -xzf "$filename"
    elif [[ "$filename" == *.tar.xz ]]; then
        tar -xJf "$filename"
    fi
    cd - > /dev/null
' _ {} \;

[OK] when extraction completes without errors.


Phase 3 — locate driver source file (~1 min)

bash
sudo find . -type f -name "*<driver_name>*"
# Example: sudo find . -type f -name "*pl2303*"

Note the path — it indicates both the source file and the target install path.

[OK] when driver source file (e.g. pl2303.c) is found. [STOP] if not found — driver may not be in this BSP version.


Phase 4 — create build workspace (~1 min)

bash
mkdir -p ~/ko_build && cd ~/ko_build
cp <path_to_driver_source>/<driver_name>.c .

Create a Makefile in the workspace:

makefile
obj-m += <driver_name>.o
all:
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

Replace <driver_name> with the actual name (e.g. pl2303).

[OK] when workspace contains both the .c source and Makefile.


Phase 5 — create kernel build symlink (~30 s)

bash
sudo rm -rf /lib/modules/$(uname -r)/build
sudo ln -s /usr/src/linux-headers-$(uname -r)-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source \
  /lib/modules/$(uname -r)/build

[OK] when symlink is created without errors. [STOP] if the headers path doesn't exist — install linux-headers-$(uname -r).


Phase 6 — compile the module (~1–5 min)

bash
cd ~/ko_build
make

[OK] when .ko file is generated in the current directory. [STOP] on compile errors — see failure decision tree.


Phase 7 — install and load the module (~30 s)

Copy to the correct kernel module path. The target path prefix is always /lib/modules/$(uname -r)/kernel/ — the suffix matches the source tree structure.

bash
# Example for pl2303 (USB serial driver):
sudo cp <driver_name>.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial/

Load the module:

bash
sudo depmod -a
sudo modprobe <driver_name>

Verify:

bash
modinfo <driver_name>

[OK] when modinfo shows the module details.


Failure decision tree

SymptomAction
Driver source not found in BSPVerify L4T version matches. Try searching with broader keywords.
Symlink target path doesn't existInstall kernel headers: sudo apt-get install -y linux-headers-$(uname -r)
make fails with missing headersVerify symlink in Phase 5. Check that kernel-source directory has Makefile.
make fails with undefined symbolsDriver may depend on other modules. Check #include directives in source.
modprobe failsCheck dmesg for errors. Ensure .ko is in the correct path. Run sudo depmod -a again.
Module loads but device not workingCheck dmesg for hardware errors. Verify device is connected and recognized by lsusb or lspci.

Reference files

  • references/source.body.md — Original Seeed wiki with screenshots and step-by-step walkthrough

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 Ko Module Build AI skill do?

Compile and load a custom .ko kernel driver module on Seeed Jetson devices (reComputer/reServer). Downloads BSP source, extracts driver code, builds with Makefile, and loads via modprobe. Example uses pl2303 on JetPack 6.2.

Why use Ko Module Build on TypingMind?

Because you install it once and use it with any model. Ko Module 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 Ko Module 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/ko-module-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 Ko Module 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 Ko Module Build?

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

Is the Ko Module 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 👇