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

learn more… | top users | synonyms

2
votes
2answers
28 views

Systemd - how service can determine first run from restart run?

I would like to have a service which diffrent behave on first run and on restart of service. Is this possbile with systemd? (I use systemd in my embedded os). I tried with ExecReload and ExecStart, ...
1
vote
1answer
28 views

moving a linux to another device

I am working on an embedded linux ip-camera. I need to have a backup of our Linux for testing and repairing cameras. I have tested multiple options like using tar and rsync , but it does not work and ...
0
votes
0answers
29 views

Setting up http_proxy on embedded Linux

We are running embedded Linux on some hardware controllers my company builds in-house. These are usually connected directly to the internet through our customers' networks, but recently, we've had a ...
0
votes
1answer
12 views

What are some possible causes of mmc0: error -22

I'm trying to use an SD card on an embedded linux system. I'm getting this error and I'm hoping someone can tell me what potential problems this error is referring too. I assume the error number can ...
1
vote
0answers
32 views

Surprisingly big overhead when creating small ubifs volume

On an mtd partition with 39 erase blocks (= 4.9 MiB), I tried to format a ubifs. The resulting file system has free space of 2.2M uncompressed data when reserved blocks are reduced to the minimum ...
1
vote
1answer
30 views

How to test linux NAPI feature?

I am trying to test the NAPI functionalities on embedded linux environment. I used 'pktgen' to generate the large number of packets and tried to verify the interrupt count of my network interface at /...
-6
votes
1answer
54 views

How to run GDrive on an ARM IP camera running HiLinux [closed]

I have an IP camera with the "HiLinux". Processor armv5tejl. My aim is to send videos from camera to GoogleDrive. I downloaded gdrive but it can be run only with bash (I have only shell). The problem ...
2
votes
1answer
24 views

Add vi on Busybox which is trimmed down

I have a smart energy plug which is running Busybox and works over Wifi to my local LAN. I can telnet into it, but lack crucial binaries like vi. I'd like to add a few scripts to the device, but ...
1
vote
0answers
20 views

How to automatically switch between DHCP Server and Client mode on startup of several devices?

I do wan't to have several embedded devices to boot up at the same time and automatically select the first booted device as the dhcp server and the others as client. But every client can be the server ...
1
vote
0answers
18 views

Looking for a way to test how often filesystem data is flushed

I have an embedded system, which by it's nature, has power cut off with little warning to the system. The system writes log files to an SD card, and it is desired to have the filesystem flush to ...
2
votes
0answers
95 views

Linux kernel hangs at “Starting kernel …”

I have enabled Secure Boot on an embedded device successfully. The problem is that when I am booting in this mode the process seems to get stuck right after the line: Starting kernel ... once U-boot ...
0
votes
0answers
29 views

Force dirty pages limit in kernel sources

First of all, I'm not sure if that's a solution to my problem. My problem is that during I/O embedded linux is allocating too much memory in cache causing OOM if I run anything else. I/O operations ...
1
vote
1answer
35 views

Embedded Linux OOM - help with lost RAM

I have little Linux system with 256MB RAM. I'm little bit confused, where the RAM may be lost? It is running old linux kernel 2.6.38 and I'm not able to ubgrade it (some specific ARM board). SHM and ...
1
vote
0answers
21 views

Add a driver module to embedded linux

I have a task that consists in implementing a driver for an RF module. The RF module communicate with the blackFin609 microcontroller using UART. In a first step i created a uClinux image and ...
1
vote
2answers
64 views

How to list the kernel Device Tree

I am using an embedded Arm with a Debian build. How does one list the compiled devices from the device tree? I want to see if a device is already supported. For those reading this, the "Device Tree" ...
1
vote
0answers
25 views

DMP 3300MX-A embedded pc, debian 6.0 squeeze, kernel 3.2, bios watchdog and harwdare reset

I have been studying how to properly set up a watchdog on my embedded system, have read plenty of posts, but I am stuck with no solution. I've read: How to correctly configure Debian watchdog daemon ...
1
vote
1answer
48 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
87 views

insmod: cannot insert './intrpt.ko': Function not implemented

I'm writing a kernel module that receives interrupts for mpc8308 (PowerPC) board. when I make the code for Ubuntu and my current version of kernel it works well with interrupt of keyboard, but when I ...
1
vote
0answers
26 views

What happens if I try to use a device driver from the shell and it is already being used by the kernel?

This is the situation. I'm new to embedded linux and I'm trying to test some commands for the LED driver LP5521. The board I have has a RGB LED with this controller IC and it is being initialized with ...
0
votes
2answers
72 views

Gap between two characters writing message over RS485

I am using an ATMEL embedded controller (at91sam9x25e) and its serial port to send/receive over RS485 Modbus RTU. Normal communication works fine, but sometimes - when writing - some packages are ...
0
votes
1answer
42 views

Embedded Linux Distribution

I have a small device that runs a light weight embedded linux. I can telnet and ssh to the device. This device has no package management utility on it that I can tell. I am trying to install a pre-...
0
votes
1answer
48 views

How to “export” configuration variables and “source” them on embedded Linux?

A router runs firmware containing BusyBox and in addition to flash memory the device has secondary memory storage. That USB stick is mounted at both /media/Main and /opt: # mount | grep sda /dev/sda1 ...
1
vote
0answers
60 views

Building kernel for BeagleBone Black lead me hdmi problems

I have successfully followed CLFS book to build RPi and BBB embedded systems. In RPi case the bootloader did not give me problems with device tree. Some years ago I would have to patch Torvalds' ...
1
vote
0answers
50 views

Resume from hibernation is not working on embedded linux system

I'm trying to build an embedded linux system based on an Atmel AT91SAM9G25 SoC (ARM9 @ 400Mhz) CPU. I'm using the AT91Bootstrap bootloader. As the subject of my post suggests, I have an issue with ...
0
votes
1answer
39 views

Instantly getting Write Failed: Broken Pipe with SSH to an embedded system

As said above, when I try to SSH into my embedded system (a De0-Nano-SoC FPGA development board running Angström with Kernel 4.1) I get a "Write Failed: Broken Pipe"-Error and get disconnected. I read ...
4
votes
1answer
70 views

Encrypt files (private key, etc.) in an embedded system

I am working on an embedded device running on Linux. This device communicates with a server and sends data to it using a certificate and a private key. When we distribute the device, I am afraid that ...
0
votes
0answers
58 views

No response to DHCP broadcast

Following on from this question, I'm still trying to get ethernet and DHCP working on a buildroot-based embedded Linux board. Here's what I'm trying: The ethernet interface is brought up using ...
1
vote
1answer
41 views

ppp affecting serial ports so that they cannot be used if modem is reset

I've got a Buildroot-based embedded system that uses a 3G modem (Cinterion PH8-P) and PPP to connect to the internet. The 3G modem is a USB device that provides 4 ttyUSB ports. One of these is used ...
1
vote
0answers
41 views

Add bash to base Linux Kernel?

We have a proprietary SBC (Single Board Computer) type of platform that is a large sized scale Raspberry Pi essentially. It is ARM based and uses Linux Kernel v3.# as its base. This isn't an Ubuntu ...
2
votes
3answers
87 views

OpenBSD stripdown

I recently tried to install OpenBSD to my Soekris net4526, but the 64MB onboard memory is too small. Is there any way to make OpenBSD smaller, because even the smallest configuration (bsd and baseXX....
0
votes
0answers
16 views

is `blockdev --flushbufs /dev/mmcblk0p1"` blocking call?

I am using blockdev --flushbufs /dev/mmcblk0p1 in onf the shell script and would like to know if this command doing blocking call or not? I see it from man page that it is ioctl call to the block ...
0
votes
0answers
18 views

Debian Linux WiFi hardware monitor for embedded applications

I have an embedded linux board that I am using for a mobile robotics platform. This particular board (beaglebone black - Debian Jessie - Kernel 4.1.x) has seen a few issues regarding long-term ...
1
vote
2answers
83 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) ...
4
votes
3answers
126 views

UTC vs. localtime has an offset of about 25 seconds

I have compared this in different systems, but only get this behavior in an embedded system running Arago linux. I use the date command from BusyBox v.1.13.2 I executed this two commands "...
1
vote
0answers
77 views

Slow SSH connection on embedded platform

I am operating an embedded device running the linux core. I have OpenSHH_4.9p1 installed running in debug mode and trying to establish an SSH connection using PuTTY. After the login screen everything ...
3
votes
1answer
46 views

Meaning and usage of /proc/[pid]/make-if-fail

I am currently developing inside an embedded Linux environment (kernel 3.10.0), and while goofing around in the procfs mount of the system I found that all processes present the following file in ...
2
votes
1answer
204 views

How do I install another distro on a linux DVR

I was fiddling with an old DVR and discovered it had telnet unblocked. So I ran ncrack and after gaining access started looking around. It seems to be running some custom version of Linux. Not many ...
2
votes
2answers
106 views

Minimal Busybox/Linux Installation - Won't Run C

I'm trying my hand at creating a very minimal custom Busybox/Linux distro, a task that is admittedly above my head, but I figured I'd give it a shot. My issue is that whenever I try to run a C program ...
3
votes
2answers
62 views

Piped commands performance in embedded Linux

Recently, we purchased a software solution to integrate into a device we're developing. There's plenty we need to modify and adapt to our needs, so today I was going through part of the code to see ...
1
vote
1answer
52 views

not getting full network speed (or even close) of 100 mbps

When I use rsync on large files it shows a download speed of 2.7 MB/s, or around 22Mbps. When I run ethtool on the NIC, here is the output Settings for eth0: Supported ports: [ TP MII ] ...
3
votes
1answer
72 views

Wear leveling of SD card because of swap file in embedded linux

I need to enable a swap file on my embedded linux product. The problem is that the file is located on an SD card. At the moment I'm using 15MB swap and about 120MB RAM because of temporary increases ...
1
vote
0answers
33 views

Compare Audio Files

I want to set up a test-system for an embedded board, so I can automatically test both the audio out and the audio in jacks (LO, LI, HP, MIC). So I thought of recording an audio-file (with a sinus, ...
0
votes
1answer
11 views

How to disable autoconf feature of IPv6 usinf interfaces file?

I am using linux 3.2.0. I want to disable autoconf feature of IPv6. For that I have added following lines in /etc/network/interfaces file. iface inet6 eth0 static address <IPv6_address> netmask ...
2
votes
1answer
138 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, ...
0
votes
1answer
49 views

Where to place application files in embedded linux deployment?

I'm building a control device that runs Debian Jessie on a ARM based Linux SBC. I'm curious what the recommended location is for application files? To date, I've been placing things in a root level ...
0
votes
0answers
93 views

HDMI TV stick with debian/ubuntu/android with support for Node.JS and Electron

I'm doing a research about available devices to run Electron on embedded device under Linux (debian/ubuntu/android) and I found EZCast. Seller says it is running under Android castrated version so it ...
0
votes
1answer
162 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 ...
0
votes
1answer
123 views

Embedded Linux- Cross compiling firefox for arm

I am trying to cross compile Firefox (version 39) for Arm. But, I am getting the following error: /firefox-39.0/mozilla-release-849542617a46/build/unix/gold/ld: fatal error /armv7l-linux-gnueabi/...
1
vote
0answers
242 views

pppd “Couldn't get channel number: Input/output error”

I have two USB-serial adapters with a null-modem serial cable between them, similar to this user. I can setup an IP connection easily between two linux (ubuntu) boxes running this pppd command on one ...
0
votes
1answer
64 views

How to give a custom name to a serial device on connection?

I am working on ROS under Ubuntu 14.04 on an Odroid XU3 (ARM dev board). I connect two USB devices to my dev board which are recognized as ttyACM0 and ttyACM1 according to the time when they are ...