From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Gehrlein Date: Wed, 01 Apr 2009 17:03:31 +0200 Subject: [U-Boot] ppc: using d-cache for C stack and as cache at thesame time? In-Reply-To: <1238597311.25101.13.camel@localhost.localdomain> References: <49D323E5.9080100@tqs.de> <20090401091436.7163683797DC@gemini.denx.de> <1238597311.25101.13.camel@localhost.localdomain> Message-ID: <49D38243.8090000@tqs.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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