The use of Unix in embedded computer systems such as networking equipment, mobile phones, media players, set-top boxes, etc.
0
votes
1answer
29 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 ...
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
9 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
33 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
12 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
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 ...
1
vote
1answer
15 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
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 ...
2
votes
3answers
59 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 ...
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
60 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
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 ...
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
115 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
67 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
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 ]
...
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 ...
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 ...
2
votes
1answer
93 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
36 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
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 ...
0
votes
1answer
83 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
81 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
145 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
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
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 ...
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 ...
3
votes
1answer
146 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
73 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
54 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
68 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
29 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
68 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
58 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
438 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 ...
1
vote
1answer
141 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
1answer
138 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
22 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
51 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
94 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 ...
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 ...
1
vote
0answers
15 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?
...