• 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 » AM1707 EVM nfs boot questions
Share
Linux
  • Forum
Options
  • Subscribe via RSS

AM1707 EVM nfs boot questions

AM1707 EVM nfs boot questions

This question is answered
yi luo68719
Posted by yi luo68719
on Mar 16 2011 21:34 PM
Intellectual380 points

   my am1707 can boot from spi flash and nand flash ,but when i boot with nfs mode ,it does't run;

   my host tftp and nfs configration is well,in my host , i am sure that i can  use 'mount' command correctly ,and i remote mount is well ,and my EVM also can ping the host.

but i don't mount my host's directer to my EVM ,i do'n know what some thing wrong !

 please help me.

 a embedded lover but don't excellent.

 i am sorry , my english is not very good ,please beg me . 

 i type the commands  list below:

host $ /usr/sbin/exportfs -av
host $ /sbin/service nfs restart
host $ /etc/init.d/iptables status
host $ /etc/init.d/iptables stop

U-Boot > setenv nfshost 192.168.1.77
U-Boot > setenv rootpath /share/target
U-Boot > setenv serverip 192.168.1.77
U-Boot > setenv bootfile uImage
U-Boot > setenv bootcmd 'dhcp;bootm'
U-Boot > setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=${nfshost}:${rootpath},nolock mem=32M
U-Boot > boot

this is my ubot environmetn:

U-Boot > printenv
bootdelay=3
baudrate=115200
ethaddr=00:0e:99:02:ff:87
ipaddr=192.168.1.125
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2009.11 (Mar 16 2011 - 13:26:26)
nfshost=192.168.1.77
serverip=192.168.1.77
bootfile=uImage
bootcmd=dhcp;bootm
bootargs=console=ttyS2,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.168.1.77:/mount/target,nolock mem=32M
rootpath=/share/target

Environment size: 377/131068 bytes

this is my error under uboot:

U-Boot > boot   
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10

Retry count exceeded; starting again
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10

Retry count exceeded; starting again
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10

Retry count exceeded; starting again
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10

 

thank you!

sincerely ! luo....

omap-l137 OMAPL137 OMAPL-137 OMAP L-137 NFS Boot da830 AM170 ARM926
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Prakash PM
    Posted by Prakash PM
    on Mar 17 2011 00:58 AM
    Verified Answer
    Verified by yi luo68719
    Intellectual1275 points

    Hi Luo,

    Looks like there is problem with dhcp. Could you please try by having static ip? 

    U-Boot >setenv ipaddr 192.168.1.125

    U-Boot >setenv bootcmd 'tftp;bootm'

    U-Boot >setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=192.168.1.125 root=/dev/nfs nfsroot=${nfshost}:${rootpath},nolock mem=32M

    I assume your trying get uImage by tftp.

    Regards,

    Prakash

    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 Mar 17 2011 11:55 AM
    Guru14970 points

    Maybe manually specify your dhcp command alone to see if it works:

    dhcp 192.168.1.77:uImage

    Maybe double check that your TFTP server is running. This host command should work:

    chkconfig --list

    Double check that the "uImage" file is in the TFTP server's root directory. On Fedora 12, by default, it is at "/var/lib/tftpboot". That directory might in a different place on your host.

    Some oddness with your U-Boot env varables. NFS root is in one spot "/share/target" and another it is "/mount/target".

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yi luo68719
    Posted by yi luo68719
    on Mar 17 2011 19:37 PM
    Intellectual380 points

     thank you very much,i have done follw you tips.

    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