| 219 | = Running RTEMS Graphics Toolkit under QEMU = |
| 220 | |
| 221 | |
| 222 | Development version of RTEMS pc386 (pc[3456]86) BSP includes [http://git.rtems.org/rtems/tree/c/src/lib/libbsp/i386/pc386/console/fb_cirrus.c Cirrus GD5446 driver]. |
| 223 | This driver is alternative to bare (planar) VGA driver and provides support for linear mapping of framebuffer and 16, 24 and 32 BPP support. |
| 224 | The Cirrus GD5446 driver can be selected during RTEMS configure when option USE_CIRRUS_GD5446=1 is set. |
| 225 | |
| 226 | Example of a full configuration command used for RTEMS Graphics Toolkit under QEMU |
| 227 | |
| 228 | {{{ |
| 229 | export USE_CIRRUS_GD5446=1 |
| 230 | ../rtems/configure --target=i386-rtems4.11 --prefix=/opt/rtems4.11 \ |
| 231 | --enable-rtems-inlines --disable-multiprocessing --enable-cxx \ |
| 232 | --enable-rdbg --enable-maintainer-mode --enable-networking --enable-posix \ |
| 233 | --enable-itron --disable-ada --disable-expada --disable-multilib --disable-docs \ |
| 234 | --enable-rtemsbsp=pc686 |
| 235 | make |
| 236 | make install |
| 237 | }}} |
| 238 | |
| 239 | QEMU wrapper script '''pc386''' from [http://git.rtems.org/rtems-testing/ '''rtems-testing'''] allows to start |
| 240 | application with graphic user interface when option '''-D''' is used. Exmple to start basic Microwindows/Nano-X |
| 241 | demo from RTEMS Graphics Toolkit |
| 242 | |
| 243 | {{{ |
| 244 | /path/to/pc386 -D -i /path/to/build/rtems-graphics-toolkit/microwin/src/bin/demo |
| 245 | }}} |