Champs
it seems that in SD3.x the command sf is not there in uboot?? Any ideas as to why not and how to get it back?? Need that command to program the QSPI on the IDK platform
Thanks
Mohsen
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Champs
it seems that in SD3.x the command sf is not there in uboot?? Any ideas as to why not and how to get it back?? Need that command to program the QSPI on the IDK platform
Thanks
Mohsen
Tsvetolin
yes i am able to get the sf command in the uboot. But when i use it with the AM572x IDK the command hangs the uboot and I have to reboot?? Can you try this with your IDK EVM and let me know what results you get??? The command i use is sf probe 0 I even tried sf probe 1. I wonder if the QSPI has a different address??
below is my current configuration file that i use
CONFIG_ARM=y
CONFIG_OMAP54XX=y
CONFIG_TARGET_AM57XX_EVM=y
CONFIG_DM_SERIAL=y
CONFIG_DM_GPIO=y
CONFIG_SPL_STACK_R_ADDR=0x82000000
CONFIG_DEFAULT_DEVICE_TREE="am572x-idk"
CONFIG_SPL=y
CONFIG_SPL_STACK_R=y
CONFIG_HUSH_PARSER=y
CONFIG_CMD_BOOTZ=y
# CONFIG_CMD_IMLS is not set
CONFIG_CMD_ASKENV=y
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_MMC=y
//mk addition
CONFIG_CMD_SF=y
CONFIG_CMD_SPI=y
CONFIG_CMD_I2C=y
CONFIG_CMD_USB=y
CONFIG_CMD_GPIO=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_CMD_DHCP=y
CONFIG_CMD_MII=y
CONFIG_CMD_PING=y
CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_OF_CONTROL=y
CONFIG_DM=y
CONFIG_DM_MMC=y
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_BAR=y
CONFIG_SYS_NS16550=y
CONFIG_FIT=y
CONFIG_SPL_OF_LIBFDT=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_OF_LIST="am57xx-beagle-x15 am572x-idk am571x-idk"
CONFIG_OF_BOARD_SETUP=y
CONFIG_DRA7_DSPEVE_OPP_HIGH=y
CONFIG_DRA7_IVA_OPP_HIGH=y
CONFIG_DISK=y
CONFIG_DWC_AHCI=y
CONFIG_DM_ETH=y
CONFIG_CMD_TIME=y
Also all the sspi commands hang the uboot, so not sure what is going on.
Thanks
Regards
Mohsen
Mohsen,
What I ended up doing was:
git clone git://git.ti.com/ti-u-boot/ti-u-boot.git
git checkout origin/ti-u-boot-2016.05
git checkout -b qspi
Then make am57xx_evm_config. Then make. Copy MLO and u-boot.img to an SD Card, boot the board from the SD Card and flash it:
sf probe
sf erase 0 0x200000
load mmc 0 0x82000000 MLO
sf write 0x82000000 0 0x20000
load mmc 0 0x82000000 u-boot.img
sf write 0x82000000 0x40000 <size of image in hex>
Remove SD Card, since QSPI is already in the boot order, just type in reset at the u-boot command prompt.
Steve K.