How to add uboot "sf probe" command

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

How to add uboot "sf probe" command

ソリューションへジャンプ
12,078件の閲覧回数
felixhsu
Contributor III

Hi all

Hardware: i.MX7D EVK

Software:  U-Boot 2015.04imx_v2015.04_4.1.15_1.2.0

Currently uboot not include "sf probe" command, we need to tried SPI NOR flash,so how to add "sf probe" command in uboot, thanks.

ラベル(3)
0 件の賞賛
返信
1 解決策
8,033件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Felix

below part if i.MX7D SDB SPF-28590 schematic p.9 for qspi usage

pastedImage_1.jpg

also please check uboot configs CONFIG_SYS_USE_QSPI 

in include/configs/mx7dsabresd.h

Best regards
igor

元の投稿で解決策を見る

0 件の賞賛
返信
10 返答(返信)
8,034件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Felix

below part if i.MX7D SDB SPF-28590 schematic p.9 for qspi usage

pastedImage_1.jpg

also please check uboot configs CONFIG_SYS_USE_QSPI 

in include/configs/mx7dsabresd.h

Best regards
igor

0 件の賞賛
返信
8,033件の閲覧回数
felixhsu
Contributor III

Hi Igor

It is work, very thank your effort support.

0 件の賞賛
返信
8,033件の閲覧回数
adelantesey
Contributor IV

Dear Felix,

what did you do to make it work?

i have the same problem with imx6sxsabresd

thanks in advanced

0 件の賞賛
返信
8,033件の閲覧回数
felixhsu
Contributor III

Hi Adelante sey

My case is use the i.MX7D EVK, maybe not fit your problem, I follow Igor comment unmark CONFIG_SYS_USE_QSPI define and modification hardware config, then the problem is fixed.

0 件の賞賛
返信
8,030件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Felix

sf probe is implemented in uboot, please refer to attached

Linux Guide p.14,15 for usage.

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

0 件の賞賛
返信
8,030件の閲覧回数
felixhsu
Contributor III

Hi Igor

As below photo is my operation log, key in "sf probe 0" uboot will show Unknown command, how to add "sf" command on build uboot by myself, thanks.

uboot_sf.PNG

0 件の賞賛
返信
8,030件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Felix

suggested document on p.15 shows another:

sf probe 0:0

Best regards
igor

0 件の賞賛
返信
8,030件の閲覧回数
felixhsu
Contributor III

Hi Igor

it still fail on uboot, as below is operation log, thanks.

uboot_sf_1.PNG

0 件の賞賛
返信
8,030件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信
8,029件の閲覧回数
felixhsu
Contributor III

Hi Igor

I had use the Dome image, but still can not use sf command, please reference attachment, it is uboot command list, thanks.

0 件の賞賛
返信