I think the patch is in this link. http://www.coreboot.org/pipermail/coreboot/2008-September/038551.html Is this one, Myles?
I am also now trying to boot XP with SeaBios as payload on VIA's board.
on 30/10/2008 16:52 Myles Watson said the following:
-----Original Message----- From: Andriy Gapon [mailto:avg@icyb.net.ua] Sent: Thursday, October 30, 2008 8:43 AM To: Myles Watson Cc: 'Coreboot' Subject: Re: [coreboot] coreboot.v2+seabios on 440bx: option roms not
found
on 30/10/2008 16:34 Myles Watson said the following:
-----Original Message----- From: coreboot-bounces@coreboot.org [mailto:coreboot-
bounces@coreboot.org]
On Behalf Of Andriy Gapon Sent: Thursday, October 30, 2008 8:25 AM To: Coreboot Subject: [coreboot] coreboot.v2+seabios on 440bx: option roms not found
In northbridge/intel/i440bx/raminit.c:sdram_set_spd_registers all PAM registers are programmed for RAM R/W access (0x33). When SeaBIOS searches for option ROMs (including VGA ROM) it doesn't do anything about PAM, so it sees empty memory instead of
the ROMs.
I am not sure what is the best solution here. It is debatable how coreboot should set PAM register, and it is not right to make SeaBIOS too hardware dependent.
Maybe coreboot could somehow export functions for setting access to
option ROM space (aka legacy memory segments) and SeaBIOS could call
them.
I think SeaBIOS expects Coreboot to copy the option ROM to 0xc0000 in
RAM.
That way SeaBIOS gets to stay hardware agnostic.
Makes sense! But it doesn't look like this does actually happen (by default). I am playing with msi/ms6147 target (under heavily tweaked qemu).
You're right. It doesn't happen by default. Kevin sent a simple patch to the list, which I can't find right now :(
Basically you tell coreboot to run the ROM, but comment out the execution right after the copy. Let me know if you can't find it, and
I'll try to help you dig.
I found a post where Kevin talks about this but no patch.
I am thinking about this approach for 440BX: set PAM registers to "read from ROM, write to RAM" mode, copy the whole range onto itself, set PAM register to R/W RAM mode. I am not sure if this better be done for all legacy segments (0xC0000 - 0xFFFFF range) or only for option ROM segments (0xC0000 - 0xDFFFF range) excluding BIOS Area and BIOS Extension segments.
P.S. This approach won't work in stock qemu because of incorrect implementation (absence, actually) of emulation of this "mixed" PAM mode.
-----Original Message----- From: coreboot-bounces@coreboot.org [mailto:coreboot-bounces@coreboot.org] On Behalf Of JasonZhao@viatech.com.cn Sent: Monday, November 03, 2008 7:43 PM To: avg@icyb.net.ua Cc: coreboot@coreboot.org Subject: Re: [coreboot] coreboot.v2+seabios on 440bx: option roms not
I think the patch is in this link. http://www.coreboot.org/pipermail/coreboot/2008-September/038551.html Is this one, Myles?
That looks more complex than what I was thinking of. I'm attaching a patch that returns after copying the ROM to RAM, but before executing it. It should work as long as the board you're using uses the generic pci ROM code.
I am also now trying to boot XP with SeaBios as payload on VIA's board.
Great. Let us know how it goes.
Thanks, Myles
On Mon, Nov 3, 2008 at 7:40 PM, Myles Watson mylesgw@gmail.com wrote:
-----Original Message----- From: coreboot-bounces@coreboot.org [mailto:coreboot-bounces@coreboot.org] On Behalf Of JasonZhao@viatech.com.cn Sent: Monday, November 03, 2008 7:43 PM To: avg@icyb.net.ua Cc: coreboot@coreboot.org Subject: Re: [coreboot] coreboot.v2+seabios on 440bx: option roms not
I think the patch is in this link. http://www.coreboot.org/pipermail/coreboot/2008-September/038551.html Is this one, Myles?
That looks more complex than what I was thinking of. I'm attaching a patch that returns after copying the ROM to RAM, but before executing it. It should work as long as the board you're using uses the generic pci ROM code.
I am also now trying to boot XP with SeaBios as payload on VIA's board.
Great. Let us know how it goes.
This worked for Peter and me this week.
We retried with an ACPI install of XP and it hangs at Mup.sys. I think we need some fixes for ACPI.
jason, which board are you using, I should try to get one.
But seabios works wonderfully well, I am really impressed!
ron
Hi ron, I use VX800(puls C7), don't know if this chipset has appear on market:).
I had used coreboot+filo to boot ubuntu8.04 three day before, and everything are perfect, ide,network,audio,sata,usb,s3(kb+mouse+powerbutton can wake),s4,powerdown,reboot.
I began to try seabios from yesterday. I applied the patch in this link http://www.coreboot.org/pipermail/coreboot/2008-September/038551.html, And use seabios as payload.
Now I just download the file bios.bin.elf-20081027 from seabios's site, and didn't run "make" myself, and seabios stop at somewhere. But this is just a beginning:)
Jason zhao
-----Original Message----- From: ron minnich [mailto:rminnich@gmail.com] Sent: Tuesday, November 04, 2008 11:46 AM To: Myles Watson Cc: Jason Zhao; avg@icyb.net.ua; coreboot@coreboot.org Subject: Re: [coreboot] coreboot.v2+seabios on 440bx: option roms not
On Mon, Nov 3, 2008 at 7:40 PM, Myles Watson mylesgw@gmail.com wrote:
-----Original Message----- From: coreboot-bounces@coreboot.org
[mailto:coreboot-bounces@coreboot.org]
On Behalf Of JasonZhao@viatech.com.cn Sent: Monday, November 03, 2008 7:43 PM To: avg@icyb.net.ua Cc: coreboot@coreboot.org Subject: Re: [coreboot] coreboot.v2+seabios on 440bx: option roms not
I think the patch is in this link. http://www.coreboot.org/pipermail/coreboot/2008-September/038551.html Is this one, Myles?
That looks more complex than what I was thinking of. I'm attaching a
patch
that returns after copying the ROM to RAM, but before executing it.
It
should work as long as the board you're using uses the generic pci ROM
code.
I am also now trying to boot XP with SeaBios as payload on VIA's
board.
Great. Let us know how it goes.
This worked for Peter and me this week.
We retried with an ACPI install of XP and it hangs at Mup.sys. I think we need some fixes for ACPI.
jason, which board are you using, I should try to get one.
But seabios works wonderfully well, I am really impressed!
ron