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.

Filter by
Sorted by
Tagged with
1
vote
1answer
176 views

Buildroot use classic GNU package instead of BusyBox one

I'm wondering how to use the "classic" GNU tools instead of BusyBox ones for a specific command. The command I want to act like on a classic Linux is mount, but I think it's the same for every ...
1
vote
1answer
2k views

Password expired on ssh

I booted my Raspberry Pi with a buildroot image I generated myself, and now I am trying to connect to raspberry via ssh. Everything seems to be fine and the raspberry gets connected. But when I try ...
0
votes
1answer
1k views

PHP in a embedded apache web server built with buildroot

So I built a embedded apache web server using buildroot, and it's is running fine except the fact that it doesn't run php code. I can run .php files in the command line of the system but when I open ...
4
votes
1answer
305 views

Clone a block device using 'cat'

I am able to telnet into a router that's running a customized linux firmware. It was compiled using 'buildroot'. I was able to dig out some specs of the router. I intend to clone the router's ...
1
vote
1answer
345 views

OpenCV based programs optimization embedded linux OS [closed]

I'm building my own Embedded Linux OS for Raspberry PI3 using Buildroot. This OS will be used to handle several applications, one of them performs objects detection based on OpenCV (v3.3.0). I ...
5
votes
2answers
5k views

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 ...
3
votes
2answers
7k views

(Buildroot) How to load modules automatically

I'd like to load some additional modules at boot. This works fine from the command line: modprobe -a i2c-dev modprobe -a snd-soc-pcm512x modprobe -a snd-soc-wm8804 But I want this done at boot. I'...
4
votes
2answers
4k views

Buildroot Zero-W wireless

Has anyone got WiFi working in buildroot for the Raspberry Pi Zero W? I can't find any online notes or walkthroughs on it. The raspberrypi0_defconfig works fairly well, but doesn't include wireless. ...
2
votes
1answer
776 views

Buildroot busybox limited command set

I'm using the raspberrypi0_defconfig to create an image for the Raspberry Pi Zero-W. I'm having a number of issues, but the first one I want to address is why my Busybox shell has so little build in ...
2
votes
0answers
361 views

Problems booting uncompressed linux kernel on PPC

I'm trying to get a newer linux kernel to boot on a PPC embedded linux device using U-Boot, but it won't boot the kernel. My bootable kernel image builds, and is being network booted by U-Boot. The ...
2
votes
1answer
2k views

Buildroot generate rootfs with gcc

I wanted to build rootfs using buildroot with preinstalled gcc, but I can't find which config is responsible for building gcc package. What I want is just a rootfs for qemu x86_64. Is there a way in ...
1
vote
0answers
56 views

Tracking Changes and Development for Embedded Linux

I'm starting to develop on an embedded linux system and am trying to figure out what the best way to manage my work is. Currently I'm using buildroot to build an image based on the vendors defconfig, ...
0
votes
1answer
641 views

Partition for embedded linux before flashing the SD card

I am trying to build a embedded Linux system for karo imx6 8033 som with 4GB SD card on it by using buildroot to build rootfs, Configuring kernel 4.11. I am using mfg tool to write the system on ...
2
votes
0answers
761 views

PulseAudio won't work in system mode

I'm using PulseAudio on my Buildroot based system. It does work when I run it the simplest way (# pulseaudio), but it won't run if I launch it in system mode (# pulseaudio --system). Here is the ...
1
vote
0answers
388 views

How to stop startup scripts from getting deleted on reboot in ONIE

I'm running an open source "install environment", that acts as an enhanced boot loader utilizing facilities in a Linux/BusyBox environment called Open network install environment (ONIE). I want to run ...
2
votes
1answer
1k views

How can insmod fail with kernel module is already loaded, even is lsmod does not contain that module?

I'm making a minimal Linux distro with buildroot to learn kernel module development. If I call a minimal module hello.ko (or almost any other name I've tried), everything works fine. However, if I ...
1
vote
0answers
707 views

ARM system booting from SD card with uboot - how to put everything in one FAT partition?

I am working on an ARM system running linux, which has an eMMC and an SD card slot. I've been booting from the SD card during development, with just the first stage bootloader of uboot in the eMMC and ...
0
votes
1answer
1k views

Set newly created file as variable in makefile [closed]

I am trying to create a file and set the contents of a file to a variable but the variable is always seen as empty. An example: define FILE_VAR cat /output/1.txt >> /output/2.txt $(...
0
votes
2answers
244 views

BuildRoot - accessing eth0 needs root privileges

I've been building a number of BuildRoot images for an x86_64 single board PC I'm testing. I am using the latest BuildRoot from git, and the latest 4.8.1 kernel. I have everything working, except ...
1
vote
0answers
257 views

cups problem with embedded buildroot

I have a embedded linux created with buildroot project. i install cups, cups-filter and ghostscript and configure cupsd.conf file! also i add my hp 1102 printer using cups web interface on port 631. ...
0
votes
1answer
530 views

buildroot compiling error

I have to compile buildroot to generate embedded os for raspberry pi. I have an error when I compile buildroot source code this is the error below drivers/staging/olpc_dcon/Kconfig:36: syntax error ...
1
vote
1answer
270 views

NFS rootfs booting fails silently on ARM imx53 board

I'm trying to mount my rootfs over NFS. I have these kernel configs enabled: CONFIG_NFS_FS=y (NFS support) CONFIG_IP_PNP=y (configure IP at boot time) CONFIG_ROOT_NFS=y (support for NFS as ...
0
votes
1answer
75 views

Why does buildroot automatically remove manually added in-tree package from .config when make is run?

I've added a simple hello world package to the Buildroot source tree under package/hello. If I do: make qemu_x86_64_defconfig and edit .config with vim to add: BR2_PACKAGE_HELLO=y then: make ...
4
votes
1answer
10k views

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=...
0
votes
1answer
268 views

Segmentation fault when running lvcreate

I'm trying to use a minimal buildroot based linux system live cd, and I need to do some partitioning, preferably using LVM. But LVM doesn't seem to work. I get segmenetation fault when running ...
0
votes
1answer
188 views

rootfs.ubi doesn't allow login to shell

I have built rootfs.ubi using buildroot 2012.11. On boot I'm not able to login to buildroot login prompt also. Linux is built with UBI and UBIFS support. Earlier I encountered this behaviour if ...
1
vote
0answers
90 views

Add a driver module to embedded linux

I have a task that consists in implementing a driver for an RF module. The RF module communicate with the blackFin609 microcontroller using UART. In a first step i created a uClinux image and ...
1
vote
2answers
2k views

Missing `/dev/sda` when building a minimal kernel for VMware

I'm trying to build a minimal Linux kernel using buildroot that I want to run on VMware, among other platforms. However, when I boot the kernel it doesn't recognize the hard drive (i.e., no /dev/sda). ...
3
votes
2answers
4k views

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 ...
2
votes
1answer
893 views

Raspberry Pi 2 Custom Kernel with initramfs

I'm trying to get a self-compiled kernel running together with an initramfs. It worked on the old raspberry, but somehow I can't get it to run. What I'm trying to do exactly: Load kernel, "run" ...
0
votes
1answer
150 views

How to fix wrongly linked mono lib in buildroot image?

With the current buildroot 2015.11.1 configured to use mono, the libMonoPosixHelper.so will be searched in the /home/userX/buildroot/output/host/usr/lib/ path. This path and file may exist on my ...
1
vote
1answer
1k views

How to wait for a USB drive to be recognized/mounted during boot to start own service?

I have a custom buildroot build with minimalistic kerenel for the RPi and busybox as init and shell. At the end of the boot process I start my own service which tries to access the usb drive. However ...
2
votes
2answers
2k views

How to install kernel development headers to staging with Buildroot for kernel module development?

I am planning to do some Rasperry Pi C/C++ kernel module development using BuildRoot 2015.08.1. What works: I can build a kernel and a rootfs and boot the Raspberry Pi. I can build/rebuild a "hello ...
10
votes
1answer
12k views

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 ...
6
votes
1answer
2k views

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 / ...
0
votes
1answer
3k views

Usb serial cable (prolific) not working with ftdi_sio driver on rpi-buildroot image

I'm using a raspberry pi to control a LED matrix display with a Prolific USB to serial cable (067b 2303). Using the default raspian image it works perfectly, however with a custom buildroot image (...
1
vote
1answer
938 views

Building RPM results in nothing generated in RPMS directory

I am building a RPM on RHEL. After following https://fedoraproject.org/wiki/How_to_create_an_RPM_package, I put my front.tar.gz in /rpmbuild/SOURCES, and make the spec file like this: Name: front ...
0
votes
1answer
2k views

How do I overwrite multiple files with one recipe in Yocto

I have a layer that I am writing for Yocto. I want to have two configurations for the hardware. One would be a standard generic config, one would be a use case specific config, and I can't figure ...
4
votes
0answers
409 views

How to write to an .img file with two different partitions?

I have been working on building a Linux based OS for Raspberry-pi using buildroot. I am generating the required empty .img file using "dd" and "fdisk" utilities. I am creating two empty partitions as ...
6
votes
5answers
6k views

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 --...
2
votes
1answer
277 views

Embedded Linux USB Audio Issue

I have a Corewind WiFiG25 board based on the AT91SAMG25 400 MHz following Arm processor running Linux 3.6.9 built using Buildroot. I am attempting to play mp3 files using mpg123 connected to an ALSA ...
5
votes
3answers
3k views

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-...
1
vote
1answer
2k views

What is the proper way to activate VGs/LVs automatically on boot?

I have used Buildroot to create a system that runs in RAM on my ARMv5 Kirkwood SoC -based NAS-box. I use BusyBox as my init system, and /dev management is done using devtmpfs only. I've selected LVM2 &...
0
votes
1answer
481 views

Second boot of Linux - Kernel Panic

I am currently working on a Linux distribution created with buildroot for an ARM device. The file system is JFFS2. I am booting with Das U-Boot. I am able to successfully boot exactly once. My ...
2
votes
0answers
1k views

Make bootable USB drive on Mac

I've tried to make a bootable USB drive — using Syslinux & Buildroot — on my Macbook Air. When I boot up I get something like this error. "Non-system disk, press any key to restart" Does that ...
1
vote
2answers
6k views

Buildroot - missing i2c kernel modules

I've used Buildroot to build a minimal operative system. During the configuration step with the menuconfig utility I specified to install I2C tools. The option was is Target Package -> Hardware ...
1
vote
0answers
91 views

Standard/Common location for cross compilation toolchain

Does a standard or common location exist for installing cross compilation tools? I can easily pick my own location and it works fine, so I'm just looking to find the most ideal location. Based on ...
0
votes
1answer
263 views

Compiler for Linux kernel

Can Linux kernel be compiled with gcc configured for Linux executables (not bare metal)? I have noticed that Buildroot builds cross-compiler arm-linux-gnueabi to compile everything and became curious. ...
7
votes
1answer
5k views

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 ...
2
votes
2answers
738 views

Doubts about the Buildroot configuration

How can I update my Buildroot without losing my configuration, packages, etc.? And how can I update the Linux kernel that is configured? Is it just change the url from git repository in menuconfig? ...