Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
19 views

login system on a buildroot linux router [on hold]

I have a Gemtek WVRTM 127ACN router / modem, If you do not touch any key during startup, linux starts automatically. It's a linux version created with buildroot, the problem is that there is not a ...
0
votes
0answers
11 views

Boot on aufs layered root file system

I would like to have a root file system composed of several aufs branches mounted on /. My Linux is a custom one created using buildroot and deployed on a board with a SAMA5D2 processor. The mmc of ...
0
votes
1answer
30 views

Could not find libmount

During compilation of customized distribution (using buildroot v. 11.2018) I have problem with libmount library (the problem appeared after I had included efl package in buildroot menuconfig - Target ...
0
votes
0answers
23 views

Linux kernel not cross-compiling - how to disable cc1 -quiet flag?

I'm trying to compile the Linux kernel, version 4.12.0, for ARM. I've used a toolchain from toolchains.bootlin.com. However, when I try to do the final make command, it throws several errors about ...
3
votes
2answers
282 views

Remove busybox from buildroot

As part of Linux hardening we want to remove busybox from filesystem created with buildroot. But I am not sure if system can boot without it. I am quite sure that there are init files that depends ...
0
votes
0answers
20 views

Changed package in buildroot does not get built

I have a buildroot directory with all my configs I am using a package , and for a certain usecase I want to check where the package fails at run time. I am trying to modify the package a little bit, ...
0
votes
1answer
20 views

How to locate the module that handles DNS resolving in buildroot?

I have 2 different Linux devices, one's kernel is done using ltib (L from now on), and the other's by buildroot (B from now on). I manage to add a DNS resolver to B by using: echo "nameserver 8.8....
0
votes
0answers
23 views

Cross-building kernel

I have 2 machines. First (M1) runs Debian from box. Second (M2) with blank HDD and has no any OS. First machine - M1. Second machine - M2. How to build a kernel (Linux, NetBSD, OpenBSD or FreeBSD) ...
0
votes
0answers
75 views

Buildroot dependency issue building new kernel - libelf-dev

I am upgrading to 4.14.73 kernel using buildroot, it appears that this new kernel has a dependency on libelf-dev as I get this error: Makefile:953: *** "Cannot generate ORC metadata for ...
0
votes
0answers
107 views

(Buildroot) usb.core.NoBackendError: No backend available

I am having issues utilizing two different python packages on my buildroot system. They both throw the following error: File "/usr/lib/python2.7/site-packages/usb/core.py", line 1263, in find ...
0
votes
1answer
38 views

nghttp2 w/Buildroot on Raspberry Pi 3

I'm fairly new to buildroot and I'm trying to figure out the best way to get the "nghttp2" package added to my system so that I can utilize it in conjunction with curl on my embedded system. I'm not ...
0
votes
0answers
25 views

Booting a Thumb2 kernel on QEMU

I'm looking for ARM defconfigs that I can conveniently use for compiling a Thumb2 kernel, which I can boot using QEMU. My usual workflow is as follows(for instance, on ARM):- Build a buildroot ...
0
votes
1answer
114 views

copy driver include file to linux folder

I'm using buildroot for my embedded socfpga system. I have successfully written a driver and an app to test it, following BR usermanual : my_driver_dma : the driver my_dma : the app The ...
0
votes
1answer
43 views

How to regenerate a complete config file from a kernel Image from buildroot

I have an Image that I generated using buildroot that boots a kernel from an SD card and it works perfectly. I changed a few settings in the buildroot menus (I can't remember which ones) and now ...
0
votes
0answers
203 views

How do you prevent uas and usb_storage kernel modules from being automatically loaded when a USB flash drive is connected?

I generate a kernel Image using buildroot that I put onto an SD card to boot from. In buildroot I modularized USB Mass Storage. When I boot up my board without a USB connected to it I can see that ...
0
votes
1answer
135 views

What kernel modules are necessary for using a standard USB 2.0 flashdrive

I am using buildroot to generate an Image to run linux on an Arm A53. I want to be able to shut off and turn on the ability to see a USB flashdrive on command. I went into the settings of buildroot ...
0
votes
0answers
79 views

How can I create ethernet bridge in Linux system in Buildroot?

I have 2 (and will have additional 2) ethernet interfaces in my device, and I want them to be bridged. I use Buildroot for building my system. I want to create bridge at startup. Currently I use this /...
0
votes
1answer
212 views

Read-only filesystem - Considerations and Loss of Functionality

I'm creating an embedded system using Buildroot. Currently, my Buildroot configuration ensures the rootfs is remounted as read/write during startup. However I would like to remove this feature and ...
2
votes
1answer
322 views

Why does my kernel menuconfig look corrupted?

I've been using buildroot 2018.02.1 to compile a kernel for an embedded system. The kernel menuconfig used to render just fine, but at some point it stopped being rendered correctly and looks like ...
0
votes
1answer
318 views

Buildroot : Using out of tree defconfig

I'm using the tar image "buildroot-2018.02.tar.gz" to generate the linux image (kernel & fs) for my embedded system. To be sure of the minimum configuration I need to recreate the project (later, ...
0
votes
0answers
284 views

(Buildroot) “silentoldconfig” error on compile

I just moved an old buildroot folder from an old VM to a newer one to consolidate. I thought that simply moving the folder, along with any dependent folders, and making the appropriate path/name ...
0
votes
0answers
69 views

Linux USB Webcam Driver Problem

I am having a driver problem with usb web camera. I use Orange Pi plus 2e device, cross-compiled with Buildroot. I installed gspca, uvc, v4l, multimedia support, usb drivers via Linux-Kernel. The ...
1
vote
0answers
2k views

ifup shows IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready, then the link becomes 'ready' by itself. What is happening?

I am stuck with some strange behavior comming from my linux system. I have two ethernet interfaces (eth0 and eth1). When trying to set them up for the first time (for example with ifup eth1, or ...
2
votes
1answer
267 views

How can I make initializing random non blocking pool faster?

I have an issue with my Buildroot generated Linux and rootfs image for Zynq board. The problem is that random nonblocking pool is generated about 2 minutes after boot, just after I get kernel message ...
1
vote
1answer
1k views

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 ...
0
votes
0answers
240 views

How do you match a CPU to the buildroot arch list for x86_64 CPUs?

Is there a process I can use to match a CPU's classification (possibly by parentage or attributes) to the list provided by buildroot reliably? For example, I have been given a board with an Intel ...
1
vote
1answer
80 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
688 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
0answers
372 views

Build powerpc kernel and boot powerpc kernel on qemu

I compiled a Linux kernel and generated a root file system using buildroot for 64-bit PowerPC. The target CPU is POWER7. Output of buildroot: 1] rootfs.cpio 2] rootfs.ext2 3] rootfs.tar.gz 4] ...
0
votes
1answer
456 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
117 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
113 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 ...
2
votes
2answers
1k 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 ...
0
votes
2answers
3k 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'...
1
vote
2answers
1k 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. ...
0
votes
1answer
454 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
220 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 ...
0
votes
1answer
369 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
35 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
339 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 ...
1
vote
0answers
420 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
230 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
630 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
472 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
679 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
139 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
169 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
218 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
134 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
50 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 ...