I was trying to figure why VGA wasn't being properly set on my epia m
when I found that the code in mainboard.c was looking for device id 0x3123
while my epia m has device id 0x3122 for the CLE266. After changing
the id, memcpy is failing to copy the bios code. Anyone know why that
could be? Here's a piece of the log:
.
.
.
setting ethernet
Assigning IRQ 11 to 0:12.0
Readback = 11
setting vga
Assigning IRQ 11 to 1:0.0
Readback = 11
setting pci slot
setting vt8235 slot
Assigning IRQ 5 to 0:11.1
Readback = 5
Assigning IRQ 12 to 0:11.5
Readback = 12
INSTALL REAL-MODE IDT
DO THE VGA BIOS
found VGA: vid=1106, did=3122
Setting up VGA, VGABIOS_START: 0xfffe0000
First 16 bytes of VGA_ROM: 0x55 0xaa 0x7d 0xe9 0x26 0x7f 0x5e 0x1b 0xfa 0xf9 0xf4 0x82 0x0 0x0 0x0 0x0
Failed to copy VGA BIOS to 0xc0000
First 16 bytes of 0xc0000: 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
setting VGA up anyway
bus/devfn = 0x100
biosint: # 0x6, eax 0x100 ebx 0x100 ecx 0x100 edx 0x12
biosint: ebp 0x11a2c esp 0xff6 edi 0xda8c esi 0x12350
biosint: ip 0x3 cs 0xc000 flags 0x46
biosint: Oops, exception 6
Stack contents: 0x0003 0xc000 0x0046 0x4d75 0x0000
biosint: Bailing out
Checking IRQ routing tables...
.
.
.