I'm reading about NAND booting at http://processors.wiki.ti.com/index.php/UG:_DaVinci_PSP_Installation_on_DM365_EVM#Flashing_DM36x_EVM_using_NAND_Writer_utilities_.28CCS_environment.29
And I have a crucial question about Flashing EVM via Serial line.
What was meant under "binary application file" in the command line "sfh_DM36x.exe -nandflash <UBL binary file> <binary application file>"? I entered U-boot.bin on this place, the application loaded UBL and then constantly gives me a prompt
"Waiting for SFT from DM36x
Target: BOOTME ...".
And nothing else happened. I switched off the board as described in the instruction, set SW4 for NAND boot and switch the board on, but it still boots from MMC. What should I also do? Maybe set some special bootargs?
Upd: I also tried NANDWriter as an application and the result was the same...
I would really appreciate your help!
What command did you give ?
Try giving following command in UART mode.. I have attached the UBL and U-Boot files
$ sfh_DM36x.exe -nandflash UBL_DM36x_NAND.bin u-boot.bin -p /dev/ttyUSB0
8741.u-boot.txt (rename to u-boot.bin)
(rename to UBL_DM36x_NAND.bin)
Rename from .txt to .bin and flash them.
Its nothing to do with bootargs. Can you also provide the log when U-Boot comes up..
Hello, Prabhakar Lad,
Thanku very much for reply; you know, true miracle happened.
I downloaded your files and edited the expansion and used it instead of those that I initially found. I entered the command line: "sfh_DM36x.exe -nandflash UBL_DM36x_NAND.bin u-boot.bin" and the same stuff happened as I described previously (Target: BOOTME BOOTME BOOTME, etc...). I just gave exactly the same command and it worked out: UBL and U-boot were written to NAND successfully. I can't get the point in it. BTW, where have you found files you gave me? I took them from PSP-SDK archive that TI supplied. Maybe there is smth with them.
I found the UBL_DM36x_NAND.bin in the flasher tool itself, the u-boot.bin I built it from it from( http://git.denx.de/?p=u-boot.git;a=summary )
Ok. And could you please tell me how did you build u-boot? Did you do this especially for DM36x or is it suitable for any processor now?
This U-Boot is the mainline branch like how kernel.org is for linux.
Following are the steps for building for dm365:
1: clone the entire branch.
2: $<directory of u-boot>make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- clean distclean
3: $<directory of u-boot>make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- davinci_dm365evm
This creates u-boot.bin for you.
Thanks a lot, Prabhakar Lad!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.