[RTEMS Project] #2634: New warning in pc386 VESA driver

RTEMS trac trac at rtems.org
Wed Mar 9 21:44:22 UTC 2016


#2634: New warning in pc386 VESA driver
---------------------------+-------------------
 Reporter:  joel.sherrill  |       Owner:
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:  4.12
Component:  bsps           |     Version:  4.12
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+-------------------

Comment (by ppisa):

 Hello Chris, I have minimal experience with RSB based RTEMS OS builds, but
 regular configure make builds of RTEMS is by default with VESA graphic
 support which can be then initialized at runtime by RTEMS kernel option
 --video=auto. This result in switch to graphic mode early in RTEMS boot.
 But you need some graphic application to open frame-buffer a draw to it.
 Regular standard output to video console does not emulate characters
 drawing/text mode yet. Initial version of such text mode emulation on
 graphic frame-buffer is implemented in experimental branch of RPi support
 only till now and is in shape that it could be adapted to be generic for
 more architectures.

 I use Microwindows/Nano-X builds for testing (manual by RTEMS graphic
 toolkit do_it -A) or by RSB. Required packages recipes have been
 integrated to mainline RSB as a result of Qiao Yang GSoC project during
 2015 autumn and previous work is already integrated to Micowindows
 mainline as well, so we can even switch scrips to use that directly
 instead of the Alex GSoC Microwindows fork. Microwindows demos can be run
 then on QEMU (VirtualBox not tested but should work too) a we have run
 some tests on real PC hardware during driver development as well.

 Documentation for (now default) VESA configuration is there

 https://devel.rtems.org/wiki/Projects/GraphicsToolkit#RTEMS4.11andVESABIOSExtensionVBE

 RSB build of graphic libraries against regular configure make installed
 RTEMS in /opt

 {{{
 ../source-builder/sb-set-builder \
     --log=graphic-build-log.txt \
     --prefix=/opt/rtems4.11 \
     --rtems-bsp=i386/pc686 \
     --with-rtems-bsp=pc686 \
     --pkg-tar-files \
     4.11/graphics/graphics-all.bset
 }}}

 My QEMU command line

 {{{
 qemu-system-x86_64 -gdb tcp::1234 -enable-kvm -kernel $APP_BINARY \
       -vga cirrus \
       -net nic,vlan=0,model=e1000 -net user,vlan=0 \
       -serial stdio \
       -append "--console=com1 --video=auto"
 }}}

 where $APP_BINARY is RTEMS+application image.

 I use serial output for messages and RTEMS standard output then and
 graphic frame-buffer for tested application.

 Suitable QEMU (qemu-system-x86_64 or qemu-system-i386) should be available
 in all GNU/Linux distributions.

--
Ticket URL: <http://devel.rtems.org/ticket/2634#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list