Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
0answers
7 views

Cannot build new image with loadable kernel modules

I am trying to build an image using kernel version socfpga-4.14.73-ltsi from altera to put on my SOC and using Buildroot 2018.02.10 but I am getting an error when I include my loadable kernel driver ...
0
votes
0answers
12 views

Black screen while emulating buildroot built kernel on QEMU

Till this date I was only able to emulate the RPI kernel but I want to emulate BeagleBone Black & i.MX based firmwares that I've built using buildroot. I'm passing the following command:-- qemu-...
0
votes
1answer
34 views

mismatch between kernel version and kernel header

I use an embedded with a bit old kernel 2.6.37. Now we need to update rootfs with more update gcc than the one used on building the image (Instead of 4.3 need to use 5.1, because it will support c++11,...
0
votes
1answer
42 views

Linux kernel module development buildroot

I have build a linux kernel for the beaglebone black using buildroot. Now I would like to develop a hello world linux kernel module application: #include <linux/init.h> #include <linux/...
1
vote
0answers
60 views

login system on a buildroot linux router [closed]

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
54 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
134 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 ...
3
votes
2answers
376 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
1answer
28 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
1answer
43 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
28 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
150 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
62 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
313 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
195 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
126 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
244 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
414 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
487 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
1answer
355 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 ...
-1
votes
0answers
74 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
3k 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
325 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 ...
1
vote
1answer
92 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
859 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
409 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
568 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
139 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
139 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
4k 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
2k 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
511 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
236 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 ...
1
vote
1answer
516 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
41 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
371 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
486 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
253 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
729 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
529 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
705 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
153 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
184 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
266 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
153 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
52 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 ...
2
votes
1answer
4k 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
201 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 ...