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

0
votes
1answer
25 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 ...
4
votes
1answer
60 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 ...
0
votes
1answer
18 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 ...
-2
votes
0answers
8 views

Prompt file format with the magic word 2RDH [on hold]

I have file "bla-bla".bin it is system image for router QBR-2041WW. Prompt specification for unpack this file P.S. Sorry for my English
1
vote
0answers
31 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' ...
4
votes
3answers
99 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 ...
2
votes
3answers
58 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 ...
2
votes
1answer
505 views

tty not resizing properly

I'm running an embedded poky linux (linux-yocto v3.13) on a beagleboard. However, I'm having trouble when logging in over a serial using PuTTY: the terminal does not resize at all. Usually, the ...
1
vote
0answers
11 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
20 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
40 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
1answer
3k views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...
0
votes
1answer
137 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
14 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 ...
3
votes
3answers
1k views

Adding Buildroot Package

I'm trying to add a package to buildroot, but I'm not having much success. The package I'm trying to add is an autotools package called scew. I've followed the buildroot guidelines about adding ...
0
votes
1answer
267 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
14 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 ...
8
votes
3answers
4k views

What are the minimum root filesystem applications that are required to fully boot linux?

It's a question about user space applications, but hear me out! 3 'applications', so to speak, are required to boot a funcitonal distro of Linux: Bootloader - For embedded typically that's U-Boot, ...
3
votes
2answers
4k views

How to create boot SD card for Banana Pi manually

It seems that I have a lack of understanding how booting SD-Card images on devices like the Banana Pi work. The situation is as follows. I have a Banana Pi and a Banana Pro. Every device has an ...
4
votes
3answers
25k views

How to remount as read-write a specific mount of device?

How to remount as read-write a specific mount of device? (one folder) The file is "Read-only file system", rw-r-r, so it not allow to change permissions. I need to replace that file, then change ...
0
votes
1answer
80 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
37 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 ...
1
vote
1answer
1k views

How to change hard disk spin-down time on my WD MyBook Live?

I have a 2TB Western Digital MyBook Live. It works quite well and provides a web-based administration interface. There is an option to either enable or disable power saving mode, which spins down the ...
0
votes
0answers
10 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
13 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
59 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) ...
3
votes
1answer
265 views

Implement Java/JavaFX on ARM

I am working on ARM Linux. I have found this link that says that JavaFX could work on ARM. I am confused about Embedded Java SE and JavaFx ARM. Do I need to setup a JVM for those or not? I have ...
1
vote
0answers
49 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
39 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
114 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
66 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 ...
0
votes
1answer
436 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 ...
3
votes
2answers
38 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
43 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 ] ...
6
votes
3answers
1k views

Location of the kernel binary (when not in /boot)?

I failed to find the kernel binary in the standard location in /boot. I've also searched the whole file system for vmlinux or bzimage find / -iname vmlin* find / -iname bzimage However, this is an ...
3
votes
1answer
49 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 ...
2
votes
1answer
92 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, ...
1
vote
0answers
32 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 ...
17
votes
4answers
40k views

How to check password with Linux?

I want to check, from the linux command line, if a given cleartext password is the same of a crypted password on a /etc/shadow (I need this to authenticate web users. I'm running an embedded linux.) ...
0
votes
1answer
35 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
1answer
82 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
56 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 ...
4
votes
1answer
540 views

What does this dd command do exactly?

I have an embedded device with this SD card: [root@(none) ~]# busybox fdisk -l Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes 4 heads, 16 sectors/track, 121008 cylinders Units = cylinders of 64 * 512 = ...
1
vote
0answers
141 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
44 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
66 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
115 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 ...
0
votes
1answer
33 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
1
vote
1answer
41 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 ...