Questions tagged [embedded-linux]

For questions related to Linux on embedded systems (e.g. mobile, consumer electronics, networking) or single-board computers (e.g Raspberry Pi)

Filter by
Sorted by
Tagged with
0 votes
0 answers
254 views

Configure amount of reserved memory for Linux kernel

I am running Linux on an embedded device with 64MB of physical RAM. Linux prints the following message when it boots: [ 0.000000] Memory: 58944K/65536K available (3072K kernel code, 576K rwdata, 832K ...
utnd03's user avatar
  • 1
0 votes
0 answers
11 views

cdrtools and dvd+rw tools installing issue in am5728 linux kernel?

I am installing dvd+rw-tools-7.1 and Cdrtools-3.02a09 in am335x using below commands 1.dvd+rw-tools-7.1 root@am57xx-evm:/dvd+rw-tools-7.1#sed -i '/stat.h/a #include <sys/sysmacros.h>' growisofs....
pc.ramachandra's user avatar
1 vote
2 answers
110 views

How to recover a bricked D-LINK DAP-1360 wifi access point using TFTP and the TBS Bootloader?

I have a D-LINK DAP-1360 WiFi access point (Hardware version F2) that seems to be bricked. I have terminal access through the RX and TX ports and via a screen session using the screen /dev/ttyACM0 ...
Number235711's user avatar
0 votes
0 answers
38 views

RGMII TX_CLK stuck at 2.5MHz

I'm in a situation where my RGMII TX_CLK is seemingly stuck at 2.5MHz even when the PHY negotiates with a 100baseT or 1000baseT line and the link comes up. How is that even possible and what could be ...
mistyron's user avatar
1 vote
0 answers
167 views

How can I enable the 4 SPI interfaces on BeagleBoard X15 so that they are visible in the /dev directory?

I have configured and compiled the Linux kernel using buildroot. I want to have access to spi buses on this board in user mode. Here are the steps I've take to compile the kernel. 1- clone the ...
Mohammad's user avatar
2 votes
1 answer
355 views

How do I determine how much power a USB device has negotiated?

I know that when a USB device first connects to a computer/hub it can only draw 100mA (150mA if it is USB 3.0). It must negotiate for higher power via a Configuration Descriptor's bMaxPower field. ...
David C.'s user avatar
  • 1,035
0 votes
0 answers
144 views

Can we ditch the Linux initial ramdisk if we don't use loadable modules?

I'd like to boot an embedded machine without using a ramdisk image. I understand one of the reasons for the ramdisk is so it can load the filesystem module needed for accessing the root partition (to ...
Synthetix's user avatar
  • 247
0 votes
0 answers
97 views

WiFi sharing from Android Automotive OS to Embedded Linux

We have a structure running Android Automotive OS and Embedded Linux on Hypervisor. Internet of Wi-Fi (wlan0) on Android Automotive OS (Guest Domain). We want to share to Embedded Linux (Main Domain). ...
cebele's user avatar
  • 1
0 votes
0 answers
310 views

"udevadm info" command is not showing ID_BUS data

I am working on an embedded board having ARM cortex-a53. To add support of "udevadm" on this board, I have downloaded "buildroot-2022.02" (https://buildroot.org/downloads/buildroot-...
beparas's user avatar
  • 123
0 votes
0 answers
154 views

Memory optimization of redis-server in an embedded Linux distribution

I'm trying to optimize a redis-server version 6.0.5 installed in an embedded Linux distribution with 2 GByte of RAM. At the moment there aren't particular failure of the redis-server. The output of ...
User051209's user avatar
1 vote
0 answers
844 views

How to monitor file changes on a Linux device using inotify and cpp? [closed]

I have cpp application running on an embedded-linux device. Now, I want the application to report if there is a change in a file on the device. I came across std::filesystem library and inotify(...
Preeti 's user avatar
  • 121
0 votes
0 answers
145 views

DVR error: kex_exchange_identification: read: Connection reset by peer

My DVR is connected to internet but when ssh, the error is kex_exchange_identification: read: Connection reset by peer. It is port 22 and I cannot access the Linux terminal. The system cannot be ...
Anhad Chugh's user avatar
0 votes
0 answers
2k views

How can we debug SSH logs apart from the verbose (-vvv) command?

SSH connection is getting closed by port 6655 when trying to SSH into the board using board's IP address using Putty. How can I debug the SSH logs and the process apart from the verbose command? ...
Jahnavi's user avatar
  • 13
0 votes
2 answers
826 views

dhcpd doesn't issue the same lease after reboot

I am running 4.14.149 built by Yocto (Zeus, 3.0.0), and we are pulling the OpenEmbedded version of dhcpd (I think it is version 4.4.1). Here is my conf file: # # DHCPd config for private network # # ...
Eskimoalva's user avatar
0 votes
1 answer
2k views

How can I know If a USB 3 device connected to a Linux computer actually uses the SuperSpeed lanes?

I've got an embedded platform running Linux on ARM processor. There is a USB3 camera connected via a USB3 HUB (the kind of Hub that is embedded on a PCB permanently, not the one that you manually ...
user's user avatar
  • 15
1 vote
1 answer
693 views

EMMC with unblanced block erase count

We developed some embedded Linux products which write data log 24h*7 to 8GB eMMC chips. When reading the block erase counts of every block inside the eMMC chips by sending the CMD56 command. We found ...
tj2298's user avatar
  • 11
1 vote
1 answer
889 views

Why are the IPtables and kernel module versions not matching in Yocto Linux?

I am trying to add IPtables to a Yocto Linux image but I think versions of compiled modules and modules needed for IPtables do not match. IPtables is looking for modules under /lib/modules/4.9.88 but ...
HYK's user avatar
  • 21
0 votes
1 answer
315 views

Difficulty setting up internet sharing on Beaglebone on macOS Big Sur

I am having trouble setting up an internet to be shared on Beaglebone (BB) through the host (Mac running Big Sur OS). When I do ifconfig on BB, I see two USB interfaces showing up (usb0, usb1) with a ...
Jazzy's user avatar
  • 103
0 votes
1 answer
153 views

Loading a file complains about file not found in a specific path, but filesystem is read-only so can't copy

I am loading a wifi module which is sitting in /usr/lib/modules/<kernel_version>/extra by running modprobe <module_name.ko> but it errors out saying modprobe: FATAL: Module <module_name....
Jazzy's user avatar
  • 103
0 votes
0 answers
148 views

Setting a wifi on an embedded linux - not seeing wlan0 on ifconfig

I'm trying to set up a wifi on this linux-based embedded board which has a wifi module embedded on top of it. I have configured hostapd.conf and wpa_supplicant.conf with the specific SSID and password....
xyf's user avatar
  • 111
1 vote
1 answer
173 views

Do any linux systems depend on at (atd) for system functionality? I want to disable it

I have a cubieboard (an SBC, like a raspberry pi) that I'm using in an embedded application. While testing a box before shipping I noted unacceptable lag in the user interface. Investigation turned ...
msouth's user avatar
  • 125
1 vote
0 answers
185 views

Remount folder on read-only partition as temporary writeable folder (overlays)?

if I type the following command sudo mount -t overlay -o lowerdir=/etc,upperdir=/tmp/upper,workdir=/tmp/workdir none /etc Is it correct that /etc (overlay) folder will be stacked on top of /etc (read-...
Heri Cahyono's user avatar
-1 votes
1 answer
457 views

routing for an embedded device connected to Ubuntu laptop via USB

I have a device called a pocketbeagle that I have been trying to add to my local network without success. I've tried many things, but none have been completely successful. This didn't look so ...
Seamus's user avatar
  • 172
0 votes
0 answers
479 views

How to display LCD type in Embedded Linux such as Raspbian

I am interested in determining the hardware type of the LCD on a RetroGame that runs embedded linux. I would like to know if there is any command that can fetch a part number or anything that can help ...
gfdsal's user avatar
  • 123
1 vote
2 answers
965 views

How to conditionally strip/compress binaries with alternate utilities (i. e. other than strip)

In our yocto-based embedded application, we now have several Golang binaries, which can become very large. For example, docker (from meta-virtualization) and related binaries weigh in with several 100 ...
Alexander Klauer's user avatar
0 votes
1 answer
931 views

How to export pins with GPIOD

We're using Colibri IMx6 and we need to access few pins. Back in the sysfs days, we were able to just echo the export to a "file" on a system and the pin would get "activated". Now ...
MG lolenstine's user avatar
1 vote
1 answer
419 views

Command requires missing /run on read-only filsystem

I am trying to run a command (cryptsetup) on an embedded system using squashfs. It requires /run but that directory does not exist, and I cannot create it since it is read-only. I have an ASUS router ...
Nick's user avatar
  • 678
2 votes
0 answers
2k views

screen issue. Getpwuid can't identify your account

this is the result of the strace /screen I am trying to launch screen static binary. I have created /etc/passwd and /etc/group. When I did ls -la /etc/passwd /etc/group I didn't get any errors, but ...
Евгений Камнев's user avatar
1 vote
1 answer
1k views

Issues with libgcrypt when starting from a service

I'm currently working on a embedded linux distribution to get networking up and running. I need it to switch between ppp connection and wifi when it's available. I'm doing this with wpa_cli -a (active ...
Sarge324's user avatar
1 vote
0 answers
26 views

MTU network path

On an embedded device, there are a CPU and a LTE modem. They are connected together using serial port using GSM 07.10 multiplexing protocol. On the Muxed serial port, PPP handles the communication ...
hotips's user avatar
  • 145
1 vote
0 answers
27 views

Possibility to delete unused data of growing website in chrome

I’m new here and was searching for an article, what say how to delete unused data. I have a website running on an embedded Linux device. It shows basically the whole time the same content, but grows ...
ghostUser's user avatar
1 vote
2 answers
311 views

Why Imx6q(Embedded Linux Device) ethernet communication is too slow?

I have tried several methods to test the ethernet communication of the Imx6 card. 1) When I ping in my computer from IMX6, the ping does not reach the IMX6. But when I ping to imx6 from the computer, ...
Emin's user avatar
  • 11
1 vote
1 answer
3k views

gpioset: error setting the GPIO line values: Device or resource busy

I am using Linux on my SAMA5D27 embedded board. I am also using libgpiod to manipulate GPIO configurations of the board. First, I can list all the lines of specified gpiochips, their names, consumers, ...
gaston's user avatar
  • 111
0 votes
1 answer
83 views

Bluetooth characteristics scan

I am developing a bluetooth application for an embedded linux device. On the hardware I have an IMX 6 MCU and EMMY W161 communication module. The operating system is a Yocto Project distribution (Poky)...
jonathan eslava's user avatar
0 votes
1 answer
3k views

How to Add Something Extra to a Busybox System?

So suppose that I have Busybox installed on an embedded device (e.g a router) and need to add something extra to it (a package). Now suppose that now I need to install a package to it besides using ...
Joe's user avatar
  • 257
2 votes
1 answer
2k views

Which kernel moduules are really needed for docker installation?

I am trying to install docker on a dragonboard 410c and am getting an error when trying to run systemctl start docker: failed to start daemon: Error initializing network controller: error obtaining ...
SchillerFalke2's user avatar
1 vote
0 answers
115 views

How to discover which device is the display frame buffer device of an embedded Linux hardware

I want to install the tslib in an embedded Linux hardware. But I don't know which device is the "frame buffer" needed to set TSLIB_FBDEVICE. /dev folder: /dev $ ls -la drwxr-xr-x 10 root root ...
Matheus Rossi Saciotto's user avatar
2 votes
1 answer
291 views

Modetest LCD outputs are not identical on new LCD implementation

I have been working on implementing a custom 10.1" LCD screen to my Acqua “System On Module” (running a SAMA5D36 Microchip MPU) unfortunately without any good results. The problem I am facing is that ...
Remco Vink's user avatar
1 vote
0 answers
235 views

Auto-serial-console and ttyPS0 crashing on Linux boot

I have a Zedboard-like system that I run embedded Linux on. I connect to it via a serial console where I use minicom on my end. A week ago an issue started where my auto-serial-console where the ...
morgan-liam's user avatar
0 votes
0 answers
93 views

BOA hang - how to detect this and take action for this

I am having a SDK which has a boa webserver running in it to server HTTP requests. It is seen that at times the BOA server hangs. The boa server is not dead as it is shown in the device as running ...
Nidheesh V's user avatar
0 votes
1 answer
2k views

How to properly flash uboot onto SD card?

I've been experimenting with embedded linux using a BeagleBone Black. I've managed to create a minimal linux distribution using yocto. When I want to flash the secondary bootloader (MLO) and the ...
szemaster's user avatar
1 vote
0 answers
450 views

Yocto Build Error

I am building images(yocto,bitbake,busybox) for two differnt karo SOM's. Both of the configuration files are the same (including my own software) One build fails during the QA portion of the build ...
Chad G's user avatar
  • 111
1 vote
0 answers
710 views

How can I access a SPI NAND Flash Memory in embedded Linux?

I am a newbie with embedded Linux. I am using a Leon-Linux system on my evaluation board(Grmon GR712). I can compile the Linux kernel and build an image file via build-root. I want to access an SPI ...
roll's user avatar
  • 31
0 votes
1 answer
3k views

UBI layout volume not found

I am following Bootlin's embedded Linux training which aims to put an embedded Linux system on an Atmel SAMA5D4 Xplained board (theory slides, practical lab instructions) and I am stuck a putting the ...
Simon Doppler's user avatar
1 vote
1 answer
480 views

How to determine in a shell script whether DHCP is running or not

If I am running a shell script in linux environment, is there a way to determine whether DHCP is running or not? Something like below is what I wish to do in pseudocode terms: #!/bin/sh if [DHCP is ...
TheWaterProgrammer's user avatar
0 votes
2 answers
983 views

minimize boot time for linux

I am working on an embedded system. The OS is yocto project(Ubuntu). My target hardware has to start the animation application after powered on. I am starting my animation application as a systemd ...
deepan's user avatar
  • 1
0 votes
0 answers
737 views

Read only file system on linux embedded device

I am using Qt to write an app to deploy to an embedded Linux device. My dev computer is a vm running Ubuntu and it communicates with the embedded device over ethernet and rs232. Qt has a section to go ...
user avatar
1 vote
0 answers
321 views

Embeded Software Linux HOSTAPD Connection Issues

First off I don't know if this the right forum to ask this in. If you know a better one, please let me know and I will post it there, don't just downvote the question... I have an older embedded ...
shaun's user avatar
  • 111
1 vote
1 answer
5k views

Missing TUN/TAP driver on embedded Linux

I came a long way to encounter this problem, so several dead end steps will be omitted. I was trying to create a TAP interface. The first step taken was to check if I have the needed tool (which I ...
KateOleneva's user avatar
0 votes
1 answer
630 views

how to run system services by sending request via browser

I want to create an interface similar to that of a dsl router where you can edit network settings in the browser and restart the router with new settings. I want to edit some settings in the browser ...
Ahmad Karim's user avatar