How to add uboot "sf probe" command

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to add uboot "sf probe" command

跳至解决方案
12,070 次查看
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,025 次查看
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,026 次查看
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,025 次查看
felixhsu
Contributor III

Hi Igor

It is work, very thank your effort support.

0 项奖励
回复
8,025 次查看
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,025 次查看
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,022 次查看
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,022 次查看
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,022 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Felix

suggested document on p.15 shows another:

sf probe 0:0

Best regards
igor

0 项奖励
回复
8,022 次查看
felixhsu
Contributor III

Hi Igor

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

uboot_sf_1.PNG

0 项奖励
回复
8,022 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复
8,021 次查看
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 项奖励
回复