Questions tagged [uclinux]

μClinux was a fork of the Linux kernel for microcontrollers (in embedded systems) without a memory management unit (MMU). It was integrated into the main line of development as of 2.5.46; the project continues to develop patches and tools for microcontrollers.

μClinux was originally created by D. Jeff Dionne and Kenneth Albanowski in 1998. Initially, they targeted the Motorola DragonBall family of embedded 68k processors (specifically the 68EZ328 series used in the Motorola PalmPilot) on a 2.0.33 Linux kernel. After releasing their initial work, a developer community quickly sprang up extending their work to newer kernels and other microprocessor architectures. In early 1999, support was added for the Motorola (now Freescale) ColdFire family of embedded microprocessors. ARM processor support was added later.

Although originally targeting 2.0 series Linux kernels, it now has ports based on Linux 2.4 and Linux 2.6. The Linux 2.4 ports were forward ported from the 2.0.36 Linux kernel by Michael Leslie and Evan Stawnyczy during their work at Rt-Control. There were never any μClinux extensions applied to the 2.2 series kernels.

Since version 2.5.46 of the Linux kernel, the major parts of μClinux have been integrated with the main line kernel for a number of processor architectures. Greg Ungerer (who originally ported μClinux to the Motorola ColdFire family of processors) continues to maintain and actively push core μClinux support into the 2.6 series Linux kernels. In this regard, μClinux is essentially no longer a separate fork of Linux.

The project continues to develop patches and supporting tools for using Linux on microcontrollers. μClinux has support for many architectures, and forms the basis of many products, like network routers, security cameras, DVD or MP3 players, VoIP phone or Gateways, scanners, and card readers.

Source: Wikipedia (μClinux)

Official website: www.uclinux.org

97 questions
0
votes
1 answer

unhandled MPU fault on Cortex-M3 with uclinux and uclibc

This is a hard question but I hope someone could help ;) Here is the crash I have from simplest app which just calls pthread_create(): / # /opt/zpm_thread 00032 : pthread_initialize: initial thread stack bounds: bos=0x1, tos=0xffffffff 00032 :…
pulse
  • 303
  • 4
  • 18
0
votes
1 answer

How to build FLAT userspace binary for ucLinux on buildroot with arm2010q1 toolchain

I have a buildroot system for cortex-M3 without MMU based on ucLinux kernel 2.6.33. Support for FLAT, ZFLAT, SHARED_FLAT enabled in kernel. Inside buildroot everything is set to M3 etc. I have working system with working kernel and busybox (which…
pulse
  • 303
  • 4
  • 18
0
votes
1 answer

timer_settime calling handler function in pthread on uClinux

I've got the following function that gets called from a pthread_create. This function does some work, sets a timer, does some other work and then waits for the timer to expire before doing the loop again. However, on the first run of the timer,…
wazilian
  • 25
  • 4
0
votes
1 answer

I am trying to implement Pocketsphinx running uClinux, but I keep getting "Phone is missing in acoustic model" errors

I am trying to run Pocketsphinx on a microcontroller running uClinux, I have installed pocketsphinx on the controller, but I keep getting several different errors regarding acoustic models and definitions. The current one I am facing is: "Phone ...…
A_toaster
  • 1,196
  • 3
  • 22
  • 50
0
votes
1 answer

how to use ioremap() api from user space to read and write registers on SPI Flash memory in uClinux

I am writing one sample application which is used to read registers and write particular value on given SPI Device address. I am using altera spi 1.0 driver and got base address as 0xE5002460 while registering spi device. I want to read/write…
Ritesh Prajapati
  • 953
  • 2
  • 13
  • 22
0
votes
1 answer

--disable -shared in gcc compiler

I am new to this site.The compiler i have using is --disable -shared.but i need to create .so file.while creating .so file i am getting this error error: no memory region specified for loadable section How should i overcome this…
Sham
  • 1
  • 1
0
votes
1 answer

Blackfin uClinux socket creation failure

My client has an old version of uClinux, kernel 2.6.22, running on a Blackfin STAMP board. The main application is divided into 14 processes, plus there's a webserver running on the board. The bug we're seeing, the webserver keeps running happily…
0
votes
0 answers

probable differences using FPGA UCLINUX SOCKET and Python socket

I am working on altera FPGA and have written a client application on uclinux. I have also written server client application in Python. My FPGA Client is able to connect with Python server but it is unable to connect when server is placed on a remote…
0
votes
0 answers

Sniffing data on uClinux local loopback

I am looking for a way to monitor/sniff local loopback traffic inside a uClinux embedded device. I have several processes that communicate via the local loopback and want to capture this traffic on an outside machine. So I want to direct a copy of…
Jon
  • 407
  • 1
  • 3
  • 11
0
votes
1 answer

how to access usb Mass Storage Device in uclinux...?

I have got the kernel log it says about usb but how can access it . there is no device registration in /dev ..? how access this..? and configured and anabledin kernel Under "Device Drivers" Under "USB Support" Enable "USB Mass Storage…
amar
  • 509
  • 3
  • 8
  • 17
0
votes
1 answer

Buildroot: Start a program before/instead of linux login and after X.org has started

I would like to create a very small linux that boots up and loads a program into execution. I am using Buildroot in this endeavor. It would be nice if I could install the X.org without any desktop management environment (like Gnome or the many…
AlexandruC
  • 3,527
  • 6
  • 51
  • 80
0
votes
1 answer

Could not build shared library using toolchain arm-uclinuxeabi

When i build the shared library with toolchain GNU toolchain for uClinux Cortex-M3/M4 The following error occurs: /arm-2010q1/arm-uclinuxeabi/bin/ld.real: error: no memory region specified for loadable section `.dynsym' Need help please !
0
votes
1 answer

getaddrinfo stucks forever when linked with sqlite3

I have a program which requires a DNS query and a sqlite3 DB connection. I have determined that it hangs indefinitely at a getaddrinfo() call. So I created a test program (from busybox's nslookup.c) with only this call. When I do not link the…
OziMan
  • 3
  • 4
0
votes
1 answer

How to mtd_dataflash.c with spi protocal ..?

I have configure for spi_gpio driver and its working fine as in this link Spidev do not write/read simultaneously using ioctl, I came to know that the spi protocol is working fine, now I want use that spi protocol to communicate with AT45DB321D 4M…
amar
  • 509
  • 3
  • 8
  • 17
0
votes
1 answer

Identifying the code from a warning in the kernel log

while booting my linux kernel I am getting the log file like this what causing this and how to solve..? ------------[ cut here ]------------ WARNING: at drivers/gpio/gpiolib.c:1423 0xa02147ab() Modules linked in: Backtrace: no frame pointer ---[…
amar
  • 509
  • 3
  • 8
  • 17