Other Parts Discussed in Thread: AM4377, TPS65218, SYSBIOS
Hi,
I am trying to write uboot into QSPI NOR flash from uboot on AM4377 based custom board.
I am using following uboot commands to write into QSPI flash and boot mode is SD boot
mmc rescan
fatload mmc 0 ${loadaddr} u-boot.img
sf probe 0
sf erase 0x0 0x100000
sf write ${loadaddr} 0x0 ${filesize}
I have also referred below link for a reference
http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User's_Guide
Then I verified the written contents using sf read and md commands
sf read ${loadaddr} 0x0 ${filesize}
md.b ${loadaddr} ${filesize}
But when I try to boot from QSPI(boot setting changed to QSPI), It is not booting, When I checked the Flash content form CCS studio through JTAG interface using memory browser, Its not showing the written content on the respective addess.
Following are my observations
1. I flashed uboot from CCS Studio through JTAG and then I tried to boot from QSPI - QSPI boot is working fine. Even memory browser showing correct content
2. Read the Flash contents through sf read and md command and compared with the boot file. It is exactly same.
3. Now I wrote the boot file using uboot commands(sf write). Read the flash contents through sf read and md command and comapred with the boot file. It is exactly same.
Then why board is not booting in QSPI mode even though Flash written contents are proper and even CCS studio memory browser also not displaying correct content.
Please let me know If I am missing anything
Regards,
Krishna