• 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) » OMAP™ Processors » OMAP-L13x, AM1x and C674x Processors Forum » Booting Linux kernel using U-Boot for L137 EVM
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Booting Linux kernel using U-Boot for L137 EVM

    Booting Linux kernel using U-Boot for L137 EVM

    This question is not answered
    Sean50453
    Posted by Sean50453
    on Aug 06 2012 22:29 PM
    Intellectual910 points

    Hi,

    I'm following the instructions given at this link to set up tftp for booting Linux kernel for L137. 

    http://processors.wiki.ti.com/index.php/Booting_Linux_kernel_using_U-Boot#SPI_Flash

    For Step 4, Setup the EVM IP address.  I want to use static IP address, this is the instruction:

    U-Boot> setenv ipaddr <static ip address>


    Here, is the <static ip address> the IP address of EVM or host computer? If it's the IP address of EVM, how can I find it? Thanks.




    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Rahul Prabhu
      Posted by Rahul Prabhu
      on Aug 07 2012 08:55 AM
      Genius15535 points

      Sean,

      ipaddr corresponds to the target(EVM) IP address.The serverip should be the IP address of the host machine that has the TFTP server running on it. This address (serverip) is the only one that needs to be set explicitly if are using the command "dhcp" in your bootcmd or bootargs.  The command "dhcp" will automatically set the value of ipaddr if the dhcp/tftp is successful.Try just setting serverip. The bootargs will run the command "dhcp" to get the ip address for the target.  The "dhcp" command will not only set IP addresses but also transfer the uImage file via TFTP if there are no issue with other network settings.

      Hope this helps

      Regards,

      Rahul

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

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sean50453
      Posted by Sean50453
      on Aug 07 2012 11:21 AM
      Intellectual910 points

      Rahul,

      I used DHCP setting before and it didn't work.  I don't know if it's because of my host computer's hardware/software or not.  The phenomenon seems like the EVM is waiting for some kind of acknowledgement from the host computer.  Apparently it didn't receive the ACK so it times out.  The message is something like

      BOOTP Broadcast 1

      BOOTP Broadcast 2

      ...

      I also tried to ping the host computer from the EVM, the ping didn't receive any response from the host. 

      My host computer is a Windows 7 PC, and I installed VMware Player via which I runUbuntu. I connected EVM directly to the NIC of the computer.

      When I ping the host computer, I tried two different server IP addresses.  One got from Windows 7, and the other one got from Ubuntu.  Neither of them worked.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Sean50453
      Posted by Sean50453
      on Aug 07 2012 11:22 AM
      Intellectual910 points

      Forgot to ask:

      Can I use static IP address for setting up the EVM board?  If it's Okay, how can I find this IP address?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Norman Wong
      Posted by Norman Wong
      on Aug 07 2012 11:44 AM
      Guru14930 points

      The dhcp command assumes that there is a DHCP server on the network to serve IP addresses. The command also tries to start a bootp session with a bootp server for the linux kernel. If you were using DHCP, set "autoload" to "no" to skip the bootp.

      printenv
      setenv autoload no
      dhcp
      printenv

      If all is working, ipaddr, serverip, netmask, gatewayip, etc. will be initialized.

      But you want to use static IP. That's a totally manually process. You choose an IP address that you know that nobody else is using on the same network. The number is up to you. Minimally, set ipaddr and serverip. Setting netmask is probably a good thing too.

      I not sure if ping works if your EVM does not have an IP address. Note that the EVM does not have ping daemon running in the background. You are not likely to ping the EVM. There are few cases where the EVM is TFTPing something and responds to the ping as a side-effect.

      Linux running on Windows via a virtual machine can be problematic. There are numerous threads on this forum about problems with TFTP and NFS servers running on VMWare and VirtualBox.

      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