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

/aliases: Reference to non-existent node or label "mmc0"

I'm trying to upstream support for u-boot and buildroot for a SoC, I'm merging some changes into master from the vendor's BSP and am having some issues with their dts. [machinehum@whitebox u-boot]$ ...
user avatar
0 votes
1 answer
40 views

Dropbear ssh server immediately quits after startup

I built a linux kernel (v. 5.17.1) with default config and created a minimal root fs using buildroot (both for x86_64). I modified the configuration of buildroot to use glibc and added DHCP for eth0. ...
user avatar
  • 121
1 vote
0 answers
48 views

Incorrect operation of Linux (built in Buildroot) after startup X11

Built a Linux image in Buildroot 2022.02. After loading on real hardware, there is no mouse cursor display. The mouse itself is working (lit), but no visible actions occur after clicking on it. The ...
user avatar
0 votes
1 answer
59 views

Running Raspberry PI buildroot image in qemu

I am trying to build a linux image for raspberrypi3 with buildroot and run it on qemu. Once the make process is done i can copy the sdcard.img file into a SD card and correctly run the OS on a real ...
user avatar
0 votes
0 answers
21 views

is it possible to install guix package manager to a buildroot environment?

Hello fellow linux users, I am creating a distribution with buildroot and I wanted to install a package manager (guix). The idea is to try to compile it with either make or GCC. Is this possible to do ...
user avatar
1 vote
1 answer
40 views

Buildroot image missing /sys/bus/usb

I've tried to create a Beaglebone Black image with buildroot starting from beaglebone-defconfig. I discovered that /sys/bus/usb seems to be missing: # ls /sys/bus clockevents gpio mmc_rpmb ...
user avatar
  • 121
1 vote
1 answer
41 views

Can't type at Linux login prompt

I've just opened up two brand new Intel Galileo Gen 2s and am looking to login to their default Linux distro via terminal (ie. no SD card used). I am coming across a weird, identical issue with both ...
user avatar
  • 121
0 votes
0 answers
57 views

USB-Device and inotify

I'm looking a solution for being notified about files and directories modifications using inotify or any other API when the files are located on a filesystem on a custom board which is configured as a ...
user avatar
0 votes
0 answers
32 views

Failed when binding the blox,neo-6m driver to uart 1 on BeagleBoneBlack-wireless

i'm trying to bind the gnss driver ubx neo6m to my sensor mapped on uart1 Source of the driver kernel 5.10.23 : : https://elixir.bootlin.com/linux/v5.10.23/source/drivers/gnss Source of the DTS i'm ...
user avatar
1 vote
1 answer
163 views

How can I enable Unicode support in buildroot?

I want to build a 32 bit x86 ISO image from buildroot that can display Unicode characters. How can I do that? In make menuconfig, I've set BR2_ENABLE_LOCALE_WHITELIST="C en_US en_US.UTF-8" ...
user avatar
1 vote
1 answer
77 views

Is there a kernel option to allow a userspace app discovering custom USB devices on the host?

Consider a minimalist, buildroot-based Linux image on some 1-PCB computer with a USB host port. Then there is another small computer: a Raspberry Pi Compute Module "CM3", the only connection ...
user avatar
  • 115
0 votes
0 answers
26 views

How to chroot into into RPI3 buildroot image?

I have successfully built the default Raspberry PI 3 Buildroot image. I would like to chroot into the system. Can someone kindly advise on how to achieve that? Many thanks, Huzeifa
user avatar
1 vote
2 answers
329 views

SSHD accepts connection but closes after method 'none'

I'm trying to ssh to my local sshd, but the connection is detected by sshd it closes before I get a password prompt. The server is running buildroot and uses glibc. I've compared the logs with working ...
user avatar
0 votes
0 answers
204 views

Udev rules not executing my script on inserting SD card

I'm trying to execute a script on inserting SD card in SD card slot, by using UDEV Rules. My 99-sdcard.rules file is as below, ACTION=="add", KERNEL=="mmcblk0p1", SUBSYSTEM=="...
user avatar
1 vote
0 answers
28 views

Compiling Beaglebone Black Linux image for QT and 4Dsystems LCD cape

I have researched a lot into buildroot and yocto compilation for BBB and understand qt configs / layers for both. However I can’t seem to get the 4.3” Touchscreen cape to work. I have tried comparing ...
user avatar
0 votes
0 answers
83 views

Gcc not found : cannot compile c program in a Buildroot image for STM32MP

I'm trying to compile a C program with gcc in a image that I have made with buildroot for STM32mp157a-dk1, but I get: $ gcc bl.c -o bl -sh: gcc: not found $ gcc is installed on the system; version 9....
user avatar
  • 11
0 votes
1 answer
89 views

Cannot disable metadata_csum from buildroot configuration

I'm trying to boot STM32MP157A-DK1 with a Buildroot image that I made but I got this error and I cannot disable the metadata_cesum from the Buildroot configuration. I tried ...
user avatar
  • 11
1 vote
1 answer
88 views

Failed to boot STM32mp157a-dk1 using a buildroot image

I'm trying to boot an STM32MP157a-dk1 using an image that i made with buildroot but when i boot i got this message : Unable to write "/uboot.env" from mmc0:4 Help me please !! H.M
user avatar
  • 11
0 votes
1 answer
295 views

How to launch WESTON with no input devices

Been working on a project to create s simple digital display using the Raspberry pi 4 and buildroot. It is a simple application that interacts with the user through bluetooth and displays some ...
user avatar
  • 161
1 vote
0 answers
39 views

kernel error on init (reference to shared library error)

I'm trying to boot kernel on an stm32f469-disco board which is an ARM board with 16MB ram and 16MB flash storage. I've used buildroot to create my rootfs and kernel. after u-boot passes the control to ...
user avatar
0 votes
1 answer
267 views

buildroot: adding bridge via interfaces

i got my own interfaces file added to buildroot filesystem (overlay rootfs) auto lan1 iface lan1 inet manual auto lan2 iface lan2 inet manual auto br0 iface br0 inet static address 192.168.40.1 ...
user avatar
  • 1
1 vote
1 answer
461 views

Linux kernel panic when I disable the console via cmdline?

I currently have an embedded device booting via mainline U-Boot in to the mainline Linux kernel (built via Buildroot). This works fine and the board functions as intended. One option I would like is ...
user avatar
0 votes
2 answers
1k views

Buildroot How do I deal with Error filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)

I am usin Buildroot as distro. I have a problem. I wanted to update my build with adding some packages for my embedded system(stm32mp157). In menuconfig --> Filesystem images I chose an exact size ...
user avatar
0 votes
0 answers
32 views

Where do applications on a linux system get their font information?

I am trying to create a kiosk application with the GTK framework on a raspberry pi I am also using the buildroot build system for creating the custom linux system. My graphics stack inludes using the ...
user avatar
  • 161
0 votes
0 answers
410 views

curl: (7) Failed to connect to port 80, and 443

Hello I am trying to curl from a server using this command from my STM32MP1 curl -i -k -X POST -H "Content-Type: application/json" --data '{ "id":"2","timestamp"...
user avatar
1 vote
1 answer
139 views

Specify rootfs mount options

I would like to specify mount options for my rootfs as per instructed here however I am unsure where this should be done. I've looked through the genimage docs and there was no generic option to pass ...
user avatar
0 votes
1 answer
214 views

Unified Kernel Image Buildroot

Is it possible to create Unified Kernel Image using Buildroot? I want to pack rootfs.cpio.xz and Kernel Image (EFI Stub) into a single file that can be loaded from EFI Shell.
user avatar
  • 53
0 votes
1 answer
446 views

Read MAC using Buildroot 20.20 NVMEM_IMX_OCOTP on i.MX7s

We are migrating from Buildroot 2018.02.9 (linux-4.14.85) to Buildroot 2020.02.2 (linux-5.4.40), and have found that we can no longer read the MAC address on an I.MX7s SoC. The following indicates why:...
user avatar
  • 196
0 votes
1 answer
348 views

Buildroot Rootfs with XOrg doesn't show GUI

I have built a rootfs using buildroot using template of qemu_x86_64_defconfig and adding XOrg server configuration on top of it. To start the system, I am using script generated by buildroot to invoke ...
user avatar
  • 53
1 vote
1 answer
263 views

How do I create a compressed buildroot system image that expands to fill the available storage of the media it is flashed to?

I need to make a Buildroot system for various x86_64 EFI systems with varying storage sizes, but unfortunately, the pc_x86_64_efi config creates an img file with a fixed partition size, not one that ...
user avatar
1 vote
1 answer
230 views

Cannot add systemd-analyze to Buildroot image

I decided to use systemd in my embedded linux system to be able to use systemd-analyze tool. I can add both systemd and systemd-analyze in my config, but after runing my system on Raspberry Pi 4, I ...
user avatar
  • 135
0 votes
0 answers
67 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 ...
user avatar
2 votes
0 answers
36 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 ...
user avatar
  • 121
0 votes
1 answer
996 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 ...
user avatar
1 vote
2 answers
950 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....
user avatar
  • 113
2 votes
1 answer
1k 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:::::::: ...
user avatar
0 votes
2 answers
2k 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 ...
user avatar
  • 206
2 votes
1 answer
2k 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 ...
user avatar
  • 179
2 votes
0 answers
451 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 ...
user avatar
  • 179
3 votes
0 answers
62 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 ...
user avatar
2 votes
1 answer
330 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 ...
user avatar
1 vote
1 answer
6k 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 ...
user avatar
0 votes
0 answers
162 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 ...
user avatar
3 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
481 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 ...
user avatar
  • 141
0 votes
1 answer
284 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 ...
user avatar
  • 125
0 votes
1 answer
128 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 ...
user avatar
  • 1
1 vote
0 answers
252 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 ...
user avatar
  • 227
0 votes
1 answer
370 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....
user avatar
  • 103
1 vote
0 answers
55 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 ...
user avatar