This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM3730: NFS filesystem

Other Parts Discussed in Thread: DM3730

hi , 

can any one tell me detailed procedure for setting up NFS file system on DM3730(mistral evm)

any link will be really helpful.

one more thing , if i set the boot arguments as below

setenv bootargs ................................................blah blah........ ip=192.168.0.5....................... blah blah...............................................

the boot get stuck in "SENDING DHCP/RARP requests",y is this happening? how to configure the evm for static ip rather than DHCP

thanx in advance

  • Hi Suhas,

    I need of more explications about what you wish to do with NFS file system. Are you wish to make a SD card with NFS partition or flash NSF on the NAND or mount NFS via network?

    About the static IP address - could you post the whole row with bootargs to investigate what is incorrect because if there is something wrong with static configuration the board will switch to dynamic configuration and will start with attempts for obtaining an IP via DHCP. Therefore the board will stuck until obtain the IP or the procedure timeouts. There is a short description about IP setting:

    ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off

    and define "ipaddr", "serverip" and "netmask" etc. separately e.g.

    setenv ipaddr '192.168.1.10'
    setenv netmask '255.255.255.0'

    BR

    Tsvetolin Shulev

  • to answer ur 1st question......i want to mount NFS via network.

    and abt the bootarg that make my booting hang at "SENDING DHCP/RARP requests" is...

    setenv mmcargs setenv bootargs console=ttyO2,115200n8 rw mem=55M@0x80000000 mpurate=1000 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:4M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omap_vout.vid1_static_vrfb_alloc=y omapfb.debug=y omapfb.rotate=0 omapdss.debug=y ip=192.168.0.89

  • Hi Suhas,

    There is a link to a tutorial witch could help you for setting up NFS on DM3730:

    http://processors.wiki.ti.com/index.php/Creating_a_Root_File_System_for_Linux_on_OMAP35x

    About the boot args try to set the full ip configuration using following format:

    ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off


    BR

    Tsvetlin Shulev

  • Could you please help me to setup ethernet configuration on 3730 evm target platform?

    I am using ifconfig -a to get current information. It shows eth8, but it complain "ifup: ignoring unknown interface eth8" when I try to enable.

    I couldn't assign the ip address for this ethernet port.

    root@dm37x-evm:~# ifconfig -a
    eth8      Link encap:Ethernet  HWaddr 00:50:C2:D9:D2:39  
              BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:80

    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    usb0      Link encap:Ethernet  HWaddr 32:ED:60:FC:98:B5  
              BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    root@dm37x-evm:~# ifup eth8
    ifup: ignoring unknown interface eth8
    root@dm37x-evm:~#

  • Hi Sezai,

    There are various ways to configure the network interface on your board.

    1. The first way is to use bootargs as we discuss this option in the previous posts of the present thread.

    2. The ip configuration could be set in the u-boot. Use the following example for static configuration:

    U-Boot> setenv ipaddr 192.168.100.6
    U-Boot> setenv serverip 192.168.1.1
    U-Boot> setenv netmask 255.255.0.0
    U-Boot> setenv hostname canyonlands

    or

    U-Boot> setenv autoload no
    U-Boot> dhcp

    for dynamic configuration one.

    If you wish you could save ip coniguration:

    U-Boot> saveenv

    3. Set ip configuration after kernel has been booted. Use the following example for static configuration:

    ifconfig eth8 20.1.1.20 netmask 255.255.255.0 up

    or

    udhcpc -i eth1

    for dynamic configuration.

    BR

    Tsvetolin Shulev

  • Hi Tsvetolin,

    It works fine now.

    Thanks,

    -Sezai