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
0answers
7 views

Using x-server in buildroot based system gives a blank screen as the process starts, can you disable this screen?

my device has a distro which is based on Buildroot and during boot one of the init.d scripts is activating x-server/x11. During the process initiation, the screen suddenly goes pure white for a second ...
0
votes
0answers
15 views

How can I enable linux driver on buildroot?

I'm trying to enable IR_MESON from here. http://sources.buildroot.net/linux/git/drivers/media/rc/Kconfig My defconfig as below # Mirrors and Download locations BR2_BACKUP_SITE="http://sources....
0
votes
0answers
11 views

Starting network: [ 6.178148] ip (252) used greatest stack depth: 5756 bytes left /bin/sh: wpa_supplicant: not found

I entered in /etc/network/interfaces file auto lo iface lo inet loopback auto wlan0 iface wlan0 inet dhcp Then i tried ifconfig. It's showing eth0 Link encap:Ethernet HWaddr 8A:B8:53:87:09:2A ...
0
votes
0answers
25 views

Error compiling buildroot on Raspberry Pi 3

While compiling buildroot for a Rasperry Pi 3, I get the following error: ERROR: file(bcm2710-rpi-3-b-plus.dtb): stat(/home/rpmuser/buildroot-2019.02.8/output/images/bcm2710-rpi-3-b-plus.dtb) failed: ...
0
votes
0answers
27 views

/bin/sh: wpa_supplicant: not found

I entered in /etc/network/interfaces file auto lo iface lo inet loopback auto wlan0 iface wlan0 inet dhcp Then i tried ifconfig. It's showing eth0 Link encap:Ethernet HWaddr 8A:B8:53:87:09:2A ...
0
votes
0answers
19 views

Buildroot image for Raspberry Pi Zero too big in size

I compiled the image using Buildroot (2020.02.3) by first running make raspberrypi0_defconfig and then by running make menuconfig to enable ccache and remove ifupdown scripts. I then ran make to ...
1
vote
0answers
11 views

Configure boot options in buildroot

How can boot options be configured (specifically looking to add toram) in an OS image prepared by Buildroot? The idea is to load the OS completely into RAM, eject the bootable media (SD card in ...
0
votes
1answer
33 views

Buildroot compile error, librt.so: undefined reference to

I'm trying to compile a Buildroot image using a preconfigured builtin _defconfig file... More specific the riscv64_xwin_defconfig which is a simple setup for a riscv64 image with Xorg builtin. Since ...
1
vote
2answers
45 views

Can a user with no password set login with ssh?

First, I want to be clear, I am not asking about just using public key authentication without a prompt. I have a use case where a user must only be allowed access through SSH public key authentication....
0
votes
0answers
17 views

Building Linux for COM Express type 7 boards

COM Express is a standard for computer-on-module and different vendors have COM Express products like: https://www.congatec.com/en/products/com-express-type7/conga-b7ac.html https://www.kontron.com/...
0
votes
0answers
159 views

How to make systemd-networkd automatically start a DHCP Server if there isn't one on the network already

I'm trying to setup systemd-networkd so it will automatically start a DHCP server if it notices that there is no DHCP on the network. If there is a DHCP on the network I want systemd to just acquire a ...
0
votes
0answers
84 views

Buildroot Linux on RISC-V 32-bit no mmu processor

I'm trying to create a buildroot linux image for a 32-bit RISC-V no mmu processor. I've found several builds on the internet but none of them match exactly what I want to do, however I think they ...
1
vote
1answer
129 views

/etc/shadow is empty, yet I am prompted for password

I have a board (Pine64) on which I run my custom-built linux distribution (using buildroot). I configure root to have no password, and the resulting /etc/shadow file looks like this: root:::::::: ...
0
votes
2answers
564 views

Which file should I modify to mount a user overlay at boot time

I'm working on an embedded device with an arm cortex A9. The kernel version is 4.16.0 and is generated by buildroot 2018.05. The storage memory is an mmc with several partition. U-boot reads the ...
0
votes
1answer
553 views

uboot-menuconfig not available in make targets

I'm trying to setup a custom default environment for u-boot while building an embedded Linux system with Buildroot. I was able to achieve this in u-boot standalone, but I'm unable to reproduce the ...
2
votes
0answers
197 views

Xfbdev not found after including X (tinyx/kdrive) in Buildroot

I'm trying to add Xorg to an evaluation board for which I've already been provided with a working linux kernel. The evaluation board has an LCD display and I can confirm hardware & drivers are ...
3
votes
0answers
27 views

Getting Debian style wpa_supplicant in Buildroot

Currently it seems like the Buildroot package for wpa_supplicant does not include the Roaming Mode functionality that is available in the Debian package. How would I manually include this in my ...
2
votes
1answer
147 views

ssh X forwarding on a minimal Buildroot server with read-only root filesystem

I'm trying to get ssh X forwarding working with a very unusual setup Server: Custom Buildroot OS on Raspberry Pi 0 W Read only filesystem xauth installed .Xauthority located in /tmp/.Xauthority and ...
1
vote
1answer
4k views

How can I fix “sh: apt-get command not found”?

I just succeded to run pulpino on Zedboard FPGA and I managed to boot an OS on it. But, the problem that there no apt-get command. I checked the following: $ uname -a Linux buildroot 3.18.0-xilinx #1 ...
0
votes
0answers
59 views

How to use read-only permissions to prevent corruption on a writeable filesystem?

I'm developing an embedded Buildroot OS for the Raspberry Pi. This system will be turned off by simply removing power (there will be no shutdown timer), therefore it must be able to handle poweroff ...
0
votes
1answer
1k views

RPi + Buildroot: random: crng init done (not enough entropy) - how to configure rng-tools

I'm designing a minimal custom Buildroot embedded OS for the RPi0w. My current iteration takes a very long time to fully boot - several minutes with a keyboard and mouse plugged in, and tens of ...
1
vote
1answer
85 views

What is the correct Grub configuration to boot a kernel with an initramfs embedded in the kernel image?

I've used buildroot to compile a Linux kernel image with the root file system embedded as an initramfs. But when I go to boot it I see grub select the enctry and then I get a solid cursor in the up ...
0
votes
1answer
155 views

Buildroot: compile fbi against kernel headers

I'm adding a generic-package to Buildroot 2019.02.1. This package (fbi) includes <asm/page.h> in the fbtools.c, but the headers are not available in output/target. Compiling the package causes ...
0
votes
1answer
47 views

Buildroot date is wrong

When I flash a buildroot image for the raspberrypi3, using the date command will give me 1970-01-01. I have to manually reset that every time. What would be the correct way to handle this? Should I ...
1
vote
0answers
150 views

Facing issue in ssh for USB0 Interface buildroot

I am working on building Custom Os using Buildroot for beaglebone black. Configurations: Linux kernel version 4.19.29 I have enabled the Dropbear for SSH. The Script to load the drivers at boot ...
0
votes
1answer
131 views

C program does not run on buildroot

I work for buildroot. My purpose work GUI on my buildroot with Gtk3.0 and Gstreamer1.0. I use Olinuxino A13 so I wrote GUI code(Gtk3.0 hello world example) on this with codeblocks. I use Debian wheezy....
1
vote
0answers
50 views

Own boot parameter in Linux kernel gives no outprint (Homework)

The task is to write a own boot parameter in the linux kernel that activates printk under the kernel initiation. The Linux kernel version that is edited is 4.16.7 (buildroot 2018.11.2) and my ...
0
votes
1answer
95 views

Buildroot date is set to Jan 1, 1970

why does buildroot automatically set the date in the title. And how do I fix that? Or do I have to make a script to manually set that?
1
vote
1answer
436 views

PPS GPIO with Buildroot image on Raspberry Pi 3

I using Buildroot trying to build a Linux image for the Raspberry Pi 3 in which I have access to pulse-per-second (PPS) inputs on one of the GPIO pins. First off, I have tried this with the standard ...
1
vote
1answer
2k views

Udev - Network cable hotplug event not catched [duplicate]

I'm running a buildroot custom linux (kernel 4.9.87) on a custom board based on an Atmel Sama5d2. I'm trying to configure the network on the eth0 interface using dhcp only at hotplug. Originally, ...
0
votes
1answer
329 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
379 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/...
0
votes
2answers
913 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
1k 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
335 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
66 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
1answer
471 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
250 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
819 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
523 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
1answer
665 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 ...
3
votes
2answers
983 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
2answers
2k 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
1k 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 ...
2
votes
0answers
8k 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 ...
3
votes
1answer
1k 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 ...
2
votes
1answer
4k 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
169 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 ...