The ChorusOS 5.0 Board Support Package Developer's Guide contains a description of the hardware abstraction layer of the ChorusOS system and the ChorusOS Device Driver Framework. It describes the source file structure that allows you to port the ChorusOS operating system to a new hardware platform and add support for new devices.
This book is part of the ChorusOS Target Platform Collection.
The Board Support Package Developer's Guide is intended for users of the ChorusOS operating system who will be involved in one of two target specific tasks: porting the ChorusOS operating system to a new target platform, or developing new device or bus drivers.
This guide relies on the fact that you are familiar with the concepts of device drivers and porting. You should also read the following if you are not familiar with the concepts of building a booting and ChorusOS system image.
ChorusOS Features and Architecture Overview This book provides a general overview of the architecture of the ChorusOS operating system.
ChorusOS Installation Guide This book guides you through the initial installation of Sun Embedded Workshop on the host, and describes how to build and boot a standard system image on a target board.
The ChorusOS Board Support Package Developer's Guide is organized as follows:
Part 1 Overview
Chapter 1: Overview of ChorusOS Operating System and its Initialization
Chapter 2 Overview of Porting and Creating new Drivers
Part 2: Porting the ChorusOS Operating System to a New Target Board
Chapter 3: Writing a New Board Support Package
Chapter 4: The ChorusOS Boot Program
Chapter 5: The ChorusOS Reboot Program
Chapter 6: Porting the Debug Agent and Hot Swap Support
Chapter 7: Configuring the ChorusOS System Image
Part 3: The ChorusOS Device Driver Framework
Chapter 8: Introduction to the ChorusOS Driver Framework
Chapter 9: Driver Kernel Interface Overview
Chatper 10: Writing a New Device Driver
Chapter 11: Writing a New Bus Driver
Part 4: Driver Hardening
Chapter 12: Overview of Driver Hardening
Chapter 13: Hardened Driver Requirements
Chapter 14: Testing Hardened Drivers
For more information about working with the concepts of configuring and building a ChorusOS system image:
ChorusOS Source Delivery Guide
ChorusOS System Administrator's Guide
Fatbrain.com, an Internet professional bookstore, stocks select product documentation from Sun Microsystems, Inc.
For a list of documents and how to order them, visit the Sun Documentation Center on Fatbrain.com at http://www1.fatbrain.com/documentation/sun.
The docs.sun.comSM Web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. The URL is http://www.oracle.com/technetwork/indexes/documentation/index.html.
The following table describes the typographic changes used in this book.
Table P-1 Typographic Conventions
Typeface or Symbol |
Meaning |
Example |
---|---|---|
AaBbCc123 | The names of commands, files, and directories; on-screen computer output |
Edit your .login file. Use ls -a to list all files. machine_name% you have mail. |
AaBbCc123 | What you type, contrasted with on-screen computer output |
machine_name% su Password: |
AaBbCc123 | Command-line placeholder: replace with a real name or value |
To delete a file, type rm filename. |
AaBbCc123 |
Book titles, new words, or terms, or words to be emphasized. |
Read Chapter 6 in User's Guide. These are called class options. You must be root to do this. |
The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.
Table P-2 Shell Prompts
Shell |
Prompt |
---|---|
C shell prompt | machine_name% |
C shell superuser prompt | machine_name# |
Bourne shell and Korn shell prompt | $ |
Bourne shell and Korn shell superuser prompt | # |
The following table describes the directory conventions used in this book.
Table P-3 Directory Conventions
family is one of the following:
usparc for UltraSPARC IIi/III
x86 for Intel x86/Pentium
ppc60x for the Motorola PowerPC 60x and 750 processor family and the PowerQUICC II (mpc8260) microcontroller
mpc860 for the Motorola PowerQUICC I (mpc8xx) microcontroller.