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

  Home arrow Linux For Devices Articles arrow RedBoot -- an open source boot/debug environment

RedBoot -- an open source boot/debug environment
By Rick Lehrbaum

Rate This Article: Add This Article To:

RedBoot is a new embedded system debug/bootstrap environment from Red Hat. It is designed to replace the existing debug/boot tools CygMon and GDB stubs. It provides a complete bootstrap environment, including network downloading and debugging. It also provides a simple flash file system for boot images.



"RedBoot" may be thought of as an acronym for "Red Hat Embedded Debug and Bootstrap". RedBoot provides a wide set of tools for downloading and executing programs on embedded target systems, as well as tools for manipulating the target system's environment. It can be used for both product development (debug support) and for end product deployment (Flash and network booting). It is based on the eCos hardware abstraction layer (HAL).

Within the embedded industry, there exists no standard architecture or implementation for bootstrapping embedded computers. Because RedBoot is based on eCos, which is capable of running on many architectures, and because its debugging support is based on gdb, RedBoot can become a common embedded standard. Thus, RedBoot can provide a common basis for bootstrapping Embedded Linux, eCos, and many other operating systems.

RedBoot includes the following basic functionality:
  • Remote debugging support -- connectivity between host and target systems over serial and Ethernet interfaces (gdb stubs)

  • Simple command line interface -- available via serial or Ethernet

  • Flash memory management -- download/update/erase of multiple flash boot images, boot direct from flash

  • Network booting -- inc setup and download (bootp/dhcp, tftpboot)

  • Attribute Configuration -- user control of aspects such as system
    time and date (if applicable), default Flash image to boot from, default failsafe image, static IP address, etc.

  • Configurable and extensible -- easily adapted to the target environment

  • Universality -- RedBoot supports GNUPro, eCos, and Embedded Linux use on the embedded target as well as other operating systems.
One of RedBoot's important benefits is that it includes support for -- and therefore enables -- remote debugging of the target board. Often, one has to use special devices hooked to embedded boards to debug the code running on them. This enables developers to run the debugger in a familiar host environment (e.g. the Linux desktop) that is remotely talking via a serial or Ethernet connection to the board from a desktop system, or from some remote machine over a network.

Supported platforms currently include: ARM, MIPS, MN10300, PowerPC, SH (Hitachi), NEC v850, and x86 (Intel architecture).

RedBoot currently provides three basic classes of commands:
  • Program loading and execution
  • Flash memory image and configuration management
  • Miscellaneous commands
Of course, given the extensible and configurable nature of eCos and RedBoot, there may be more [or fewer] sets of commands available.

Although RedBoot is derived from eCos, it is not eCos but rather may be used as a generalized system debug and bootstrap control software for any embedded system and any operating system. For example, with appropriate additions, RedBoot could replace the commonly used BIOS of PC (and certain other) architectures. Red Hat is currently installing RedBoot on all embedded platforms as a standard practice, and RedBoot is now generally included as part of all Red Hat contracts for Embedded Linux and eCos ports.

Preliminary RedBoot documentation, including a draft of the RedBoot User Guide, is available on Red Hat's developer website. RedBoot documentation currently covers the following topics:
  • RedBoot Overview
  • How to install RedBoot on your hardware
  • RedBoot commands and examples
  • Building RedBoot from the supplied sources
  • Configuring and extending RedBoot functionality -- including how to use RedBoot in a production environment, as opposed to its use for embedded computer development/debug.
  • How to port RedBoot
Here are pointers to some currently available RedBoot information and documentation:
  • RedBoot User's Manual -- the preliminary user's manual for RedBoot is available, in pdf format, here. It currently includes the following sections . . .
      Common commands
      Download Process
      Flash Image System
      Persistent state [flash-based configuration] control
      Program execution
      Installation and testing

  • RedBoot Source Code -- the latest sources for RedBoot are part of the standard eCos source tree, which is available via anonymous CVS here.
Since RedBoot is an eCos package, you need only have the eCos sources to build it. Then, just enable/include the RedBoot package and you're done.

What's next?

Red Hat is presently working on adding such features as power-on-self-test (POST) and USB connectivity (including download and debug). Also, there are numerous ongoing ports to additional CPU and board architectures. Future enhancements will include incorporation of support for secure field upgrade of firmware and boot images remotely over the net, in a manner that will be compatible with Red Hat's new Red Hat Network.

Since announcing RedBoot, Red Hat has received strong interest in RedBoot from semiconductor companies and board manufacturers who are eager to provide a common, open source, portable, boot and debug solution that can support Embedded Linux and other OSes. Red Hat's aim is to make RedBoot an industry standard for embedded boot firmware -- both in the development and production environments.



Related stories:
Red Hat unveils embedded device startup/debug firmware
Red Hat announces Internet-based support infrastructure

Talkback:
    Do you have questions or comments on this article?   talkback here




Discuss RedBoot -- an open source boot/debug environment
 
>>> Be the FIRST to comment on this article!
 
 
 
>>> More Linux For Devices Articles Articles          >>> More By Rick Lehrbaum
 



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

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

• NAS system houses 2.5-inch drives for up to 6TB
• Atom SBC boasts special low-power mode
• Android leaps to rugged handheld, and more phones
• Simulator runs Android apps on Ubuntu
• Fanless industrial PC taps Atom
• Router platform runs OpenWRT Linux
• Feature-packed UMPC survives four-foot drops
• UMPC pioneer gives up the ghost
• Biodegradable, solar-powered netbook runs Linux
• Hypervisor rev'd for higher reliability
• Eurotech spins Atom development kits
• Home media server to demo on Intel Atom platform
• Atom boards feature fanless DC operation
• Low-cost pluggable NAS adds Linux support
• Taiwan open source conference sets agenda


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:
• Simulator runs Android apps on Ubuntu
• Hypervisor rev'd for higher reliability
• Pluggable NAS now supports Linux desktops
• Moblin v2 beta targets netbooks
• Linux-ready netbook touted as "Student rugged"
• USB display technology heading for Linux
• Ubuntu One takes baby step to the cloud
• Game over for Linux netbooks?
• Linux Foundation relaunches Linux web site
• Dell spins lower-cost netbook


Also visit our sister site:


Sign up for LinuxForDevices.com's...

news feed


Or, follow us on Twitter...