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
26 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 ...
user avatar
0 votes
0 answers
33 views

Encrypt fs before creating the image in yocto

I searched how to encrypt filesystem before creating the image in yocto. I found no answer. Most of the solution require to do it after "flashing the image" but i want to do it before. ...
user avatar
  • 1
0 votes
0 answers
66 views

yocto - User-Agent: falling back to 'libdnf': could not detect OS or basearch

I am using Yocto (Hardknott) to build an image and to create the package-feed(rpm packages). One of the image dependencies is u-boot-karo (it's a custom u-boot for karo modules) and it seems this ...
user avatar
  • 1
0 votes
0 answers
96 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? ...
user avatar
0 votes
0 answers
20 views

How are different library files (.so) generated in buildroot?

I am using buildroot 2021.08 version. After generating bootloader and rootfs using make, build and images files are generated inside /buildroot/output folder which consists of various library files ...
user avatar
0 votes
0 answers
78 views

Connection closed by 192.168.10.102 port 6655: SSH Connection closed

The following error "connection closed by port" is showing up when I am trying to ssh into the board(imx6) using ssh -vvv username@ipaddress command. I also enter image description hereused ...
user avatar
0 votes
2 answers
185 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 # # ...
user avatar
0 votes
1 answer
465 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 avatar
  • 15
1 vote
1 answer
264 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 ...
user avatar
  • 11
1 vote
1 answer
277 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 ...
user avatar
  • 11
0 votes
1 answer
271 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 ...
user avatar
  • 3
0 votes
1 answer
46 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....
user avatar
  • 3
0 votes
0 answers
81 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....
user avatar
  • 111
1 vote
1 answer
55 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 ...
user avatar
  • 125
1 vote
0 answers
28 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-...
user avatar
-1 votes
1 answer
159 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 ...
user avatar
  • 153
0 votes
0 answers
251 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 ...
user avatar
  • 123
1 vote
1 answer
517 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 ...
user avatar
0 votes
1 answer
489 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 ...
user avatar
1 vote
1 answer
366 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 ...
user avatar
  • 678
2 votes
0 answers
909 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 ...
user avatar
0 votes
1 answer
522 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 ...
user avatar
1 vote
0 answers
19 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 ...
user avatar
  • 145
1 vote
0 answers
22 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 ...
user avatar
1 vote
2 answers
220 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, ...
user avatar
  • 11
1 vote
1 answer
1k 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, ...
user avatar
  • 111
0 votes
1 answer
41 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)...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 186
2 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
66 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 ...
user avatar
2 votes
0 answers
204 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 ...
user avatar
1 vote
0 answers
169 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 ...
user avatar
0 votes
0 answers
3k views

Enable telnet and telnetd services on Busybox

In order to enable Telnet on Busybox, should be enabled both telnet client and telnetd server services?
user avatar
  • 351
0 votes
0 answers
76 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
288 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 ...
user avatar
  • 111
0 votes
0 answers
117 views

I can compile and flash the code to microcontroller using mbed-cli, but the output isn't working

I installed and configured mbed-cli for Linux, following the official documentation. I can compile and flash the code to micro controller but the output isn't working (not even serial print), but it ...
user avatar
1 vote
0 answers
511 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 ...
user avatar
  • 31
0 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
334 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 ...
user avatar
0 votes
2 answers
793 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 ...
user avatar
  • 1
0 votes
0 answers
546 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
216 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 ...
user avatar
  • 111
1 vote
1 answer
4k 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 ...
user avatar
0 votes
1 answer
283 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 ...
user avatar
1 vote
0 answers
377 views

Chrome kiosk: can auto updates and Safe Browsing downloads be disabled or blocked?

I are running Chrome in kiosk mode in custom linux environment, and have IoT devices that run on cellular. I am noticing that Chrome periodically downloads approximately 3MB of data an hour, updating ...
user avatar
  • 11
1 vote
0 answers
119 views

U boot send failed: Error when trying to load a u boot image

I am trying to load a uboot image on a PCB. The board uses a pre-configured script in which it attempts to boot the board and, seeing that there is no boot image, it downloads the image over Ethernet ...
user avatar
  • 11
0 votes
0 answers
304 views

yocto embedded-linux system recovery

I work with Yocto Poky 1.7.3 on an imx6DL and i'm trying to implement a system recovery. I can boot system both from NAND and from SD card, but the "main" system resides on NAND. In case of corruption ...
user avatar
  • 1
1 vote
0 answers
614 views

Can't connect to free wifi network with iwconfig in Linux embedded

at first sorry for my English, it's very bad. I hope you will understand my problem. I'm working on Yocto dizzy and I'm trying to manage Wi-Fi connections. On my board I have a wf111 module. When I ...
user avatar
  • 11
0 votes
0 answers
41 views

Downsizing to almost embedded linux

I have a thin client machine with Puppy Linux on it and it works well. I would like to make it fast something like embedded Linux. All it needs to do is to run one Procesing sketch/app (java) in ...
user avatar
  • 1