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

3
votes
2answers
22 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
31 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
25 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
28 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
6 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
48 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
23 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
18 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
34 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
0answers
31 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 ...
1
vote
0answers
23 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
22 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 ...
0
votes
0answers
38 views

Angstrom on beaglebone black, no output on LCD7 module

I've just compiled Angstrom from source: git clone git://github.com/Angstrom-distribution/setup-scripts.git cd setup-scripts ./oebb.sh config beaglebone . environment-angstrom-v2014.12 ...
0
votes
1answer
25 views

Compress mtdblock with 'tar' before sending it via TFTP

what is proper command compress mtdblock with 'tar' before sending it via TFTP? tftp -l /dev/mtdblock3 -p 192.168.100.40
0
votes
1answer
43 views

Using dd command to download mtd block

How to use dd command to download mtd block from embedded Linux-based device? # cat /proc/mtd dev: size erasesize name ... mtd3: 003a0000 00010000 "DRTI2" I need download mtd3 block, so dd ...
1
vote
1answer
29 views

Managing(adding/deleting,etc) users in a squashfs(RO file system) with a small R/W partition

I'm using squashfs as the file system on a board which is RO, along with a small jffs2 partition which is R/W. The files corresponding to user management, i.e /etc/passwd, /etc/group & /etc/shadow ...
3
votes
1answer
58 views

High CPU load on the embedded Linux of my router

I hope that, as long as this question refers to Linux, could be answered here: I have a DSL router from Observa Telecom, model BHS-RTA : Modem Name : BHS_RTA Serial Number : D861940E5088 Time and ...
1
vote
0answers
47 views

SSH Remote Execution - checking server can do it?

I have a embedded device (Perle IOLAN+, an Ethernet to serial adaptor) that I can administer via SSH. From time to time, I need to log in and execute a command on this device. Logging in via SSH, ...
0
votes
0answers
30 views

TFTP error when downloading larger files

Embedded Linux device, with BusyBox v1.4.2 multi-call binary. I tried download files from remote device to local computer via TFTP, but got some issue: it works OK for small files (about ~350MB), but ...
1
vote
0answers
55 views

Untar a filesystem to device as normal user but maintaining the correct UID and GID

I'm doing quite a bit of development using Yocto to target an embedded system. As its final output, Yocto generates a tarball of the filesystem, which I then untar onto an ext4 partition of an SD ...
0
votes
1answer
17 views

Listing a file with strange characters on DD-WRT embedded Linux

When SSHing into my DD-WRT router (Buffalo WHR-HP-G54) with embedded Linux to browse the DHCP Lease list I get strange characters: ~ # more /tmp/udhcpd.leases x▒_▒▒ ▒▒iPhone-de-Tomaz▒ ...
0
votes
1answer
39 views

Embedded linux hotplug changed mount point

I have a linux media player that was very common before android's age. It is a MIPS running Linux Venus 2.6.12.6 and has 2 sata, 2 usb and 1 sdcard port. Since the flash memory is very limited, I ...
0
votes
1answer
44 views

Embedded Linux and Init problem - Init won't start

I'm working on a embedded system. I have multiple SD cards to save copy of Linux rootfs on (kernel saved in nand). On a original SD card, where is located a system, and from this card the system is ...
0
votes
1answer
227 views

Trouble changing backlight brightness (/sys/class/backlight folder empty)

I have a small embedded system that I am working on that needs to be able to reduce its brightness for power saving reasons. The screen is connected by LVDS with separate Inverter Power Output ...
0
votes
1answer
75 views

Linux/Embedded Linux - Understanding the Kernel and additional BSP specific components [closed]

*tldr; I would like to generally understand how the world of linux / embedded linux works. What do I need to do to take the Linux mainline and compile/deploy it on a board with different processors ...
0
votes
0answers
60 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 ...
0
votes
0answers
20 views

Best small distro for ROM burning of the system for an embedded system

I am building a specific device and I would like to know what Linux based small distribution would be good when I would choose the put-Linux-on-the-ROM route, so, that the system is not possible to ...
4
votes
0answers
36 views

Block device naming, how to enable by-name and by-uuid?

While building and using linux kernel for custom boards, when Android is used, usually the MMC partitions appear in /dev/block/mmcblkXpY. And there are also symbolic links created in ...
3
votes
1answer
62 views

Systemd Boot Optimization dev-mmcblk0p2.device

I'm working on an embedded system and want to make it boot faster. I already stripped a lot of things. Now I don't know how to improve it further. Here is my systemd-analyze blame: 4.457s ...
3
votes
0answers
39 views

How best to enable end-user configuration of wifi or Ethernet on embedded device?

I'm building a device that includes an embedded Linux computer and I need to allow the device user to (easily) configure the device to connect to their wired or wireless network. I know there are ...
1
vote
0answers
13 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? ...
0
votes
0answers
34 views

There is possible to read 1-wire (ds18b20) without waiting for conversion?

I want to read temperature value from ds18b20 by 1-wire interface without blocking. There is any way to do that? I tried fnctl(fd, F_SETFL, O_NONBLOCK) but its not working. Actually I have a loop ...
1
vote
0answers
33 views

Is there some way of simulating a framebuffer device?

I'm starting to write a small software that I intend to run on embedded linux, and I want to draw the GUI using a framebuffer device. However, since I want to be able to test the software on my ...
0
votes
0answers
166 views

kernel panic not syncing: vfs :unable to mount root fs on unknown block(31,1)

I am trying to boot linux from flash on an powerpc board. In u-boot I set bootargs with: setenv bootargs root=/dev/mtdblock1 rootfstype=ext2 rw console=ttyS0,115200 ramdisk_image=\${rd_size} I also ...
1
vote
1answer
122 views

CLFS for ARMv7 neon

I am following CLFS book (GIT-20140613-arm version), and I have a issue when building GCC with armv7 and neon combination. Target info here. My host is a clean Debian 8 with gawk, build-essential, ...
0
votes
2answers
127 views

gdb installation in beaglebone black with customized linux kernel

I am developing an application for the beaglebone black which I cross compile using arm gcc compiler then port on the compiled binary file to the beaglebone black using scp command and run there on ...
3
votes
0answers
131 views

Procedure to figuring out U-Boot environment location from binary/hex dump

TL;DR: I have a u-boot (version 1.6.1) enabled board, I have dumped the partition that contains the environment variables to a binary file using dd and now am stumped at finding out how to translate ...
4
votes
1answer
66 views

If my program detects that a power loss will occur in a few seconds, what can it do to avoid data corruption?

A program (which needs to read and write from and to the filesystem), has the extra feature of being able to communicate with an external sensor. Therefore it has the unique ability to know if a power ...
1
vote
0answers
39 views

Make ubi filesystem image from directories

I have a rootfs directory which contains all the directory structure (bin boot dev etc home ... var) to be installed on an embedded board . What I would like to accomplish, is to make a ubi image ...
0
votes
0answers
54 views

Run Linux kernel on Raspberry Pi together with Crosswalk

Is it possible to run the Linux kernel on a system like the RPi and have the Crosswalk runtime on it too. I would like to create an app that runs using Crosswalk on the RPi or any other sytem, but the ...
0
votes
0answers
13 views

Embedded board - Install a distro

I've this freescale board: http://www.mect.it/en/products/control-and-automation/operator-panels-with-embedded-input-and-output-and-plc/tpac1007/ I need it to run python scripts, but it mount linux ...
2
votes
1answer
46 views

Embedded board - Install debian

I'm new in embedded world and I'm quite confuse. I have a Freescale board which contains an ARM926 32 Bits and mounts Linux 2.6.35. First question: this is the kernel, right? Second question: I ...
1
vote
1answer
170 views

Trying to mount ext4 partition from eMMC gives “Invalid Argument” error

I'm trying to set up a custom Linux installation on an Intel Atom (Baytrail) based Android tablet, using Qt 5.5 for device creation. The build system is based on the Yocto project and builds an ...
0
votes
0answers
65 views

FriendlyArm pppd problem

I have two files in FriendlyArm. 1-) wcdma is an option file to use with "pppd file" nodetach debug lock /dev/ttySAC2 115200 user "" password "" nocrtscts show-password usepeerdns noipdefault novj ...
1
vote
0answers
66 views

Change device framebuffer to use overlay layer

I'm using atmel-hlcdc driver to control a LCD panel and an application uses the /dev/fb0 framebuffer created by the driver. The display works fine except that the panel's standard orientation is ...
5
votes
1answer
73 views

Applying device tree overlay

I have a device based on imx233-Olinuxino-Nano. The Arch Linux Arm distro boots and works. However, there is a slave device on my board that is connected to SPI of CPU. It is supported by kernel, ...
1
vote
1answer
27 views

Sending command to an already mounted modem

I'm working on a IMX6 based board, and I need some advice to handle my modem. I've successfully configure the modem, and mounted the ppp. The modem is working fine and everything's great, but now I ...
1
vote
0answers
138 views

Cross compile gdb for mips and make executable file small like one in OpenWrt

I would like to cross compile gdb for mips, but the normal version is too big for my small embedded device. I was wondering how those guys on OpenWrt make it ~3mb. I downloaded gdb ipk, extracted ...
0
votes
0answers
17 views

Sending data intermittently over Wi-Fi and/or 3G

I am working on an embedded Linux system that reads in data through a serial connection, stores the information in a local buffer, and sends the data to the local Windows server when there is a ...
0
votes
1answer
40 views

Two or more threads on single core [closed]

What are the advantages of using threads on single core, does that makes sense to use multithreading on single core?