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)
125 questions
1
vote
0
answers
56
views
EXT4 filesystem corruption and Input/output errors on SD card partition after Yocto WIC image
I’m working with a Yocto-based Linux system and encountering filesystem corruption issues on an SD card partition.
Block devices (from dmesg):
mmcblk0: internal storage (~29.6 GiB)
mmcblk1: SD card (~...
0
votes
0
answers
67
views
Ethernet Stress-Test results in high latency
I have an embedded system, running Linux kernel 6.6. It is connected through 1Gbps Ethernet to my Windows computer.
On the embedded system I have a Server application which listen for a TCP connection....
2
votes
0
answers
104
views
How to run a 68000 binary (68376 binary) on a modern version of embedded Linux?
We are developing an embedded product, using Yocto Linux on an ARM architecture, a STM32 from ST.
For the current release, we aim to re-use, as quick and dirty as possible, the code originally written ...
1
vote
2
answers
829
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 ...
1
vote
0
answers
389
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 ...
2
votes
1
answer
1k
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. ...
0
votes
0
answers
352
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 ...
0
votes
0
answers
692
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-...
0
votes
0
answers
247
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 ...
3
votes
0
answers
1k
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(...
0
votes
0
answers
359
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 ...
0
votes
0
answers
4k
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?
...
0
votes
2
answers
2k
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
#
# ...
0
votes
1
answer
3k
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 ...
1
vote
1
answer
1k
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 ...