On Mon, Jul 06, 2015 at 08:04:55PM +0200, Patrick Rudolph wrote:
Am 2015-07-06 15:25, schrieb Kevin O'Connor:
On Sun, Jul 05, 2015 at 07:30:29PM +0200, Patrick Rudolph wrote:
Hello, I'm trying to use SeaBIOS, but it's stuck at timer init. I've located the problem at line 71 in file src/hw/timer.c. It tries to write IO register 0x43 and freezes.
Do you have any idea what could be wrong ?
- Intel Pentium CPU G2130
- Gigabyte GA-B75M-D3H
- SeaBIOS 1.7.5 and SeaBIOS git f24eb2f853d4aa28814761e0bbc7df78149f8029
- coreboot default configuration
Can you send the full debug log of the failed boot?
A failed write to 0x43 sounds very odd - it could be an incomplete hardware configuration in coreboot, or it could be the legacy timer is not fully supported on that board (though that seems unlikely). You could comment out the call to timer_setup() in post.c and see if the boot progresses further.
Hi Kevin, I've attached the console output.
I commented out this code, but other hardware initialization fails, too. The clock, xhci, ehci, ps2port are not working. It looks like a generic problem related to inb or outb !
I suggest reporting the problem to the coreboot list - in particular these lines from coreboot look very suspicious:
DOMAIN: 0000 io: base:0 size:109b align:12 gran:0 limit:2f7 !! Resource didn't fit !! aligned base 0 size 1000 limit 2f7 fff needs to be <= 2f7 (limit) PCI: 00:1c.0 1c * [0x0 - 0xfff] io