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

1
vote
1answer
380 views

/dev/console dynamic redirection

Is it possible to dynamically redirect all data sent to /dev/console into something else (for example - to /dev/null, /dev/tty9 or even /dev/null)? Of course, it can be done statically via ...
0
votes
2answers
65 views

embedded linux and powering usb stick

I have a problem where I need to read a usb-stick or a usb keyboard: When I plug in the USB stick or keyboard I can't get power to the device. dmesg says nothing I tried: for device in $(ls ...
0
votes
0answers
48 views

Creating JFFS2 image

I am working on Embedded Linux, trying to create JFFS2 file system in the host and trying to load it on a NAND device in the target board - Olinuxino a13 wifi using Livesuite. I successfully created a ...
4
votes
1answer
262 views

ttyS1/uart1 initialised but not accessible through /dev/ttyS1

I'm not sure at which level I am having a problem. System is a LeopardBoard DM368 running TI's own SDK / LSP / BusyBox kernel, the core Linux kernel is 2.6.x so using serial_core.c driver model. By ...
2
votes
1answer
147 views

Know when a memory address is aligned or unaligned

Im getting kernel oops because ppp driver is trying to access to unaligned address (there is a pointer pointing to unaligned address). Im not sure about the meaning of unaligned address. It means not ...
5
votes
2answers
485 views

Is it possible for a daemon (i.e. background) process to look for key-presses from a USB keyboard?

I'm working on an embedded Linux project where I will be developing a program that will run automatically on bootup and interact with the user via a character display and some sort of button array. ...
2
votes
1answer
312 views

How to custom build debian's busybox?

I'm building an embedded system based on debian 7, and I'd like to make the most out of busybox that comes with debian. The problem is default busybox build in debian seems quite minimal, for example ...
1
vote
1answer
307 views

What is the easiest way to draw graphics on Linux framebuffer?

I have some embedded Linux ARM chip with LCD display on frame-buffer. I connect to chip with serial console. I can access frame-buffer directly with low-level commands. However I need to draw some ...
1
vote
1answer
243 views

mmcqd hangs and burns the CPU on the embedded device

On my embedded system I'm writing an intensive video stream to SD. I don't mount partitions, just write to /dev/mmcblk0p1. After a while my writing process hangs. I get [16952.240000] INFO: task ...
0
votes
1answer
25 views

Adding access to PPP

I have a PPP connection over USB (dev ppp0), and an eth0 connection. My Linux box has IP 192.168.1.1, I have a second Windows PC with an IP of 192.168.1.3. The ppp conection is 192.168.1.2 - which is ...
1
vote
1answer
240 views

How to configure linux to output to monitor

I'm currently running a lightweight Debian distro on a development board from Compulab. I have to login to the system via serial port everytime. The system has graphical card and the driver is ...
0
votes
0answers
87 views

Compiling a simple character device driver as a module

I wrote a simple character device driver & wanted to cross-compile it for craneboard (ARM architecture). My file name is gDev.c. I copied the file to kernel/drivers/char directory in craneboard ...
0
votes
0answers
77 views

Changing Android files in root directory

Does anyone know how (if it is possible) to change Android files stored in root directory, particularly logo.rle? I want to change my boot splashscreen, changing the file, which is stored in /. I have ...
2
votes
1answer
170 views

How enable watchdog?

I'm struggling with the watchdog timer (wdt) for a while. I can't get it working. My microcontroller is a AriaG25, based on the AT91SAM925. I have used this tutorial to compile the kernel. The ...
0
votes
2answers
146 views

How do I send text to a USB device?

I'm trying to get the "Torobot" USB servo controller to work with Angstrom on a Beagle Board XM. The servo controller registers as a USB device. The device just takes simple text commands, but there ...
1
vote
2answers
118 views

Which embedded Linux platform supports Suspend to RAM?

I am trying to save maximum energy for a certain embedded Linux application. Currently I am using Raspberry Pi. But it looks like Raspberry Pi doesn't support Suspend to RAM. What alternative embedded ...
1
vote
1answer
466 views

Beaglebone Black Device Tree for LCD4 cape

The device tree for LCD4 cape is located at /lib/firmware/BB-BONE-LCD4-01-00A1.dts When I looked into it, the declaration of those GPIO buttons confuse me. There are five buttons according to ...
1
vote
1answer
157 views

can linux be configured to blink an LED (GPIO) on disk activity?

I'm hoping to blink an LED that is wired up to a GPIO line whenever the USB connected disk has activity is there an easy way to pull this off?
3
votes
1answer
115 views

Is it possible to have two seperate one way (simplex) serial ports to make single tty device?

I am building embeded device, which has IR comunication with PC and it will have two IR Led/detector pairs which are one-way and are setup like this: IR source input commands -> near embeded device ...
1
vote
1answer
159 views

Using ncurses for basic GUI on a process started inside an init script

I have a custom written application that runs on a embedded setup (buildroot). My application has to run every time the target device boots up and so I wrote an init script to do this and it works ...
2
votes
1answer
206 views

What is the meaning of the errors from my cpio command?

I have been using the following command on my system to create the .cpio archive to create an initramfs for my embedded target device sudo find . | cpio -H newc -oc > ~/initramfs.cpio This has ...
1
vote
0answers
194 views

Linux embedded: change time zone

I'm working on an embedded system with linux. I'm trying to change the timezone used by the operating system and I'm doing this by copying the timezone file from /usr/share/zoneinfo to /etc/localtime ...
1
vote
0answers
82 views

Data loss prevention ( or recovery) in a MySql db in embedded systems

I have a little ( big ) problem with a MySql application that write on a SD card or a Compact Flash. After a data loss ( a power failure , for example) , if I try to retrieve the data of my db , it ...
1
vote
1answer
676 views

Copy/Mirror traffic to WAN interfaces without “iptables tee” support

I want to copy every outgoing packet to other WAN interfaces but my iptables (v1.2.7) doesn't have TEE target support. I wonder if there is another way (maybe using iproute2 or ebtables) to copy every ...
1
vote
0answers
54 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 ...
2
votes
1answer
73 views

How can I find the Secure Attention Key (SAK) on my system and can I disable it?

In answer to My process was killed but I cannot understand the kernel notice, I was pointed to some documentation on the Secure Attention Key (SAK) on Linux. I have a embedded system generated using ...
1
vote
0answers
77 views

omap3530/3630 emulation on QEMU for overo and beagle machines

On QEMU's source code for beagle and overo I can see that the cpu emulated is the OMAP3430. I will like to know if it's a way to make QEMU emulate OMAP3530/3630 cpu's for those machines? On bealge : ...
1
vote
0answers
93 views

About Ingo Molnar's Realtime Preemption patch

Does Ingo Molnar's Realtime Preemption patch support ARM cortex-A8?
1
vote
0answers
85 views

Are there any good Embedded Linux image builder? [closed]

I'm looking for an image builder to create several Embedded Linux images for different ARM boards. I know the following image builder: linaro, buildroot, openEmbedded, yocto If I've missed one, ...
2
votes
2answers
352 views

ttyO ports do not have the good port address on QEMU 1.4.0 running image for beagleboard-xm

I'm running an Linux Image (kernel 3.2.8) for beagleboard-xm on QEMU's 1.4.0 emulator Ubuntu distribution for 13.04. My image is created using Buildroot beagle_defconfig. I added some pkgs to be able ...
2
votes
1answer
107 views

CONFIG_GPIO_SYSFS makes /sys/class/leds disappear

I have an embedded Linux board I'm working on, with a button and a couple LEDs. By default, I can control the LEDs via /sys/class/leds/redled/brightness However, I have no way to monitor the ...
0
votes
0answers
31 views

Spurious “command not found” [duplicate]

I am in the process of trying to build and install pjsua on my embedded board running linux with a kernel which is a variant of 2.6.18.. The board is booted via nfs from my filesystem. I have built ...
0
votes
1answer
83 views

Why does exec file generate 4 processes in Linux? [closed]

I build my RTAI-model-source(generated by simulink) in CygWin with gcc-linux-4.1 (cross-compiler of CygWin) on Windows, and generate ELF successfully. and the ELF runs correctly on Ubuntu. After the ...
1
vote
2answers
928 views

Why is my wlan0 interface on Angstrom (Beagleboard) “Not Associated”?

I'm installing a Angstrom (custom build, not the default build) on a Beagleboard XM. I can scan for wireless networks using iwlist and see the neighborhood wireless devices. I have set my SSID and ...
1
vote
1answer
136 views

compressed and uncompressed kernel on an embedded device

I have been using several different embedded boards that store kernel, init files, filesystem, etc. on partitions of a (micro)SD card. I notice in the example usage or instructions that compressed ...
1
vote
1answer
85 views

UART0 Access in AM1808 using Embedded Linux

I am trying to interface GSM module with my AM1808 processor. I am using gcc compiler as well as UBUNTU 10.04 Lucid. I have configured the TXD and RXD pins of UART0 but i can not access the RTS and ...
2
votes
3answers
104 views

What considerations need to be made when choosing the version of kernel for an embedded device?

I have used buildroot to successfully create a kernel, root file system and cross-compilers to enable me to write application code to run on an embedded device. Currently I have no need to write ...
1
vote
0answers
109 views

How do I get Linux on my sat nav?

I have a Clarion MAP680 navigation system, with some version of Windows CE on it. Is there any way I could hack it to get my beloved Linux on it? It seems to have a 1 GB flash drive or something, and ...
3
votes
1answer
132 views

How do I install packages permanently on my Beagleboard?

I have spent some time getting my BeagleBoard XM computer up and running with the default Angstrom demo image after it has sat unopened for close to a year. I've been able to interact with it through ...
2
votes
1answer
67 views

Flashing rootfs on Embedded Linux with Limited RAM

I'm fairly new to the embedded world, so forgive me if this seems obvious. I'm working on a board based off of the AT91SAM9260. I have 256MB of flash and 64MB of RAM. The current setup flashes two ...
4
votes
1answer
189 views

Making a recovery partition in embedded Linux

I have an Atmel SAM9X system running Angstrom. I am trying to make a recovery partition so when a user holds a button during boot up the recovery partition boots up. I have modified the bootstrap so ...
0
votes
1answer
85 views

How to create a debian 3.x kernel rootfs on a 2.x host

I'm trying to build a rootfs for an embedded A10 board. This will be matched up against 3.0.62+ modules and a corresponding vmlinux image. I've been trying for a few days to get a rootfs set up for ...
7
votes
3answers
914 views

What filesystem offers best protection for securing data against corruption due to power loss?

I am running a small uClibc and busybox based embedded system on an x86 device. I am using an initramfs but I also mounting a custom ext3 directory on a compact flash device in IDE mode that I am ...
3
votes
0answers
234 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 ...
6
votes
1answer
294 views

Attaching USB-Serial device with custom PID to ttyUSB0 on embedded

I'm attempting to get an FTDI USB-Serial device with a custom PID to automatically (or even manually) attach to ttyUSB%n, without much success. The device's normal VID/PID is 0403/6001. When ...
1
vote
1answer
649 views

How can I disable IPv6 in custom built embedded setup

I have an embedded system built using buildroot. I have had a number of network issues, one of which is that my machine cannot see its gateway despite it being on the same subnet. I have tried using ...
0
votes
1answer
180 views

Unable to get embedded device to ping anything on the network

I have an embedded device, built using buildroot, kernel version 3.6.11 running busybox. The kernel is built with completely default options. I have configured the device according to what the network ...
2
votes
2answers
295 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 ...
1
vote
2answers
343 views

Is it a bad idea to not have a swap partition on an embedded linux setup?

I have a small embedded linux kernel and file system created via buildroot that is installed onto a compact flash drive running on an x86 board. I am using an initramfs (due to power loss concerns) ...
1
vote
2answers
149 views

How to flash U-Boot to a Devkit8500?

When I try running this: make CROSS_COMPILE=/root/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- omap3devkit8000_config I get this error: make: *** No rule to make target ...