• 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 » Embedded Software » Linux » Linux forum » "Load uboot Script" of the SDK setup script issue...
Share
Linux
  • Forum
Options
  • Subscribe via RSS

"Load uboot Script" of the SDK setup script issue...

"Load uboot Script" of the SDK setup script issue...

This question is answered
Carl Liu
Posted by Carl Liu
on Feb 01 2012 21:15 PM
Prodigy130 points

Hi,

I follow the steps of the "SDK Setup Script" (http://processors.wiki.ti.com/index.php/SDK_Setup_Script) to build SDK environment.

At the end section "Load uboot Script", it would popup a minicom window.

But it would occur error, the below are the error messages.

Booting with TI UBL
Device OPP (456MHz, 1.3V)SD/MMC Boot failed.

How could I do to avoid this error?

The follow are my related environment.

  1. AM1808 development kit.
  2. OS: Ubuntu 10.04 LTS
  3. SDK version: ti-sdk-am180x-evm-05.03.02.00-Linux-x86-Install
EVM board is connected like "For standard EVMs" (http://processors.wiki.ti.com/index.php/Sitara_Linux_Software_Developer%E2%80%99s_Guide).
But I had no insert SD card on EVM. (May I insert SD on EVM??)

Thanks a lot.

Sincerely,

Carl

uboot Linux boot error am1808
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Qmax
    Posted by Qmax
    on Feb 02 2012 10:44 AM
    Expert2260 points

    Carl,

    If I am not wrong, AM1808 Dev Kit default configuration is to boot from Flash: the default UBL inside it will try to load U-Boot from SD/MMC. In fact it says "SD/MMC Boot failed".

    So, yes: you need to insert the SD before powering on the board.

    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.
  • Carl Liu
    Posted by Carl Liu
    on Feb 02 2012 20:32 PM
    Prodigy130 points

    Dear Qmax,

    I put empty SD card on the board, but it occurs the same error message.

    Is there any setting need to config on the EVM board before this step?

    Sincerely,

    Carl

    Linux am1808 am18x
    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 Feb 03 2012 02:40 AM
    Verified Answer
    Verified by Carl Liu
    Expert2260 points

    Of course SD must not be empy!

    I think you are talking about AM1808 EVM Dev Kit or Exp Kit: both come with an SD card which include SDK and demo sw (bootloader, OS, rootfs...). You need this card.

    If you do not have it (?), you can try to create one. Here are some hints on how to:

    Creating_bootable_SD_card_for_OMAP-L138_EVM_board

    How_to_Make_3_Partition_SD_Card

    Note that NOT all info in these pages are correct or completely true or apply to your case.
    E.g: "For the AM18x/AM181x EVM, the board always boots u-boot out of SPI flash" = false

    Alternative solution is to change UBL on SPI Flash, putting one that will load U-boot from flash (and of course U-boot itself on flash): IMHO, not easier than previous...
    Dig the wiki to find useful suggestions and... ...misleading, too.

    Regards, Max

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • robert chen97444
    Posted by robert chen97444
    on Feb 20 2012 04:39 AM
    Prodigy130 points

    Dear Qmax,

    Could you give more comments on the alternative solution?

    That is, how to make UBL load u-boot from SPI Flash.

    Default UBL on SPI flash loads u-boot from SD card. We want to move u-boot (and maybe uImage) into NOR flash.

    Should I modify UBL source or there exists other pre-built UBL image?

    Thanks a lot.

    Sincerely,

    Robert

    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 Feb 20 2012 09:34 AM
    Expert2260 points

    Hi Robert,

    You can find both pre-built UBL and source code in the OMAP-L138_FlashAndBootUtils tar.gz, inside the SDK (host-tools/flash_utils). Or in PSP flash-utils tar.gz. Do not ask me why two different packages exist (I did, and received no answer from TI).

    ROM bootloader will identify boot device from SYSBOOT pins: on that device it expects to find UBL. If you use UBL_AM1810_MMC, it will look at U-Boot in MMC. If you use UBL_AM1810_SPI_MEM, it will look at SPI flash memory. Of course you can customize UBL as you prefer. You will need FlashWriter tool to write them to flash.

    An alternative solution is to "envelope" U-Boot in AIS, making ROM bootloader to load it and skipping the usage of UBL.

    You can find several info in the docs and wiki, look at them for further details. Hope this can help.

    Regards, Max

    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 Feb 20 2012 09:42 AM
    Expert2260 points

    Qmax

    If you do not have it (?), you can try to create one. Here are some hints on how to:

    Creating_bootable_SD_card_for_OMAP-L138_EVM_board

    How_to_Make_3_Partition_SD_Card

    Note that NOT all info in these pages are correct or completely true or apply to your case.
    E.g: "For the AM18x/AM181x EVM, the board always boots u-boot out of SPI flash" = false

    About this topic (SD card) let me outline this interesting thread, especially the latest post, with a fixed version of the script you can find in the wiki. I did not understand why TI asked for it, and then did not update their wiki...

    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