hmm can you try warm boot? ie first boot with your classic pc bios, then warm boot into the linuxbios+adlo and all other stuff.
I tried but no success.
If you have ICE, you could try to see how far it goes. u could setup execution break point at 0x7C00 as it is used repeately during the boot.
I don't have ICE (Could you recommend one ?) . Therefore I printed post code at several point of bochs code. And I think it stop during VGABIOS execution because it works before option rom scan procedure. I think EPIA bios do something on northbridge settings which VGABIOS require. How do you think?
I found some VGA related registers on northbridge such as 0xfb register which have 'VGA Enable' disable bit. However When I enable it, strangely etherboot doesn't works and system restarted. (My boot configuration is linuxbios -> etherboot -> ADLO payload )
Hmm..
-- Adam Sulmicki http://www.eax.com The Supreme Headquarters of the 32 bit registers
I tried but no success.
In the current cvs tree, vga is not enabled. Have you enabled it yet?
-Andrew
I don't have ICE (Could you recommend one ?).
I suppose Ron knows much more about them than I do.
All we have here is American Arium ECM 20.
Therefore I printed post code at several point of bochs code. And I think it stop during VGABIOS execution because it works before option rom scan procedure. I think EPIA bios do something on northbridge settings which VGABIOS require. How do you think?
It is possible. It was one of those things that I hoped warm boot would take care of.
Another idea to try. I'm not actually sure if BOCHS BIOS would boot without the VGABIOS but it should be possible, so. ( I assume u have here Port 80 card.) First unboundle vga bios. ie does not include it at all. Then write a simple boot sector which sets port 80 to something and see if you can get that far.
Also this way you sould be able to take care problems in bochs bios which are not related to video. It could potentially make trying to take care of video easier.
if the binary only vga bios comes out to be useless you could grab video bios from boch's project and try to adapt that one instead.
I found some VGA related registers on northbridge such as 0xfb register which have 'VGA Enable' disable bit. However When I enable it, strangely etherboot doesn't works and system restarted. (My boot configuration is linuxbios -> etherboot -> ADLO payload )
I guess ICE makes life easier.
I wish I could work on this but I don't have time.
What you ought to do:
- bring the node up with serial console - run the linuxbios utility for vga bios emulation (vgabios) and try to use it with a known-good vga bios image to see if you can get vga up
I think that's the easiest way.
ron