Skip to content

Add optional dma transfers to mtest

Ira Snyder u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC/PATCH 0/3] Add optional dma transfers to mtest
Quoted 6 lines · Peter Tyser
Quoted 5 lines · Peter Tyser

This series tries to add a DMA memory test to the mtest tests. The DMA test performs bursts to SDRAM which can be useful in stressing memory and can be difficult to produce reliably in certain circumstances (eg running with data caches disabled).

Quoted 9 lines
Quoted 5 lines

It can be enabled on 85xx and 86xx boards by defining CONFIG_FSL_DMA, CONFIG_SYS_ALT_MEMTEST, and CONFIG_SYS_DMA_MEMTEST.

Other platforms will need to support the dmacpy() function in order to enable the DMA memory test.

Is there any interest in this feature, or any chance it will be merged? If so, I'll clean it up a bit and resubmit.

I thought it was useful, primarily in testing your Freescale DMA patches.

I'm not sure how much this test stresses the memory chips (as compared to Linux). If it is reasonably close, then I think it is a very useful piece of code to have. Linux is a lot more code to wade through compared to U-Boot when things aren't working.

Ira