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

USB to ethernet: fail to transmit any packages

I've a custom embedded linux board with a lan7500i-ABZJ connected over USB. So I compiled the linux kernel (using buildroot) with the smsc75xx module built in. The startup kernel messages indeed show: [ 5.315124] usb 1-1: New USB device…
user1104939
  • 1,395
  • 2
  • 13
  • 25
0
votes
0 answers

Illegal instruction (core dumped) on imx8 docker

I am getting the error Illegal instruction (core dumped) on many commands run inside an arm64 docker container. Even simply typing pip results in the error. I am using buildroot so the error could be related to my kernel configurations. The…
bob mcgrath
  • 61
  • 1
  • 8
0
votes
1 answer

using nginx stream module with buildroot

I have a system I inherited and am trying to find a replacement video encoder board. The board we are trying to use does not allow for changing the rtsp port. I am trying to use nginx port forwarding to broadcast the frames from the new video…
pathare
  • 1
  • 1
0
votes
0 answers

How to correctly add partition in buildroot tool?

I want to add to my current "genimage.cfg" new partition "logs". So I added lines like bellow to my config file: File "genimage.cfg": image boot.vfat { vfat { files = { "MLO", …
Ploxer2
  • 31
  • 4
0
votes
0 answers

Buildroot mtools "codepage 850 Invalid argument"

I have enabled BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY But mtools still give me this error: Error converting to codepage 850 Invalid argument Error setting code page Cannot initialize 'A:' why?
Alpha0
  • 35
  • 5
0
votes
0 answers

buildroot: How to add *.so lib

I am working on project to debug linux kernel. I use qemu with buildroot image. Some programs that are used for test use external libraries. For example pthread library is already included into buildroot and the programs with pthread functions run…
0
votes
1 answer

How to construct an iterative number list from boolean config flags in makefile?

How can I construct an iterative number list from boolean config flags in makefile? Defined in Config.in config CONFIG_VAR_1 bool "var 1" default y config CONFIG_VAR_2 bool "var 2" default y Makefile VAR = \ $(if $(CONFIG_VAR_1), 0) \ …
Shnookie
  • 11
  • 4
0
votes
0 answers

How to convert to systemd service to busybox cron job?

I am fairly new to BusyBox and has previously worked with systemd as init system. Now I want to switch to BusyBox as init system. I am using Buildroot tool develop custom linux distribution. I have bunch of systemd service and timer files and they…
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
1 answer

fdt_addr not setup by U-Boot/first stage bootloader

I'm working on setting up U-Boot for our systems using raspberry pi 3B plus and cm3. (Though atm I'm working just with cm3. I'm confident the same applies to the 3B plus) I got rid of the default bootcmd run distro_bootcmd and load a first stage…
obvg
  • 129
  • 12
0
votes
1 answer

Buildroot ir remote using ir-keytable or lirc

I created an image for raspberry pi zero 2 w using buildroot, Also added overlay gpio-ir in config.txt but not able to receive ir signal. No logs are printed for gpio in dmesg. No devices are showing in /proc/bus/input/devices Can anyone help?
0
votes
1 answer

Buildroot build error: `ERROR: Dependency "nlohmann_json" not found, tried pkgconfig and cmake`

I'm trying to add the header-only library https://github.com/nlohmann/json "JSON for Modern C++" to my Buildroot package for use both on the target embedded Linux board, as well as on my host build machine in unit tests. However, I keep getting a…
Gabriel Staples
  • 36,492
  • 15
  • 194
  • 265
0
votes
0 answers

After the kernel and file system compiled by buildroot are started, buildroot will output log again. Where is it closed

I use buildroot compiled zimage and rootfs,Running on the board can run normally, however buildroot Will output it for me again log,It's a little messy.Does anyone know where to close? insmod sr501_drv.ko --> The command entered sr501_init --> 144…
0
votes
1 answer

gcc not found when building buildroot

I'm trying to build an OS Image for Raspberry pi on MacOS. make failed because gcc is missing so I installed it with homebrew. Still I cannot build the image due to the same error: % make raspberrypi0w_defconfig ... % make menuconfig ... % brew…
sagism
  • 881
  • 4
  • 11
  • 18
0
votes
1 answer

how to add wirinigPi library on buildroot?

How to add wiringpi in Buildroot image ? I followed the same steps as described here: How to add an out-of-tree package to buildroot? The download of the git archive functions correctly but the compilation of the library doesn't work. I tried to…
0
votes
1 answer

glibc build with flags _FILE_OFFSET_BITS=64 and _TIME_BITS=64 fails

What I want to do is have a fix in glibc for the Y2038 issue. I am using buildroot 2022.02.2 in my Ubuntu 18.04 VM to cross-compile for an 32-bit ARM CPU. I read that adding extra flags _FILE_OFFSET_BITS=64 and _TIME_BITS=64 should do that, but I…