[coreboot] Raminit help

Myles Watson mylesgw at gmail.com
Tue Jun 9 18:55:29 CEST 2009


>> Somehow the memory accesses aren't reaching my device.  I added some
>> debugging, and this line before the debugging:
>>
>> set_var_mtrr(0, 0x08000000, 0x10000000, MTRR_TYPE_WRBACK);
>
> I think you need to have setup correctly the resource routing registers.
I thought I had this right, but I'm double checking.

> Also maybe it is more like a PCI space? If so then you need to setup the
> MTRR and ask to send the accesses to PCI space and not to ram.
I want to use it like RAM, not PCI space.  I'll look more into the
definitions of the MTRRs to see what else is there.

Thanks,
Myles




More information about the coreboot mailing list