• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM3x DaVinci Video Processor Forum » DM36x EVM | Boot from NAND
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

DM36x EVM | Boot from NAND

This question is answered
Alyona
Posted by Alyona
on Apr 05 2012 22:32 PM
Expert1295 points

Hello, TI,

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

Target: BOOTME

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! 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Prabhakar Lad
    Posted by Prabhakar Lad
    on Apr 06 2012 07:38 AM
    Verified Answer
    Verified by Alyona
    Genius4675 points

    Hi,

    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)

    0815.UBL_DM36x_NAND.txt

    (rename  to UBL_DM36x_NAND.bin)

    Rename from .txt to .bin and flash them.

    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?

    Its nothing to do with bootargs. Can you also provide the log when U-Boot comes up..

    Thx

    --Prabhakar Lad

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alyona
    Posted by Alyona
    on Apr 09 2012 04:02 AM
    Expert1295 points

    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.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Prabhakar Lad
    Posted by Prabhakar Lad
    on Apr 09 2012 04:40 AM
    Genius4675 points

    Hi,

    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 )

    upstream u-boot.

    Thx,

    --Prabhakar Lad

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alyona
    Posted by Alyona
    on Apr 09 2012 04:50 AM
    Expert1295 points

    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?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Prabhakar Lad
    Posted by Prabhakar Lad
    on Apr 09 2012 05:30 AM
    Verified Answer
    Verified by Alyona
    Genius4675 points

    Hi,

    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.

    Thx,

    --Prabhakar Lad

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Alyona
    Posted by Alyona
    on Apr 09 2012 05:56 AM
    Expert1295 points

    Thanks a lot, Prabhakar Lad!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

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.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use