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

MIPS32 router: module_init not called for kernel module

I'm developing a kernel module that I want to run on my router. The router model is DGN2200v2 by Netgear. It's running Linux 2.6.30 on MIPS. My problem is that when I load my module it seems that my module_init isn't getting called. I tried to…
YSK
  • 1,572
  • 10
  • 19
4
votes
2 answers

Socat serial port sniffing

I'm currently trying to access data on both directions of a serial port connected to an an app. What i'm trying to do is: ttymxc0 <-----> socat sniff <------> ttyV0 <------> Application ttymxc0 is the real port and ttyV0 is the virtual one. I…
Adraub
  • 41
  • 1
  • 3
4
votes
1 answer

Patching a file in resulting rootfs

I am using buildroot to create an OS for the Raspberry PI. How do I apply a patch to a file in the resulting rootfs? For example adding the lines auto eth0 iface eth0 inet dhcp to /etc/network/interfaces on the resulting rootfs. I realize that…
John
  • 530
  • 5
  • 19
4
votes
1 answer

buildroot using external toolchain - rootfilesystem creating

I am trying to build my own rootfile system for RPI using buildroot. I am new to buildroot. I have downloaded following cross compiler folder from git…
Katoch
  • 2,709
  • 9
  • 51
  • 84
4
votes
1 answer

How do I make buildroot packages mutually exclusive?

I'm implementing a buildroot package, foo, which can't be included together with a specific other package, bar. I'm trying to define the packages mutually exclusive by writing depends on-statements in the respective Config.in-files. In…
anorm
  • 2,255
  • 1
  • 19
  • 38
4
votes
2 answers

libstdc++.so: error adding symbols: File in wrong format

I'm trying to build my own library. It worked on x86 linux so I wanna build for MIPS Linux (Little endian.) I'm using sourcery codebench in Mento Graphics and buildroot and CMake. I configured build_all.sh like below. #!/bin/bash -ev export…
Jinho Yoo
  • 1,352
  • 5
  • 17
  • 28
4
votes
2 answers

buildroot - how to change kernel version string

I work on SAM9G25 EK board with buildroot and Armstrong linux (Linux4sam). My script is creating linux version "2.6.39+" and this "+" is confusing (/lib/modules folder etc.). I want to remove it. I found only two files .uImage.cmd, and…
Bartlomiej Grzeskowiak
  • 1,009
  • 5
  • 16
  • 35
4
votes
1 answer

/dev/ttyS0 can't be opened in Qemu

I am working with QEMU 1.1.0, emulating Versatile Express board with ARM Cortex-A9. I have managed to launch simple "Hello World" example following this…
user1506768
  • 41
  • 1
  • 2
3
votes
3 answers

Setup buildroot for old kernels

I'm trying to setup buildroot for cross-compiling a custom app. / # uname -a Linux Venus 2.6.12.6-VENUS #323634 Wed May 25 13:40:36 CST 2011 mips unknown So far I chose kernel version 2.6.12.6 in buildroot. Now I've got the problem that the make…
rekire
  • 47,260
  • 30
  • 167
  • 264
3
votes
0 answers

how does Buildroot support dependencies on headers & libs without source

I am considering to add multiple packages/modules based on Buildroot. Normally, when compiling is executed, the script will clone the source code of the package from the repository and build and install according to the dependencies. Suppose there…
Cloud Blue
  • 39
  • 4
3
votes
2 answers

How are device nodes created in Embedded Linux without udev?

I have a linux built with a buildroot for a Beaglebone wireless board. In the root file system, when it is still on the host and has not been copied to the target, in the /dev folder, there are device files fd, log, stderr, stdin, stdout only. When…
Vitalii
  • 33
  • 3
3
votes
2 answers

How to change kernel version string with Buildroot

Is there some way in Buildroot to change the kernel version string displayed with the "uname -a" command? For example: # uname -a Linux buildroot 5.1.0 #1 PREEMPT Wed Nov 6 13:10:04 MST 2019 armv5tejl GNU/Linux I would like to append something so…
DaveR
  • 1,295
  • 1
  • 13
  • 35
3
votes
1 answer

Additional partitions in buildroot

I'd like to know if it's possible to add more partitions in the partition table, and how. I've tested to change the genimage.cfg but it seems that support/scripts/genimage.sh doesn't create it. Thank you in advance.
Warren HYPOLITE
  • 385
  • 1
  • 3
  • 8
3
votes
1 answer

/lib/libstdc++.so.6: no version information available

I am running a minimal linux configured using Buildroot. All works fine until I run one of my cross-build application on target that produce below error: /lib/libstdc++.so.6: no version information available The output of strings /lib/libstdc++.so.6…
3
votes
2 answers

How to build and boot Linux aarch64 with U-Boot with Buildroot on QEMU?

I tried: git clone git://git.buildroot.net/buildroot cd buildroot git checkout 2019.08 make qemu_aarch64_virt_defconfig make menuconfig In menuconfig, I set: Bootloaders U-Boot configuration (Using an in-tree board defconfig…
Ciro Santilli OurBigBook.com
  • 347,512
  • 102
  • 1,199
  • 985