embedded-linux

Function name and address missing from Linux System.map

Hello all, I am doing embedded development on an AT91SAM9263 board and running into a strange problem. It is running debian Linux kernel 2.6.18.4 and is cross-compiled with arm-linux-gcc 3.4.6 and uses uClibc-0.9.28 for the C library. I am debugging a kernel device driver and a specific function is not appearing in the System.map file...

Is there any PHP cache for ARM (AT91)?

I have a php application running on busybox httpd on an ARM-based embedded system. The application is quite slow but I would prefer not to rewrite it in C++. I'm looking for a way to precompile/cache it on ARM but cannot find any of the systems to be available for this architecture. ...

Can anybody point me at documentaion for linux libaio-0.3.107

Hello all, I have just inherited an chunk of an embedded Linux project that makes a lot of use of libaio-0.3.107 and am struggling to find any documentation and/or example code to assist me in making sense of it. Anybody got anything they could recomened? Thanks ...

Embedded systems code with good unit tests?

I am looking at approaches to Unit Test embedded systems code written in C. At the same time, I am also looking for a good UT framework that I can use. The framework should have a reasonably small number of dependencies. Any great Open-source products that have good UTs? EDIT: Folks, thanks for the answers --I really appreciate the...

Microsecond (or one ms) time resolution on an embedded device (Linux Kernel)

Hey guys, I have a kernel module I've built that requires at least 1 ms time resolution. I currently use do_gettimeofday() but I'm concerned that this won't work once I move my module to an embedded device. The device has a 180 Mz processor (MIPS) and the default HZ value in the kernel is 100. Thus using jiffies will only give me at bes...

I need to request an interrupt...but which one?

Debian 2.6.30 on a glomation gesbc-9260 with an atmel arm cored chip at91sam9260 - datasheet I want an interrupt on a GPIO pin i need to use request_irq(interrupt number, *handler, conditions, name, id) but god only knows what interrupt number i use ... if it were ttys0 i'd be fine... any help would be a godsend ...

writing to an ioport resulting in segfaults...

I'm writing for an atmel at91sam9260 arm 9 cored single board computer [glomation gesbc9260] Using request_mem_region(0xFFFFFC00,0x100,"name"); //port range runs from fc00 to fcff that works fine and shows up in /proc/iomem then i try to write to the last bit of the port at fc20 with writel(0x1, 0xFFFFFC20); and i segfault...specifi...

Embedded Linux for total beginner

Hi, I want to learn how to develop in embedded linux. What materials should I need? I don't have the actual embedded device so I plan to use some device emulator for the PC. I want to know how to load the kernel and the filesystem in the device. Many thanks. ...

Reversing the effects of mkimage to get an original gzipped file back

Hello, We develop for a specific embedded device at our company, and part of that is making initial root disks that get loaded onto the devices over ethernet via netboot. We've experienced some problems, and as a result, the original folder with the contents of the initial root disks was lost along with its backups, but we do still hav...

Embedded Linux or eCos ?

One way to look at it - embedded Linux starts with desktop Linux & ditches the parts not needed for embedded systems (is this actually true?), whereas eCos is designed from the ground up for embedded systems. Now, assume an ARM processor, probably ARM 7 - does performance make a difference? Actually, we talking a very low load system, m...

Is there any Opensource Browser for touchscreen device ?

I need internet browser on my device which has 4.3 Inch screen with 480x272 resolution, I am using embedded Qt 4.6.2 on embedded linux. Micro-controller has ARM9 with 450 Mhz. Requirements for browser are - Touch Screen Support, Panning ( No Scroll bars) - Single touch Zooming ( No Multi Touch Available). - Fit to screen wid...

How to port Maemo 5 to custom embedded device?

I want to port Maemo 5 to custom embedded device ( ARM9 450 Mhz running Embedded Linux), Is it possible? Where can I find source code? ...

Dynamic languages for embedded devices?

I need to deploy a dynamic language to a small embedded Linux device, and have difficulty finding the right one: I want to build a small web-application with this language (with a small framework like Sinatra or Camping ) and write some scripts for maintenance. I would prefer Ruby, as I have some experience in it, but after several days...

Should I base my Embedded Linux product on Qt?

My company is developing a medical product. One of the components is a pda-like platform that will run embedded linux. We were considering Qt as the UI framework but found out that Qt is a lot more than that (we are not familiar with Qt). In general, the device needs to do the following: 1. Receive measurements over USB HID from anoth...

Debugging kernel hang

I am trying to run an app which is using a kernel mode driver. System locks up every hour and the only way to recover it is a hard reset. Sysrq stops responding, telnet sessions hang and there are no error messages of any kind. Unfortunately the board does not have ejtag support. I have been trying to isolate it functionally, but this is...

Lock a mutex multiple times in the same thread

Hi, I'm developing an application on an embedded linux OS (uClinux) and I need to be able to lock the mutex more than once (by the same thread). I have a mutex and a mutexattr defined and initialized as follows: pthread_mutexattr_t waiting_barcode_mutexattr; pthread_mutex_t waiting_barcode_mutex; pthread_mutexattr_init(&waiting_barco...

How to know from a bash script if the user abruptly closes ssh session

I have a bash script that acts as the default shell for a user loging in trough ssh. It provides a menu with several options one of wich is sending a file using netcat. The netcat of the embedded linux I'm using lacks the -w option, so if the user closes the ssh connection without ever sending the file, the netcat command waits forever....

Can I prevent a Linux user space pthread yielding in critical code?

I am working on an user space app for an embedded Linux project using the 2.6.24.3 kernel. My app passes data between two file nodes by creating 2 pthreads that each sleep until a asynchronous IO operation completes at which point it wakes and runs a completion handler. The completion handlers need to keep track of how many transfers ...

using Eclipse to develop for embedded Linux on a Windows host

I got a question of using Eclipse to develop for embedded Linux on a Windows host Here are now I have and where I am. 1. a Windows host that have the latest Eclipse + CDT (c/c++ development tools) installed 2. a Ubuntu host (ssh + samba installed) that contains sources and toolschain to build the project. (the windows and ubuntu hosts ar...

How to keep asm output from Linux kernel module build

I'm working on a Linux kernel module for a 2.6.x kernel and I need to view the assembly output, though it's currently being done as a temporary file an deleted afterwords. I'd like to have the assembly output mixed with my C source file so I can easily trace where my problem lies. This is for an ARMv6 core and apparently objdump doesn'...