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
2
votes
1 answer

How to use custom device tree source correctly in buildroot?

I made a copy of the dts from /board/arch/arm/boot/dts/imx28-evk.dts for using with my custom board. My custom device-tree is named imx28-custom.dts and is pointed in the Out of tree custom DTS menu entry (BR2_LINUX_KERNEL_CUSTOM_DTS_PATH) in…
juggler
  • 21
  • 1
  • 4
2
votes
1 answer

ElectronJS Dependency Problem with Buildroot

I'm trying to run ElectronJS app to Buildroot-based Operating System for a vehicle instrument. The SBC is Raspberry Pi 4B and target packages are included based on Debian's dependencies list. Then after I run the app, it throws this message: #…
Thor-x86_128
  • 157
  • 18
2
votes
0 answers

How to change keyboard layout for buildroot?

I'm trying to change the keyboard layout (that is in us) to Spanish when launching the image with qemu. Should I change something in the output folder, or is there an option when configuring the image I want to create? Thank you very much. Im using…
Varox
  • 333
  • 1
  • 5
  • 17
2
votes
1 answer

Buildroot: how to modify device tree for custom board?

I'm new to Buildroot system (I used Yocto before). I need to modify the device tree for my board, which is the best way to achieve that? Thanks a lot, Simone
Simo S
  • 55
  • 6
2
votes
0 answers

Buildroot compile error - Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)

Appreciate help if anyone have insight how to fix following compile error for buildroot that I have been struggling for almost a week. I used following commands to pull buildroot repo and have tried this multiple times. I am using arm64 default…
sbh
  • 407
  • 4
  • 13
2
votes
0 answers

PTHREAD_STACK_MIN causing problem in compiling buildroot

i'm trying to compile a Linux image with sysroot and cross-compiler by buildroot for ATSAMA5D27-WLSOM1 evaluation kit by Microchip. I'm on a virtual machine (VBox) with Ubuntu 18.04.5 LTS. I'm following this guide:…
2
votes
1 answer

running buildroot as root. still error after setting FORCE_UNSAFE_CONFIGURE=1 in environment variable

I am trying to run buildroot with root user. Even after setting FORCE_UNSAFE_CONFIGURE=1 as export FORCE_UNSAFE_CONFIGURE=1 I still get configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass…
user786
  • 3,902
  • 4
  • 40
  • 72
2
votes
0 answers

Compile kernel and userspace with two different toolchains in buildroot

Working with an old ARM board running a 2.6.35-custom kernel. Manufacturer provides two different cross-toolchains: * gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) --> kernel toolchain * gcc version 4.9.4 (crosstool-NG crosstool-ng-1.23.0) -->…
aicastell
  • 2,182
  • 2
  • 21
  • 33
2
votes
1 answer

UBI failed to attach mtd3

I'm trying to create an operating system that works with UBIFS on SPI Nor flash. I used buildroot. Buildroot created rootfs.ubi and rootfs.ubifs therefore I didn't create any ubifs.img(I thought don't need it). I didn't take any error when compile…
Faruk
  • 312
  • 3
  • 13
2
votes
0 answers

Add the tensorflow lite static library to the buildroot cross compiler

I work on a Buildroot Embedded Linux System and I have to code Machine Learning Inference using the Tensorflow lite C++ static library. I have already built it following the tensorflow tutorial and I have got my libtensorflow-lite.a file ready to…
2
votes
0 answers

Linux Directory System | Kernel Binding

Linux has a distinct directory system such as /sys /usr /media /opt etc. I would like to know what part of linux kernel maps its self to the directory to listen to syscalls as all operation in linux is done using files? If i have to change the…
2
votes
0 answers

Nerves Project Circuits SPI Clock not initialised

I cannot get the SPI to work. I am trying to interface an IC mcp2515. It is an SPI to CAN interface. I probed the CE pins (GPIO 8 and GPIO 7) and SCLK (GPIO 11) with the oscilloscope but got nothing. these are deps defp deps do [ {:nerves, "~>…
Umer Kiani
  • 3,783
  • 5
  • 36
  • 63
2
votes
0 answers

Installed libraries are "missing" when Crosscompiling with buildroot toolchain

I have a virtual machine (x86_64 architecture) running debian that I am setting up as a crosscompile environment for the armv7 platform. I use buildroot to build the toolchain for armv7, and that part works fine: make menuconfig, make sdk, copy out…
Jarmund
  • 3,003
  • 4
  • 22
  • 45
2
votes
2 answers

How to set "BR2_PACKAGE_HOST_ENVIRONMENT_SETUP" in buildroot

I want to various projects for various platforms, and as such I've concluded that the easiest way to to this is probably going to just have buildroot create the toolchain and then alter the environment to use said toolchain. From section 8.14.1 of…
Jarmund
  • 3,003
  • 4
  • 22
  • 45
2
votes
0 answers

Buildroot for pico-8 on raspberry pi0w keyboard input issue

I have been tinkering around with buildroot to try to put together an image with wifi and ssh support and is able to run Pico-8. I'm really close and have everything running successfully, but Pico-8 is not accepting keyboard inputs. I'm sure it's…
itsonlym3
  • 21
  • 2