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

100 questions
1
vote
0 answers

Why might `i2c_smbus_write_byte_data` be returning "Operation not permitted" on uClinux 2.4?

I am writing a C program with the aim of configuring a peripheral device (the CS5368 ADC) via the I2C interface of a Dante Brooklyn II, a board based on a Microblaze soft-core processor running uClinux 2.4. I have implemented the configuration…
mindTree
  • 786
  • 7
  • 18
1
vote
0 answers

What is the purpose slack field in/proc/pid/status in uclinux

Look at the process'status file inside the /proc/pid/status file. Have found below details. State: S (sleeping) Tgid: 182 Pid: 182 PPid: 1 TracerPid: 0 Uid: 0 0 0 0 Gid: 0 0 0 0 FDSize:…
1
vote
1 answer

Updating java on uClinux

I want to update Java for our uClinux product t ojava 8. The problem is that that it seems that Java from version 7 and higher is dependent to glibc-2.4 and the glibc version installed is 2.3.6. While running java -version in terminal I am getting…
Govan
  • 1,769
  • 2
  • 24
  • 45
1
vote
0 answers

Converting ELF ARM executable to BFLT executable for uClinux

I have a little problem : I need to add a program to a firmware which will be used in an embedded IP Camera in my office. The CPU of it is a ARM7TDMI. So, that being said I cross-compiled my program on a Debian x64 machine and got my ELF executable…
K. Lasp
  • 11
  • 3
1
vote
0 answers

porting emcraft stm-som uclinux on my board

I'm trying to run uclinux on my custom board which uses stm32f429. the configurations of this board looks like to stm-som board. So I downloaded the tree and installed u-boot on my board. Now I have a trouble with kernel. I ran make and the…
mehdi_sd
  • 49
  • 5
1
vote
0 answers

stuck in starting kernel (uclinux) on stm32f429 custom board

I’ve ported uboot and uclinux on my DISCO board (stm32f429-disco) using robotest files on github recently. Now I’m trying to port them on my custom board which uses: UART6 instead of UART3 a 12 MHz oscillator instead of the 8 MHz usedin DISCO a…
mehdi_sd
  • 49
  • 5
1
vote
1 answer

Run program on boot with initramfs

I'm running uClinux on a SmartFusion2 as part of a University team building a small cube satellite. However, I'm not super experienced in Linux kernel, and this issue has had me stumped for a few days. I'm trying to get the SmartFusion to run a…
Connor Olsen
  • 145
  • 1
  • 13
1
vote
1 answer

Exec format error while executing the file in embedded device from telnet

I have an embedded device which consist of 32-bit ARM-7 Winbond CPU and uClinux OS. I have Windows 7 64-bit machine. I have install Virtual Box for Ubuntu for compiling the program as well as uploading it through ftp server. the file in embedded…
bp04
  • 11
  • 3
1
vote
0 answers

Linux (uclinux 2.4.x)

I have one doubt. Using uclinux 2.4.x. In this linux I have my own adapter code for reading the frames from ingress port. Have added a debug log at exact place from where reading frames word by word and it is sure that I received all number of…
1
vote
1 answer

error during cross-compilation of openvpn for arm-cortex uclinux

I am trying to cross compile openvpn using arm-uclinuxeabi toolchain getting error init.o: In function `do_persist_tuntap': init.c:(.text+0x1534): undefined reference to `tuncfg' error in following part of init.c #ifdef ENABLE_FEATURE_TUN_PERSIST …
G.ONE
  • 423
  • 1
  • 4
  • 13
1
vote
1 answer

Compiling busybox as BFLT executable

I'm compiling a busybox rootfs for a no-mmu architecture. The output from this compile is a ELF 32-bit LSB executable. file _install/bin/busybox: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, I…
user3142
  • 429
  • 2
  • 7
  • 11
1
vote
1 answer

Convert Olson time zone file to TZ environment variables

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"] =…
Mike Crowe
  • 1,776
  • 2
  • 18
  • 36
1
vote
1 answer

Assembly directive .extern use in uclibc-gcc

I try to use a variable defined in .c file in a .S program. In .c file: const int var = 10; While in .S file: .extern var LDR lr, _VAR _VAR: .word var It can be compiled. But when executing, there is error msg "Can't modify application's text…
Simmis
  • 41
  • 3
1
vote
1 answer

Asterisk ignores DTMF during all calls - cannot use keypress features

Asterisk 1.4.21.2 under uClinux on an ATCOM IP01. (EDIT: as an aside, I don't think it's possible to upgrade Asterisk to a newer version thatn 1.4 on uClinux, but if anyone knows a way, I'd be interested to know. But I don't think the issue is…
Reg Edit
  • 5,712
  • 1
  • 29
  • 41
1
vote
1 answer

what's the meaning of the syscall related asm code in uclibc for i386 architecture

#define INLINE_SYSCALL(name, nr, args...) \ ({ \ unsigned int resultvar; \ asm volatile ( \ LOADARGS_##nr …
Adambynes
  • 167
  • 1
  • 10