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

Buildroot - extract a custom board/buildroot config/kernel config out of tree

I have customized buildroot with the new board ( derived from raspberry pi zero ). So my changes are…
jdevelop
  • 12,176
  • 10
  • 56
  • 112
2
votes
1 answer

SI_TKILL si_code on ARM for division with zero

Currently, I am writing a signal handler for ARM to provide as much debug information as I can. For testing purposes, I cause different calamities. The signal I receive isSIGFPE, as expected, but the si_code differs from what I expected. I am…
J.Panek
  • 425
  • 5
  • 16
2
votes
1 answer

Configuring initramfs with buildroot and uboot

I am attempting to get initramfs working on an embedded linux device using buildroot and uboot. I have been following the guides have have initramfs set up in the buildroot and kernel config. However as far as I can tell it is not being built into…
Dan
  • 176
  • 1
  • 11
2
votes
1 answer

Install Tcl tk binaries in Buildroot

I want to have tclsh binary in my root file system generated by Buildroot. In buildroot, we can (from menuconfig) go to Interpreter languages and scripting -> then choose tcl But this will install tcl8.6 packages (opt0.4, http1.0). The tcl shell…
moibrahim
  • 89
  • 7
2
votes
0 answers

Python - Ctypes CFUNCTYPE crashes in ARM devices

I'm trying to register a python callback to be called from my C code using Ctypes. Everything works fine on my computer, but python crashes when the code runs in an ARM device. In my computer I'm using python 3.6.6 and this ARM device uses python…
Dgdiniz
  • 23
  • 3
2
votes
3 answers

How can I disable default users "user" and "admin" in buildroot?

I'm using buildroot for an embedded product. I've added my own password-protected user via the BR2_ROOTFS_USERS_TABLES option, and that's working fine. Problem: buildroot continues to add user and admin users to the system, and they have no…
Daniel Griscom
  • 1,834
  • 2
  • 26
  • 50
2
votes
1 answer

Can Buildroot build the root filesystem without building the Linux kernel?

I tried: git checkout 2018.05 make qemu_x86_64_defconfig make BR2_JLEVEL="$(nproc)" "$(pwd)/output/images/rootfs.ext2" but it still built the kernel at: output/images/bzImage I want to do that because: I'm making a setup where you can pick…
Ciro Santilli OurBigBook.com
  • 347,512
  • 102
  • 1,199
  • 985
2
votes
1 answer

Buildroot: how to add libraries

I am working on a buildroot project to make a small custom os. I only include the absolute necessary packages. One of the things I add is a precompiled program that uses certain libraries that are not included on the system. I want the system to…
Steven
  • 131
  • 1
  • 8
2
votes
1 answer

How to make my own daylight saving time table in Linux environment?

I'm working on a linux embedded project built with buildroot tool and I'm using mono to run my .net application on linux system. It's necessary to have a custom table of daylight saving time periods. The user will insert manually the next few years…
2
votes
1 answer

Error in booting from uSD-card - No filesystem could mount root, tried:Ext4

I am trying to build an embedded Linux to be run on PocketBeagle using Buildroot; and following the instructions in (source1). The resulting images are copied then to the uSD-card. When inserting the uSD-card in the Pocketbeagle and monitor the…
AA Son
  • 23
  • 1
  • 7
2
votes
1 answer

Getting wrong UTF-8 values by casting char into USHORT

This is my first question here, so feel free to criticize or correct me if I am missing important rules. Recently I was tasked with porting old DOS C-code to a Linux platform. The Font handling is realized by bitfonts. I wrote a function that is…
J.Panek
  • 425
  • 5
  • 16
2
votes
1 answer

Buildroot with readonly filesystem: allow writing on /etc

I'm preparing a Buildroot IoT project based on Orange PI Zero, so I will make it a readonly system. Anyway, I need to persistently write on /etc to update wpa_supplicant.conf when user configure it for his WiFi network. I also need to update a…
flip79
  • 1,178
  • 2
  • 15
  • 28
2
votes
3 answers

How can a build environment introduce new LDFLAGS into an autoconfig build

I am building the same library (TI GBM) in two different build environments (buildroot and Yocto). The binaries from Yocto work, but the binaries from buildroot fail due to a segmentation fault. I compared the makefiles generated by autoconfig in…
user8908459
  • 537
  • 5
  • 24
2
votes
1 answer

Update project-specific packages in buildroot

I am using buildroot with external tree for my project. Buildroot is using to build project with several custom packages which stored in svn, and developing by our developers. How can i update these packages from repository for each build? Build-in…
2
votes
2 answers

Issue importing subprocess32

I am trying to install subprocess32 with my python 2.7 installation via buildroot. It appeared to install correctly but when I import it on the embedded system I get an error: >>> import…
Paul
  • 5,756
  • 6
  • 48
  • 78