bsp-env-setup

Configures an Ubuntu 22.04 host with build packages and the gcc-arm-11.2 aarch64 cross toolchain for RDK X3/X5 BSP development.

3|Updated Aug 6, 2026
One-click install
npx skills add https://github.com/D-Robotics/rdk-skills --skill bsp-env-setup-d-robotics
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bsp-env-setup
Source: https://github.com/D-Robotics/rdk-skills/tree/main/skills/bsp-env-setup
Command: npx skills add https://github.com/D-Robotics/rdk-skills --skill bsp-env-setup-d-robotics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Preparing a build machine for RDK X3/X5 BSP work fails when build tools are missing, the aarch64 cross toolchain is not installed, or repo and GitHub SSH access are not configured. This Skill walks through a gated, verified host setup so cross-compilation prerequisites are in place before any source sync or build begins. ## Core Features & Use Cases - Mandatory preflight gate: Blocks all installation commands until the host is confirmed as Ubuntu 22.04 x86_64, at least 100 GB of disk is free, network and GitHub SSH access work, and the user explicitly approves sudo changes. - Official package and toolchain installation: Installs the Ubuntu 22.04 build package list from the x5-rdk-gen README and extracts the gcc-arm-11.2-2022.02 aarch64-none-linux-gnu toolchain under /opt from the official D-Robotics archive. - Verification and routing: Verifies gcc and repo with exact pass/fail output, and routes S100/S600 requests to bsp-s-series instead of applying the X-series flow. - Use Case: A developer gets "make: command not found" and "aarch64-none-linux-gnu-gcc not found" errors on a fresh Ubuntu 22.04 machine; this Skill installs the required packages, toolchain, and repo tool, then confirms each check passes. ## Quick Start Set up this Ubuntu 22.04 machine as an RDK X5 BSP build host, including the build packages, the gcc-arm-11.2 cross toolchain under /opt, and repo with GitHub SSH access.

Frequently Asked Questions about bsp-env-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an RDK X5 cross-compilation environment on Ubuntu?▼

On Ubuntu 22.04 x86_64, install the build package list from the x5-rdk-gen README, then download and extract the gcc-arm-11.2-2022.02 aarch64-none-linux-gnu toolchain into /opt. Finally verify the toolchain with gcc --version and repo version before syncing source.

How to fix make, bc, or bison not found errors when building RDK BSP?▼

These errors mean the host build packages are missing. Install the full package list with apt-get, including build-essential, bc, bison, flex, device-tree-compiler, and u-boot-tools, then retry the build.

Can I use this setup flow for S100 or S600 boards?▼

No. S-series boards use a different environment handled by the bsp-s-series skill. This flow is only for X3/X5 hosts and explicitly stops and routes S100/S600 requests elsewhere.

Does the RDK BSP build environment work on Windows or Ubuntu 20.04?▼

No. The supported host is Ubuntu 22.04 x86_64 only. Windows, macOS, and unverified Ubuntu releases fail the preflight gate, and the 22.04 package list should not be quoted for 18.04 or 20.04, which have their own documented lists.

Why does repo init fail during RDK source sync?▼

repo init fails when the repo tool is not installed or the GitHub SSH key is not registered. Install repo via apt, then test access with ssh -T git@github.com, since source sync clones private repositories over SSH.

How much disk space is needed for RDK X5 BSP development?▼

At least 100 GB of free space is required on the filesystem used for source sync and builds. 30 GB is insufficient, and the setup will not proceed until a larger volume is available.