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
0answers
39 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
1answer
51 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 ...
0
votes
1answer
65 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 ...
1
vote
1answer
93 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 ...
0
votes
0answers
208 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 ...
0
votes
0answers
69 views

Check DDR clock frequency of my embedded device

How can I check the DDR clock frequency of my embedded device. The base OS is linux running kernel 4.4, but do not have tools like lshw, dmidecode .. Wondering if is there any way to get clock ...
0
votes
0answers
51 views

Unble to add the OpenCV libraries to cmake

When I try to add OpenCV libraries to cmake file, it gives me the following error: /home/root/eyetrack-test/src/VideoDetect.cpp:15:30: fatal error: opencv2/opencv.hpp: No such file or directory #...
0
votes
1answer
115 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 ...
1
vote
0answers
13 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 ...
1
vote
0answers
18 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 ...
0
votes
1answer
97 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, ...
1
vote
0answers
120 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, ...
0
votes
1answer
23 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
1answer
440 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 ...
1
vote
1answer
352 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 ...
0
votes
0answers
37 views

Rasberry Pi-3B+ U-boot build issues with examples/standalone

I am trying to build u-boot for rasberry pi 3b+ and having the following errors during building it. Everything appears to go smooth as I invoke make only at last the on examples directory the build ...
1
vote
0answers
39 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 ...
2
votes
0answers
142 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 ...
1
vote
0answers
56 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 ...
0
votes
0answers
1k 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?
0
votes
0answers
39 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
1answer
731 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 ...
1
vote
0answers
140 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 ...
0
votes
0answers
86 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 ...
1
vote
0answers
311 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 ...
0
votes
1answer
693 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 ...
1
vote
1answer
114 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 ...
0
votes
2answers
407 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
0answers
343 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 ...
1
vote
0answers
139 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
41 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
0answers
265 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 ...
1
vote
0answers
69 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 ...
0
votes
0answers
204 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 ...
1
vote
0answers
464 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 ...
0
votes
0answers
34 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 ...
0
votes
0answers
189 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 ...
0
votes
1answer
283 views

Cannot find USB external HDD /dev/sda

I am running as usual my orange pi one plus H6 ALL WINNER with ubuntu server and cannot find my exFat HDD on it, it detects the usb but not /dev/sda and cannot mount or access it, yes I tried with ...
2
votes
0answers
276 views

How does tcpdump configure an interface it begins to capture packets from?

On an Arago embedded linux system, an interface would normally be able to ping other destinations on the network. However, the pings stop working when using a utility such as iperf or scp to send TCP ...
1
vote
1answer
742 views

U-Bboot won't autoboot but manual boot works fine

I've built an image for a Freescale iMX6 EVK board (ARM based), using Buildroot. It booted fine off an SD card, and I wanted to experiment with customized boot commands in U-Boot. I want to make the ...
1
vote
2answers
7k views

how to read CSD register from eMMC using mmc-utils

We have beaglebone black based custom board with 512MB RAM and 4GB eMMC. I was trying to read CSD register from the board however I am getting following error. # mmc csd read /dev/mmcblk0 MMC/SD ...
0
votes
1answer
110 views

Barebox: USB cannot detect by “usb” command

I have embedded system running Linux barebox. I can't detect the usb by command "usb". I have plugged in the usb storage but when i run "usb" it shows "USB: scanning bus for devices... 0 USB Device(...
1
vote
2answers
2k views

Instantly assign static IP address in embedded Linux

Is there some basic Linux way to assign a static IP address without writing some files, just for the current session until reboot?
0
votes
1answer
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
1answer
305 views

Booting linux kernel via bootftp

I have P2020RDB board with U-Boot 2013.01-00115 installed with custom embedded Linux distro and everything works fine for now. However, for some testing purposes, I need elegant way of switching ...
3
votes
2answers
4k views

How can I read the flash device ID that is installed, perhaps via the mtd interface?

In our embedded Linux solution using uClinux, I have just added a larger flash device. I want to be able to query which device I have installed (hardware device). The small and large device both have ...
-1
votes
1answer
186 views

using dd to get certain parts of the sdcard - use bs and count?

Now that I am running dd, I am worried that I might be getting the bs and the count wrong… This is the command I used… dd if=/dev/nbd1 conv=sync,noerror bs=4M count=3082239 | gzip -c > /mnt/...
1
vote
1answer
675 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 ...
3
votes
0answers
256 views

mono installation stalls - mcs is not producing progress

I am trying to build Mono from its git repository on Freescale P2020RDB board. I've managed to build it on host machine with Debian 8 with cross compiler and it works like a charm. However, due to ...