How to add uboot "sf probe" command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add uboot "sf probe" command

Jump to solution
8,245 Views
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.

Labels (3)
0 Kudos
1 Solution
4,200 Views
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

View solution in original post

0 Kudos
10 Replies
4,201 Views
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 Kudos
4,200 Views
felixhsu
Contributor III

Hi Igor

It is work, very thank your effort support.

0 Kudos
4,200 Views
adelantesey
Contributor IV

Dear Felix,

what did you do to make it work?

i have the same problem with imx6sxsabresd

thanks in advanced

0 Kudos
4,200 Views
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 Kudos
4,200 Views
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 Kudos
4,200 Views
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 Kudos
4,200 Views
igorpadykov
NXP Employee
NXP Employee

Hi Felix

suggested document on p.15 shows another:

sf probe 0:0

Best regards
igor

0 Kudos
4,200 Views
felixhsu
Contributor III

Hi Igor

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

uboot_sf_1.PNG

0 Kudos
4,200 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
4,199 Views
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 Kudos