• 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 » ARM® Processors » Sitara™ ARM® » AM3x Sitara ARM Processors Forum » SPI Flash support in MLO/SPL
Share
Sitara™ ARM®
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

SPI Flash support in MLO/SPL

This question is answered
Qmax
Posted by Qmax
on Feb 29 2012 04:16 AM
Expert2260 points

Hi

My custom board will not have MMC nor NAND, but just an SPI Flash. Therefore I need support in MLO/SPL to load U-Boot from SPI Flash. This is missing in current version, so did you already planned to add it? When will it be available?

Thanks. Regards,

Max

boot SPL MLO SPI Flash
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Nageswari Srinivasan
    Posted by Nageswari Srinivasan
    on Mar 13 2012 11:00 AM
    Intellectual2085 points

    Max,

    Which version are you refering to? Can you provide more details.

    Regards,

    Nageswari

    Does this help with your question? If not, please send back more information. If it answers your question, please click the  Verify Answer  button below.

    PSP
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Qmax
    Posted by Qmax
    on Mar 13 2012 12:15 PM
    Expert2260 points

    Hi Nageswari

    I'm using Linux SDK 05.03.02.00 for AM335x which includes latest available PSP 04.06.00.03.

    But I had a look also at forthcoming PSP 04.06.00.06 Release Notes, and it says: "SPL and U-Boot supporting NAND and MMC/SD boot modes".

    Thanks for your attention,

    Max

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frisky Li
    Posted by Frisky Li
    on Mar 28 2012 19:24 PM
    Prodigy120 points

    Hi Nageswari,

    I can find that AM335xEVM can boot u-boot SPL from NAND, SD, UART in http://processors.wiki.ti.com/index.php/AM335x-PSP_04.06.00.06_Features_and_Performance_Guide.

    But my product must use NOR FLASH storage for u-boot SPL and normal u-boot. I'm considering SPI NOR FLASH or NOR FLASH. Can AM335xEVM boot from SPI FLASH or NOR FLASH with current SDK/PSP? If not, is there any plan for supporting this feature? Thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank Walzer
    Posted by Frank Walzer
    on Mar 29 2012 02:02 AM
    Genius13525 points

    You need to check for XIP (execute in place) boot modes in the TRM. NOR is usually connected on parallel GPMC interface and as such can be directly addressed and code executed.

    Check Starterware SW package for SPI boot code.

    You might need to do some modification to u-boot or use a different second-level boot loader first. (ROM code is first level boot loader for me)

    Regards.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Qmax
    Posted by Qmax
    on Mar 29 2012 02:25 AM
    Expert2260 points

    Frank, thanks, I had seen Starterware SPI Flash boot code, but I would prefer not to take code from here and there: having a single source for both SPL and U-Boot would be much easier to manage for board specific customization.

    So my question is: do you know if SPI Flash support will be added in future release of SPL/U-Boot? I suppose someone in TI plans and writes a roadmap of next features...

    Regards,

    Max

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank Walzer
    Posted by Frank Walzer
    on Mar 29 2012 04:01 AM
    Genius13525 points

    No, I don't know that. This someone is definitely not me and I am not using SPL/u-boot currently.

    So I need to defer this to other people that hopefully read this... sorry.

    Regards.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frisky Li
    Posted by Frisky Li
    on Mar 29 2012 05:34 AM
    Prodigy120 points

    Thank you, Frank. I appreciate your response and will wait for the good news...

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Tom Rini
    Posted by Tom Rini
    on Mar 29 2012 11:24 AM
    Verified Answer
    Verified by Qmax
    Intellectual1335 points

    Qmax

    My custom board will not have MMC nor NAND, but just an SPI Flash. Therefore I need support in MLO/SPL to load U-Boot from SPI Flash. This is missing in current version, so did you already planned to add it? When will it be available?

    Adding SPI flash boot to U-Boot (SPL) is not currently scheduled.

    Please click the Verify Answer button on this post if it answers your question.

    Thanks,

    Tom

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Qmax
    Posted by Qmax
    on Apr 12 2012 06:23 AM
    Verified Answer
    Verified by Qmax
    Expert2260 points

    Hi Tom,

    I've seen you have added SPI Flash support to recent AM335XPSP_04.06.00.08 and amsdk-05.04.01.00 git branches.
    I've downloaded code and test it with success on EVM, and soon I'll do on my custom board.

    Thank you very much, and thanks to all guys at TI team for your support.

    Best regards,

    Max

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • chao liu
    Posted by chao liu
    on Nov 13 2012 20:08 PM
    Prodigy25 points

    Hi Qmax,

       I use the u-boot-2011.09-psp04.06.00.08,and I want to load U-Boot from SPI Flash,

      I  initially boot from an SD card and use that to transfer the files to write to SPI flash,

    The following commands:sf probe 0,is failed ,

    "SF: Unsupported manufacturer ff ,Failed to initialize SPI flash at 0:0"

    How to support boot from the spi flash?

     Thanks in advance.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Qmax
    Posted by Qmax
    on Nov 15 2012 02:26 AM
    Expert2260 points

    Hi

    Are you using a custom board? Which type of SPI Flash is mounted on that board?

    TI SPL/U-Boot include just 'stmicro' SPI Flash driver (CONFIG_SPI_FLASH_STMICRO) to support the SPI Flash on the EVM. If you use a different device, you have to add its support on board configuration file (am335x_evm.h), e.g. for a Spansion SPI Flash use CONFIG_SPI_FLASH_SPANSION (add it, or replace CONFIG_SPI_FLASH_STMICRO).

    Note that some recent models are not included in TI U-boot source code: drivers are fine but they do not match on device identifier. In this case you have to add the description of your device in the driver flash table (e.g. look at stmicro_spi_flash_table in 'stmicro' driver).

    Linux Kernel supports a generic/flexible SPI Flash driver which matches most of the devices.

    Hope this help.

    Regards,

    Max

    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