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

4
votes
0answers
57 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 ...
4
votes
0answers
43 views

Queuing disciplines are per-interface, what happen with interfaces using same device?

I have read about queuing disciplines here http://lartc.org/. I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
4
votes
0answers
446 views

Confusion with how to restore corrupt ext3 files if power outage occurs during a file write

I am running a small embedded system. Because the system will never be gracefully shutdown and will just have the power cable unplugged, I am running an initramfs but mounting an ext3 partition on a ...
3
votes
0answers
212 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 ...
3
votes
0answers
257 views

What is the difference between the output of TOP command and Oprofile?

In the top command one of the processes is always showing a CPU usage of 4 to 5%. But in oprofile the CPU usage is 0.004%. I do not understand this. And I also noticed that even when a process is in ...
2
votes
0answers
216 views

How to make iwconfig fully work on embedded Linux

The target embedded Linux is ARM Xilinx Zynq, and I am working in CentOS to compile to ARM using Xilinx's tool. The target OS is working now and I want to setup the wifi using iwconfig. I downloaded ...
2
votes
0answers
106 views

How to check flash memory for ECC errors from the Linux command line

Is there a way to check flash memory for ECC errors from the Linux command line? Note that I do not want to correct ECC errors. I just want to detect errors and list page addresses where they occur.
2
votes
0answers
319 views

How to run Ubilinux / u-boot under qemu (x86)

I wish to test Ubilinux (http://www.emutexlabs.com/ubilinux) before flashing it onto my Intel Edison board, which currently has Yocto on it. I am able to emulate Yocto for Edison with qemu, running ...
2
votes
0answers
158 views

How to switch wifi channel without dropping connection?

We are developing small internet connected device that connects via wifi and does some work. It is controlled via mobile app. For configuration purposes we use wi-fi module that can work in both STA ...
2
votes
0answers
249 views

Transfer file to pc from embedded linux device via serial communications

I'm working on an AT91SAM9G20. I'm connected to AT91SAM9G20 via the debug port using rs232 serial communications. It has Linux version 3.4.8 but does not appear to have any of the common file ...
2
votes
0answers
132 views

Specify Virtual Size using DRM with Frambuffer Emulation

I am attempting make use of double buffering on an AM335x processor. We have an example running on a demo image that was not created by us. I am working on putting together our own image using ...
2
votes
0answers
1k views

How can I make wlan0 show up automatically when I plug in my WiFi USB adapter?

Before I plug in the USB there is no wlan0: root@beaglebone:/mnt/etc/network# iwconfig lo no wireless extensions. eth0 no wireless extensions. usb0 no wireless extensions. ...
2
votes
0answers
68 views

How can you annotate or club info into ELF core files on Linux?

For debugging core files it would be useful to add additional information into a core file at the time it is generated. I'm currently using /proc/sys/kernel/core_pattern to run a 'dumb' script that ...
2
votes
0answers
277 views

redirecting output of /dev/fb0 to /dev/fb2

I am using IMX6 Saberauto board on Linux OS. I have 2 displays primary is HDMI and secondary is LVDS. I want to run 2 applications. One QT on primary display, which I am able to do. Second ...
2
votes
0answers
500 views

Can't login using serial on ttyO0 - BeagleBone Black

I boot Beaglebone Black, connected to my desktop by serial. It was working great, until now. Beagle is booting, output shows up on the console, but at the end I can't log in. I can't type the login, ...
2
votes
0answers
224 views

No network interface for the lan9118 emulated on QEMU 1.4.0 overo machine

Im using QEMU 1.4.0 Ubuntu 13.04 distribution. Im trying to make the virtrual machine part of the host network so Im ussing this command: sudo qemu-system-arm -M overo -m 1024 -sd ./test.img -clock ...
1
vote
0answers
21 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 ...
1
vote
0answers
46 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
25 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 ...
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
0answers
58 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 ...
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, ...
1
vote
0answers
172 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 ...
1
vote
0answers
82 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, ...
1
vote
0answers
72 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 ...
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? ...
1
vote
0answers
44 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 ...
1
vote
0answers
59 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 ...
1
vote
0answers
84 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 ...
1
vote
0answers
168 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 ...
1
vote
0answers
93 views

USB 56k modem not detected

I have this USB 56k modem which I'm using to write some home automation software that will let me know when my home phone is ringing. My software works on my Ubuntu 14.04 LTS laptop, with my modem ...
1
vote
0answers
45 views

How to statically assign network interfaces to USB Wireless LAN adapters

For this system there are two WLAN USB adapters: One connects as a client always, and the other connects as an AP. I have a script that manages their operation, but in order to do that I need to ...
1
vote
0answers
91 views

setting up pycurl for embedded ARM

I am working on a linux x86_64 machine, and I am trying to set up pycurl for an embedded ARM processor running petalinux. I need pycurl library before building the embedded linux image. I have ...
1
vote
0answers
41 views

ARM Debian: how to transfer system from MicroSD to internal flash?

I'm a Windows user, and a true newbie in the linux world, so I hope my question is'nt too dumb. I have Debian running on a BeagleBoneBlack, booting from the MicroSD. After a lot of apt-gets, installs ...
1
vote
0answers
253 views

WIFI over SDIO over USB - Do I have to reflect that in the device tree?

I am currently extending an embedded hardware platform which runs a linux kernel 3.16. I want to connect an external SDIO controller to the USB bus, and then run a WIFI module using that SDIO ...
1
vote
0answers
54 views

How can a package's license be determined using OPKG package manager?

OPKG is used as the package manager in an embedded Linux system. I would like to be able to determine the license of a package prior to installing the package. Is there a simple way to achieve this ...
1
vote
0answers
29 views

How well is Debian supported on MIPS these days?

I am doing a new embedded Linux design, and am thinking of using a MIPS CPU. All my previous designs have used ARM. On the most recent ARM design we installed Debian ARM-HF which was excellent. My ...
1
vote
0answers
150 views

Android chroot Debian

I have a armv7l embedded device with 3 usb ports and a sd card slot. The OS of the device is android with a Debian OS in chroot. Via the Debian I can ssh into the device and breakout the chroot to ...
1
vote
0answers
49 views

How can I make a read-only Linux system (which uses unionfs) read/write for the duration of upgrades?

Assuming having an embedded linux application, and for protection against corruption from example abrupt power offs, you implement a read only system with union fs. But then, how is it possible to ...
1
vote
0answers
99 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
vote
0answers
53 views

How to make 'install USB' with custom Linux?

I built my own custom kernel for new hardware.(Not a normal PC, embedded x86 device), and using syslinux I could create a booting USB for that kernel. After a few trial and errors, I was able to ...
1
vote
0answers
151 views

Compiling drivers for armada 370

I am trying to compile usb_serial drivers for a Mirabox with armada 370. I first tried as followes : Install linux source for 3.2 (running kernel is 3.2.36) Install linux headers for 3.2 Edit the ...
1
vote
0answers
320 views

Beaglebone: Backup image mounts root as Read-only

After I had completed creating applications for my BB white (running ubuntu), I created a backup of the SD card using-> sudo dd if=/dev/disk2 of=/Volumes/BONE/bone_custom.img Recently, I tried to ...
1
vote
0answers
164 views

Display boot splash on ramdisk only system

I'm working on a kiosk system with the root file system loaded into RAM. One of the requirements is that the boot process output should be completely hidden from the user. I've already managed to set ...
1
vote
0answers
303 views

Run startx & automatically embedded syste,

I am working with a board in which I run my application which use th graphical mode. Everything works perfect. I start the graphical mode like this: startx & and then I run my application like ...
1
vote
0answers
618 views

How to setup ssh over USB on an embedded linux device?

I have an embedded linux device with an ARM processor. I am connecting to it over a USB port using minicom. What should I do to "ssh" into the device through the USB connection? I want to setup ...
1
vote
0answers
324 views

How do I know from a BeagleBone Black if it is connected via USB (as a client/slave)?

BeagleBone Black has an USB port which allows the user to access it through ssh. In general, we could say that when you plug it to a PC, the PC is the USB host and the BBB is the USB client. On the ...
1
vote
0answers
145 views

cross compile embedded arm

I have the android 4.2.2 code in directory /home/sghPhone2 which compiles normal with make menuconfig but I need to compile a 4.4 kernel and possibly patch it but when I download the source from ...
1
vote
0answers
49 views

Is there a limit of GPIOs that can be used in Linux?

When it comes to use GPIOs, is there a limited number that can be used in Linux (except through the limitation of the physical availability/amount of the ports/pins) or is it theoretically possible to ...
1
vote
0answers
222 views

What are the two head.S files in linux source ?

In the linux source there are two different head.S files located at: arch/arm/kernel/head.S arch/arm/boot/compressed/head.S What is the puprpose of each one and what is the order of there execution ...