[openfirmware] Troubleshooting VGA under qemu? [patch]
Marcin Cieslak
saper at saper.info
Fri Oct 2 08:01:22 CET 2015
On Fri, 2 Oct 2015, James Cameron wrote:
> > Index: dev/video/vmsvga.bth
> > ===================================================================
> > --- dev/video/vmsvga.bth (revision 3784)
> > +++ dev/video/vmsvga.bth (working copy)
> > @@ -12,6 +12,7 @@
> > " display" device-name
> >
> > fload ${BP}/dev/video/controlr/vmsvga.fth \ VMware-specific words
> > +probe
> >
> > end0
>
> Is this the right place for probe? The build now pauses in the
> builder;
>
> host:~/openfirmware$ (cd cpu/x86/pc/emu/build; make clean)
> rm -f *.dic *.log headers *~ *.elf *.di *.img builton.fth build *.c32 *.rom
> host:~/openfirmware$ (cd cpu/x86/pc/emu/build; make)
> ./build emuofw.rom
> --- Rebuilding rmreset.img
> --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../rmreset.bth
> --- Rebuilding pmreset.di
> --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../pmreset.bth
> --- Rebuilding paging.di
> --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../../paging.bth
> --- Rebuilding fw.img
> --- Cmd: ${HOSTDIR}/x86forth ${BP}/cpu/x86/build/basefw.dic ../fw.bth
> Page Fault
That's strange!
On my system "probe" is executed as soon the kernel
tries to load fcode from devices' ROM.
I have no idea how the build system works, I just copied it from bga.bth
Is bga (Bochs Adapter, -vga std) working for you?
I think that begin-tokenizing ... end-tokenizing should protect us from execution?
~Marcin
More information about the openfirmware
mailing list