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

3
votes
2answers
826 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 ...
2
votes
2answers
649 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
224 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 ...
5
votes
3answers
926 views

Is making /etc directory read only a bad idea?

I have an embedded system setup built using buildroot and using initramfs. It runs on compact flash device where I have created separate ext3 partitions to mount /etc/ and /var directories as well as ...
0
votes
1answer
435 views

What happens with /etc/fstab when using an initramfs?

I have a simple embedded setup as follows: x86 target, kernel and root file system built using buildroot. Syslinux is the bootloader configured to boot with an initramfs which points to a .cpio file ...
2
votes
1answer
889 views

Does uClibc support using pthreads?

I recently attended an embedded Linux course that stated that uClibc does not support the use of pthreads and that it only supports linuxthreads. Furthermore, the course instructor implied that ...
1
vote
0answers
134 views

Colour is not working with ncurses on target embedded system built with buildroot

I have built an embedded linux environment for AMD Geode target. The kernel, cross toolchain and root file system were built using buildroot and the root file system resides on my host machine and is ...
3
votes
1answer
404 views

Using ramfs on embedded system

I am required to write some software to run on Linux installed on an x86 based embedded setup that has a 8GB compact flash drive for data storage. The critical requirements are logging measurement ...
11
votes
2answers
3k views

Is using a read only root file system a good idea for embedded setup?

I have been tasked with running Linux as an operating system on an embedded device. The target has an x86 processor and has 8 GB CompactFlash device for storage. I have managed to use buildroot to ...
2
votes
1answer
269 views

Alix Board write performance

I have an alix board on which I have installed debian4alix (sqeeze). After using it for a while I noticed that the write performance of the board was pretty low. I ran the following test: dd ...
2
votes
3answers
382 views

Is there a variation of Linux or Unix that does not require open licensing?

In the future I may be building a system with an embedded operating system. Given the commercial properties of this system, it will make sense to have all of the internals as closed source as ...
2
votes
1answer
545 views

Chain loading kernel without a boot loader

I am working on an embedded project that will do in-place upgrades. There may come a time when an upgrade will need to reinstall everything. Since this is a pretty risky thing, I would like to have ...
3
votes
0answers
224 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 ...
3
votes
1answer
854 views

Checking linux Kernel for RT-Preempt Patch

How to know whether a particular patch is applied to the kernel? Especially RT-Preempt Patch.
1
vote
1answer
1k views

Alternative to ethtool on MontaVista embedded Linux

I am running MontaVista Linux Professional Edition 3.1 on an embedded system. My version of this distribution doesn't seem to have ethtool available, and using mii-tool gives the following error: ...
2
votes
1answer
468 views

What is the connection between jiffies and IPS? How to convert jiffies to IPS?

Reading from /proc/PID/stat a lot of information can be processed. I would like to see how many percentages has been used of CPU power by this process. There are a lot of variable around here (utime, ...
3
votes
1answer
185 views

How can I find the cause of clock drift on a custom embedded system?

We have custom hardware running 3.2 Angstrom on a SAM9G45 processor. Everything works fine. Recently we designed similar hardware that uses the SAM9G25 processor. We found the 2.6 kernel works fine on ...
7
votes
1answer
1k 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
1k 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
266 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
270 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
2k 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 ...
1
vote
0answers
430 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
1k 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
391 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
520 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 ...
6
votes
2answers
2k 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
956 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
3k 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
342 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
3k 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
517 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
654 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
781 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
649 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
728 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 ...
1
vote
0answers
610 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
419 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
3k 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
841 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
861 views

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

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
57 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
316 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
91 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
326 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
555 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
609 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
7k 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
252 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 ...
5
votes
1answer
784 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 ...