wiki:TBR/BSP/Pc386

Version 1 (modified by JoelSherrill, on Sep 7, 2005 at 8:31:17 PM) (diff)

Pc386

The PC386 BSP is designed to support a wide variety of PC clones and supports "variants" for the most popular CPU models. The availablility of these variant builds makes it possible to build a BSP which is optimized for a particular CPU model. Currently, the following variants are available:

  • pc386 - i386DX class CPU with i387 FPU
  • pc386dx - i386DX class CPU without an FPU
  • pc486 - i486 class CPU with integrated FPU
  • pc586 - Pentium class CPU
  • pc686 - Pentium II class CPU
  • pck6 - AMD K6 CPU

More variants can be added to take advantage of GCC optimizations for newer CPUs or to take advantage of features in newer CPUs.

Instructions are available for using this BSP with the PC simulator Bochs.

Booting an RTEMS Application

TBD

Embedded PC Platforms

There are a wide variety of embedded PC platforms. Specific instructions are available for the following:

  • TBD - want pages specific to Bobcat, DIMMPC, etc.

Serial Port as Console

If you are willing to set a define and recompile, any serial port can be forced to be the console rather than the video. In addition, Eric Norum made a change that lets the BSP automatically fall back to using COM2: as a serial-line console (9600-8N1) if no video adapter is present. This allows the pc386 BSP to be used on conventional PCs with video adapters as well as with embedded PCs (PC-104) which have no video adapters. To make this change, add the '#define' line shown below (example based on rtems-ss-20030128/c/src/lib/libbsp/i386/pc386/console/console.c):

  * /
 rtems''termios''initialize ();

#define RTEMS''RUNTIME''CONSOLE_SELECT
#ifdef RTEMS''RUNTIME''CONSOLE_SELECT
 /*
  * If no video card, fall back to serial port console