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

Jackie Pan jackiepan93 at gmail.com
Fri Sep 5 11:24:21 CEST 2008

2008/9/5 ron minnich <rminnich at gmail.com>

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.
> ron

I just got an XDP emulator, now the emulator tells me that the code has been
correctlycopied to the CAR region, which is 0xc0000, I can see the code
through both disassembly
window and the data window, but when I try to step on the first
instruction, source-point
pops up a window saying 'memory access failed', then the emulator
connection is lost.

btw, the simulator is an ARIUM ECM-XDP3, I've followed the advice in its
manual to set
0xc0000 to be a SRAM region.

so, is the XDP lying to me? or I missed some points?

@Stefan: I'm trying to port v2 to several grantsdale/calistoga boards that
we manufactured.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080905/72ae0cbb/attachment.html>

More information about the coreboot mailing list