[coreboot] Cache as RAM - is it possible to execute code in cache?

yhlu yinghailu at gmail.com
Fri Sep 5 10:30:32 CEST 2008


On Fri, Sep 5, 2008 at 12:46 AM, ron minnich <rminnich at gmail.com> wrote:

> On Fri, Sep 5, 2008 at 12:45 AM, Jackie Pan <jackiepan93 at gmail.com> wrote:
> > Hi all,
> > I'm wondering if it's possible to place code into cache-emulated RAM, I
> > tested on an intel T2300,
> > after CAR setup, I can read/write to the mapped region, however code
> > execution seems not working.
> > Postcode reveals that the CPU seems to be spinning on the very first
> > instruction in the 'RAM' region.
> > Anyone could give some hints? thanks.
>
> It is possible and it works. What you might do is dump the contents of
> the CAR once you have copied to it and see what is there.
>
> in v2, there is one option for Opteron rev F, after enable it, DDR2 mem
training code is copied to core0  cache of other nodes,
it will train the mem when core0 of node0 is doing hardware_main(),,,,

YH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080905/ebfb1e4b/attachment.html>


More information about the coreboot mailing list