i written my u-boot.imx file using commands after booting from sdcard u-sing same u-boot.imx file
=>in u-boot
$sf probe 1:2 (selecting 2nd quadspi)
$fat load mmc 1:2 0x83000000 u-boot.imx
$sf erase 0x0 0x9d000 (my u-boot.imx size is 642048 bytes)
$sf write 0x83000000 0x0 0x9cc00
and dip switch settings sw10- 0 0 0 0 0 0 0 0
sw11- 0 0 0 0 0 0 0 0
sw12-0 0 0 1 1 0 0 0
and i tried same with sf probe 1:0 (1st quadspi)
Hi chendrashekar
uboot for qspi should have qspi header so it can not be the same as for sdcard.
One can program qspi using mfg tool and mfgtool2-yocto-mx-sabreauto-qspi-nor.vbs
script
i.MX Series Manufacturing Toolkit for Linux 4.1.15_2.1.0 Release
Note if used qspi is different than on reference board (like qspi-nor-micron-n25q256a-config,
others can be found in /files folder mfg tool), one will have to adjust qspi header file.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thak you igorpadykov,
i found the solution ,compiled u-boot with "mx6sxsabresd_qspi2_defconfig" (config file) .