[coreboot] Need help with VGA on epia-m

bari bari at onelabs.com
Tue May 27 04:44:28 CEST 2008

aaron lwe wrote:
> On Tue, May 27, 2008 at 12:30 AM, bari <bari at onelabs.com> wrote:
>> The Epia-CN (C7+cn700+vt8237r) is having the exact same issue even though it
>> is using a more recent VIA chipset. Epia-M9000 (C3 + CLE266 + vt8235). This
>> lack of Console VGA issue was next on the list after I clear up some IRQ
>> issues with the CN.
>> What are we missing for VIA chipsets with integrated video to bring up
>> Console VGA?
> I have no problem to bring up vga console, I remembered your last mail
> mentioned once you load vgabios and bochs bios you'll get vga work but
> have problem with usb, I admit that's a problem that the vga card's
> irq get misassigned.
To clarify before when I load coreboot + vgabios I can get X to work, 
but no console vga.

If I stop X, I lose all video, there is no console vga.

I have not under any condition so far been able to get console vga on 
the C7 + CN700 + vt8237r.

I tried the patch for vga.c and it did not change the situation for me.

I also noticed that epia-cn coreboot + filo (with no vgabios) the 
network and usb work fine, with coreboot + filo + vgabios the network 
and usb don't work, no interrupts for usb or network, but X works fine 
up to 1024x768 16b, at 1280x1024 16b the screen gets very noisy with 
vertical jitter and ghosting.

I will try the vga.c patch with FILO + vgabios later and see if things 

coreboot + FILO without VGABIOS:

ln at ln:~$  cat /proc/interrupts
  0:    2743789    XT-PIC-XT        timer
  1:         12    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  5:      24760    XT-PIC-XT        uhci_hcd:usb1, uhci_hcd:usb2, eth1
  8:          3    XT-PIC-XT        rtc
 10:          0    XT-PIC-XT        VIA8237
 11:      21918    XT-PIC-XT        uhci_hcd:usb3, uhci_hcd:usb4
 12:       1557    XT-PIC-XT        i8042
 14:       4004    XT-PIC-XT        ide0

Everthing works!

using LAB or VGABIOS on CN  a few seconds after boot;

cat /proc/interrupts 
  0:       789    XT-PIC-XT        timer
  1:         12    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  5:     100000    XT-PIC-XT        uhci_hcd:usb1, uhci_hcd:usb2
  8:          3    XT-PIC-XT        rtc
11:     100000    XT-PIC-XT        uhci_hcd:usb3, uhci_hcd:usb4
12:        17    XT-PIC-XT        i8042
14:        11    XT-PIC-XT        ide0

No network, no USB.

The debug output will show the irq's 5 and 10 being set for usb and then 

Debug output: http://pastebin.ca/1029293

Looks like the interrupt handlers are not being set.

Plugging in a usb drive gives this output:

 usb 2-1: device descriptor read/64, error -71
 usb 2-1: device descriptor read/64, error -71


More information about the coreboot mailing list