Questions tagged [embedded]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 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
13 views

How to solve the following error from petalinux?

I have tried to use petalinux to boot a zynq 7000 board but falied to boot. I have found the following error in the petalinux and never found a solution. Connection refused while executing "error ...
Creator's user avatar
  • 101
0 votes
0 answers
32 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
14 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
  • 111
0 votes
0 answers
36 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
47 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
27 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
23 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
87 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
42 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
19 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
34 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
35 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
42 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
82 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
0 votes
0 answers
122 views

How to modify timesyncd.conf in a yocto recipe

I have a yocto build and now I am trying to write a recipe in which I can adjust the parameters in the configuration file under /etc/systemd/timesyncd.conf. Responsible for the file is probably the ...
schande's user avatar
  • 113
1 vote
1 answer
45 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
59 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
80 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
  • 189
1 vote
1 answer
66 views

Why does linux freezes when trying to access peripherals connected to the lightweight hps-to-fpga bridge (or any bridge)?

I have been working on a Altera DE1-SoC Development Board for 8 months. The system I was working on includes a Cyclone V FPGA chip, particularly the 5CSEMA5F31C6N. It was running an embedded Linux ...
SMAero22's user avatar
1 vote
1 answer
258 views

How do I edit '/etc/ld.so.conf' in a yocto recipe?

As suggested by Zac Anger, i copy this question over here: I have a yocto recipe in which I copy/install some stuff to an image. After that, I want to add a line to the /etc/ld.so.conf file like this, ...
schande's user avatar
  • 113
0 votes
0 answers
65 views

Building image for QSPI flash memory

I am working with development board which runs Linux system built in Yocto. I boot the board from the SD card. My boot partition has three files: BOOT.bin (bootstrap), u-boot.bin and u-boot.env. I ...
user1111's user avatar
0 votes
1 answer
83 views

IIO Unable to refill buffer: Connection timed out (110) error when running iio_readdev

I have made a custom Linux image with Yocto for use with CN0540 and DE10-Nano. The manufacturer of the CN0540 (Analog Devices) provides an evaluation image for the board, which works without issue, ...
ThePumkinMelon's user avatar
0 votes
0 answers
33 views

run max3421 on device with 3.18 Linux kernel

I need to run USB over SPI on the board which supports only 3.18 kernel. We use MAX3421 because driver for it is in kernel source. I add to device-tree : &spi_1 { status = "ok"; ...
ulad.by's user avatar
0 votes
0 answers
68 views

How do I build Alpine Linux on BeagleBone Black?

Currently, I am exploring Embedded Linux and found out that Alpine is a good place to start with that. Thus, I tried to build Alpine on BeagleBone. I tried out multiple methods: The Generic ARM setup ...
Ayyappan Subramaniam's user avatar
0 votes
0 answers
43 views

How to install the wireless LAN card driver on embedded Linux

I wanted to use AP mode with embedded Linux and wireless LAN card I connected the wireless LAN card to the embedded board with USB, but the commands like ifconfig and iwconfig didn't recognize it ...
spino's user avatar
  • 1
0 votes
0 answers
90 views

Clone of a functional 32GB SD card doesn't boot

I have a Pine64 from the original Kickstarter (2016.) It boots from a 32GB SD card, which I've imaged from an Ubuntu16 Pine64 image file. I've created a full disk backup of this 32GB SD card using ...
BurningKrome's user avatar
1 vote
1 answer
318 views

u-boot/linux hangs after "Starting Linux...."

I need some pointers on how to debug this further. My setup looks like this: Hardware: CM3 Pi Firmware boots u-boot, u-boot loads FIT image and is supposed to boot it. FIT image contains the kernel (...
Chris Pahl's user avatar
0 votes
1 answer
207 views

What are the best practices for configuring durable IOT Linux devices? Should I use an Overlay File System?

In the past our company used raspberry pi's for our IOT application. The problem with that was that SD cards wear out and get corrupt. We now ordered Compulab SBC's with eMMC storage running Debian. ...
Matebo's user avatar
  • 19
0 votes
1 answer
171 views

Programmatically query last DHCP lease time

I have a buildroot embedded Linux where I change the ethernet port settings (i.e. disabled, static or DHCP) from a C++ program. When switching to DHCP, it would be nice to determine when (i.e. ...
Niko O's user avatar
  • 123
0 votes
1 answer
50 views

Debugging random loss of communication in embedded Linux device using PPP and cellular connection

I am working on setting up an embedded linux device so that it can connect to a backend server via cellular connection. I am using PPP version 2.4.2 and a Sequans cell chip. I have the device working ...
jroLayz's user avatar
0 votes
1 answer
45 views

Can we use nand device for swap on embedded system?

Om my embedded system I want to use swapping . On my system we have Nand device only which I can use as swap . But I am not able to so since mkswap /dev/mtd8 returned error: mkswap /dev/mtd8 Setting ...
amrita kumari's user avatar
1 vote
1 answer
92 views

^C SIGINT does not work in adb shell in Linux

I am working on an embedded Linux system, which uses kernel-5.10.24. It uses busybox as init, and has other utilities in rootfs, including adbd. I can run adb shell from PC to login to the embedded ...
wangt13's user avatar
  • 327
0 votes
0 answers
79 views

sigtimedwait sets errno to ETIMEDOUT with timeout=0

In a cpp multithreaded program, we're using a copy of Linux sigwait implementation at the end of our main function, after creating all threads and initializing our program: sigset_t mask; ...
binks's user avatar
  • 1
1 vote
1 answer
367 views

Getting a Waveshare CAN HAT working on a Banana Pi BPI-M2 Zero

Waveshare makes a great CAN HAT for the Raspberry Pi (see here), but the instructions only work for Raspberry Pi OS, not for Armbian. The Banana Pi BPI-M2 Zero has the same pin header layout as the ...
johnnyb's user avatar
  • 71
2 votes
1 answer
194 views

How do I reference a port in the device tree?

Edit: this is a general question about referencing ports with phandles and the example I posted i.e. my particular case is not that relevant because meanwhile I have observed the same behaviour with ...
ldd3's user avatar
  • 71
0 votes
0 answers
69 views

How to make a fixed size ubi image?

I am trying to write to nand after modifying the existing ubi image. NAND Block Size : 131072 NAND Page Size : 2048 But I don't know how can I make a fixed size ubi. Original Image: $ ls -al ...
user212942's user avatar
0 votes
0 answers
77 views

Force a specific device to be in suspend state

I'm working on a battery powered custom stm32mp2-based board. Several peripherals are present on this board (NFC, LCD, USB, ...). When the system is not interacting with a user it is switched to a ...
A.G.'s user avatar
  • 113
0 votes
0 answers
36 views

Dump kprint buffer after warm restart

I have the problem, that my Linux machine in some situations just stops and I have no clue what exactly is happening. It's when I run a certain software. It's an embedded ppc64 system, running the ...
user3895986's user avatar
0 votes
1 answer
522 views

How to read rtc driver data (dev/rtc0) from embedded c application?

I'm basically trying to read the output of the below command in my c application. timedatectl so basically I wanted to read the RTC time through my application so for the same reason I was trying to ...
Omkar Dixit's user avatar
0 votes
0 answers
46 views

linux clock tree problems

Do have 2 board with slightly different hardware (same SoC). While kernel/uboot source are same, the dt slightly differs. But I don't touch the overall clock settings. Nevertheless what systems gives ...
Arno's user avatar
  • 115
1 vote
1 answer
118 views

DDR memory errors or page cache corruption?

System: embedded, arm64 (4xCortexA53), 2GB LPDDR3, eMMC memory, Linux, kernel 5.4.17. I am experiencing issues with random system crash, that in normal operation will happen every 2 days to every &...
OskarM's user avatar
  • 11
1 vote
1 answer
141 views

How can I flash an embedded device with new linux software?

I have this IP camera that I bought that's really pretty shady (it streams all the videos to some S3 bucket and forces me to use their software), but I'm pretty sure it runs embedded linux and I'm ...
DAB's user avatar
  • 465
1 vote
0 answers
27 views

facing isue in UDP multicasting after changing ip of the device

we have a requirement for UDP multicasting in our project using Linux 4.1 kernel with static ip address. basic UDP multicasting using sendto function to send data is working fine with device static ip ...
Rajesh's user avatar
  • 11
0 votes
1 answer
71 views

I can not use keyboard for Debian

I am using Debian desktop for Lichee Pi and I am new this platform(linux). I communicate serial with lichee pi using putty. I made the lichee pi connection with the keyboard using microusb to usb ...
SpeedyGonzales's user avatar
0 votes
0 answers
226 views

Enable bluetooth configuration in a Raspberry Pi 4

Basically I'm trying to enable bluetooth in my Raspberry Pi 4 using buildroot 2022.08. Since I want to use bluetoothctl command I already enable the bluez-utils package and the respective firmware ...
carloscs11's user avatar
0 votes
0 answers
251 views

Getting hardware info without user space tools like lshw, dmidecode

I run an embedded Linux distribution without possibility to install new tools on a PC with an Asus Z790 motherboard. In which file(s) can I find hardware info about RAM (manufacturer, model...) ...
kali mera's user avatar
0 votes
1 answer
2k views

How to load device-tree overlays

I know this is a topic, on which there are several other posts. However none? of them has an accepted answer or even a helpful comment. But in short, how can load a device tree module (without ...
flobue's user avatar
  • 31
0 votes
0 answers
24 views

Linux bootup time analysis

systemd-analyze details shows a mmcblock device takes around 5s and a lot of device files are getting generated. Altogether, the device files are taking around 10s. What should be the ideal time for a ...
Susavan Bachhar's user avatar
0 votes
1 answer
546 views

Yocto - check if a device tree is enabled in the image

I am currently generating a specialized Yocto image for a Beaglebone device. In the resulting /tmp/deploy/images folder I can see the resulting image, plus alot of device tree files .dtb for different ...
Engineer999's user avatar
  • 1,121

1
2 3 4 5
16