Questions tagged [buildroot]

Questions concerning Buildroot, the tool for generating, configuring and using toolchains which can be used to generate Linux systems or parts thereof.

Buildroot is a tool for generating, configuring and using toolchains which can be used to generate Linux systems. This way is simplifies many tasks, especially those in relation to cross-compilation and the dependencies therein. It can also concern itself with the root file system, the Linux kernel image and the bootloader. Components can be used independently, this way it can be also used as a tool to merely simplify cross-compilation (e.g. in order to compile new/different Busybox for an embedded platform), or to just build the root filesystem using an existing and already ready toolchain.

The main target is embedded hardware. It comes with presets for several embedded boards (e.g. Raspberry Pi).

Official website: https://buildroot.org/

170 questions
34
votes
4 answers

How to extract files from uImage?

Buildroot is generating images for an embedded device where they should run. This is working very well. In those images, the rootfs is included. Due to some research, I'd like to look into that generated file (e.g. different compression modes set by…
user3085931
  • 886
  • 3
  • 15
  • 28
17
votes
2 answers

Is using a read only root file system a good idea for embedded setup?

I have been tasked with running Linux as an operating system on an embedded device. The target has an x86 processor and has 8 GB CompactFlash device for storage. I have managed to use buildroot to create the kernel image and cross compilation…
mathematician1975
  • 1,453
  • 2
  • 24
  • 43
14
votes
2 answers

How to install X11 on my own Linux Buildroot system?

I have developed my own tiny linux file system using buildroot and busybox. I used linux-2.6.38.8 kernel configured and cross-compiled for target system(X86) according to needs.Now the filesystem is built but it has only busybox shell and it…
Arunesh Singh
  • 259
  • 1
  • 2
  • 6
11
votes
1 answer

How to fix "deauthentication by local choice"?

I built an embedded Linux using Buildroot and I have some trouble to stay connected to my AP. Cannot get an IP address more than once. I use wpa_supplicant to connect to my AP using WPA2-PSK. It works with other AP such as my smartphone in AP…
didil
  • 321
  • 1
  • 3
  • 11
9
votes
1 answer

How to login automatically without typing the root username or password in Buildroot BusyBox init?

If I do: git clone git://git.buildroot.net/buildroot cd buildroot git checkout 2016.05 make qemu_x86_defconfig make BR2_JLEVEL=2 qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw…
8
votes
2 answers

Running QEMU with a root file system directory instead of disk image

In order to test the root file system i need to run QEMU with created disk image as root file system, the QEMU accepts -kernel which can be used for specifying kernel directly without deploying it inside root file system, however i need similar…
e.jahandar
  • 181
  • 1
  • 1
  • 4
8
votes
1 answer

What is the purpose of listing the rootfs in /etc/fstab?

In BuildRoot 2015.08.1 /etc/fstab contains the following line. /dev/root / ext2 rw,noauto 0 1 On my encrypted Ubuntu laptop /etc/fstab contains the following line. /dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1 Question: What is the…
marcv81
  • 620
  • 2
  • 7
  • 15
7
votes
3 answers

How to add an autotools package to Buildroot?

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

Error compiling buildroot

I updated my buildroot for the version "2014.08" (stable version) and I updated the Kernel version (3.12.26) of my project, when the buildroot try to build the linux-headers-3.12.26 package, occurs the following…
Pedro Durek
  • 265
  • 2
  • 7
7
votes
1 answer

How to set the CPU freq. in Linux?

I'm using this ARM9 SAM9G25 embedded system, that when switched on, is only online for a few seconds and because I want to speed up the whole process, I'd like to check the CPU frequency, and set it to max. speed. The Linux 2.6.39 kernel is…
user3085931
  • 886
  • 3
  • 15
  • 28
6
votes
5 answers

sshd not starting after boot on embedded linux built with buildroot?

I've done a minimal install using buildroot's default config for the Raspberry Pi. I also selected openssh and openssl from menuconfig: Package Selection for the target ---> [*] Networking ---> [*] openssh [*] Library --> …
Alex
  • 373
  • 1
  • 7
  • 19
5
votes
1 answer

Linaro toolchain libstdc++.so.6 missing

I'm trying to run the arm linux gcc (linaro 2013 toolchain) and am getting the following error: arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory It's building…
5
votes
2 answers

How to Autorun a program using busybox after boot?

I am using an embedded linux with busybox. I would like to automatically run my app called "myApplication" (runlevel 5 after boot all the services are up). What I have done so far: I made a script under /etc/init.d/ called S90myscript Then I added…
AJ GS
  • 81
  • 1
  • 8
5
votes
2 answers

How to set minimum/specific rootfs size in buildroot

I am using buildroot 2016.02 and building for the Raspberry Pi 2. After I boot the system I have very little free space on /. How can I specify that I want the rootfs size to be a specific size like 1 GB? If this is not possible, does anyone know…
user3091850
  • 81
  • 1
  • 5
5
votes
4 answers

Build linux-menuconfig results in: "*** Error during update of the configuration."

I try to build the Linux kernel with Buildroot using Docker. I've created a simple Docker image: FROM debian:7 MAINTAINER OrangeTux RUN apt-get update && \ apt-get install -y \ build-essential \ bash \ bc \ binutils \ …
OrangeTux
  • 1,053
  • 2
  • 16
  • 26
1
2 3
11 12