[U-Boot] ppc: using d-cache for C stack and as cache at thesame time?

Jens Gehrlein
2009-04-01T15:03:31Z

Peter Tyser schrieb:

> You should be able to use the 85xx DMA engine to generate the bursts too
> (I'd assume the same for 83xx, but never tried it). See
> cpu/mpc85xx/cpu.c dma_*(). The default values of the satr0 and datr0
> don't allow the processor to snoop transactions, so you'd have to use
> cache operations or change datr0/satr0 to something like 0x50000 for
> your tests.
>
> We've added a very basic DMA test to the mtest command which is used for
> board testing here. Let me know if you'd like me to send it - its not
> cleaned up but could give you a starting point.

Although, I will not start before next month with burst testing, it
would be very nice, if could send it. Thank you very much.

Kind regards,
Jens