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
1
vote
0answers
5 views

How to start system shutdown or poweroff by hardware interrupt

I have a small headless embedded Linux box (NXP i.MX6, with userspace based on Debian, but am interested in more general solution). It has no HID input, no desktop stuff, just a serial console and a ...
0
votes
1answer
27 views

Rootfs permissions design

I wonder how design permissions in root file system should look for embedded device, with busybox onboard (buildroot environment). My initial concept is to remove all permissions, except x, of group (...
2
votes
2answers
1k views

Why is this ALSA configuration file preventing aplay and arecord from listing PCM devices?

In my embedded system I have this configuration file in /etc/asound.conf: pcm_slave.sl2 { pcm "hw:0,0" rate 48000 channels 2 format S16_LE } pcm.rate_convert { ...
-1
votes
0answers
19 views

how to check serial ports and write characters for testing on an embedded linux system (raptor linux with BusyBox)

I am an absolute beginner on Linux and sadly have to work with also an embedded Linux (Raptor Linux with BusyBox) for a complicated project. I have a custom made development board from a partner ...
0
votes
0answers
18 views

Unpacking and repacking of U-Boot image

Under unavoidable circumstances, I have to modify environment variables (typically accessed in the bootloader console with printenv) in the U-Boot image. The motivation is to be able to distribute ...
1
vote
0answers
10 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 = ...
1
vote
1answer
34 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
38 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
32 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 ...
35
votes
5answers
18k views

Corruption-proof SD card filesystem for embedded Linux?

Recently we had a rather unpleasant situation with our customer - Raspberry Pi based "kiosk" used to display remote sensing data (nothing more fancy than a kiosk mode browser displaying a self-...
0
votes
0answers
21 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, ...
3
votes
1answer
1k views

Start QT Application on bootup on an Embedded Linux Device (Beaglebone Black)

Below is picture of the display on bootup. Expected display is overwritten by Angstrom screen Expected Display Application is been started as a service. Below is the content of the service file [...
0
votes
0answers
38 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
33 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
14 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
1answer
2k views

How do I generate the /sys/kernel/debug/tracing folder in kernel with yocto project?

I was tying to use perf on Renesas target and I configured the yocto "local.conf" as showed in this link. #avoid stripping binaries INHIBIT_PACKAGE_STRIP = "1" #add the debug information ...
0
votes
0answers
34 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 ...
1
vote
0answers
393 views

How to connect to my phone via bluetooth serial

I am having trouble connecting to my phone via serial bluetooth on an embedded linux system. Here are the steps that I have taken to attempt a connection. (Note that I am able to pair and connect just ...
0
votes
0answers
60 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
55 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
53 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
1answer
70 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 ...
0
votes
1answer
871 views

udev disk mount permissions in linux

We would like to set up a customer account on our overo running embedded Angstrom along with ssh so they can log on to retrieve data. uname -a Linux pb014-01 2.6.32 #1 Wed Feb 29 15:17:02 GMT 2012 ...
2
votes
1answer
834 views

Removed USB storage device is still mounted

I'm working on a embedded linux system based on busybox. Sometimes a USB device which is physically removed from the post is still displayed in mount, df or /proc/mounts. If I reattach the device, it ...
1
vote
1answer
3k 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 ...
1
vote
1answer
41 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 ...
1
vote
1answer
2k views

How to debug Linux hang?

We are using beagle bone black based custom board, with kernel version 3.12. We are facing system hang during one of the init script,(Which brings up WiFi) this hang happens after random number of ...
1
vote
1answer
4k views

U-boot: bad magic number

I'am using Arduino Yun and i want mount rootfs over NFS. I downloaded openwrt sources, build the project and then copied the generated rootfs from build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx ...
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
73 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
1answer
71 views

Build kernel without support for /boot's file system

I am building a customized kernel for RPi. The problem is that the RPi bootloader requires a vfat /boot partition whereas I intend to minimize the kernel size, so need to remove vfat support from ...
1
vote
2answers
275 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
35 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
120 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/...
2
votes
1answer
1k views

How to readout unused serial pins (RTS, CTS, etc.)?

I have an interface for RS-232 communication. I need this interface for simple communication (no parity bit or flow control → TX, RX and ground) but now I have quite 4 pins unused (RTS, DTR, DCD/DSR, ...
2
votes
1answer
2k views

What is the fastest way to install GCC on Wind River 3.02?

I really do not want to just blindly install rpm after rpm of dependencies I think I might need... I know that this version of Linux is based off of Fedora 11. I am currently trying to install yum ...
1
vote
2answers
937 views

Unable to add serialport (nodejs module) when generating filesystem and cross-compiling tools for an ARM processor

I am using buildroot (version 2013.08.1) to generate the filesystem and cross compiling tools to implement embedded linux on a i.MX233 processor (ARM architecture). I add the serialport module by ...
1
vote
0answers
64 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
1answer
981 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 ...
2
votes
1answer
440 views

error: getrlimit(RLIMIT_CORE): Operation not permitted. Proftpd on Embbeded Linux enviorment

I've been trying to use proftpd on Arm7 Embedded linux. After starting the execution, it delivers this message: error: getrlimit(RLIMIT_CORE): Operation not permitted The Proftpf version is 1.3.4b. ...
1
vote
1answer
60 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. ...
0
votes
1answer
29 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
0answers
164 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, ...
5
votes
2answers
562 views

Databases for embedded Linux?

I need to choose a database for an application on an embedded linux platform.
1
vote
0answers
23 views

configure analogic pin as digital pin

I have the SAMA5D3 Xplained. This kit has several analog ports and my idea is to be configured as analog or digital as needed. Would it be possible to do it in an easy way from the kernel?
-1
votes
1answer
69 views

What are the Hardware requirement for Debian Linux Kernel 3.16 for PPC architecture? [closed]

We have an Embedded System which is running on Debian Linux Kernel 2.6-2.6 [PowerPC Architecture]. Would like to upgrade the Kernel to 3.16. What are Hardware Requirements?
3
votes
1answer
4k views

Trouble with opkg package manager in Angstrom embedded linux on Colibri module ARM v7 processor

I am working on a Colibri module having Angstrom linux installed in it! The processor is ARM v7. I am having trouble updating the softwares installed in the system. Whenever I tried the command opkg ...
0
votes
1answer
49 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 ...