U-boot sf read max speed

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

U-boot sf read max speed

1,936件の閲覧回数
ivanljubicic
Contributor III

Hi,

I have board which loads filesystem and kernel to RAM from spi flash when booting, because we do not want to use sd card for filesystem and kernel. It is 45 Mbytes big and it needs about 25 sec to be read with sf read command to RAM. I have tried to speed up but I could not find the right solution. Spi flash is The Cypress S25FL512S and it is big 64 MBytes and in documentation it has max speed Quad Read Speed (SDR) of 52 MB/s. How can I setup in boot that I have such speed. I tried to increase the clock:

CONFIG_SF_DEFAULT_SPEED = 100000000

but it fails.

I am stuck with it. The boot time is about 30s, and it should be 5.

Thanks, regards, Ivan.

ラベル(3)
タグ(3)
0 件の賞賛
返信
2 返答(返信)

1,465件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

HI Ivan

please try to set CONFIG_SF_DEFAULT_SPEED to

sensible value corresponding to datasheet spi chapter.

What processor used in the case, full marking. Not all

parts support quad spi mode. Try with official software from

i.MX6 product page

i.MX 6 Series Software and Development Tool|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,465件の閲覧回数
ivanljubicic
Contributor III

Hi Igor,

is there a patch for u-boot-imx6 to support faster speed than it is now.

We have custom board based on imx6 dual processor. I have read in the

forum that imx6 family processor does not support quad speed. So is

there possibility to support some other speed configuration that is

faster than this. I did not try official software because my board has

specific configuration od dts files and also u-boot configuration so

official software probably would not work. By the way what is maximum

speed of u-boot loader.

Thanks, regards, Ivan.

0 件の賞賛
返信