Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
0answers
8 views

How to fix MPU9250 configuration issue in device tree?

I have set up an i2c protocol which detects the mpu9250 at address 0x68. Now I want to configure the mpu and I have updated my dts file with the following lines of code: mpu9250@68 { compatible = ...
0
votes
0answers
32 views

How to use read-only permissions to prevent corruption on a writeable filesystem?

I'm developing an embedded Buildroot OS for the Raspberry Pi. This system will be turned off by simply removing power (there will be no shutdown timer), therefore it must be able to handle poweroff ...
0
votes
0answers
26 views

Embedded Linux device with high CPU Load Averages

I'm tinkering with an Embedded Linux device that is utilizing an ARM6 CPU (single core) that seems to be experiencing high CPU Load averages. This is what I am seeing after 10 minutes of being ...
1
vote
1answer
27 views

Populate environment in non-interactive session

I'm working on an embedded device that runs Yocto Poky as distro. The final product will have several applications that are started by SysVinit. There is only one root user. I have some scripts, ...
0
votes
0answers
18 views

Read-only filesystem for fastest boot?

I'm trying to figure out which read-only filesystem I should use to achieve fastest possible boot time in a stripped down embedded system using the Raspberry Pi Zero W (with the OS booting from the SD ...
1
vote
0answers
11 views

Automate driver loading question [closed]

I want to automate driver loading through hotplugging on an embedded linux system I am configuring. Through some research I've found the way I might want to do it is use udev rules to run a script, ...
0
votes
0answers
30 views

Linux system process activity suspended

Introduction: I am running a cpp application on an embedded systems device with onboard Linux, which gathers sensor data, prepares it into a JSON formatted string payload and publishes the payload on ...
0
votes
0answers
24 views

udev and kernel show no events from usb devices

I run embedded linux on a zedboard-like platform. I need to create udev rules for some various devices that will be plugged into it. I have gadgetfs and configfs on in the kernel and I've built them ...
1
vote
0answers
11 views

Disable TCP offloading on DD-WRT

We're using DDWRT with Coova Chilli and we're experiencing very bad networking performances with high speed WANs. There's a bug in Coova which is handled by disabling GRO on the LAN interface. In ...
0
votes
0answers
26 views

is there a way to disable/change kernel console from userspace

We have Beaglebone Black based custom board with 512MB RAM and 4GB eMMC. We have kernel console set as /dev/ttyS0 which is debug UART. After booting in user space, we want to disable(if possible, or ...
0
votes
0answers
42 views

Mounting MTD root file system (squashfs) on NAND flash

Device use embedded Linux version 2.6.26.5, 11 MTD partitions created on "gen_nand" at boot time. # cat /proc/mtd dev: size erasesize name mtd0: 00060000 00004000 "u-boot" mtd1: 00020000 ...
0
votes
1answer
46 views

Cant hide mouse cursor on embedded Debian [duplicate]

I am working on a Debian-based Dragon Board (410C) system. The system will produce a touch screen that triggers some functions of a car. I am trying to hide the mouse cursor in my application. ...
1
vote
1answer
40 views

How to manually mount the virtual file systems, to copy MTD partitions

Linux version 2.6.26.5, ARM Linux Kernel on embedded device, NAND-based device. I'm at Busybox rescue shell (ash), with restricted command set. How to manually mount the virtual file systems, to copy ...
1
vote
1answer
44 views

Run script after module is loaded due to device tree

Why do I want this? I use the pwm-ir-tx kernel module to blast IR signals from my embedded device. However, when the pwm kernel module is loaded during the boot process, the pin is on high. It takes ...
1
vote
0answers
30 views

How can I run a script on a Unix box without enough space to store it?

Specifically what I'd like to do is run screenfetch on my router, just for fun. Here's my disk space free: admin@RT-N66W:/tmp/home/root# df Filesystem 1K-blocks Used Available Use% ...
0
votes
1answer
57 views

Replacing busybox in an embedded device

I'm using busybox in an embedded device. The built-in busybox is rather limited. So I want try to replace busybox in place with new, more complete version. I find some info about replacing Busybox on ...
0
votes
0answers
34 views

How to configure embedded linux kernel so that the file system is visible on the host linux

I am using a powerpc, and after building and flashing the linux kernel on the device I can see the file system. But if I try to create a user or make any changes they get erased and resets to default ...
0
votes
0answers
81 views

How to use embedded device as bluetooth HSP/HFP source

I have ARM based board, kernel 4.14.67 and bluez-4.101. I want to connect bluetooth headset for playing sound from the board. My question is similar to that: https://stackoverflow.com/questions/...
1
vote
0answers
50 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 ...
0
votes
0answers
123 views

Reading and writing NAND flash with dd

I have an embedded device and I'd like to backup the NAND flash. From the openwrt wiki I gathered that dd is not a suitable option for dumping. You can use dd, but the dump will be garbled. However, ...
0
votes
1answer
28 views

How investigate sporadic restarts

The system is : Debian 8.1 run on embedded system with ARM7V CPU 2 GB RAM and 4 GB flash. The system sporadically restart itself couple time in day, before a week with appear very rare. What is the ...
0
votes
1answer
45 views

How to read back a fan speed?

I am on a custom board using an i.MX6. I am using Yocto (Pyro) to build my kernel (4.14.16). I am using the generic imx6qdl.dtsi device tree entry for PWM2 to drive the fan and it appears to work ...
2
votes
3answers
22 views

Are there any current videostream-player-type 32-bit distros in 2019?

I have these thin clients that are not in use I think they’d do perfect for a security camera video wall—just feed them an RTSP/RTMP URL and be done, GUI not needed. I’ve been lazily looking for ...
1
vote
2answers
169 views

Embedded Linux: setting the time without NTP

Working on a embedded Linux device built using yocto that is pulling a date via uart from another device with a satellite connection. By the time we have access to this date, we are well into a fully ...
0
votes
1answer
106 views

Asterisks locks ALSA device if chan_alsa is loaded

I am implementing an extension 900 which routes the audio to ALSA device.  I am also using mpd, which plays music through ALSA. Asterisk 15, OpenWrt 18.06 mpd.conf: log_file "syslog" ...
2
votes
1answer
157 views

Get video device on embedded Linux SoC

I'm trying to find the camera module device of an IP camera (running Linux), without much success. My main objective is to find the camera stream, so I can attach an RTSP server. Update 26/02/2019 ...
1
vote
1answer
101 views

Optimal sharing of a ring buffer between processes

We're implementing an embedded Linux system and have to provide a live updating graph on a website that shows data coming from a background process in the system. The question is how to optimally ...
1
vote
0answers
49 views

How to tell Linux where initramfs is in RAM

I'm trying to boot a Linux kernel running on top of Xen with a initramfs copied into RAM by the bootloader. In the device tree I took out a chunk of memory so the kernel will not overwrite the area ...
0
votes
0answers
61 views

Cannot Reach External Network Despite DHCP on QEMU Embedded Guest

I am trying to give an embedded router networking on QEMU. I replaced the router's kernel and modules using a generic buildroot build for the Malta CPU. I also can compile any software needed to help ...
0
votes
0answers
17 views

How deep is U-Boot's `bootm` command checking for a valid header?

TL;DR: How many ways can the bootm command fail with this error in version 1.1.4?: # bootm Booting image at 31000000 Bad Magic Number Background: I've bricked a device whose U-Boot is deeply ...
0
votes
0answers
55 views

How do I rearrange the clock tree to get the clock I need?

I am using a LVDS display on an i.MX6 DualLite. The panel is supposed to be running at a clock of 51.2MHz. I am in the process of updating to a newer Yocto (Pyro) built BSP running 4.14.16. The ...
0
votes
0answers
47 views

Import value from kernel startup code to user space

I need access to a variable, an integer, whose value is determined during startup on this embedded system. The kernel is: 2.6.35.14 and the variable I am trying to access is created an used in the ...
1
vote
0answers
27 views

Is it possible to access linux/ramdisk code memory from its running system?

I'm working with an embedded Linux device that has to be auditioned by a regulatory agency. The agency will select a few devices in the field to check if the code running is the same as auditioned. ...
0
votes
1answer
150 views

resolv.conf always empty

I have 2 different embedded devices...an old one running TI arago Linux and a Xilinx device (petalinux). On both I see the same outcome when adding dns-nameservers to /etc/network/interfaces and ...
0
votes
1answer
106 views

Interpreting /proc/partitions

I'm confused about the partitions size of a flash memory in my embedded linux device: / # cat /proc/partitions major minor #blocks name 240 0 93184 ndda 240 1 85168 ndda1 ...
1
vote
1answer
40 views

JTAG'ing firmware into imx28

My goal here is to load a custom kernel and initramfs into the memory of the wink hub 1 based on imx28 dev board and boot it using the bootm command from u-boot shell. So, I downloaded the u-boot ...
0
votes
1answer
198 views

Flashing U-boot on beaglebone black

I got a beaglebone black which comes with u-boot linux preinstalled on the emmc. For the sake of learning I want to put u-boot on the flash myself and build linux from scratch. I have compiled u-boot, ...
1
vote
0answers
35 views

Embedded Linux: Setting up NFS (or any service) in a portable way

If I have a read-only file system, but with a read-write overlay on /etc, is it possible to run NFS service (or any other service) via a USB drive, as if the service is a portable application? Note: ...
1
vote
2answers
212 views

Rootfs versus kernel confusion [closed]

I know that they are two different entities. Rootfs is a file system which describes how to store and access data. The kernel is actual code which executes. However, isn't the kernel code stored ...
0
votes
0answers
207 views

How to bitbake copy a prebuilt static library into the sdk

Scenario: I am working with yocto linux recipes. I am trying to make a recipe which simply copies a prebuilt MyLibrary.a and its headers available on the built linux image. So, I have a libMyLibrary.a ...
0
votes
1answer
689 views

mmc0 warning on SD card bootup of linux

I get the following warning on debian linux (kernel 4.18.8) bootup of my microchip sama5d3 board: mmc0: unrecognised SCR structure version 4 mmc0: error -22 whilst initialising SD card after spewing ...
1
vote
1answer
59 views

SD card issue in embedded linux

My setup: Embedded linux version 3.x on an ARM board with a SD card. After running for a couple of months, I am getting this print in the console. I want to understand this issue, and fix it. ...
1
vote
0answers
27 views

How do I shrink a partition from the beginning? i.e. create empty space at the beginning of the block device?

I have devices with SD cards, with several partitions. The first partitions on the card is typically not mounted, and have vfat filesystem. What I want to achieve is, to create a 1MB free space just ...
1
vote
0answers
119 views

login system on a buildroot linux router [closed]

I have a Gemtek WVRTM 127ACN router / modem, If you do not touch any key during startup, linux starts automatically. It's a linux version created with buildroot, the problem is that there is not a ...
0
votes
0answers
29 views

How to check the history of processes

I'm using Debian running on a BeagleBone Black. I have a script which is supposed to execute when the system starts. The script then should run a python script. I add the command to run this script ...
0
votes
0answers
19 views

integrity check of uboot using dd

I just upgraded uboot using dd and it boot successfully : dd if=uboot_file of=/dev/mmcblk0 bs=512 The output is : 1360+1 records in 1360+1 records out I would like to read backup to ensure every ...
0
votes
1answer
130 views

How much space does my Debian OS need

I am using a BeagleBone, with 4GB of internal emmc. When I install a Debian image on it from its site and run command df -h , the result is below. /dev/mmcblk1p1 shows that it uses 3.4G of memory. ...
0
votes
1answer
30 views

nc server does not work if launched on startup

I wrote a (ba)sh script to write to a file the content received from a POST method: #!/bin/sh PORT=$1 FILE=$2 while true do echo -e "HTTP/1.1 200 OK\n\n" | ./busybox-armv7l nc -l -p $PORT | tr '[\...
0
votes
1answer
343 views

Could not find libmount

During compilation of customized distribution (using buildroot v. 11.2018) I have problem with libmount library (the problem appeared after I had included efl package in buildroot menuconfig - Target ...
1
vote
1answer
169 views

Install python on an embedded device

I'm working on an embedded device already customized. Here some details: # uname -a Linux DX-4400 3.10.31-ltsi-05172-g28bac3e-dirty #12 SMP Tue Jan 23 17:14:13 EST 2018 armv7l GNU/Linux I have root ...