Bochs simulator and pc386 BSP

Erwin Rol erwin at muffin.org
Sun Feb 6 15:57:11 UTC 2000


At the moment i am looking into the build in debugger posibility of
BOCHS, and i think it can be changed to use GDB's protocol. 
This would mean one could debug a PC binary (RTEMS/BIOS/dos/ what ever)
whith GDB witout the need to have debug support in the actual target.
Somesort of background debugging mode. This would also mean one could
more easely download target executables on random places in memory.
Will let you know how it works out.

BTW i think it should work under cygwin , cause the BOCHS ppl seem to
try to keep their source as portable as possible. 
 
Mouse has some problems, it flipped out when i tried ros his PS2 version
due to
writing to some unsupported PS2 reg, but because we have the source i am
sure
the BOCHs ppl are happy to accept anny fixes for problems like that.
The same for VGA, it is rather sensitive for wrongly programmed hardware
:-)


- Erwin


Joel Sherrill wrote:
> 
> Rosimildo daSilva wrote:
> >
> > From: Joel Sherrill <joel.sherrill at OARcorp.com>
> > To: rtems-users at OARcorp.com <rtems-users at OARcorp.com>
> > Date: Friday, February 04, 2000 11:19 AM
> > Subject: Bochs simulator and pc386 BSP
> >
> > >
> > >In looking at Erwin Rol's notes on his Bochs success and checking
> > >the Bochs page, I believe that Bochs simulates enough PC peripherals
> > >where one should be able to FULLY exercise RTEMS on the simulator.
> > >This includes the network stack and Microwindows.  Bochs simulates
> > >an NE2000 .. so there is enough to do the network stack.  I assume
> > >it can do SVGA, keyboard, and mouse so there is Microwindows.
> > >
> > >I am mentioning this because I can not investigate this further
> > >at this time but think it looks incredibly promising since you
> > >can then debug things under Linux without having a second PC. :)
> > >
> >
> > Do you know if this works under CygWin ?
> 
> I do not know.  It is not listed under the "know to work" platforms.
> 
> Windows itself is if you build with Visual C++.
> 
> > >I hope someone takes the challenge of checking out the pc386 BSP
> > >more fully with Bochs and lets everyone know about their results.
> > >
> >
> > Me too. :-)
> 
> As best I can tell, Bochs would make an ideal target platform for
> testing Microwindows on.  At least everyone would be on identical
> hardware configurations. :)
> 
> > Rosimildo.
> 
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel at OARcorp.com                 On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>    Support Available             (256) 722-9985



More information about the users mailing list