Help with Bochs Needed
ar63 at evansville.edu
Mon Oct 25 17:01:33 UTC 2004
Joel Sherrill wrote:
> I've been using the grub floppy image in the 4.5.x/contrib directories
> and booting from it. I know it's old but it does work. You can
> replace the .exe's on it with ones from a newer RTEMS.
I can run the exe's on the floppy, but I can't run any of the ones
I create myself. It doesn't appear to be a grub problem, I can copy
the exe from the floppy to my hd image (which contains the latest grub,
0.94) and they run okay. So it appears to be a problem with my RTEMS
build. Here's the configure command I used:
/opt/rtems-4.6/tools/rtems-4.6.2/configure --target=i386-rtems \
--disable-posix --disable-networking --disable-cxx \
Is there anything wrong there? Should I try under Linux to see if
it is a Linux vs cygwin problem?
I noticed my hello.exe is larger than the hello.exe on grub floppy
in the contrib directory (102832 bytes vs 66736 bytes), but I assume
that's because I'm using the latest RTEMS release.
> Richardson, Anthony wrote:
> > I can't seem to get applications running under
> > Bochs. I'm trying to get the hello example running.
> > I'm using RTEMS 4.6.2 under cygwin. I configure
> > using the i386-rtems target and the pc386 BSP.
> > Everything seems to compile and build without any
> > problems.
> > I copy the hello.exe to my hard disk image and start
> > Bochs. At the grub prompt I type:
> > root (hd0,0)
> > kernel /hello.exe
> > and grub responds
> > [Multiboot-elf, <0x100000:0x18fc4:0x2768>, shtab=0x11c140,
> > entry=0x10000c]
> > which seems to indicate that grub recognizes it as a proper kernel
> > anyway.
> > I then type (at the grub prompt):
> > boot
> > The bochs screen goes blank, but then nothing is displayed.
> > I've tried some of the other examples with similar results.
> > Am I doing something incorrectly or am I overlooking something?
> > Any help is greatly appreciated.
> > Tony Richardson
> 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