On Thu, Nov 06, 2008 at 04:00:21PM +0100, Stefan Reinauer wrote:
I am experimenting with v3 and better integration of SeaBIOS and coreboot. For that, I am copying a SeaBIOS image to the FSEG during coreboot's VGA init code. In addition I added another 32bit entry point to SeaBIOS at 0xffc0 (Thus, living at 0xfffc0)
[...]
Unfortunately, this does not seem to work. The machine jumps somewhere else and will triple fault eventually.
Hrrm. Nothing looks immediately wrong. Are you running this under qemu? If so, one can attach gdb to qemu and set breakpoints in the guest. I've used this in the past with success.
http://bellard.org/qemu/qemu-doc.html#TOC46
BTW, in previous emails I highlighted some disadvantages with a tighter integration of seabios and coreboot. Could you elaborate on the reasons why you think this is the best option?
Also, find attached a patch to allow cross compilation of SeaBIOS and make it work with systems where /bin/echo does not know the option -e
Thanks.
-Kevin