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

buildroot 2011.11.1 kernel 4.19.231 patch failing

Back story - a vendor gave us buildroot 2017.08.2 with Linux 4.4.49 a long time ago. We never updated the Ubuntu 14.x build machine. Starting over with Ubuntu 20 and the newer GCC is wreaking havoc on the older packages and kernel. I tried jumping…
j.c.andle
  • 1
  • 1
0
votes
1 answer

Buildroot cross-compiling - compile works but linking can't find various SDL functions

I have some code that I could cross-compile with an older toolchain that used uClibc, but the project is moving to musl libc, and I can't seem to get the code to compile with that toolchain. It always fails during the linking stage with a bunch of…
Nathan Friedly
  • 7,837
  • 3
  • 42
  • 59
0
votes
1 answer

How do I tell buildroot to include boost in the host toolchain

I'm replacing an older cross-compile toolchain, and I can't figure out how to get buildroot to include host/.../sysroot/usr/include/boost like the old toolchain had. Context: I'm trying to build a docker image that can be used to cross-compile…
Nathan Friedly
  • 7,837
  • 3
  • 42
  • 59
0
votes
0 answers

Cross-compilation in Buildroot using external toolchain

I am trying to use the cross-compiler toolchain in Buildroot to do the cross-compilation of a C++ application for one of my ARM board. The toolchain I am using is gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf.tar.gz. The toolchain dir…
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
0 answers

Static assert failure while cross-compiling using cmake

I am facing an issue while cross-compiling an awsclient application. My build environment is Ubuntu 20.04 and Buildroot running from Docker Desktop for Windows. I am using cmake tool. But when I do make I am getting below erros: In file included…
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
1 answer

Cross compilation with Buildroot

Advice on working with Buildroot cross compilation would be helpful. I am currently using customer specific buildroot and trying to cross compile our applications using the provided toolchain. The toolchain provided by customer is in dir…
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
0 answers

SyntaxError: unknown encoding: big5 - Buildroot Error

I'm trying to add joblib in my Linux embedded environment through Buildroot. As it is not part of the default Buildroot menu for Python3 packages, I added it with the scanpypi script from Buildroot and followed the user manual instructions to add it…
Lalastro
  • 151
  • 2
  • 10
0
votes
1 answer

/usr/bin/ld: libbackend.a: error adding symbols: malformed archive

Building gcc with Buildroot in a Multipass Ubuntu-VM on macOS results in: cc1: note: self-tests are not enabled in this build echo timestamp > s-selftest-c /usr/bin/ld: libbackend.a: error adding symbols: malformed archive collect2: error: ld…
binaryBigInt
  • 1,526
  • 2
  • 18
  • 44
0
votes
0 answers

Kernel panic when building a custom Linux Kernel using buildroot for Zynq-7000

I'm trying to build a linux kernel, dt (containing custom IP hw configuration) and rootfs following this tutorial: https://www.youtube.com/watch?v=PxGK7h_DYfE&t=51s The tutorial does it mainly for a ZU+, but I just have a microzed (Zynq-7000). So…
tm71
  • 67
  • 1
  • 7
0
votes
1 answer

Build errors for Avenger96 board with Arm Trusted Firmware-v2.2

I am building Linux images for Avenger96 board with Buildroot as Build system. Steps I am doing: make avenger96_defconfig make I am getting below errors: /usr/bin/make -j1 O=/buildroot/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" …
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
0 answers

gcc: error: unrecognized command line option ‘-Waddress-of-packed-member’

I am trying to build an image for the imx6QPsabre board with Buildroot. The make process starts well but it stops and I get this error messages (down) on my terminal. Does anyone knows how to solve this? Thank…
Mauro
  • 1
  • 1
0
votes
0 answers

Building Debian with Buildroot: libDeviceIo.so: file format not recognized

Im trying to compile for a project debian for this device: https://www.engicam.com/vis-prod/PX30-Core/PX30-Core-EDIMM-SOM-based-on-RockChip--PX30 which has an aarch64 architecture. I'm using a VM provided by them which should already have all the…
The Mark
  • 78
  • 6
0
votes
1 answer

Buildroot: How to make rootfs.ext2 not read-only

Hi I am working on building a disk image which can run PARSEC benchmarks on QEMU, I got everything working, but when I run a benchmark I get it tells me that it can't generate files because it is a read-only file system. Is there an option to…
0
votes
2 answers

ubuntu cp: cannot stat .tar.gz': no such file or dirctory

I have looked through several posting on this, but still cannot find the correct answer. I am trying to make build root with a custom embedded chip tar file. In the .config file the following is…
0
votes
1 answer

How to add a service while creating a Linux image

I want to add my service (simple C++ app) to Linux image. I know how to add service in console while Linux is running (with help of systemctl) but I need to make Linux image with already added service, so when Linux starts my service have been…
AlexB
  • 81
  • 1
  • 4