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)
126
questions
1
vote
0
answers
750
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 ...
1
vote
0
answers
309
views
linux virtual comport drivers for AR drone.
I have been working on this problem for quite a while now and cannot seem to find the correct driver for Linux to interface with an STM32F407. The Linux runs on an AR drone 2.0. The STM already acts ...
1
vote
1
answer
1k
views
How to get serial number or UUID from MTD device?
I have an embedded device with MTD device over NAND flash. Is it possible to get its serial number or UUID?
I thought there might be a solution similar to getting UUID of hard drive but I didn't find ...
1
vote
0
answers
684
views
Modifying IP camera firmware
I have a D-Link DCS-931L IP camera and it started to lose wifi connection regularly. To debug the problem I tried to log into it, but any remote access is prohibited (except web interface which is ...
1
vote
0
answers
1k
views
Can I use a squashfs file sitting on a hard disk as my rootfs?
I need to do remote updates on an embedded Linux box that has its rootfs on /dev/sda1.
My first thought was to add an update partition and switch to it on update, but for reasons specific to our ...
1
vote
1
answer
3k
views
Handling bad block in NAND flash memory
Is there any way/tool/utility to correct the badblock on the NAND device ?
We are having custom board based on beaglebone but instead of mmc we have NAND flash.
MTD partitions on the NAND are as ...
1
vote
0
answers
250
views
My own linux corded keyboard driver and interface to my embedded application
I want to develop my own keyboard driver to my own keypad. I have to use GPIO to identify Key Events and use I2c to get scan code.
I am going to develop the driver like this.
#include <linux/gpio....
1
vote
0
answers
1k
views
changing the boot logo on embedded linux (angstrom)
i have am3517 based embedded board and i have installed my own kernel and filesystem compiled with angstrom toolchain. Now i want to change the bootscreen logo?
Is there anyway to do that?
Thanks ...
1
vote
0
answers
851
views
Adding udev for embedded linux
I am using an arm processor and linux busybox as my OS. I want to add udev running in my system. The system has mdev. But doesn't seem to fulfill my need. How can I add udev for my system?
thank you.
1
vote
0
answers
46
views
Need suggestions for system wide profiler for an embedded linux device
I would like to profile my embedded linux device for various actions (e.g. touch input on screen, flip a page in a news reading app etc). But the requirement is that the profiler should generate ...
1
vote
0
answers
481
views
Booting with nfs just prints some weird character
Problem
I have an embedded system which I am unable to boot via NFS using an Embedded Linux Kernel Image and rootfs both placed on my laptop (which serves as the NFS server as well as a TFTP server)...
1
vote
1
answer
248
views
Setting tcp ip argument while booting up linux
Could somebody explain me how to set the tcp ip parameter while linux boots up in my board.
Currently i am giving it like : tcp ip=:::::eth0:dhcp
If i have my own static ip and its corresponding mac-...
1
vote
2
answers
4k
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, ...
1
vote
2
answers
305
views
Remove first N lines from an active log file without logrotate
Is there a way to remove the first N lines from a log that is being actively appended by an application without using logrotate? (opkg install logrotate -returns: Unknow package 'logrotate')
0
votes
1
answer
658
views
IPv6 conflict on same network
My requirement is, i am trying create a graphical user interface for my embedded system for ipv6.So i have option for setting manual IPv6 address.My requirement is when i enter manual IPV6 address,i ...
0
votes
1
answer
6k
views
How to disable logging to serial terminal - embedded linux
I have an embedded device running embedded linux and I connect to it using a serial port. I am capturing the logs I need using cat proc/kmsg into a file in a background process. I would like to not ...
0
votes
1
answer
4k
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 ...
0
votes
2
answers
1k
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 ...
0
votes
2
answers
2k
views
Scalable and simple VPN solution for embedded devices
I'm looking for some sort of VPN solution with the following requirements:
Server should be available for a Window Server 2008+
Client should be available for Debian Linux
Light-weight and scalable, ...
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 ...
0
votes
1
answer
172
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....
0
votes
1
answer
1k
views
Lede and multiwan (mwan3), all interfaces offline
I've created two WAN interfaces, called wan and wan2, both show up in the Load balancing tab as being offline.
I can still access the internet but I want to set up multiwan to direct specific zone's ...
0
votes
2
answers
6k
views
Kernel panic - not syncing: No init found
I am working on custom embedded Linux distribution on P2020RDB-PCA board and I've got stuck on following errors at boot time:
EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is ...
0
votes
1
answer
422
views
Embedded Linux board with NFS boot and SSH
We have a BeagleBone Black-based embedded Linux board. It has eMMC and I have setup for NFS boot also.
When I am booting the board from eMMC, I am able to connect board through SSH but when I am ...
0
votes
1
answer
433
views
What does these udev rules mean?
The following is taken from an embedded system which does not have hard drive in it.
KERNEL=="sd?", SUBSYSTEMS=="usb", DRIVERS=="usb-storage", NAME="sda"
KERNEL=="sd?2", SUBSYSTEMS=="usb", DRIVERS=="...
0
votes
1
answer
913
views
Embedded Linux Distribution for thin client
I have a WYSE j400 thin client and I want to experiment with different functions for it. It currently has a 1ghz VIA CPU, 1gig of SDRAM and a 512mb flash IDE.
Is there a recommended embedded Linux ...
0
votes
2
answers
5k
views
Linux TFTP server external access through router
I am using Ubuntu as the host machine for my embedded Linux board with the tftp-hpa service. I can boot just fine using the u-boot bootloader while passing the local ( 192.168.1.10 ) ip address of the ...
0
votes
2
answers
3k
views
Capture the putty log to a file
I start putty from a linux terminal.When it starts/invoked i set the serial line and the speed option. I want to capture what ever that is shown on the putty to a file after doing the above.How to do ...
0
votes
2
answers
2k
views
Embedded Linux Reboot Crash
I'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.
~ # reboot
~ # Syncing hardware clock to system time
hwclock: Could not access ...
0
votes
0
answers
481
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 ...
0
votes
0
answers
13
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....
0
votes
0
answers
69
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 ...
0
votes
0
answers
173
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
397
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
168
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 ...
0
votes
0
answers
216
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
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?
...
0
votes
2
answers
1k
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
318
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 ...
0
votes
0
answers
177
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....
0
votes
0
answers
508
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 ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
91
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)...
0
votes
0
answers
100
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 ...
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 ...
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 ...
0
votes
0
answers
800
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 ...
0
votes
1
answer
709
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 ...
0
votes
0
answers
458
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 ...
0
votes
0
answers
43
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 ...