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

Keywords: Match:
ELJonline: Embed with Lineo Educational Services
Richard Vernon   (July, 2001)

Richard gives us a concise review of Embedded Linux Programming with uClinux.

In April, I was invited to attend a new training course from Lineo Education Services on Embedded Linux Programming with uClinux. The class is a full three days costing $1,495 US, 10% of which can be spared by registering three weeks in advance. Never one to turn down something expensive for free (if it costs a lot, it must be worth a lot, right?), I was happy to go.

The course instructor was Phil Wilshire, an experienced embedded systems developer. Each student is given the Lineo Academix kit that includes the uClinux Linux distribution, accompanying literature and the uCsimm microcontroller offering 2MB of Flash, 8MB of DRAM, a 16MHz Motorola DragonBall processor and more on a 3.5" × 1" board. Though the uCsimm is being phased out, it's still a pretty neat little board (anything with LEDs can't be boring). The uCsimm replacement is the uCevolution and includes two, rather than one, serial ports, two USB ports, SDRAM rather than DRAM and a few other upgrades. The uCevolution is currently available as a product and will be used in Lineo Education courses starting around the end of September, though the uCsimm course will continue as long as there is interest. The Academix distro kit is designed to be used for Linux where it can do the most good--in educational environments--and is priced with school budgets in mind.

The class is geared to both embedded programmers with a Windows background and Linux users with no embedded programming experience, giving it a fairly wide appeal. Its four basic goals are to introduce embedded Linux and the uCsimm, introduce cross-development tools available for Linux, explain how an embedded Linux system boots and runs programs and teach how to write and deploy both kernel and user-level code for an embedded system.

In fact, so much is covered in three days that it would be a valuable course for anyone looking to learn just Linux or even some C programming basics. Those without coding knowledge are simply given the code to plug in, with the option to learn as much as desired about it within the time constraints. With the small class size, I saw that tailoring the course to the individual needs of the students was not a problem.

Though the material the course covered is nailed down, it is still somewhat in development as far as course literature. I was fortunate, however, in that two Lineo teachers in training were also observing the class and were available to offer additional help.

The first day covered Linux basics. My experience with using Linux on the desktop gave me a real edge here over the non-Linux programmers in the class, but as the course progressed further into the realm of programming, I found myself frequently asking for explanations and getting a little behind.

The course is intended to give students everything they need to begin programming the uCsimm microcontroller. Though the in-class demonstrations and exercises fly by too quickly for anyone hearing them for the first time to retain, we were provided with a notebook (with over 100 pages) reproducing everything done in class. The first two days were spent cramming students' heads to bursting with information and exercises, and the third engaged in putting it all together.

After selling us on the advantages of Linux as an embedded OS, Phil started in on basic Linux/UNIX filesystems, command syntax and some basic commands and text editors. Our first exercise was to copy a new XF86Config into our systems to improve the resolution on the laptops. Phil's pleasant disposition made it difficult to hold his preference for pico against him. But hey, I did try.

Most of the second day was spent experimenting with make and Makefiles, and additional utilities such as RPM, patch and diff. We also wrote and compiled a "hello world" for both x86 and m68k and practiced hardware programming by making the LEDs on the uCsimm turn on and off with a little C. Experience working with the uClinux network was gained by alternating the development and the target system between both the server and client roles.

The last day included updating the kernel build, timers, debugging with GDB and DDD and an introduction to BusyBox and TinyLogin, among other things.

The process of recompiling the uClinux kernel, burning the images to Flash and using initrd to unpack a compressed root filesystem image to RAM on the target system, developing a simple application for the target system, working with make, patch and diff, tar and playing with networking, gave each student a wide range of exposure to skills used in both embedded and desktop programming, network management and just working with Linux on the desktop. The combination of the Academix kit, the literature and the contacts is enough to set any programmer off on his/her own to begin developing embedded applications for the uCsimm.

If you've got limited time for training and are looking for something that covers a broad spectrum, then it's money well spent. You even get a classy certificate upon completion (my first that's not in crayon). My knowledge of Linux has come from using it in an office and home environment (and reading a hell of a lot of articles), and I found that the course filled in many gaps. As with every other contact I've had with Lineo, the corporate impression that comes across in the class is a pleasant mix of amiability and professionalism.

The next course is planned for San Mateo, California, July 24-26, 2001. Registration can be done on-line at http://www.lineo.com/education/registration/.




About the author: Richard Vernon is editor in chief of Linux Journal.



Copyright © 2001 Specialized Systems Consultants, Inc. All rights reserved. Embedded Linux Journal Online is a cooperative project of Embedded Linux Journal and LinuxDevices.com.


(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
(Become a sponsor)
GOLD SPONSORS
(Become a sponsor)
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

Mobile phones!

MIDs, UMPCs
& tablets

Mobile devices

Other cool
gadgets



Resource Library

• Unix, Linux Uptime and Reliability Increase: Patch Management Woes Plague Windows Yankee Group survey finds IBM AIX Unix is highest in ...
• Scalable, Fault-Tolerant NAS for Oracle - The Next Generation For several years NAS has been evolving as a storage ...
• Managing Software Intellectual Property in an Open Source World This whitepaper draws on the experiences of the Black Duck ...
• Open Source Security Myths Dispelled Is it risky to trust mission-critical infrastructure to open source ...
• Bringing IT Operations Management to Open Source & Beyond Download this IDC analyst report to learn how open source ...


BREAKING NEWS

• "3G" HP netbook boasts Atom, ExpressCard expansion
• Mini-notebook chips suitable for Linux devices?
• Single-drive NAS runs ARM Linux
• Linux fast-boot add-on reviewed
• Linux NAS/iSCSI server adopts Atom
• Superscalar ARM SoC runs Linux
• "Zubuntu" keeps Zaurus spirit alive
• i.MX515 targets Linux netbooks
• Palm "Nova" Linux set for CES debut?
• German Linux integrator launches workshops
• In memorium: Thiemo Seufer
• Browser for Linux devices hits second alpha
• OpenSUSE changes licenses
• "...and I'm Linux" contest nears
• COM Express module sports Atom


Most popular stories -- past 90 days:
• Linux boots in 2.97 seconds
• Tiniest Linux system, yet?
• Linux powers "cloud" gaming console
• Report: T-Mobile sells out first 1.5 million G1s
• Open set-top box ships
• E17 adapted to Linux devices, demo'd on Treo650
• Android debuts
• First ALP Linux smartphone?
• Cortex-A8 gaming handheld runs Linux
• Ubuntu announces ARM port


DesktopLinux headlines:
• A peek at Phoenix HyperSpace
• Linux desktop gains kid-friendly browser
• OpenSUSE Community Manager discusses 11.1 release
• "...and I'm Linux" video contest approaches
• OpenSUSE rev's license, build system
• Linux gains fresh "AIR"
• Video-call software boasts HD quality
• Sun rev's "open source" desktop VM manager
• Open source music player rev's up
• Fedora 10 dubbed a "solid" chapeau


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.