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.

2
votes
1answer
19 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 ...
0
votes
0answers
7 views

What distro is compatible with Samsung's Galaxy ,Sm-j31-2017 [on hold]

Buildroot chroot, framework anlux. ParrotOS
-2
votes
0answers
20 views

Can you get root using terminal emulator [on hold]

I would like to know if you can root an Android device using terminal emulator if so will you please give me directions how
1
vote
1answer
48 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
36 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
40 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
28 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
0answers
24 views

ubifs error 9 (not enough good pebs)

Recently I started a project involving a at91sam9261ek and samsung K9F2G08U0M nand flash (256mb) (http://ww1.microchip.com/downloads/en/AppNotes/doc6255.pdf). I used buildroot to build bootstrap, ...
0
votes
1answer
48 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
15 views

Builroot 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 manuel reset that every time. What would be the correct way to handle this, should I ...
0
votes
0answers
43 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
28 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
34 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
0answers
22 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
122 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
212 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
0answers
23 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
61 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
125 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
153 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
124 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
133 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
368 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
576 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
79 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
54 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
215 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
120 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
424 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
249 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
299 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
597 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
853 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
468 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
4k 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
509 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
2k 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
120 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
1k 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
685 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
168 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
181 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 ...
3
votes
2answers
2k 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 ...
1
vote
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'...
2
votes
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. ...
1
vote
1answer
599 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
278 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 ...
2
votes
1answer
841 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
50 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
402 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 ...