Skip to main content

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

Issues running cog on system built with buildroot

I'm new to buildroot and building customized images, so please bare with me. I'm trying to setup a customized linux image with a tiny footprint that boots up (quickly), opens up a browser (e.g. cog) ...
simon's user avatar
  • 1
0 votes
0 answers
142 views

Unable to login to root shell of Linux system built using Buildroot

I built Linux kernel and root file system using Buildroot(2022.08.x) for STM32MP157 target. SystemD is chosen as init system. The target boots and login prompt appear but I am unable to login to shell....
gmax's user avatar
  • 1
0 votes
0 answers
28 views

Building a buildroot package against target context

I am trying to build tcc as a package. But, it seems like tcc's build process wants to run an executable against the target environment/architecture here. I got it to work by patching the Makefile to ...
ksdme's user avatar
  • 1
1 vote
2 answers
164 views

Can’t get DNS IPs with NetworkManager during PXE boot

I’ve built a custom Buildroot with NetworkManager as the only networking daemon and booting my board via PXE. The problem is that /etc/resolv.conf is missing actual DNS IPs and domain. While kernel is ...
IlorDash's user avatar
0 votes
0 answers
67 views

Additional log partition with buildroot

I made my Linux with Buildroot, and I would like to add an additional partition what can be mounted and store log files on it. I use pc_x86_64_efi_defconfig and my genimage-efi.cfg is the ...
kj192's user avatar
  • 21
0 votes
1 answer
631 views

Uboot boots from SD card, but can't read info from mmc

I am working on setting up a bootable SD card for a Rockchip SOQuartz CM4. I am able to build uboot for this target, write it to an SD card along with a rootfs image and kernel, load uboot, and get to ...
Chris Fernandez's user avatar
0 votes
0 answers
127 views

rootfs building using buildroot is failing

I want to boot beaglebone black board with kernel 6.5.4 image. So I took a SDCard(8GB), formatted and make it 2 paritions using gparted application in ubuntu. I have copied below boot files into BOOT ...
Waageesh's user avatar
0 votes
1 answer
59 views

Apache refuses to start claiming a wrong PID

I'm facing an odd problem on a Buildroot environment for RPi3. I have this init.d service to start apache2 (version 2.4.57): # cat /etc/init.d/S50apache #!/bin/sh case "$1" in start|...
Mark's user avatar
  • 733
0 votes
0 answers
34 views

`w` not working on Buildroot

I'm working remotely on an embedded device running Buildroot. My colleagues are working on this same device, so it's important to know who else is logged in. For a previous project (running on a non-...
Opifex's user avatar
  • 420
0 votes
1 answer
73 views

Granting privileges using visudo still prevents user to execute command

Following this solution, I want to grant to the user daemon the execution of /bin/date. Here what I did: find the user that apache2 uses when spawning: # ps | grep httpd 252 root /usr/bin/httpd -...
Mark's user avatar
  • 733
3 votes
2 answers
801 views

How do I keep the screen on a console-only Raspberry Pi?

Buildroot for RPi3 B+ without X server (console only). Monitor connected on HDMI. I want to keep the monitor on. After 10 minutes (if I'm not wrong) of no keyboard activity the screen turns off. From ...
Mark's user avatar
  • 733
0 votes
1 answer
308 views

Network Manager autoconnect not always work

On a Buildroot environment for RPi 3 B+ I have this connection file: # cat /etc/NetworkManager/system-connections/mark.nmconnection [connection] id=mark uuid=0f285419-2238-4b94-ad48-577a1a5f3765 type=...
Mark's user avatar
  • 733
0 votes
0 answers
24 views

Use wildcards in makedev devite table

I'm reading the documentation about makedev syntax in order to set the permissions of some files in my Buildroot environment. For example I need to set the Network Manager connection files to 600, etc....
Mark's user avatar
  • 733
0 votes
0 answers
100 views

Using a configuration file for connman

I'm trying connman on a Buildroot environment for an RPi 3 B+. It works, but reading the docs I'm only able to connect to a WiFi network using the service names it creates (instead of the plain SSID) ...
Mark's user avatar
  • 733
0 votes
1 answer
292 views

Buildroot and framebuffer

I am very new to embedded programming so please have some understanding if i sound dumb. Recently i have built a linux kernel using buildroot tool. These are the commands i used: make ...
programmer wanna be's user avatar
0 votes
1 answer
45 views

Buildroot group file ends up with odd entries

My goal is to understand why Buildroot is generating odd-looking output in my group file and determine if this will pose a problem. If it does pose a problem, I want to identify the cause and find a ...
kmort's user avatar
  • 724
0 votes
1 answer
411 views

Buildroot kernel module reports invalid module format

I am working on building a test kernel module in Buildroot for a Raspberry Pi target. My host machine is x86, running Ubuntu 22.04.1. I have been following along with several tutorials, including this ...
Chris Fernandez's user avatar
-1 votes
1 answer
1k views

lsblk: command not found Why?

In my Buildroot distro I want call lsblk but lsblk: command not found
Андрей Тернити's user avatar
1 vote
1 answer
1k views

Raspberry Pi SD cards showing “Write protect is on”

I'm using a custom buildroot Linux kernel for Raspberry Pi, based on the Pi kernel 5.10.92 (64-bit). I've flashed this image onto micro SD cards from two different manufacturers and installed them in ...
Adam's user avatar
  • 11
0 votes
0 answers
955 views

Buildroot Login without Root Password

Starting with some of the trunk builds of Buildroot in 2023, I've been unable to login to my buildroot systems with getty. Honestly, I'd rather a mechanism to just be dumped into a root shell. But, ...
Charles Lohr's user avatar
1 vote
1 answer
901 views

dd: invalid argument 'progress' to 'status'

In my Buildroot Linux image I try do dd if=/mnt/disk.img of=/dev/sda bs=4M conv=fsync status=progress But I get error dd: invalid argument 'progress' to 'status' Why?
Андрей Тернити's user avatar
1 vote
0 answers
209 views

Running containers on RPi with buildroot: problems with CNI

I'm currently trying to get containers to run on my RPi (CM4 module) using buildroot. I've configured the kernel and additional packages such that I should be able to run containers. I can verify that ...
polemon's user avatar
  • 11.6k
1 vote
1 answer
285 views

Sending files via Bluetooth using command line

I am using buildroot to generate a custom linux image. I have the bluez packages installed, which allows me to connect to another device via bluetooth using the bluetoothctl command. However, when I ...
carloscs11's user avatar
0 votes
0 answers
373 views

Enable bluetooth configuration in a Raspberry Pi 4

Basically I'm trying to enable bluetooth in my Raspberry Pi 4 using buildroot 2022.08. Since I want to use bluetoothctl command I already enable the bluez-utils package and the respective firmware ...
carloscs11's user avatar
0 votes
2 answers
599 views

set linux image size buildroot

My linux image generated thanks to buildroot is 4G. I want to deploy in my 16 GB mSata. Hence, I would like to extend the rootfs size. With Yocto there are variable like IMAGE_ROOTFS_EXTRA_SPACE or ...
void_brain's user avatar
2 votes
1 answer
135 views

USB to ethernet: fail to transmit any packages

I have a custom embedded linux board with a lan7500i-ABZJ connected over USB. So I compiled the linux kernel (using buildroot) with the smsc75xx module built in. The startup kernel messages indeed ...
user1104939's user avatar
1 vote
1 answer
1k views

Buildroot: syslog-ng logs into the "/var/log/messages.1" file instead of "/var/log/messages"

I am building an embedded Linux board with Buildroot (user manual here). I have syslog-ng running on the board. It's config file is specified in buildroot here: https://github.com/buildroot/buildroot/...
Gabriel Staples's user avatar
0 votes
0 answers
834 views

Why would Linux boot from a USB drive but not a hard drive?

I have a x86_64 Linux Kernel, with EFI_STUB enabled, and packaged into a EFI System Partition that I compiled using Buildroot. It generally will boot on any machine by just dd'ing it to a device and ...
Pete's user avatar
  • 181
1 vote
0 answers
687 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]$ ...
user3666672's user avatar
1 vote
1 answer
1k 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. ...
milck's user avatar
  • 151
1 vote
0 answers
537 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 ...
alexanderzhirov's user avatar
0 votes
1 answer
1k 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 ...
OmegaKi113r's user avatar
1 vote
1 answer
667 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 ...
Eph's user avatar
  • 121
1 vote
1 answer
517 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 ...
hardanger's user avatar
  • 121
0 votes
0 answers
96 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 ...
midototo's user avatar
1 vote
1 answer
1k 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" ...
Micah R Ledbetter's user avatar
1 vote
1 answer
276 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 ...
sktpin's user avatar
  • 225
1 vote
2 answers
3k 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 ...
joseneco's user avatar
1 vote
0 answers
100 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 ...
Dave Robinson's user avatar
0 votes
0 answers
220 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....
ELmehdi's user avatar
  • 11
0 votes
1 answer
401 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 ...
ELmehdi's user avatar
  • 11
1 vote
1 answer
184 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
ELmehdi's user avatar
  • 11
0 votes
1 answer
1k 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 ...
Cerezo's user avatar
  • 171
1 vote
0 answers
96 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 ...
Mahyar Shokraeian's user avatar
0 votes
2 answers
998 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 ...
frank's user avatar
  • 1
1 vote
1 answer
1k 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 ...
BakaOsaka's user avatar
0 votes
2 answers
4k 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 ...
Spearitch502's user avatar
0 votes
0 answers
65 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 ...
Cerezo's user avatar
  • 171
0 votes
0 answers
1k 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"...
Spearitch502's user avatar
1 vote
1 answer
356 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 ...
Iron Oxidizer's user avatar