[coreboot] VGA issues on ASUS M4A785T-M

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Fri Nov 11 22:29:30 CET 2011


>Have you transferred the graphic controllers VGA bios from the original
>bios? 
yes I've added the VGA bios rom in my Image, it was extracted with the 
following command:

cat /proc/iomem | grep 'Video ROM' | (read m; m=${m/ :*}; s=${m/-*}; 
e=${m/*-}; \
dd if=/dev/mem of=vgabios.bin bs=1c skip=$[0x$s] count=$[$[0x$e]-$[0x$s]+1])
(I followed the wiki at http://www.coreboot.org/VGA_support)

If I put wrong PCI IDs it won't initialize the display at all during boot...

>At least your subsystem vendor/device ID pair does not match.
yes, how do I fix that?


PS: some more verbose lspci infos:

Coreboot:
# lspci   -s 01:05.0 -knnvvv
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS880 [Radeon 
HD 4200] [1002:9710] (prog-if 00 [VGA controller])
	Subsystem: ATI Technologies Inc Device [1002:0000]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at c0000000 (32-bit, prefetchable) [size=256M]
	Region 1: I/O ports at 1000 [size=256]
	Region 2: Memory at d8100000 (32-bit, non-prefetchable) [size=64K]
	Region 5: Memory at d8000000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Kernel driver in use: radeon
	Kernel modules: radeon


Bios:
# lspci   -s 01:05.0 -knnvvv
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS880 [Radeon 
HD 4200] [1002:9710] (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. M4A785TD Motherboard [1043:83a2]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR+ <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Region 1: I/O ports at d000 [size=256]
	Region 2: Memory at fe9f0000 (32-bit, non-prefetchable) [size=64K]
	Region 5: Memory at fe800000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Kernel driver in use: radeon
	Kernel modules: radeon


Thanks a lot for the Answer.

Denis.




More information about the coreboot mailing list