[coreboot] VGA issues on ASUS M4A785T-M

QingPei Wang wangqingpei at gmail.com
Tue Nov 15 06:53:37 CET 2011


most of the time, the VGA bios extracted from the factory bios have the
different
device ID, the two different VGA bios which you extracted are both the VGA
bios for different usage, one of them is used for DVI,and the other one is
used for HDMI(not sure, i do not remember that very well).
The VGA bios sometimes does not work, and my suggestion is trying to cat
the VGA bios under Linux shell.
The device ID of AMD VGA is a mess....




Best wishes
QingPei Wang
Phone: 86+018930528086


On Sat, Nov 12, 2011 at 5:29 AM, Denis 'GNUtoo' Carikli
<GNUtoo at no-log.org>wrote:

> >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.
>
> --
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20111115/e9833d39/attachment.html>


More information about the coreboot mailing list