我现在有两个版本的u-boot,都可正常启动,但是u-boot-2016.05读取SD卡的速度显示有2M/s,2017的版本显示只有几十K,速度很慢,请问在哪里修改U-boot的配置,可以提高u-boot的SD卡读取速度,谢谢了。
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.
我现在有两个版本的u-boot,都可正常启动,但是u-boot-2016.05读取SD卡的速度显示有2M/s,2017的版本显示只有几十K,速度很慢,请问在哪里修改U-boot的配置,可以提高u-boot的SD卡读取速度,谢谢了。
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3590072 bytes read in 73405 ms (46.9 KiB/s)
42225 bytes read in 1070 ms (38.1 KiB/s)
/////////////////////////////////////////////////////////////
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3590072 bytes read in 1296 ms (2.6 MiB/s)
42225 bytes read in 34 ms (1.2 MiB/s)
相同的硬件板卡,请问是在哪里可以修改配置吗,还是我移植2017的版本的时候关于mmc0的移植有问题啊,谢谢了!
是不是你在16版本里面打开了cache,但是17中没有打开?
再有就是看看MMC的CLK等配置是否一样,最简单的做法就是直接在uboot中打一下mmc0相关的寄存器,然后和16的一比,看差异。就知道是MMC本身配置上的差异,还是由于cache导致的。