On Thu, Feb 24, 2011 at 02:14:07AM +0000, Jonathan A. Kollasch wrote:
Hi,
I've attempted to use the rs780 and sb800 code on a AM3 870 + SB850 board. Raminit seems to go okay, as does the first bits of ramstage. However, ramstage fails after the first two passes through rs780_enable(). It stalls in get_vid_did() reading PCI config space of device 2 (or 4). Also, the rs780 HT init code thinks the link should run at 200MHz, maybe that's related.
I'm aware that this code wasn't exactly intended for the 870, but maybe someone has some hints of what to try next.
This turned out to be GLOBAL_RESET_GFX and GLOBAL_RESET_GPPSB being set. I now get to the payload, but no SATA drives are detected, also, some of the PCIe x1 ports (onboard and slots) aren't quite right yet ...
Jonathan Kollasch