Skip to main content

Questions tagged [embedded]

The use of Unix in embedded computer systems such as networking equipment, mobile phones, media players, set-top boxes, etc.

-4 votes
0 answers
86 views

dd command arguments [closed]

DECIMAL HEXADECIMAL DESCRIPTION ---------------------------------------------- 6891498 0x6927EA JBOOT STAG header, image id: 0, timestamp 0x25000481, image size: 295211 bytes, ...
minto's user avatar
  • 535
0 votes
1 answer
31 views

How to get root-Access and/or update/extract firmware via UART

I would like to try to equip my non-specific China-Wall-Brick-WiFi-Router with root access and update it if necessary. Here is a sample image of the device: The problem is: The device has no official ...
Adrian Preuss's user avatar
0 votes
1 answer
19 views

Writing to an External USB Flash Drive When Power Could Be Lost

I'm looking into building a small embedded device, probably using a Banana Pi M2 Zero. In any case, the device will not have a graceful "turnoff" - it will simply lose power. However, I'm ...
johnnyb's user avatar
  • 101
1 vote
1 answer
19 views

drmModePageFlip() is failing when process started by systemd service

I created one Linux(STM32MP157 Olinuxino) application which uses DRM and OpenGL libs. The app is running without any issues when started from terminal. My application calls drmModePageFlip() twice ...
Yugandhar Babu's user avatar
0 votes
0 answers
36 views

ALSA: How to duplicate audio so it comes out of two devices at once

I have two devices playback_bt (Connects to BT chip) and aduplex_rtp (which delivers audio to a device/speaker over rtp). I can use aplay to play sound to them individually. I want to be able to write ...
Cameron McFie's user avatar
1 vote
1 answer
53 views

Is systemd viable for embedded when storage is not a concern?

Excuse me if this is a dumb question. I've been experimenting with this old nas box i bought, cross compiling anything and everything i could get my hands on. And now i want to take it a step further ...
8_Peter_8's user avatar
0 votes
0 answers
13 views

wpa_supplicant fails to connect with some routers

I have a Yocto Linux device equipped with a Laird 450-0152r wifi module. When the system boots, a systemd service creates an access point using the following script: #!/bin/bash modprobe brcmfmac iw ...
firion's user avatar
  • 149
0 votes
0 answers
9 views

Fail to set a touchscreen in Device Tree

I'm trying to connect a touch controller via I2C to my DART6UL linux embedded board. The follwoing if what I add to my device tree; egalax_ts@2a { compatible = "eeti,egalax_ts"; ...
LittleSaints's user avatar
0 votes
0 answers
20 views

Unable to communicate with I2C fuel gauge

I'm trying to communicate with an LTC2959 (datasheet) battery fuel gauge via I2C from my linux-based SBC. I'm not succeeding and I suspect a hardware or device-tree issue. The IC address is 0xC6 which ...
davegravy's user avatar
  • 193
1 vote
0 answers
74 views

Remote control and display of embedded Linux devices

Background information - We have two custom embedded Linux devices that both contain their own GUI for operating and controlling each device and it's software/firmware. The devices are class 2 medical ...
Dheitkamp96's user avatar
0 votes
1 answer
58 views

Keypad driver does not input character with input_report_key()

I am trying to create Linux input device driver and to test things I took at existing gpio-matrix-keypad driver. Using print I know that input_report_key() is called with correct keycode, but it doesn'...
MegaRaman's user avatar
0 votes
1 answer
27 views

Embedded Linux - How come virtual kernel memory is bigger than physical memory?

I'm running a custom Linux distribution on my ARM-based system (it's got two A7s). The Linux kernel version is 4.86.9. In the process of investigating some weird graphical glitches occuring on the ...
Frank's user avatar
  • 9
0 votes
1 answer
25 views

How would one build a working Linux volume for a 32-bit PowerPC headless platform using a non-PPC host?

Is there a tool similar to debootstrap for a recent Linux distribution that supports PPC so I could build a working system or have an automated process to cross-compile a base install?
rbanffy's user avatar
  • 1,218
0 votes
0 answers
14 views

Linux issue on Olimex Lime 2 board after two weeks in operation

I'm working on embedded board Olime Lime 2. I use official Olimex image. My system contains only a Nginx web server and a Python program. I'm testing if my system can operate for long periods. For ...
Julien's user avatar
  • 1
0 votes
1 answer
56 views

How to scan barcode in JPEG format with zbar in Linux?

I am working on an embedded Linux system (kernel-5.10.24). Now I am trying to use zbar-0.23 to scan barcodes in JPEG format, but I don't know how to do that. There is an example/scan_image.c, which ...
wangt13's user avatar
  • 443
0 votes
0 answers
116 views

Linux USB gadget configured through configfs

I have successfully configured USB On-The-Go (OTG) on an STM32 MPU (Linux) to support both Abstract Control Model (ACM) and Human Interface Device (HID) protocols. I utilized the ...
Barak1's user avatar
  • 1
2 votes
3 answers
46 views

Is Linux /usr/share/zoneinfo/ Platform Agnostic?

I am working with an embedded Linux (ARM/busybox) system. It has systemd and the timedatectl system executable, but it does not have /etc/timezone, /usr/share/zoneinfo, nor the zic timezone data ...
f1fan44's user avatar
  • 33
0 votes
0 answers
37 views

How can I force systemd journalctl to output log in sequential order in case of frequent clock changes?

I have a standalone debian-based system that -- for the simplicity -- can be taken as not having RTC. The system clock can be set during operation, both forwards and backwards. I thought that ...
Ferenc's user avatar
  • 101
-1 votes
1 answer
88 views

Which SD card journaling file system for Windows and Linux?

I have to make a choice between all SD card file system for an embedded device under Linux. The goals are : Read and Write under Windows and Linux Journaling file system to prevent system crash or ...
oBe's user avatar
  • 1
0 votes
1 answer
169 views

shutdown now extremely slow due to service with DefaultDependencies=no

I have an embedded Linux system that takes a really long time to shutdown when a specific service that I've made is running. It needs to start running as soon as possible thats why it has the ...
owndampu's user avatar
0 votes
1 answer
32 views

How to route sgtl5000 audio within the chip?

I have an embedded device with an sgtl5000 audio codec, linked to an iMX8 CPU via SPI. According to the datasheet, there is a direct route from LINE_IN to HP_OUT, which avoids sound travelling through ...
fadedbee's user avatar
  • 971
-1 votes
1 answer
64 views

I am trying to emulate a board which has a OLED display, but can't see anything. Can you tell me if there is something important I am not considering? [closed]

I am just a newbie that is trying to learn. I can't see anything in the OLED display (ssd0303). I am just using this demo: https://www.freertos.org/portlm3s811keil.html as you can see it says that: ...
Allexj's user avatar
  • 265
0 votes
0 answers
31 views

rotating the screen with boot args

I have an embedded linux system which doesn't run a display server/compositor. Instead I run apps through drm/gbm/opengl. One of the issues however is that the screen is upside down in some ...
owndampu's user avatar
1 vote
0 answers
163 views

Is it possible to specify sleep mode "freeze, mem, suspend and etc." using systemctl?

As far as i know we can know we can check which low power configurations are available for our Linux computer by reading /sys/power/state file. We can turn low power mode by writing one of this ...
snowonthemoon's user avatar
0 votes
0 answers
50 views

Display works when U-Boot loads but not with Arch Linux ARM

guys. I installed Arch Linux ARM on my old Allwinner A31s tablet. I can use it via UART/serial console but I can't get the display to work. The tablet turns on, U-Boot loads and shows your submarine ...
fr2z93's user avatar
  • 1
0 votes
0 answers
78 views

Yocto Project for a New Board

I am trying to hunt down specifics on Yocto in regards to how to set up the filesystem before the build of poky. I have a new board that I wanted to try Yocto on. I have this FS so far after source oe-...
De Funct's user avatar
  • 105
0 votes
1 answer
93 views

How do I remove ntpd from the final image with my own recipe?

I want to get rid of all ntpd related stuff from my yocto linux image. Currently I include the meta-openembedded layer, which is responsible that the NTP service ntpd is installed on my final image. ...
schande's user avatar
  • 115
0 votes
1 answer
85 views

Handle Partition Changes Embedded System

I have to update some outdated embedded systems. But the RAUC Update contains four partitions, while the old systems have only three partitions. The additional Partition is at the start of the disk ...
Cellcon's user avatar
  • 135
0 votes
0 answers
66 views

Accessing internet from device connected to AP

I have two interfaces uap0 and eth0 in my embedded Linux device. uap0 acts as an access point for other devices to connect to Linux Device. eth0 interface is connected to my router. And my router is ...
G-Smart's user avatar
  • 11
0 votes
1 answer
314 views

Unable to ping or ssh into embedded Linux device: eno1 has no IPv4 address

I am trying to ssh into an embedded Linux device (let's call it petalinux) connected to my Ubuntu server running 22.04 (let's call it oip). petalinux and oip are connected by a direct ethernet cable ...
rkshthrmsh's user avatar
1 vote
0 answers
36 views

Need to modify OS of a device which use Embeded linux with u-boot

I have a Congatec device running Linux with U-Boot (U-Boot SPL 2015.10+fslc+g4e28939_). I need to modify certain settings within this embedded Linux environment. The challenge lies in the fact that ...
Linux Dev's user avatar
1 vote
1 answer
4k views

How to find the port number given the ip address

I could find the ip address of my board by using ifconfig but I need the port number as well to set Linux TCF agent. I tried netstat with several options but could not find as it returns too many and ...
Creator's user avatar
  • 113
0 votes
1 answer
322 views

Stream MP4 file over usb

I have an embedded system running a custom distro built using Yocto. Later down the line, I will have a usb camera plugged into the system, but for not I would like to use a .mp4 file as a "dummy&...
ESD's user avatar
  • 103
0 votes
0 answers
46 views

clone uboot and embedded linux fw (openwrt) to a single binary image

I have my embedded device with the following partition: # cat /proc/mtd dev: size erasesize name mtd0: 00030000 00010000 "u-boot" mtd1: 00010000 00010000 "u-boot-env" mtd2: ...
MOHAMED's user avatar
  • 301
0 votes
0 answers
140 views

Errors when trying to bring ethernet interface up on embedded Linux

I am trying to compile the Linux kernel (3.0.8, buildroot-gcc-12.3.0, ARMv7) to run on my IP camera. eth0 is not able to get up. At first, kernel boot just crashed at Starting network step: Unable to ...
hypers's user avatar
  • 101
0 votes
0 answers
36 views

`w` not working on Buildroot

I'm working remotely on an embedded device running Buildroot. My colleagues are working on this same device, so it's important to know who else is logged in. For a previous project (running on a non-...
Opifex's user avatar
  • 420
0 votes
1 answer
288 views

Shift the address in the hex file with Offset

I want to update the hexfile start address with offset. For example, i have a hex file name abc.hex and start with address 0x0000 to 0xFFFF. But I want to shift the context in the hexfile to the ...
sagar's user avatar
  • 3
1 vote
1 answer
721 views

Mounting OverlayFS in fstab at startup

Is It possible to Mount OverlayFS from external partition in fstab and benefit from systemd services extensions at startup ? Thus overlay directory tree will add new systemd services configuration ...
K. PANIK's user avatar
0 votes
0 answers
274 views

Usb device wont enumerate after booting kernel on a custom board : usb 1-1: device descriptor read/64, error -71

When i plug in my usb device I get the following errors: usb 1-1: new high-speed USB device number 2 using xhci-hcd usb 1-1: device descriptor read/64, error -71 usb 1-1: device descriptor read/64, ...
Sujan SM's user avatar
2 votes
0 answers
121 views

Ubuntu wired ethernet can be detected but can't connect to any other divice with RX data transfer always zero

Platform CPU: RK3288 ARMv7 embedded processor Memory: 2GB NIC: RTL8211E chip on board OS: Ubuntu 14.04.1 LTS root@9tripod:~# uname -a Linux 9tripod 3.10.0 #26 SMP PREEMPT Sat Mar 4 17:06:44 CST 2017 ...
NeNe's user avatar
  • 21
1 vote
2 answers
748 views

Find out number of available USB endpoints

I am running Linux on an embedded system. The SoC of the system has a USB 2.0 port, and the datasheet claims that there are 8 endpoints available. Is there any way I can verify this in software? ...
Unturned's user avatar
0 votes
0 answers
71 views

Why is the serial communication with this device failing?

I have two serial to USB adapters connected to my computer, each one is connected to a microcontroller. What I want to do is send commands to each microcontroller through UART (I'm using minicom), but ...
EmTor's user avatar
  • 1
0 votes
0 answers
27 views

RB5 linux system cannot use ssh to connect V2X with the serial port

I have a V2X module, and I cannot it to linux/window PC with USB. Then using the command ssh [email protected], and entrance the v2x module.root@autotalks:~# However, when i used the RB5, the ssh root@...
YUKI's user avatar
  • 1
0 votes
0 answers
46 views

heavy timing jitter in a loop that just sums up data, why? only imx8 suffered?

I created in C a small application that does allocate 2 char buffers of 5 MByte do a loop 1000 times in the loop either sum up all elements of array1 or array2 (alternating), so in an internal loop ...
Arno's user avatar
  • 115
0 votes
1 answer
185 views

ethernet interping issue, Im able to ping to both eth0 and eth1 from eth0 itself. why?

In one of the projects, we are using the MYC-Y7Z020-4E512D-766-I SOM module with Linux kernel 4.1.4. Here we wanted to use 2 ethernet ports eth0 and eth1 our requirement is to set the IP of eth0 and ...
Rajesh's user avatar
  • 11
1 vote
0 answers
80 views

When should I create a device driver?

I am working with an embedded system which has lots of code written by people, usually with more expertise than me. Part of the embedded system kernel has a custom device driver based in I2C and V4L, ...
Marco Montevechi Filho's user avatar
1 vote
1 answer
350 views

How to configure connmand to not to add the unnecessary route with IP 0.0.0.0 and GW 0.0.0.0

The below route is sticky, even if manually deleted, it gets added by connmand (Connection Manager Daemon) with another interface name. If the specific interface is made down using ip link cmd, I see ...
vs_proc's user avatar
  • 13
1 vote
1 answer
81 views

Where to place config file created by systemd

I have a systemd service running on a Raspberry Pi that reads the configuration from EEPROM and converts it into the .env format. This allows other programs to easily parse the configuration later on. ...
Kotochleb's user avatar
0 votes
0 answers
119 views

Corrupted EXT4 filesystem on embedded Linux (A20 Olimex Lime 2) with clean poweroff

Context I'm here to talk to you about an EXT4 filesystem issue that I don't understand. In my company, we are working on embedded Linux system. We use the board Olimex Lime 2. T2-OLinuXino-LIME2-...
Julien's user avatar
  • 1
0 votes
1 answer
190 views

what are the potential benefits of using YOCTO for generating custom distro and rootfs over using the ones supplied by vendor [closed]

I read about comparisons between buildroot and YOCTO project (google) regarding building rootfs and wanted to ask a more general question: What are the potential benefits of building my own rootfs ...
hutcruchi's user avatar
  • 359

15 30 50 per page
1
2 3 4 5
17