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

6
votes
1answer
754 views

CLFS: Building GCC cross compiler

Currently I try to build a embedded Linux from scratch with the instructions from Cross Linux from Scratch. Everything worked fine until I tried to compile the GCC Cross-Compiler. I want to build the ...
1
vote
1answer
673 views

How do I safely unmount a network share on Linux STB without crashing (I get GSOD)?

I have a network share named dreambox on C:\dreambox that is shared with the group Everyone in Windows. I have mounted it to /hdd on a Linux-based STB with OpenDreambox (OpenEmbedded) using Telnet ...
0
votes
0answers
185 views

A Reboot() command with failover

I'm implementing a Reboot() call in my application. It's an embedded application, so no console, keyboard or power switch. The Reboot() must eventually restart the system no matter what. Ideally, I ...
2
votes
1answer
235 views

Installing GRUB to first sector of /dev/sdb damages partition table

I'm trying to build a linux-based embedded OS using buildroot framework. After compilation I extracted contents of root filesystem on micro SD card. Now I need to install GRUB. I have stage 1 and ...
2
votes
2answers
1k views

New to using serial console and trying to log into embedded system

I have two PC Engines Alix 2d2 which I've been given and I'm trying to install an (BSD or Linux based) OS on. Currently one has a version of openWRT (the other had openWRT until I formatted the CF ...
2
votes
0answers
330 views

Error cross compiling linux kernel using buildroot

I am trying to build a kernel bt in cross compiling the kernel when I ran following command make CROSS_COMPILE=i686-linux- ARCH=x86 I got the following error: UCLIB_EXTRA_CFLAGS="" \ ...
5
votes
1answer
714 views

Debugging a Segmentation Fault

I have an application that runs on an embedded Linux device that I am expanding with new features. The new features require GLib so, I am dynamically linking the required libraries to the application. ...
1
vote
1answer
292 views

Selecting a managed switch with Linux, for use in mesh network project (batman-adv)

I am interested in trying out batman-adv to manage a mesh network comprised of point-to-point radios (mesh links) and cellular modems (gateways). Each node would have one p2p radio, and some nodes ...
3
votes
1answer
272 views

UBI bad block management

Anyone know what happens when UBI uses up all its reserved PEBs that are reserved for bad block management? For example say I have a UBI volume that has 14 PEBs reserved # ubinfo -d 1 ubi1 Volumes ...
5
votes
1answer
868 views

Defragging RAM / OOM failure

This question is fairly lengthy, so I'll ask the questions at the top and then go through my method of coming to the questions: Did (Busybox based) rm not execute because there wasn't enough ...
1
vote
1answer
769 views

how to use qemu to run build root linux images?

I have compiled an embedded linux with build root for i386. I didn't edited much, just defaults. Now I want to run it under qemu. But the only thing I see is this: I'm running qemu with these ...
2
votes
1answer
2k views

Adding ssh on embedded linux

I want to run SSH on Qtopia (on my FriendlyARM). My own distribution is Ubuntu, so I cannot copy and paste the ssh binary file into the device. If I can copy and paste a binary file, where can I find ...
-1
votes
1answer
299 views

Installing a .ko module on an embedded Linux system that does not support modules

From the answers to this question I have discovered that the embedded Linux distribution provided to me, by my hardware supplier, was not built with kernel support. If I am to use this distribution I ...
3
votes
2answers
2k views

Why is GRUB 2 booting so slowly?

I have a small custom embedded Linux distribution (created with OpenEmbedded), which boots with GRUB 1.99. The aim is to have it start up fast. Currently it says: GRUB loading. for ~2+ seconds ...
4
votes
1answer
427 views

Embedded board with apache

I'm working on a Davinci DSP ARM embedded board. The board itself is the Texas Instruments 816X/389X EVM. I'm currently trying to get apache working on the board. The problem is that the SDK for the ...
4
votes
1answer
453 views

Can I use a chroot on my dev machine to build an application to run on embedded linux installation?

I am trying to develop an application to run on an embedded linux installation. It comes with an older version of libc than I have on my development maching. If I were to create a chroot environment ...
2
votes
2answers
476 views

Is it safe to just copy shared libraries onto embedded Linux device?

The following is contained in the vendor user manual for its embedded Linux distro on the hardward board they supply Developers can put their program onto X-Linux device via FTP or NFS. Before ...
2
votes
1answer
456 views

lsmod returns nothing on my embedded device

I have put a vendor supplied embedded Linux installation (called X-Linux) onto a hardware device. I ran lsmod to see what modules are loaded and nothing at all is shown. Also there is no /proc/modules ...
3
votes
1answer
520 views

Set GPIO permissions cleanly

Can the default permissions and ownership of /sys/class/gpio/ files be set, e.g. by configuring udev? The point would be to have a real gid for processes that can access GPIO pins on a board. Most ...
0
votes
0answers
474 views

Running uinput code on DM368 board

I am using DM368 TI board. I want to send keystrokes to gstplayer in ubuntu 10.10 For that purpose i used uinput function in C code. My code works properly on console but not on the hardware. I even ...
1
vote
2answers
258 views

System Management Mode in embedded systems

I wish to install Xenomai which works on Linux providing a kind of hard real time environment. x86/64 architectures are supposed to contain the "System Management Mode" which prevents them from being ...
3
votes
1answer
2k views

Webserver for Embedded Linux [closed]

I am building an ARM based embedded device running embedded linux having a web based interface and I need a webserver running on my device. At maximum it will get 50 requests at a time. I have on ...
3
votes
1answer
541 views

How to test the touch screen on embedded devices like iPhone / iPad / Kindle? [closed]

I want to test the touch panels on embedded devices like iPhone, iPad and Kindle against following criteria: Do a gesture, like tap, swipe, pinch ( zoom in/out) 10000 times and validate that every ...
2
votes
1answer
794 views

Mimo 2G USB Monitor and cheap computer (Raspberry Pi?)

I have a Mimo 2G USB Monitor (UM-710S I believe) which I got in college due to the lack of space for a real second monitor in the dorm. Now I don't really have a use for it, so I thought of ...
0
votes
1answer
56 views

Do IPTABLE rules apply to other devices on a network?

I have an embedded device that listens to a specific port to be programmed by vendor specific software. If I have a network that consists of a small linux computer and this industrial device would ...
3
votes
2answers
244 views

Linux security vulnerabilities?

A while back I started an embedded project using the 3.2.10 kernel. Now the project should go into production and the stable kernel is 3.2.16. I would prefer not to upgrade anything to avoid ...
1
vote
1answer
88 views

Location on disk to write a byte-flag?

I am writing an update utility for an embedded Linux device for which I am responsible. I'm creating a basic side-by-side setup, where updates are applied to a staging partition and then the ...
3
votes
2answers
280 views

Ethernet Sniffing Embeded Device

I recently dug out some prototyping equipment from the trash and I want out figure out what the heck it is. It has a port labelled 'Ethernet' and when I plug it into a router the lights flash like its ...
0
votes
1answer
435 views

init.exe: Caught segmentation fault, core dumped - what is the source of this error

On my embedded device, I have this error showing up after kernel boot: init.exe: Caught segmentation fault, core dumped But I cannot understand why is this happening? If I do battery cut( i.e. ...
1
vote
2answers
441 views

NAND flash memory wear & virtual memory page swap

For a linux kernel with virtual memory and disk storage, pages are swapped back and forth into swap area. But embedded systems generally use NAND flash instead of disk. A NAND flash has a limited ...
3
votes
5answers
4k views

Low Cost, 2 Ethernet Ports & Runs Linux [closed]

Looking for an inexpensive embedded device that contains 2 Ethernet Ports, runs Linux (or some other type of Unix), and is under $50. My main concern is cost. It must be under $50 and have 2 Ethernet ...
1
vote
1answer
230 views

Recommendation on filesystem for embedded device - RAM or USB

It's been 4 years since I stopped working on my Linux internet radio box. My Linux box was Ubuntu 6.04 with Ext3 fs. At user-space, everything works perfectly except I occasionally bumped into ...
3
votes
1answer
606 views

How can the job of SDFlasher.exe given with FriendlyARM utility be accomplished on Linux?

I am playing with FriendlyARM Tiny 6410. The instructions on setting up an SD card for booting self compiled versions of linux kernel involve the use of SDFlasher.exe. People have tried to find an ...
3
votes
1answer
234 views

How can one force a re-scan of an SDIO bus from Linux user space?

On an embedded Linux platform, I have a network adapter attached to an SDIO interface. There is no Card Detect signal on this particular bus. If for instance, I turn the network adapter power on or ...
7
votes
1answer
3k views

Running Debian i386 binary on Debian armel via qemu

I am trying to follow this guide to set up a Ventrilo server on my SheevaPlug, running Debian armel. This page states that I can use QEMU to run the binary that was made for i386 on my arm system. ...
0
votes
2answers
271 views

Sony runs which operating system? Oracle Linux or Crestron Extron or Minix or OS X?

Sony has TV, PlayStation, Camera random hardware's. Where many of those have GUI available too. I want to run my BASH script there with ncurses. But how do they drive there devices? Which operating ...
6
votes
1answer
3k views

How can I observe memory bandwidth?

I have an embedded Linux ARM system that is showing significantly less throughput than expected on both Ethernet and USB. I suspect the memory may be contributing. Is there a way to observe the memory ...
0
votes
0answers
228 views

Facing issue with cron on embedded linux

I have a SAM9 based board running embedded linux using buildroot package. I added the crond and crontab support to busybox from make menuconfig and built the rootfs and flashed it to my board. The ...
2
votes
2answers
1k views

how to re-enable input on a serial console

I have an old router which runs Linux and I'd like to have a serial console on. This used to work fine, but after a firmware update, I can now only get output on the console and cannot give any input ...
11
votes
2answers
3k views

How do I have Linux boot with a rootfs in RAM?

The rootfs is a squashfs image and my bootloader is loading it into some address in SDRAM. What parameters do I need to pass to the kernel so It can mount the rootfs from there? Squashfs support is ...
1
vote
1answer
3k views

D-Link DI-624 H/W ver. D: Flashing OpenWrt

I have a D-Link DI-624 rev. D2 Router. It is based around an Atheros AR2316A-001 chipset, and has 8MB RAM. I opened the device to check for actual parts use in it, and I can confirm, it is indeed the ...
1
vote
1answer
889 views

Problems with a Read-Only Root Filesystem

I was creating a read-only root filesystem for use in an embedded system. I successfully got the system to boot after setting it to read-only initially, but then I needed write access to another file ...
7
votes
3answers
3k views

Safely use SD cards when power can go out at any time

We're working on a small embedded Linux system (2.6.35-ish) with a smallish internal NAND device for the OS and applications (250-500Meg) and an SD card with 8Gb SDHC SD cards for data. The unit's ...
1
vote
1answer
338 views

How to install Linux on the Lego Mindstorms NXT

Has anybody ever successfully installed Linux on the Lego Mindstorms NXT Intelligent Brick? I've found plenty of things on Google, but none of them worked. I can't find the download for legOS, and the ...
1
vote
0answers
552 views

Why is this ALSA configuration file preventing aplay and arecord from listing PCM devices?

In my embedded system I have this configuration file in /etc/asound.conf: pcm_slave.sl2 { pcm "hw:0,0" rate 48000 channels 2 format S16_LE } pcm.rate_convert { ...
2
votes
1answer
531 views

What is the fastest way to install GCC on Wind River 3.02?

I am fairly new to installing things on a bare-bones Linux system and really do not want to just blindly install rpm after rpm of dependencies I think I might need... I know that this version of ...
5
votes
1answer
352 views

Embedded linux LCD not calibrated

I have attached a new LCD to my embedded Linux device and when I run the system I found that it is shifted to the right. (the display starts from the middle of the LCD) I found 2 frame buffer drivers ...
10
votes
4answers
17k 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.) ...
12
votes
3answers
2k views

Increasing kernel memory size

I have an embedded board with 512MB of RAM running Linux 2.6.29 and UBoot bootloader. But the kernel is able to utilize only 128MB of RAM. I tried changing the value of XCODE_MEMSIZE, which I think ...
5
votes
1answer
2k views

What is a “watchdog reset”?

After reading this question, I was a little confused; it sounds like some daemon reacting by rebooting a system. Is that right? Is it a common occurrence in embedded *nixes?