bsp-source-sync
Skill5 starsChanged 3 months agoApache-2.0View on GitHub
Sync the RDK Linux source tree (kernel, bootloader, hobot-* package sources) using repo and the official manifests — X5 uses D-Robotics/x5-manifest, X3 uses D-Robotics/manifest. Use when the user wants to download/checkout the BSP source, switch branches, or repo init/sync fails. 触发词:repo init、repo sync、同步源码、下载源码、manifest、源码树、develop 分支. Do not use for building after the source is ready (bsp-image-build and later skills), or for S-series source acquisition (bsp-s-series).
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- D-Robotics/dsh-plugin-rdkedited, first seen Aug 28, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- D-Robotics/dsh-plugin-rdk★ 163% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- bsp-bootloader-buildSkill
- bsp-deb-buildSkill
- bsp-env-setupSkill
- bsp-image-buildSkill
- bsp-kernel-buildSkill
- bsp-rootfs-customSkill
- bsp-s-seriesSkill
- cmos-sensor-bringupSkill
- rdk-accessoriesSkill
- rdk-board-delegateSkill
- rdk-board-knowledgeSkill
- rdk-camera-setupSkill
- rdk-command-manualSkill
- rdk-diagnosticSkill
- rdk-docs-referenceSkill
- rdk-ecosystemSkill
- rdk-embodied-lerobotSkill
- rdk-gpio-40pinSkill
- rdk-hardwareSkill
- rdk-headless-modeSkill
- rdk-llm-deploymentSkill
- rdk-log-forensicsSkill
- rdk-memory-auditSkill
- rdk-model-benchmarkSkill
- rdk-model-deploySkill
- rdk-model-zoo-developSkill
- rdk-model-zoo-integrateSkill
- rdk-model-zoo-releaseSkill
- rdk-model-zoo-repoSkill
- rdk-model-zoo-reviewSkill
- rdk-model-zooSkill
- rdk-model-zoo-validateSkill
- rdk-multimediaSkill
- rdk-network-remoteSkill
- rdk-pack-installerSkill
- rdk-peripheral-cookbookSkill
- rdk-skill-finderSkill
- rdk-source-mapSkill
- rdk-system-configSkill
- rdk-system-maintainSkill
- rdk-tros-setupSkill
- rdk-vision-pipelineSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
Before proposing any repo init or repo sync, obtain all of the following explicitly:
- Distinctive: line 55
Only after the explicit confirmation, initialize the selected manifest (the main line matches the latest officially released image version) …
- Very specific: line 65
After the sync, report what landed and where: the rdk-gen scripts plus the source/ tree (bootloader, hobot-boot, hobot-dtb, …
- Very specific: line 69
Do not run repo init -b … in an existing checkout or run a large repo sync until the user has explicitly confirmed the reviewed preflight …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
BSP Source Sync
Purpose
Bring down the full RDK Linux source tree — kernel, bootloader, and all hobot-* package sources — so the other bsp-* skills can build from it. The entry point is the Google repo tool plus a board-specific manifest.
When to use
Use when:
- Starting a new BSP workspace (
repo init/repo sync) - Switching between the
main(stable, matches the latest released image) anddevelop(rolling) branches repo syncfails or the user asks where the source lives
Do not use:
- For S-series source acquisition — hand off to
bsp-s-series. - For image-only requests or building once sources exist — hand off to
bsp-image-build.
Instructions
- Route before collecting details. S-series acquisition belongs to
bsp-s-series; an image-only build belongs tobsp-image-build. Do not start a source sync for either request. - Before proposing any
repo initorrepo sync, obtain all of the following explicitly:- board family: X5 →
D-Robotics/x5-manifest; X3 →D-Robotics/manifest; - manifest branch: normally
main, ordeveloponly when the user accepts its rolling, less-stable nature; - exact, absolute target directory;
- available free disk space (the source sync needs tens of GB and substantial network bandwidth);
- whether local changes may be overwritten. If the workspace has local work, ask whether it must be preserved and whether backup/stash is authorized.
- board family: X5 →
- Prerequisites (from
bsp-env-setup): GitHub SSH key registered andrepoinstalled. Optional in China, the repo client itself can use the Tsinghua mirror:export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/' - For an existing checkout, inspect before making a change. Check the current manifest origin and active project/local-work state; never mix manifests in one directory. Explain any branch drift between the current checkout and the requested manifest branch. If local work exists, offer a user-approved backup (for example, patches, a commit, or a stash) before a branch switch or synchronization. Do not create a backup or alter the checkout without that approval.
cd <target-directory> git -C .repo/manifests.git remote -v repo status repo forall -c 'git status --short' - Present a preflight summary: board family and manifest URL, requested branch, exact target directory, observed local-work/branch-drift state, available disk, and the expected large network transfer. For an existing checkout, changing the manifest branch may move project revisions;
repo syncmay update many projects. Ask for one explicit confirmation that includes permission to proceed with the requested branch change and sync. - Only after the explicit confirmation, initialize the selected manifest (the
mainline matches the latest officially released image version) and sync:# RDK X5 repo init -u git@github.com:D-Robotics/x5-manifest.git -b <main-or-develop> # RDK X3 repo init -u git@github.com:D-Robotics/manifest.git -b <main-or-develop> repo sync - After the sync, report what landed and where: the
rdk-genscripts plus thesource/tree (bootloader, hobot-boot, hobot-dtb, hobot-kernel-headers,hobot-*packages, and kernel).
Safety
- Do not run
repo init -b …in an existing checkout or run a largerepo syncuntil the user has explicitly confirmed the reviewed preflight summary. - An existing checkout requires a manifest-origin check, local-change inspection, and a user-approved preservation decision before a branch switch or synchronization. Do not assume that local work may be overwritten.
developis a rolling development line. Warn that it can diverge from the current project branches and is less stable thanmain.repo initwrites a.repo/workspace andrepo synctransfers tens of GB: confirm the target directory, available disk, and bandwidth impact first.- Cloning uses SSH (
git@github.com): if it fails with permission errors, that is a GitHub SSH-key problem (seebsp-env-setup), not a manifest problem.
Sources:
x5-rdk-genREADME v3.5.0「下载源码」chapter;rdk-genREADME v3.0.3「下载源码」chapter.
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.

