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.

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
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. ...
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 ...
-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
2 answers
3k views

Cross-compile libgpiod library and use it in my program

I am trying to cross-compile a program with the "gpiod" library. My host pc has Ubuntu 18.04 and the target platform I am cross-compiling for is a Board with IMX8X SOM. I found source code ...
41 votes
9 answers
170k views

How to check password with Linux?

I want to check, from the linux command line, if a given cleartext password is the same of a crypted password on a /etc/shadow (I need this to authenticate web users. I'm running an embedded linux.) ...
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 ...
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
2 answers
2k views

Estimate RAM usage information of an embedded device

I'm monitoring the performance of an ARM-based embedded device which runs poky linux distro (from Yocto project) which contains OpenEmbedded build system. I need to get the MHz (CPU cycles) ...
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"; ...
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
1 answer
2k views

NFS mount failed after upgrading server, no route to host, embedded, nfsvers=4

After hours of reading and try and error process i'd like to explain my nfs mount problem and solution. I was working for years on a virtual debian 8.5 host system to develop software for multiple ...
2 votes
1 answer
5k views

sfdisk doesn't work anymore?

I updated my OS to Ubuntu GNOME 15.10 but now I have a huge issue : sfdisk doesn't work! I really need it to build partitions on my SD cards for an embedded Linux but it seems that the options ...

15 30 50 per page
1
2 3 4 5
54