This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

why uboot for am335x read spi flash very slow?



I  am using the uboot int the sdk6.0. when I using "sf read ${kloadaddr} ${spi_src_addr} ${spi_img_siz}" to read the image from the spi flash, it use 16 secs for 9M bytes's image. The default  SPI clock is 24 Mhz, when I changed it to 48Mhz, it also uses 15secs. Why? I watched the code in the uboot,  it use "CMD_READ_ARRAY_FAST" command. The command value is 0x0b. I need your help, thank you very much. How can I improve the speed?