Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:
Running Linux on low cost, low power, MMU-less processors
Michael Durrant, of Lineo     (August 8, 2000)

Not every embedded system needs high-end Pentium-PC compatibility. In fact, of the nearly 2 billion microprocessors fabricated each year, more than 80 percent go into embedded systems with highly specialized functions.

Embedded devices like web phones, programmable logic controllers, and remote digital cameras often utilize "MMU-less" processors to reduce both cost and power consumption. Although these devices are very compact, low power, highly constrained in terms of resources such as memory, and are often diskless, they can still run Linux.

This whitepaper briefly describes some of the technical issues associated with creating MMU-less embedded devices under uClinux.

What's an MMU?

Computer systems generally include a fixed amount of system "RAM" memory. This memory, which typically ranges from 16 to 256 megabytes, is manipulated by the hardware and operating system to allow the computer to perform run large programs (larger, than the size of memory), or to run multiple programs concurrently via a process called "multi-tasking." The piece of hardware, which today is a small portion of the CPU chip, is called a Memory Management Unit (MMU).

The MMU implements a technique known as "virtual memory."   "Virtual," because it creates an effective memory space that appears to be larger than the actual physical memory present within the system.   "Memory," because this space is treated exactly as if it were physical memory (e.g. RAM). Within this virtual space, each user space program (e.g. application) gets its own independent section, protecting both the OS and the user space programs from faulty or malicious user space software. The MMU is therefore an indispensable feature for desktop PCs or high-end embedded systems.

However, the power, memory, and cost overhead of the MMU often makes it a poor choice for deeply embedded applications. Fortunately a whole class of CPUs, referred to as MMU-less CPUs, is available.

Running Linux on MMU-less processors

Traditionally, Linux evolved around the PC platform and the "x86" (Intel CPU) architecture, and therefore has been optimized for full featured CPUs that include MMUs. However, since its initial release in 1998, uClinux has provided a very small memory footprint especially tailored for those processors which lack an MMU. Originally developed for the Motorola 68328 chip, uClinux now supports an expanding line of processors including: Motorola DragonBall (MC68328 and MC68EZ328), ColdFire 5206e, 5307, 5407, MC68EN302 and MC68EN360, ARM7TDMI, ETRAX, and Intel i960.

When developing for these processors, designers must pay careful attention to each task's memory allocation. Consequently, writing complex applications for MMU-less systems can be somewhat more challenging than developing for systems which include an MMU, but for simple applications like those generally found on a deeply embedded system, code development under uClinux is actually quite straightforward.

Also, programs executing on MMU-less processors are not as intrinsically unsafe as some would believe. One look at the wide array of devices running on low cost, low power processors provides evidence of the usability of uClinux (see examples in the references given below).

Overview of uClinux

uClinux has become a leader in ultimate Linux portability, because the kernel and most of the uClinux applications and services have been heavily optimized, resulting in a code base that is much smaller than the "original" Linux distribution. Despite this small code size, however, uClinux retains the main advantages of the Linux operating system: stability, superior network capability, excellent file system support, standard and widely supported APIs.

Some of uClinux' features include:
  • Common Linux API
  • uCkernel < 512 KB
  • uCkernel + tools < 900 KB
  • Full TCP/IP stack -- uClinux is an internet-ready embedded OS
  • Support for numerous other networking protocols
  • Support for numerous files systems, including NFS, ext2, ROMfs and JFFS (Journaling FLASH File System), MS-DOS, and FAT16/32
Where can I get it?

uClinux is an open source project that can be freely distributed under the GNU General Public License (GPL). Continued development is currently funded, supported, and hosted by Lineo. Lineo also provides an official distribution CD of uClinux that includes support for the Motorola Dragonball and ColdFire, plus beta support for the ARM7TDMI and i960. This CD can be ordered from the uClinux order desk, or the source can be freely downloaded from www.uClinux.org .

Related stories:
   My Linux is smaller than your Linux
   uClinux DOES multi-task
   uClinux -- Linux on Microcontrollers
   Programmable Logic Controllers gain embedded Linux
   Bluetooth "hot spot" appliance contains tiny Linux server
   Tiny SBC (30-pin SIMM form-factor) Runs Linux
   New 1-chip solution for networked Linux appliance
   OpenHardware releases MC68EZ328 SBC reference design
   Euro startup unveils credit-card sized Linux system



About the author:

Michael Durrant is co-founder of Rt-Control Inc., a Toronto based embedded Linux hardware and software company. Michael is an Industrial Engineer with a background in Electronics and Computer Science. Since 1998, Mr. Durrant has been a vocal advocate for the commercial use of Linux in the embedded space. Together with Jeff Dionne, the founder of the Embedded Microcontroller Linux Project - uClinux, Michael has been responsible for the successful marketing of uClinux and uClinux-based hardware products.

Michael Durrant has been involved in the Linux movement since first installing a SLS floppy distribution of Linux using the 0.99.14 kernel. Mr. Durrant a licensed Amateur Radio hobbyist created a Linux based Amateur Radio Internet Gateway while studying at Ryerson This gateway allowed for the inter networking of Amateur radio operators world wide through the Internet. Michael has also conducted seminars on using the TCP/IP Protocol Suite and is actively involved in promoting the use of the AMPRnet a TCP/IP based packet radio network. Michael Durrant joined Lineo, Inc. in February 2000 and is Lineo's Director of Integration.

(Click here for further information)


FUEL Database on MontaVista Linux
Whether building a mobile handset, a car navigation system, a package tracking device, or a home entertainment console, developers need capable software systems, including an operating system, development tools, and supporting libraries, to gain maximum benefit from their hardware platform and to meet aggressive time-to-market goals.

Breaking New Ground: The Evolution of Linux Clustering
With a platform comprising a complete Linux distribution, enhanced for clustering, and tailored for HPC, Penguin Computing¿s Scyld Software provides the building blocks for organizations from enterprises to workgroups to deploy, manage, and maintain Linux clusters, regardless of their size.

Data Monitoring with NightStar LX
Unlike ordinary debuggers, NightStar LX doesn¿t leave you stranded in the dark. It¿s more than just a debugger, it¿s a whole suite of integrated diagnostic tools designed for time-critical Linux applications to reduce test time, increase productivity and lower costs. You can debug, monitor, analyze and tune with minimal intrusion, so you see real execution behavior. And that¿s positively illuminating.

Virtualizing Service Provider Networks with Vyatta
This paper highlights Vyatta's unique ability to virtualize networking functions using Vyatta's secure routing software in service provider environments.

High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD
This white paper discusses a high-availability messaging solution relying on the AXIGEN Mail Server, Heartbeat and DRBD. Solution architecture and implementation, as well as benefits of using AXIGEN for this setup are all presented in detail.

Understanding the Financial Benefits of Open Source
Will open source pay off? Open source is becoming standard within enterprises, often because of cost savings. Find out how much of a financial impact it can have on your organization. Get this methodology and calculator now, compliments of JBoss.

Embedded Hardware and OS Technology Empower PC-Based Platforms
The modern embedded computer is the jack of all trades appearing in many forms.

Data Management for Real-Time Distributed Systems
This paper provides an overview of the network-centric computing model, data distribution services, and distributed data management. It then describes how the SkyBoard integration and synchronization service, coupled with an implementation of the OMG¿s Data Distribution Service (DDS) standard, can be used to create an efficient data distribution, storage, and retrieval system.

7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets



BREAKING NEWS

• Hacker-friendly karaoke PMP runs Linux
• Maemo gains KOffice port
• OLPC partners with Amazon, ITU
• "cJTAG" debuts
• First $100 laptop runs Linux
• First Linux on Everest
• Dell ships Ubuntu- and Atom-based netbook
• Smallest x86 board ever?
• MontaVista Vision gains focus
• "Olympics" phone runs Linux
• Android Challenge winners push location awareness
• Atmel-based industrial SBC runs Linux
• Atom squeezes onto Pico-ITX board
• Via frees Chrome graphics driver source
• Webinar dissects Linux multicore migration


Most popular stories -- past 90 days:
• Open source phone goes mass-market
• Updated! Linux Mobile Phones Showcase
• World's cheapest Linux-based laptop?
• Garmin Nav devices run Gnome Linux
• First Atom-based notebook runs Linux
• ARM9 board boots Debian in 0.69 seconds
• Open source camera records geotagged video to SATA HDD
• Linux-friendly Beagle fetches $150
• "PDA phone" runs Linux
• Intel offers $80 "Little Falls" Atom mobo
• Netflix Player runs Linux


DesktopLinux headlines:
• OSCON 2008 presentations, videos posted
• Debian distro named for little green man
• Google spins web browser
• Summit debuts for Linux end users
• "UbuntuLite" reviewed
• Linux in the SME
• Linux: not yet photo-friendly
• Linux to gain anti-virus software
• Linux gains backup utility
• Testing Lenny


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.