Questions tagged [embedded]
The use of Unix in embedded computer systems such as networking equipment, mobile phones, media players, set-top boxes, etc.
807
questions
-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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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";
...
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 ...
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 ...
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'...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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 ...
-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 ...
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 ...
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 ...
-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:
...
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 ...
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 ...
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 ...
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-...
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.
...
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 ...
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 ...
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 ...