seeed-projects/seeed-jetson-developtool/ko-module-build
Claude Code and agent skill by seeed-projects/seeed-jetson-developtool
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install seeed-projects/seeed-jetson-developtool/ko-module-buildSKILL.md
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)
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:
[OK] when extraction completes without errors.
Phase 3 — locate driver source file (~1 min)
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)
Create a Makefile in the workspace:
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)
[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)
[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.
Load the module:
Verify:
[OK] when modinfo shows the module details.
Failure decision tree
| Symptom | Action | |
|---|---|---|
| Driver source not found in BSP | Verify L4T version matches. Try searching with broader keywords. | |
| Symlink target path doesn't exist | Install kernel headers: sudo apt-get install -y linux-headers-$(uname -r) | |
make fails with missing headers | Verify symlink in Phase 5. Check that kernel-source directory has Makefile. | |
make fails with undefined symbols | Driver may depend on other modules. Check #include directives in source. | |
modprobe fails | Check dmesg for errors. Ensure .ko is in the correct path. Run sudo depmod -a again. | |
| Module loads but device not working | Check 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
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/openclaw/ko-module-build/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/seeed-projects/seeed-jetson-developtool/ko-module-build)