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
0 answers

Buildroot only builds Rootfs, now what?

I have been working with Buildroot on my Ubuntu system, and the output from the hour long make process only generated a rootfs.tar file. Should I start from the beginning again, or is there something quicker I can do? The architecture I am building…
DevBev3
  • 3
  • 5
0
votes
0 answers

make savedefconfig doesn't save BR2_EXTERNAL_XYZZY_PATH's path

As you know, Buildroot allow save current configuration without default value. It is good idea for me because full configuration is too large to be read by human. But make savedefconfig doesn't save BR2_EXTERNAL_XYZZY_PATH's path. Is it a bug? --How…
DungeonLords
  • 107
  • 7
0
votes
1 answer

Nodejs is not building in buildroot because ‘va_list’ has not been declared

I try to build an embedded linux with nodejs for Radxa Zero SBC. I included nodejs through Target packages ---> Interpreter languages and scripting > nodejs and NPM for the target. In the building process I get an error because of some missing…
0
votes
0 answers

"ERROR : invalid main GPT header" after SWUpdate on a Raspberry Pi 3

I am getting started on embedded systems and I am using BuildRoot to update the Linux OS on my Raspberry Pi 3. I started by building the OS and testing it on my board. The system boots without any problems. Then I wanted to use SWUpdate to update…
0
votes
1 answer

Why I can't download buildrot package in docker

I am trying to build my own linux image using buildroot in docker with GitLab CI. Everything is going fine until I start downloading the "linux" repository. Then I get an error like below. >>> linux d0f5c460aac292d2942b23dd6199fe23021212ad…
Ploxer2
  • 31
  • 4
0
votes
1 answer

Buildroot: cmake can't find my compiler to build a CMake project if I install cmake on my host

Running on Ubuntu 22.04 as my host build machine. If I install cmake with sudo apt update then sudo apt install cmake or sudo apt install catkin (since catkin includes cmake), my Buildroot build using cmake no longer can find my compiler. Why? After…
Gabriel Staples
  • 36,492
  • 15
  • 194
  • 265
0
votes
1 answer

Buildroot: CMake: arch64-none-linux-gnu/include/c++/9.2.1/cstdlib:75:15: fatal error: stdlib.h: No such file or directory while building grpc package

I'm upgrading a Buildroot build system from gcc-8 on Ubuntu 18.04 to gcc-11 on Ubuntu 22.04, and am really struggling with it. While building grpc 1.32.0, I am seeing a lot of…
Gabriel Staples
  • 36,492
  • 15
  • 194
  • 265
0
votes
1 answer

Git apply "error: while searching for". Can I use a patch to delete a patch?

I am trying to use a git patch to update a Buildroot package. I want to upgrade ptp 2.0 to ptp 3.1.1. I found a similar patch here that updates the Buildroot ptp package from 2.0 to 3.0. Ptp 2.0 includes a patch…
mhck
  • 873
  • 1
  • 10
  • 20
0
votes
2 answers

Buildroot made change on the Linux Kernel, how to avoid full rebuild?

I’m experimenting with linux-kernel/net/ipv4/igmp.c. To compile I use buildroot. When I make a change on igmp.c, is a full rebuid necessary? The easiest way to rebuild a single package from scratch is to remove its build directory in output/build.…
Olaf4342
  • 1
  • 2
0
votes
0 answers

buildroot raspberrypi3_defconfig how to enable SPI?

I'm trying to make a RPI3 buildroot image with CAN interface. So far I don't see any device in /sys/bus/spi/devices Please help What I did are below At the buildroot terminal "make raspberrypi3_defconfig" then enabled those below via "make xconfig"…
deepsdog
  • 25
  • 5
0
votes
0 answers

Is it possible to add/modify system include path without modifying cmake in clion?

I'm working on a cross-platform project which requires dependencies which are not available on my machine. I basically use a cross-platform tool-chain in docker to build everything. Using buildroot I build a whole Linux system for an ARM…
antibus
  • 983
  • 1
  • 11
  • 16
0
votes
1 answer

error: no C99 compiler found, eudev requires a C99 compiler

I executed the command "make" after the configurations on the menuconfig of buildroot and then this error appeared. It appears when i enable eudev. Can someone help me??? when i do gcc --std=c99 the output is: gcc: fatal error: no input…
0
votes
1 answer

How to customise Buildroot external modules

I am trying to make two/multiple custom modules outside buildroot directory and build them whenever needed. Tree as below, buildroot kernel_module ├── Config.in ├── external.desc ├── external.mk ├── package │   └── kernel-modules │   ├──…
mrigendra
  • 1,472
  • 3
  • 19
  • 33
0
votes
0 answers

Using Modern Buildroot to cross compile 2.6x Linux Kernel for QEMU Hangs

I am working on trying to emulate this old media server I received that runs 2.6.38 Linux cross compiled to PowerPC using buildroot and qemu (using the kernel config files I was able to pull from the device). I have had success cross compiling…
0
votes
1 answer

Buildroot packages not in busybox can't be run

If I compile custom executables (binaries), or use executables from buildroot, busybox shell keeps saying applet not found For instance, I can select coremark from the included packages list, but then if I try running coremark, I get: ~ #…
Charles Lohr
  • 695
  • 1
  • 8
  • 23