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

Setup Buildroot for an old linux kernel

I am encountering a problem while trying to setup a cross-compiler for an old linux kernel. cp -dpRf package/config/buildroot-config /tmp/buildroot/buildroot-2009.02/project_build_mips/uclibc/buildroot-config (cd…
CodeNinja
  • 291
  • 5
  • 19
3
votes
2 answers

cannot SSH/SCP to Qemu based powerpc VM

I want to transfer a file to a QEMU based PowerPC VM (emulating Freescale's MPC8544DS). I've used buildroot to build the kernel and rootfs. I am invoking the VM like so: qemu-system-ppc -nographic -M mpc8544ds -m 512 -kernel…
AjB
  • 890
  • 13
  • 34
3
votes
4 answers

Busybox init does not start /etc/init.d/rcS

I'm trying to build embedded system using buildroot. Everything seems to work. All modules are starting, the system is stable. The problem is that /etc/init.d/rcS does not start during initialization of the system. If I run it manually everything is…
selfbg
  • 317
  • 1
  • 4
  • 14
3
votes
1 answer

Adding new ARM machine to Qemu

I've used buildroot to compile a firmware targetting the LPC EA3250 board, I'm trying to get this to run using qemu so that I can test changes to the firmware on my machine. I've tried commands such as: qemu-system-arm -M virt -kernel uImage -hda…
James
  • 3,957
  • 4
  • 37
  • 82
3
votes
1 answer

qemu is not able to boot u-boot uImage binary

I've used buildroot to build a qemu compatible Linux kernel and root filesystem. I am emulating for the MPC8544DS machine and used the qemu_ppc_mpc8544ds_defconfig to generate these components. I was able to successfully build the kernel and the…
AjB
  • 890
  • 13
  • 34
3
votes
2 answers

MIPS cross compilation error: illegal instruction

I want to cross-compile C src for MIPS machine, but the compilation fails. Executing cross compiled binary on Target machine outputs "illegal instruction". Could you please let me know how to compile C src for MIPS machine? Details are as…
freddy
  • 463
  • 1
  • 8
  • 20
3
votes
2 answers

Build a minimum system with Qt embedded and run on Qemu for x86

My aim: Trying to Build a minimal Qt based GUI system with a single window and sensor connected on USB demonstrate this using Qemu and later on embedded board with atom to build it from scratch Use buildroot to build the rootfilesystem My…
Prajosh Premdas
  • 970
  • 4
  • 17
  • 40
3
votes
3 answers

Unable to get unstripped runtime libs from buildroot

I am trying to get buildroot 2012.08 to generate unstripped libs and binaries in output/staging. I enabled "Build packages with debugging symbols" under Build options: BR2_ENABLE_DEBUG=y # BR2_DEBUG_1 is not set BR2_DEBUG_2=y # BR2_DEBUG_3 is not…
srd
  • 1,207
  • 12
  • 13
3
votes
1 answer

Unable To Add Package To Buidroot

I'm trying to add a package to buildroot, but I'm not having much success. The package I'm trying to add is an autotools package called scew. I've followed the buildroot guidelines about adding packages, and although the package is listed when make…
James
  • 3,957
  • 4
  • 37
  • 82
3
votes
1 answer

buildroot file system & cross compiling: dynamically linked application fails but static ok. How to link against uClibc

I have a buildroot created file system, and I am trying to execute some c-code on lighttpd server. I have created a simple C module that just prints out few lines of html. Code looks like this: #include "stdio.h" int main(void) { printf(…
julumme
  • 2,326
  • 2
  • 25
  • 38
2
votes
1 answer

how to add g++ support in toolchain

I want to add support for g++ compiler in my toochain. I am building toolchain for powerpc platform.I googled about it and found that we have to add external toolchian in our existing toolchain. I want to create this binary: CXX =…
Nachiket Jagade
  • 255
  • 1
  • 3
  • 12
2
votes
1 answer

/lib/libc.so.0 error with buildroot

It is seen that sometimes if we select a package we get this strange error from buildroot saying cannot find /lib/libc.so.0 . Further probing it is defined in libc.so found in $(STAGING_DIR)/usr/lib ; if we change the absolute path GROUP…
lxusr
  • 987
  • 3
  • 16
  • 28
2
votes
1 answer

how to compile and build a python package for aarch64 using qemu?

I am trying to build python wheels for a package (lap) for the aarch64 architecture. My host environment is WSL2 with Ubuntu 20.04 and docker. Target is Buildroot GNU/Linux. So no compiler is available on the target. My goal is to setup a…
Preeti
  • 535
  • 1
  • 6
  • 30
2
votes
1 answer

Zlib not available after building a linux image with buildroot

A similar question was asked 3 years ago with no answers: "ModuleNotFoundError: No module named 'zlib'” when I add python3 support with buildroot And I have tried the comment that says to make clean. I am trying to build a custom linux image using…
jdev
  • 21
  • 3
2
votes
1 answer

Buildroot Package Makefile: How to fetch the most recent commit from git?

I am working on adding my own module to the build of buildroot using $BR2_External. The make file of my package is as follows, ############################################################## # #…