Buildroot Setup for Kumquat
Introduction
This section guides you through the process of cloning the Buildroot Git repository and creating your first custom Linux image for the Kumquat board. By following these steps, you can build, customize, and generate an SD card image tailored to your Kumquat hardware.
This guide is intended for developers and advanced users who are comfortable working in a Linux environment and building embedded Linux systems from source.
Prerequisites
Before proceeding, ensure you have:
- A host system running:
- A Debian-based Linux distribution or
- Windows Subsystem for Linux 2 (WSL2) with a Debian-based distro
- The required build dependencies installed via
apt:
sudo apt update
sudo apt install -y \
sed make binutils build-essential diffutils gcc g++ bash patch \
gzip bzip2 perl tar cpio unzip rsync file bc findutils wget git
````
⚠️ Buildroot builds can take a significant amount of time and disk space, depending on system performance.
---
## Step 1: Clone the Buildroot Repository
1. Open a terminal on your host system.
2. Clone the NetCube Systems Buildroot repository:
```shell
git clone https://gitlab.com/netcube-systems-austria/buildroot.git

Step 2: Configure the Build
- Change into the cloned repository directory:
cd buildroot
- Configure Buildroot for the Kumquat board by running:
make netcube_kumquat_defconfig
This selects the default configuration for the Kumquat board, including the appropriate bootloader, kernel, and root filesystem settings.

Step 3: Build the Image
- Start the build process:
make
- The build may take anywhere from several minutes to a few hours depending on your system’s performance. Progress will be displayed in the terminal.
Step 4: Obtain the Built Image
- After the build completes, navigate to the output images directory:
output/images/
-
You will find a file named:
-
sdcard.img
This file is your custom-built Linux image for the Kumquat board and can be written directly to an SD card.

Step 5: Customize the Build (Optional)
- To customize the Buildroot configuration, run:
make menuconfig

- Adjust the configuration as desired (packages, kernel options, filesystem layout, etc.).
- Save your changes and rebuild the image:
make
A new sdcard.img will be generated reflecting your changes.
Conclusion
You have successfully cloned the Buildroot repository, configured it for the Kumquat board, and built a custom Linux image. From here, you can continue iterating on your configuration, integrate your own software, and adapt the system to your project’s requirements.
For detailed information on Buildroot configuration and advanced usage, refer to the official Buildroot documentation: https://buildroot.org/downloads/manual/manual.html