Questions tagged [buildroot]

Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system, from the cross-compilation toolchain to the complete image for flashing.

Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system. Buildroot can generate any or all of a cross-compilation toolchain, a root filesystem, a kernel image and a bootloader image.

Whenever you post a question about a Buildroot build failure, please always specify the Buildroot version you're using, and attach the complete Buildroot .config file. Without these details, there is absolutely nothing that the Buildroot developers can do to help you.

810 questions
0
votes
1 answer

Adding custom package to buildroot

Someone can help me to write an .mk file and add custom library to buildroot. Example: I have foo.c and foo.h and this library that i wrote, have to be installed on a custom Linux to make my main app running successfully. I also want to know if…
hmz-rhl
  • 3
  • 1
0
votes
1 answer

Compiling buildroot with docker container fails when docker compose mounts output directory as a volume

I'm using docker-compose to build a buildroot repository, and want to mount the buildroot output directory as a volume, as it is quite useful for getting generated images without accesing the docker container. This is my docker-compose.yml: version:…
aicastell
  • 2,182
  • 2
  • 21
  • 33
0
votes
1 answer

How can I build Qt6 for buildroot?

How can I build a Qt6 application for Buildroot ? I tried a lot to build Qt6 for Buildroot but I was unable to built it.
0
votes
1 answer

compile same kernel driver multiple times

I need to compile xyz kernel driver 2 times by passing a flag to use it as a configuration parameter in the source code. I need to generate the .ko files as xyz0.ko and xyz1.ko. Below is the required content from xyz kernel Makefile. obj-m +=…
0
votes
1 answer

PIGPIO fails on startup, works on program relaunch

I am using pigpiod_if2.h to read the version of a shield on a Raspberry Pi 4B running a Buildroot distro as I need to have multiple C programs interacting with GPIO simultaneously -- the initialization uses pigpio_start, but returns error code -2003…
hal
  • 33
  • 6
0
votes
1 answer

spi1 on mangopi-r3 (f1c200s)

I'm working with mangopi-r3 dev board (f1c200s) and for the buildroot package I'm using this repo —> https://github.com/mangopi-sbc/buildroot-mangopi-r. I want to add spi1 but I don't know how. could someone help? sorry if this was a silly question…
0
votes
1 answer

How to build a linux based custom OS with GUI for Raspberry Pi 3B+

I am new to embedded linux, in order to learn how to build custom linux based OS from scratch I have decided to use buildroot. I want to build a GUI based OS RaspberryPi 3B+ (or 3B) similar to that of Raspbian OS, from scratch. How do I go about…
0
votes
1 answer

U-Boot won't take keyboard input from serial Raspberry Pi Model 3 B

I already have a working config for a compute module 3+. As I need the same setup on a raspberry Pi Model 3 B I tried bringing the config over. Everything is compiled in a buildroot environment. U-Boot v2020.10 is used. After some small changes…
obvg
  • 129
  • 12
0
votes
1 answer

Incorrect selection of kernel headers: expected 4.9.x, got 4.6.x with BR 2022.02 and bootlin toolchain from menuconfig

I wanted to try out the bootlin toolchain support in buildroot, because now I can simply select them in menuconfig. BR version: branch 2022.02 Defconfig: atmel_sama5d3_xplained_defconfig Toolchain: `Toolchain -> Toolchain (Bootlin…
lnksz
  • 421
  • 3
  • 15
0
votes
1 answer

Atom "find in project" doesn't return results in Buildroot's output/build directory

Atom's "find in project" fails to return results in Buildroot's output/build directory and subdirectories. Is there anything I can do or change in atom's setup to make it work ? Steps to Reproduce git clone git://git.busybox.net/buildroot; cd…
Matt
  • 509
  • 2
  • 14
0
votes
1 answer

Cannot build package due to missing GCC headers in Buildroot (stdio.h)

Recently, I updated the Buildroot directory from 2019.11 to 2022.2 in order to build for a new board (RPi4B Rev1.5) and access the updated Linux kernel and headers. Unfortunately, I have been unable to build due to missing headers for the SWUpdate…
hal
  • 33
  • 6
0
votes
1 answer

How to setup wpa_supplicant in Buildroot?

I am trying to setup wpa_supplicant using Buildroot for one of the project. I am using Buildroot 2022 version and I have selected below config in menuconfig But after doing make I am getting below error: >>> wpa_supplicant 2.10 Installing to…
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
1 answer

buildroot defconfig for pocketBeagle is not working

I have a pocketbeagle board and I was trying to build an os image for it using buildroot. so I downloaded the latest buildroot, there was no defconfig file for pocketbeagle. so decided to use beaglebone_defconfig. The build was successful but when I…
0
votes
1 answer

How to connect to Wifi on start-up using Buildroot?

I am trying to connect my Raspberry Pi CM4 to Wifi automatically after start-up. I am using Buildroot based Linux distribution. I have worked with Yocto before and it provides systemd-networkd and wpa_supplicant feature to connect to wifi on boot. I…
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
1 answer

libopenssl building error | make error with Buildroot

I am facing an issue while using Bootlin Toolchain in Buildroot. I am using aarch64 glibc stable 2020.08-1 I get below errors related to libopenssl: libopenssl 1.1.1m…
Preeti
  • 535
  • 1
  • 6
  • 30