uclinux

Can I use boost on uclibc linux?

Does anyone have any experience with running C++ applications that use the boost libraries on uclibc-based systems? Is it even possible? Which C++ standard library would you use? Is uclibc++ usable with boost? ...

arm-linux-gcc vs arm-elf-gcc

I am looking at uClinux system that builds the kernel with arm-linux-xxx, but builds the user apps with arm-elf-xxx. If the apps are intended to run on linux, wouldn't it be better to build everything with arm-linux-xxx ? Where does one set that option in the overall uClinux build config? ...

Executing code that is preloaded in flash NOR

I'm building a uClinux system to run on an NXP LPC2478. The chip has 512k onboard fast flash from which it can directly execute code. I want to load and run a user app out of regular external SDRAM. But I have a special graphics library that I would like to preload to execute out of the on board flash. Is there a way to compile the grap...

What does it mean to attach ROMFS in RAM?

I'm building a kernel for an ARM platform running uClinux 2.4 and under "General Setup" in the Linux configuration there is an option called "m68knommu-style attached romfs in RAM support". My ARM assembly skills are somewhat limited but as far as I can tell if I enable this option the ROMFS is copied to the end of the kernels BSS. What...

How can I get the source code for the linux utility tail ?

Hi, this command is really very useful but where I can get the source code to see what is going on inside . thanks . ...

ctags does not parse stdio.h properly

I am trying to use ctags with VIM, and I am a newbie to both. In order to test the extent to which ctags could be useful I decided to put it through a very simple test, namely to parse the headers in /usr/include so that I could autocomplete some very basic functions. When I run the command ctags --c++-kinds=+p --fields=+iaS -f ~/.ta...

Bitbanging a PIO on Coldfire/ucLinux

Here's the problem: I need to program some hardware via 2 pins of the PIO (1 clock, 1 data). Timing constraints are tight - 10ms clock cycle time. All this, of course, whilst I maintain very high level services (CAN bus, TCP/IP). The downstream unit also ACKS by asserting a PIO pin, configured as an input, high. So this loop has to both ...

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...

Convert Olson time zone file to TZ environment variables

Hi folks, We are using the "America/New_York" convention for the user to select the timezone, but in our resource constrained system, we must manually provide the actual TZ variable. For example, for New York, we have: timezones["America/New_York"] = "EST5EDT,M3.2.0,M11.1.0"; However, the resource we found to provide these environme...

adding python packages to uClinux

I have distribution of uClinux, throught "menu config" I check python and compile("make"). I have python on my chip now. There is a binary executable file /bin/python. But what about python packages? There are only some basic packages as sys, time etc. I want to add for example package pyserial for serial port. Before compilation I ca...

Using mono in embedded linux for hardware

Hi, I am doing research for a company as an internship. I had some question in using Mono, the cross platform implementation of .Net platform. My company designs hardware and sotware. My knowledge of using embedded linux is very low. My company where I am doing my internship is really .NET minded. But the new developments of mono, they...

How do I spawn a daemon in uClinux using vfork?

This would be easy with fork(), but I've got no MMU. I've heard that vfork() blocks the parent process until the child exits or executes exec(). How would I accomplish something like this?: pid_t pid = vfork(); if (pid == -1) { // fail exit(-1); } if (pid == 0) { // child while(1) { // Do my daemon stuff } ...