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.
177
questions
0
votes
0
answers
6
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 ...
0
votes
1
answer
44
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 ...
0
votes
0
answers
18
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 ...
0
votes
1
answer
20
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|...
0
votes
0
answers
18
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-...
0
votes
1
answer
27
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 -...
3
votes
2
answers
291
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 ...
0
votes
0
answers
57
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=...
0
votes
0
answers
12
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....
0
votes
0
answers
20
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) ...
0
votes
1
answer
117
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 ...
0
votes
0
answers
56
views
libcamera: Preview windows only support YUV420
I have a USB camera connected to a CM4 and I want to output the video through HDMI. I'm using a custom kernel from buildroot.
I'd like to use libcamera or something similar to avoid needing a desktop ...
0
votes
1
answer
26
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 ...
0
votes
1
answer
182
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 ...
-1
votes
1
answer
490
views
lsblk: command not found Why?
In my Buildroot distro I want call lsblk but
lsblk: command not found
0
votes
0
answers
110
views
Qemu no init found (devtmpfs: error mounting -2)
Hi I am trying to run linux on qemu using buildroot. I spent a lot of time looking online for the right config options however despite multiple attempts I am still getting the same error. I do not ...
1
vote
1
answer
567
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 ...
0
votes
0
answers
509
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, ...
0
votes
0
answers
42
views
Add "automake" package in buildroot
I should use aclocal command, from automake package, in a qemu environment using a rootfs generated with buildroot.
I noticed that there is no options to add automake package when I use menuconfig ...
0
votes
0
answers
162
views
How to prevent Buildroot loading entire rootfs into RAM?
I've been playing around with Buildroot quite a bit, and I've begun on a project. The project works, and I can create a bootable ISO9660 image using ISOLINUX (I wanted a hybrid image), but it takes ...
0
votes
0
answers
93
views
Kernel loading brcmfmac to late resulting ifup -a returning "Cannot find device 'wlan0' "
I'm building custom Linux with Buildroot for Radxa Zero. The SystemV is build into BusyBox. The BT/WiFi chip is a AP6256. When I boot up into the system the SystemV init scripts are starting before ...
1
vote
1
answer
561
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?
0
votes
0
answers
124
views
Nodejs is not building in buildroot because ‘va_list’ has not been declared
I try to build an embedded linux with nodejs for Radxa Zero SBC. I included nodejs through Target packages ---> Interpreter languages and scripting > nodejs and NPM for the target. In the ...
1
vote
0
answers
180
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 ...
0
votes
0
answers
226
views
Clarify OCI / container usage with `ctr`
I'm trying to handle docker / OCI images on a raspberry pi with buildroot.
I'm not exactly an expert on using containers and the way this works right now, confuses me.
I'm running a container like ...
1
vote
0
answers
183
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 ...
0
votes
0
answers
270
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 ...
0
votes
1
answer
323
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 ...
2
votes
1
answer
97
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 ...
1
vote
1
answer
874
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/...
0
votes
0
answers
643
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 ...
1
vote
0
answers
563
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]$ ...
0
votes
1
answer
837
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. ...
1
vote
0
answers
420
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 ...
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 ...
1
vote
1
answer
506
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 ...
1
vote
1
answer
367
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 ...
0
votes
0
answers
85
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 ...
1
vote
1
answer
834
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"
...
1
vote
1
answer
250
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 ...
1
vote
2
answers
2k
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 ...
1
vote
0
answers
88
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 ...
0
votes
0
answers
182
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....
0
votes
1
answer
303
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
...
1
vote
1
answer
166
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
0
votes
1
answer
986
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 ...
1
vote
0
answers
92
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 ...
0
votes
2
answers
744
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
...
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 ...
0
votes
2
answers
3k
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 ...