Sitara AM3359, Core clock is 600MHz, No OS, no caching, no DMA
My bootloader application is running from internal SRAM. The functionality of the bootloader is only copy a image from NAND-Flash (GPMC) to the external DDR3 RAM.
The speed is terrible. The copy needs 30 second for 18MByte. I have checked the GPMC settings and it should be OK, the read access takes 60ns.
What is the bottleneck?
For testing, I added a loop with 10.000 instructions and toggle a GPIO -> this takes 560µs (56ns for one instruction)Is this normal speed for run application from internal SRAM?
Additional Test: Toggle GPIO with SETDATAOUT and CLEARDATAOUT continuously, the result is 440kHz
What is the right way to speedup my boot-sequence?