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
1
vote
2 answers

/dev/hda1 disappears from my static /dev directory at boot time

I have an embedded Linux (vanilla, 3.3.8, i486, Vortex86dx) system that boots from an initramfs image. I have an IDE Flash disk with two partitions at /dev/hda1 and /dev/hda2. It has a static /dev directory. When I boot up, the /dev/hda1 entry is…
Mr Stinky
  • 881
  • 2
  • 11
  • 23
1
vote
1 answer

Unneccessary rebuilds because .lo files are not found

Has anyone seen something like this: when running make in a project using autotools, it always rebuils everyhing. Running with make -d, shows that make looks for foo.lo files and because they are not found, always recompiles foo.c. It seems to be…
arved
  • 4,401
  • 4
  • 30
  • 53
0
votes
1 answer

Getting "Unknown error 2" when running BusyBox applets compiled against uClibc

I am trying to make an embedded Linux for a SuperH processor board. I am using the Buildroot 2012.2 toolchain with uClibc. All compiles fine but when I try to run some of the BusyBox applets (for instance 'ls' or 'mount'), I get an error like…
Rusty Horse
  • 2,388
  • 7
  • 26
  • 38
0
votes
1 answer

Bluetooth Module Appears Not to Be working

I've built a Buildroot linux image for my PhidgetSBC and included bluetooth support unfortunately it appears my bluetooth USB dongle isn't working. Although I have not tested it with code it's internal LED does not illuminate when I plug it in. When…
D-Dᴙum
  • 7,689
  • 8
  • 58
  • 97
0
votes
1 answer

scripting buildroot configuration file

I am trying to switch between external and internal build via some export variable in a script. I am able to do this partially meaning for bool values but for those which take in strings how to tell buildroot to continue with default value and not…
lxusr
  • 987
  • 3
  • 16
  • 28
0
votes
1 answer

Buildroot - Error building jamvm 1.5.1

I've got (another) build error when trying to build my Buildroot environment. Note this question is in relation to (but not dependent on) my previous (resolved) questions here and here. I'm trying to include Bluetooth support in the kernel as well…
D-Dᴙum
  • 7,689
  • 8
  • 58
  • 97
0
votes
1 answer

Unrecognized option: -o Could not create the Java virtual machine

I've got an unusual build error when using Buildroot to create an image for my Phidget SBC. It's unusual because it occurs ONLY on my development laptop and NOT on my general use laptop even though I am using EXACTLY the same Builroot environment as…
D-Dᴙum
  • 7,689
  • 8
  • 58
  • 97
0
votes
1 answer

With git as site method, how do I specify CMakeLists.txt directory?

I'm working with buildroot and I'm trying to fetch a package with git, but buildroot expects CMakeLists.txt to be on the root of the repo, which is not my case. That's the repo I'm trying to fetch from: https://github.com/Azure/azure-storage-cpp. As…
0
votes
0 answers

buildroot and the linux-kernel

I am new to buildroot and embedded linux, I have once build the root on my laptop using the buildroot and it took like 20 to 30 minutes, I want to know what kernel is used in the buildroot and how can I change it e.g. if I want to use the kernel of…
AAB
  • 177
  • 1
  • 4
  • 13
0
votes
0 answers

How to disable building wheel for python packages on embedded platform?

I am trying to install a package from PyPi upolygon on my Buildroot based aarch64 GNU/Linux embedded device. But while installing pip is creating the wheel (.whl) file for the package. Since there is no compiler on the target (Buildroot will not…
Preeti
  • 535
  • 1
  • 6
  • 30
0
votes
1 answer

Unable to build toolchain because PATH contains spaces, TABs, and/or newline (\n) characters

I'm working on a Buildroot project on Raspberry 4. I wanted to start by building a cross-compilation toolchain : make toolchain but I'm stuck on this error output: Your PATH contains spaces, TABs, and/or newline (\n) characters. …
0
votes
0 answers

tmp/deployimages/${MACHINE}/*.wix.xz deleted when I build a different Image

In my Yocto build I have to build different images for the same machine. The problem I am facing is that when I build one images, all the artifacts of the previous image are deleted from the deploy directory. I have included INHERIT += "rm_work" in…
0
votes
0 answers

How to add patches for multiple kernel versions in buildroot?

I have the following patch structure, I want to provide a set of patches for all 5.4 and above kernels and a separate set of patches for all 6.0 and above (6.1,6.2 and 6.3) versions. Is there a way to do this within the buildroot (version…
user1412028
  • 27
  • 1
  • 1
  • 4
0
votes
0 answers

C - Characters encoding without libiconv.so

I had a board based on buildroot with the support for libiconv.so. I used this library to develop a module, running on this board, that needs to convert strings between different encondings (UTF-8, UTF-16BE, CP850,...). By evolving the development…
bui3
  • 123
  • 11
0
votes
0 answers

How to add partition in root file system using buidroot?

I am using buidroot for QEMU and generate the bootable image for qemu_arm_ebbr_defconfig I want to add my custom partition which is to be appear when i give "df -h" command but it's not coming. Without any changes when i give "df-h" command i am…