| 1 | = Pc386 = |
| 2 | |
| 3 | |
| 4 | 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: |
| 5 | |
| 6 | * pc386 - i386DX class CPU with i387 FPU |
| 7 | * pc386dx - i386DX class CPU without an FPU |
| 8 | * pc486 - i486 class CPU with integrated FPU |
| 9 | * pc586 - Pentium class CPU |
| 10 | * pc686 - Pentium II class CPU |
| 11 | * pck6 - AMD K6 CPU |
| 12 | |
| 13 | More variants can be added to take advantage of GCC optimizations for newer CPUs or to take advantage of features in newer CPUs. |
| 14 | |
| 15 | Instructions are available for using this BSP with the PC simulator [wiki:Developer/Simulators/Bochs Bochs]. |
| 16 | = Booting an RTEMS Application = |
| 17 | |
| 18 | |
| 19 | TBD |
| 20 | = Embedded PC Platforms = |
| 21 | |
| 22 | |
| 23 | There are a wide variety of embedded PC platforms. Specific instructions are available for the following: |
| 24 | |
| 25 | * TBD - want pages specific to Bobcat, DIMMPC, etc. |
| 26 | = Serial Port as Console = |
| 27 | |
| 28 | |
| 29 | 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, |
| 30 | 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): |
| 31 | |
| 32 | {{{ |
| 33 | * / |
| 34 | rtems''termios''initialize (); |
| 35 | |
| 36 | #define RTEMS''RUNTIME''CONSOLE_SELECT |
| 37 | #ifdef RTEMS''RUNTIME''CONSOLE_SELECT |
| 38 | /* |
| 39 | * If no video card, fall back to serial port console |
| 40 | |
| 41 | }}} |
| 42 | |
| 43 | |
| 44 | * -[wiki:TBR/User/JoelSherrill JoelSherrill] |