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.

Problem in Booting Linux kernel on EVM6446

 

Hi

i am trying to boot the linux kernel and file system on EVM6446. I have struck at  "Testing the Shared File System" I am able to "exporting a shared file system for target "(SPRUE66E.pdf section 4.3.6) but when performing step 6 ie EVM # boot Iam getting below log and it is hanging after 
Starting kernel ...

Uncompressing Linux.............................................................


1) the log below for your review: 

Hit any key to stop autoboot: 0 
DaVinci EVM # setenv nfshost 192.168.50.217
DaVinci EVM # setenv rootpath root@venkat-linux:/home/DM6446/workdir/filesys
DaVinci EVM # setenv bootargs
DaVinci EVM # setenv bootargs video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K d
avinc_enc_mngr.ch0_output=COMPOSITE davinci_enc_mgr.ch0_mode=$(videostd) console=ttys0,115200n8 noinitrd rw ip=dh
cp root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=120M
DaVinci EVM # 

DaVinci EVM # saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
DaVinci EVM # boot

Loading from NAND 64MiB 1,8V 8-bit, offset 0x200000
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2018280 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
## Booting image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2018280 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................

(it hangs after this I have tested memory by EVM# memtst and it is fine). what is the boot message I shall get for NFS boot?
---------------------------------------------------------------------------------------

2)for exportfs I get as below:

root@venkat-linux:/usr/sbin# exportfs -av 
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:root@venkat-linux:/home/DM6446/workdir/filesys". 
Assuming default behaviour ('no_subtree_check'). 
NOTE: this default has changed since nfs-utils version 1.0.x 

exporting *:root@venkat-linux:/home/DM6446/workdir/filesys 
exportfs: Failed to stat root@venkat-linux:/home/DM6446/workdir/filesys: No such file or directory 
root@venkat-linux:/usr/sbin# exportfs -a 
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:root@venkat-linux:/home/DM6446/workdir/filesys". 
Assuming default behaviour ('no_subtree_check'). 
NOTE: this default has changed since nfs-utils version 1.0.x 

exportfs: Failed to stat root@venkat-linux:/home/DM6446/workdir/filesys: No such file or directory 
root@venkat-linux:/usr/sbin# service nfs restart 
nfs: unrecognized service 

---------------------------------------------------------------------------------------------------------
3) also before this i got following errors for NFS service restart command as below:

root@venkat-linux:/sbin# service nfs restart 
nfs: unrecognized service 
root@venkat-linux:/sbin# service nfs start 
nfs: unrecognized service 
root@venkat-linux:/sbin# cd .. 
root@venkat-linux:/# cd etc/init.d/ 
root@venkat-linux:/etc/init.d# iptables status 
Bad argument `status' 
Try `iptables -h' or 'iptables --help' for more information. 
root@venkat-linux:/etc/init.d# iptables stop 
Bad argument `stop' 
Try `iptables -h' or 'iptables --help' for more information. 
root@venkat-linux:/etc/init.d# cd/bin 
bash: cd/bin: No such file or directory 
root@venkat-linux:/etc/init.d# cd /sbin/ 
root@venkat-linux:/sbin# service nfs-kernel-server status 
nfsd running 
root@venkat-linux:/sbin# cd .. 
root@venkat-linux:/# cd etc/init.d/ 
root@venkat-linux:/etc/init.d# iptables status 
Bad argument `status' 
Try `iptables -h' or 'iptables --help' for more information. 
root@venkat-linux:/etc/init.d# iptables --help 
iptables v1.4.12 

 

MY BOOTARGS ARE AS BELOW:

Hit any key to stop autoboot:  0

DaVinci EVM # printenv

bootdelay=3

baudrate=115200

bootfile="uImage"

filesize=1ecc28

fileaddr=80700000

ipaddr=172.16.3.100

serverip=172.16.3.203

bootcmd=nboot 0x80700000 0 0x200000; bootm

nfshost=192.168.50.217

rootpath=root@venkat-linux:/home/DM6446/workdir/filesys

bootargs=video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinc_enc_mngr.ch0_oM

stdin=serial

stdout=serial

stderr=serial

ethaddr=00:0e:99:02:43:b1

videostd=pal

 

Environment size: 624/16380 bytes

DaVinci EVM # 



what might be wrong here?

Regards,

Azhagiri

  • Hi,
    Are you using pre-built kernel or custom kernel ?
  • Hi,

    We are using pre-built kernel, which is downloaded from the link mentioned below.

    softwaredl.ti.com/.../index_FDS.html

    and the demo cd's received from spectrum digital inc.

    Also please refer below conversation had with Mr. Arvind singh on our previous issues:

    e2e.ti.com/.../410940

    Regards
    azhagiri
  • Hi,
    Do you want to boot the DM6446 EVM board via NFS ?

    The following "bootars" for HDD boot.

    setenv bootargs 'video=davincifb:vid0=0,2500K:vid1=0,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=ntsc console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/hda1 mem=118M'

    For NFS boot,

    setenv bootargs 'console=ttyS0,115200n8 ip=dhcp nfsroot=192.168.1.145:/home/titus/filesystem_dm6446 root=/dev/nfs rw rootwait'

    First, try to use simple bootargs for mounting then append for DISPLAY support etc.,

    PS: Board won't boot if you given wrong/unwanted bootargs.
  • Hi Titus,

    Thank you very much.

    1)

    Yes I want to  DM6446 EVM board via NFS. I have followed as you suggested and able to move a bit and it hangs at "Sending DHCP requests....:

    MY IP address is 192.168.50.217

    below is my log :

    DaVinci EVM # setenv bootargs 'console=ttyS0,115200n8 ip=dhcp nfsroot=192.168.50.217:/home/DM6446/workdir/filesys

                 /root=/dev/nfs rw rootwait'

    DaVinci EVM # saveenv

    Saving Environment to NAND...

    Erasing Nand...Writing to Nand... done

    DaVinci EVM # boot

    Loading from NAND 64MiB 1,8V 8-bit, offset 0x200000

      Image Name:   Linux-2.6.18_pro500-davinci_evm-

      Image Type:   ARM Linux Kernel Image (uncompressed)

      Data Size:    2018280 Bytes =  1.9 MB

      Load Address: 80008000

      Entry Point:  80008000

    ## Booting image at 80700000 ...

      Image Name:   Linux-2.6.18_pro500-davinci_evm-

      Image Type:   ARM Linux Kernel Image (uncompressed)

      Data Size:    2018280 Bytes =  1.9 MB

      Load Address: 80008000

      Entry Point:  80008000

      Verifying Checksum ... OK

    OK

    Starting kernel ...

    Uncompressing Linux..............................................................................................

    Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (x0029463@aspbuild11) (gcc version 4.2.0 20070126 (prerelease9

    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

    Machine: DaVinci EVM

    Memory policy: ECC disabled, Data cache writeback

    DaVinci DM6443 variant 0x1

    CPU0: D VIVT write-back cache

    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets

    CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets

    Built 1 zonelists.  Total pages: 65536

    Kernel /root=/dev/nfs rw rootwait0,115200n8 ip=dhcp nfsroot=192.168.50.217:/home/DM6446/workdir/filesys/s

    PID hash table entries: 2048 (order: 11, 8192 bytes)

    Clock event device timer0_0 configured with caps set: 03

    Console: colour dummy device 80x30

    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

    Memory: 256MB = 256MB total

    Memory: 255488KB available (3461K code, 689K data, 176K init)

    Security Framework v1.0.0 initialized

    Capability LSM initialized

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    NET: Registered protocol family 16

    DaVinci: 71 gpio irqs

    WARNING: both IDE and NOR flash are enabled, but share pins.

           Disable IDE for NOR support.

    ch0 default output "COMPOSITE", mode "NTSC"

    MUX: initialized LOEEN

    MUX: initialized LFLDEN

    VPBE Encoder Initialized

    LogicPD encoder initialized

    SCSI subsystem initialized

    usbcore: registered new driver usbfs

    usbcore: registered new driver hub

    NET: Registered protocol family 2

    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

    TCP established hash table entries: 8192 (order: 3, 32768 bytes)

    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

    TCP: Hash tables configured (established 8192 bind 4096)

    TCP reno registered

    davinci_spi_board_init: NO spi support

    VFS: Disk quotas dquot_6.5.1

    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

    squashfs: version 3.1 (2006/08/19) Phillip Lougher

    JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.

    yaffs May 20 2009 01:11:27 Installing.

    SGI XFS with no debug enabled

    Initializing Cryptographic API

    io scheduler noop registered

    io scheduler anticipatory registered (default)

    LTT : ltt-facilities init

    LTT : ltt-facility-core init in kernel

    davincifb davincifb: dm_osd0_fb: 720x480x16@0,0 with framebuffer size 675KB

    davincifb davincifb: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB

    davincifb davincifb: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB

    davincifb davincifb: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB

    davincifb davincifb.0: dm_osd0_fb: Failed to obtain ownership of OSD window.

    DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec

    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled

    serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a 16550A

    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize

    netconsole: not configured, aborting

    TI DaVinci EMAC: MAC address is 00:0e:99:02:43:b1

    TI DaVinci EMAC Linux version updated 4.0

    TI DaVinci EMAC: Installed 1 instances.

    Linux video capture interface: v2.00

    vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded

    Trying to register davinci display video device.

    layer=cf216400,layer->video_dev=cf216560

    Trying to register davinci display video device.

    layer=cf216200,layer->video_dev=cf216360

    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded

    Davici AEW Driver cannot be loaded

    VIDEO PORT is not enabledData Flow path from CCDC is disabled

    Davinci AF driver cannot be loaded

    VIDEO PORT is not enabled

    CCDC needs to be configured<6>i2c /dev entries driver

    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

    MUX: initialized HDIREN

    MUX: initialized ATAEN

       ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio

    Palm Chip BK3710 IDE Register Fail

    Initializing USB Mass Storage driver...

    usbcore: registered new driver usb-storage

    USB Mass Storage support registered.

    usbcore: registered new driver usbhid

    drivers/usb/input/hid-core.c: v2.6:USB HID core driver

    musb_hdrc: version 6.0, cppi-dma, host, debug=0

    musb_hdrc musb_hdrc: No DMA interrupt line

    musb_hdrc: USB Host mode controller at d085e000 using DMA, IRQ 12

    musb_hdrc musb_hdrc: MUSB HDRC host driver

    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1

    usb usb1: configuration #1 chosen from 1 choice

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 1 port detected

    mice: PS/2 mouse device common for all mice

    rtc_davinci_evm rtc_davinci_evm: rtc intf: proc

    rtc_davinci_evm rtc_davinci_evm: rtc intf: dev (254:0)

    rtc_davinci_evm rtc_davinci_evm: rtc core: registered rtc_davinci_evm as rtc0

    rtc0: hours 12-23 are misreported as duplicate hours 00-11

    davinci-mmc davinci-mmc.0: Supporting 4-bit mode

    davinci-mmc davinci-mmc.0: Using DMA mode

    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).

    ASoC version 0.13.1

    MUX: initialized MCBSP

    AIC3X Audio Codec 0.1

    asoc: aic3x <-> davinci-i2s mapping ok

    ALSA device list:

     #0: DaVinci EVM (aic3x)

    IPv4 over IPv4 tunneling driver

    TCP bic registered

    NET: Registered protocol family 1

    NET: Registered protocol family 17

    Time: timer0_1 clocksource has been installed.

    Clock event device timer0_0 configured with caps set: 08

    Switched to high resolution mode on CPU 0

    rtc_davinci_evm rtc_davinci_evm: setting the system clock to 2004-02-01 12:10:58 (1075637458)

    Sending DHCP requests ...... timed out!

    IP-Config: Retrying forever (NFS root)...

    Sending DHCP requests .....

    (it keeps on trying : Sending DHCP requests .....), whats wrong here?

    2)

    Also in minicom I am not able to type this  bootargs continuously in one line after :

    EVM #setenv bootargs 'console=ttyS0,115200n8 ip=dhcpnfsroot=192.168.50.217:/home/DM6446/workdir/filesys

    every word I type isgetting replaced (same as insert) by the next word in the same location later using up/down key i am ableto go to next line and type and got error as below:

    EVM # setenv bootargs 'console=ttyS0,115200n8 ip=dhcp nfsroot=192.168.50.217:/home/DM6446/workdir/filesys

    /root=/dev/nfs rw rootwait'

    Unknown command '/root=/dev/nfs' - try 'help'

    what might be the problem? minicom issue?

    later i typed as below in two lines :

    DaVinci EVM # setenv bootargs 'console=ttyS0,115200n8 ip=dhcp nfsroot=192.168.50.217:/home/DM6446/workdir/filesys

                  /root=/dev/nfs rw rootwait' 

     and could abel to continue. Is it wright? refer attached screenshot.

    (SPURE66.pdf  says in 4.3.6 point 4) Note that the setenv bootargs command should be typed on a single line. Also note that you should avoid using the numeric keypad to enter numbers, as it can sometimes insert extra invisible characters)

    Regards,

    Azhagiri S

  • Update:

    after referring this link :

    e2e.ti.com/.../217056


    I have modified (from ip=dhcp to ip=none) :
    setenv bootargs 'console=ttyS0,115200n8 ip=dhcp nfsroot=192.168.50.217:/home/DM6446/workdir/filesys/root=/dev/nfs rw rootwait'

    into
    setenv bootargs 'console=ttyS0,115200n8 ip=none nfsroot=192.168.50.217:/home/DM6446/workdir/filesys/root=/dev/nfs rw rootwait'


    and run

    EVM#boot

    command and the log is as below:

    Welcome to minicom 2.5

    OPTIONS: I18n
    Compiled on May 2 2011, 00:39:27.
    Port /dev/ttyS0

    Press CTRL-A Z for help on special keys

    DM644x initialization passed!
    TI UBL Version: 1.50
    Booting Catalog Boot Loader
    BootMode = NAND
    Starting NAND Copy...
    Valid magicnum, 0xA1ACED66, found in block 0x00000006.
    DONE
    Jumping to entry point at 0x81080000.


    U-Boot 1.2.0 (Apr 13 2009 - 12:08:08)

    I2C: ready
    DRAM: 256 MB
    unknown vendor=0 Flash: 0 kB
    NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND 64MiB 1,8V 8-bit)
    64 MiB
    In: serial
    Out: serial
    Err: serial
    ARM Clock :- 297MHz
    DDR Clock :- 162MHz
    MSP430 Firmware supports AM/PM Feature
    Hit any key to stop autoboot: 0
    DaVinci EVM # setenv bootargs 'console=ttyS0,115200n8 ip=none nfsroot=192.168.50.217:/home/DM6446/workdir/filesy/
    root=/dev/nfs rw rootwait'
    DaVinci EVM # saveenv
    Saving Environment to NAND...
    Erasing Nand...Writing to Nand... done
    DaVinci EVM # printenv
    bootdelay=3
    baudrate=115200
    bootfile="uImage"
    filesize=1ecc28
    fileaddr=80700000
    ipaddr=172.16.3.100
    serverip=172.16.3.203
    bootcmd=nboot 0x80700000 0 0x200000; bootm
    rootpath=root@venkat-linux:/home/DM6446/workdir/filesys
    nfshost=192.168.50.217
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=00:0e:99:02:43:b1
    videostd=pal
    root=/dev/nfs rw rootwait5200n8 ip=none nfsroot=192.168.50.217:/home/DM6446/workdir/filesys/

    Environment size: 739/16380 bytes
    DaVinci EVM # boot

    Loading from NAND 64MiB 1,8V 8-bit, offset 0x200000
    Image Name: Linux-2.6.18_pro500-davinci_evm-
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2018280 Bytes = 1.9 MB
    Load Address: 80008000
    Entry Point: 80008000
    ## Booting image at 80700000 ...
    Image Name: Linux-2.6.18_pro500-davinci_evm-
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2018280 Bytes = 1.9 MB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    OK

    Starting kernel ...

    Uncompressing Linux..............................................................................................
    Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (x0029463@aspbuild11) (gcc version 4.2.0 20070126 (prerelease9
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    Machine: DaVinci EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci DM6443 variant 0x1
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
    Built 1 zonelists. Total pages: 65536
    Kernelroot=/dev/nfs rw rootwaityS0,115200n8 ip=none nfsroot=192.168.50.217:/home/DM6446/workdir/filesys/
    PID hash table entries: 2048 (order: 11, 8192 bytes)
    Clock event device timer0_0 configured with caps set: 03
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 255488KB available (3461K code, 689K data, 176K init)
    Security Framework v1.0.0 initialized
    Capability LSM initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    DaVinci: 71 gpio irqs
    WARNING: both IDE and NOR flash are enabled, but share pins.
    Disable IDE for NOR support.
    ch0 default output "COMPOSITE", mode "NTSC"
    MUX: initialized LOEEN
    MUX: initialized LFLDEN
    VPBE Encoder Initialized
    LogicPD encoder initialized
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 8192 bind 4096)
    TCP reno registered
    davinci_spi_board_init: NO spi support
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 3.1 (2006/08/19) Phillip Lougher
    JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
    yaffs May 20 2009 01:11:27 Installing.
    SGI XFS with no debug enabled
    Initializing Cryptographic API
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    LTT : ltt-facilities init
    LTT : ltt-facility-core init in kernel
    davincifb davincifb: dm_osd0_fb: 720x480x16@0,0 with framebuffer size 675KB
    davincifb davincifb: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
    davincifb davincifb: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
    davincifb davincifb: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
    davincifb davincifb.0: dm_osd0_fb: Failed to obtain ownership of OSD window.
    DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a 16550A
    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
    netconsole: not configured, aborting
    TI DaVinci EMAC: MAC address is 00:0e:99:02:43:b1
    TI DaVinci EMAC Linux version updated 4.0
    TI DaVinci EMAC: Installed 1 instances.
    Linux video capture interface: v2.00
    vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
    Trying to register davinci display video device.
    layer=cf216400,layer->video_dev=cf216560
    Trying to register davinci display video device.
    layer=cf216200,layer->video_dev=cf216360
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded

    Davici AEW Driver cannot be loaded
    VIDEO PORT is not enabledData Flow path from CCDC is disabled

    Davinci AF driver cannot be loaded
    VIDEO PORT is not enabled
    CCDC needs to be configured<6>i2c /dev entries driver
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
    MUX: initialized HDIREN
    MUX: initialized ATAEN
    ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
    Palm Chip BK3710 IDE Register Fail
    Initializing USB Mass Storage driver...
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new driver usbhid
    drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    musb_hdrc: version 6.0, cppi-dma, host, debug=0
    musb_hdrc musb_hdrc: No DMA interrupt line
    musb_hdrc: USB Host mode controller at d085e000 using DMA, IRQ 12
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    rtc_davinci_evm rtc_davinci_evm: rtc intf: proc
    rtc_davinci_evm rtc_davinci_evm: rtc intf: dev (254:0)
    rtc_davinci_evm rtc_davinci_evm: rtc core: registered rtc_davinci_evm as rtc0
    rtc0: hours 12-23 are misreported as duplicate hours 00-11
    davinci-mmc davinci-mmc.0: Supporting 4-bit mode
    davinci-mmc davinci-mmc.0: Using DMA mode
    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
    ASoC version 0.13.1
    MUX: initialized MCBSP
    AIC3X Audio Codec 0.1
    asoc: aic3x <-> davinci-i2s mapping ok
    ALSA device list:
    #0: DaVinci EVM (aic3x)
    IPv4 over IPv4 tunneling driver
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    Time: timer0_1 clocksource has been installed.
    Clock event device timer0_0 configured with caps set: 08
    Switched to high resolution mode on CPU 0
    rtc_davinci_evm rtc_davinci_evm: setting the system clock to 2004-02-01 01:12:43 (1075597963)
    Looking up port of RPC 100003/2 on 192.168.50.217
    portmap: RPC call returned error 101
    Root-NFS: Unable to get nfsd port number from server, using default
    Looking up port of RPC 100005/1 on 192.168.50.217
    portmap: RPC call returned error 101
    Root-NFS: Unable to get mountd port number from server, using default
    mount: RPC call returned error 101
    Root-NFS: Server returned error -101 while mounting /home/DM6446/workdir/filesys/
    FS: Unable to mount root fs via NFS, trying floppy.
    VFS: Cannot open root device "<NULL>" or unknown-block(2,0)
    Please append a correct "root=" boot option
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


    Please suggest me further.

    Regards,

    Azhagiri
  • Hi,
    Do you have filesystem " /home/DM6446/workdir/filesys/" in this path ?
    Have you exported and followed the "Setting up NFS" procedures on your host Linux machine ?

    processors.wiki.ti.com/.../Linux_Host_Configuration_-_Ubuntu
  • Hi,

    I have followed the link you have given and also  as SPRUE66.pdf and my execution is as below:


    I am not sure/confused about my exportfs execution. some error there. my file system is as below :

    My installation paths are:

    /home/DM6446/mvpro_5.0

    /home/DM6446/dvsdk_2_00_00_22

    /home/DM6446/workdir/filesys

    1)root@venkat-linux:/home/venkat# apt-get install nfs-kernel-server portmap

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Note, selecting 'rpcbind' instead of 'portmap'

    nfs-kernel-server is already the newest version.

    rpcbind is already the newest version.

    0 upgraded, 0 newly installed, 0 to remove and 198 not upgraded.

    2)root@venkat-linux:/etc/init.d# /etc/init.d/nfs-kernel-server restart

    * Stopping NFS kernel daemon [ OK ]

    * Unexporting directories for NFS kernel daemon... [ OK ]

    * Exporting directories for NFS kernel daemon... exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:root@venkat-linux:/home/DM6446/workdir/filesys".

    Assuming default behaviour ('no_subtree_check').

    NOTE: this default has changed since nfs-utils version 1.0.x

    exportfs: Failed to stat root@venkat-linux:/home/DM6446/workdir/filesys: No such file or directory

    [ OK ]

    * Starting NFS kernel daemon [ OK ]

    root@venkat-linux:/etc/init.d#

    exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:root@venkat-linux:/home/DM6446/workdir/filesys".

    Assuming default behaviour ('no_subtree_check').

    NOTE: this default has changed since nfs-utils version 1.0.x

    exportfs: Failed to stat root@venkat-linux:/home/DM6446/workdir/filesys: No such file or directory

    [ OK ]

    * Starting NFS kernel daemon [ OK ]

    3)

    root@venkat-linux:/etc/init.d# cd /home/DM6446

    root@venkat-linux:/home/DM6446# mkdir -p workdir/filesys

    root@venkat-linux:/home/DM6446# cd workdir/filesys

    4)

    root@venkat-linux:/home/DM6446/workdir/filesys# cp -a /home/DM6446/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/* .

    root@venkat-linux:/home/DM6446# chown -R root@venkat-linux:/home/DM6446/workdir/filesys

    5)

    root@venkat-linux:/etc#vi exports
    
    and added a line and saved:
    root@venkat-linux:/home/DM6446/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)
    
    6) 
    root@venkat-linux:/home/venkat# /usr/sbin/exportfs -av
    
    exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:root@venkat-linux:/home/DM6446/workdir/filesys".
    
      Assuming default behaviour ('no_subtree_check').
    
      NOTE: this default has changed since nfs-utils version 1.0.x
    
    
    
    exporting *:root@venkat-linux:/home/DM6446/workdir/filesys
    
    exportfs: Failed to stat root@venkat-linux:/home/DM6446/workdir/filesys: No such file or directory
    
    
    8)
    root@venkat-linux:/home/venkat# cd /usr/sbin/
    
    root@venkat-linux:/usr/sbin# exportfs -av
    
    exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:root@venkat-linux:/home/DM6446/workdir/filesys".
    
      Assuming default behaviour ('no_subtree_check').
    
      NOTE: this default has changed since nfs-utils version 1.0.x
    
    
    
    exporting *:root@venkat-linux:/home/DM6446/workdir/filesys
    
    exportfs: Failed to stat root@venkat-linux:/home/DM6446/workdir/filesys: No such file or directory
    
    root@venkat-linux:/usr/sbin# 
    
    
    
    
    
    instead of host $ /sbin/service nfs restart (for redhat) i ran below command for my Ubuntu 12.4 LTS:

    9)

    root@venkat-linux:/etc/init.d# /etc/init.d/nfs-kernel-server restart

    * Stopping NFS kernel daemon [ OK ]

    * Unexporting directories for NFS kernel daemon... [ OK ]

    * Exporting directories for NFS kernel daemon... exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:root@venkat-linux:/home/DM6446/workdir/filesys".

    Assuming default behaviour ('no_subtree_check').

    NOTE: this default has changed since nfs-utils version 1.0.x

    exportfs: Failed to stat root@venkat-linux:/home/DM6446/workdir/filesys: No such file or directory

    [ OK ]

    * Starting NFS kernel daemon [ OK ]

    root@venkat-linux:/etc/init.d#

    exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:root@venkat-linux:/home/DM6446/workdir/filesys".

    Assuming default behaviour ('no_subtree_check').

    NOTE: this default has changed since nfs-utils version 1.0.x

    exportfs: Failed to stat root@venkat-linux:/home/DM6446/workdir/filesys: No such file or directory

    [ OK ]

    * Starting NFS kernel daemon [ OK ]

    Then, to Verify that the server firewall is turned off I ran:

    10)root@venkat-linux:/usr/sbin# cd /etc/init.d/

    root@venkat-linux:/etc/init.d# iptables status

    Bad argument `status'

    Try `iptables -h' or 'iptables --help' for more information.

    root@venkat-linux:/ /etc/init.d/# iptables stop

    Bad argument `stop'

    Try `iptables -h' or 'iptables --help' for more information.

    What is wrong here?

    Regards,

    Azhagiri

  • Hi,

    What is your favor of linux host machine ?

    Ubuntu, Fedora,RedHat etc.,

    To disable firewall in ubuntu,

    root@linux# ufw disable

    Do you have filesystem in "/home/DM6446/workdir/filesys" this location ?
    Use "ls" command to check.

    root@linux# ls /home/DM6446/workdir/filesys

    Add the following line alone in "/etc/exports" file.

    /home/DM6446/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)

    And don't use like this "root@venkat-linux:/home/DM6446/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)"
  • Hi,

    Thank you.

    1) Yes I am using Ubuntu 12.4 LTS as mentioned earlier. I will follow your steps.

    2)First I have extracted all DVSDK and montavista files to my linux host home/DM6446  then I have followed below steps. do you asking about this file system? or my linux host file system? or the file system created after copying   /home/DM6446/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target  to workdir/filesys for NFS?

    (ie root@venkat-linux:/etc/init.d# cd /home/DM6446

    root@venkat-linux:/home/DM6446# mkdir -p workdir/filesys

    root@venkat-linux:/home/DM6446# cd workdir/filesys)

     

    3) if i run ls command it shows

    root@venkat-linux:/home/venkat#  ls /home/DM6446/workdir/filesys

    bin   dev  home  media  opt   root  srv  tmp  var
    boot  etc  lib   mnt    proc  sbin  sys  usr

    and I have to add "/home/DM6446/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)" line to this etc/exports? not in my linux hosts /etc/exports?

    Regards,

     

    Azhagiri

     

     

  • Hi,


    and I have to add "/home/DM6446/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)" line to this etc/exports? not in my linux hosts /etc/exports?


    You have to add this into linux host machine which is going to run as NFS server.
  • Hi ,

    I have changed as you have mentioned in your earlier steps:

     

    1) changed the path as below:

    Add the following line alone in "/etc/exports" file.

    /home/DM6446/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)

    now it is not showing 'exportfs: Failed to stat root@venkat-linux:/home/DM6446/workdir/filesys: No such file or directory'

     

    2) later in minicom I run as below:

    DaVinci EVM #  setenv nfshost 192.168.50.217

    DaVinci EVM # setenv rootpath /home/DM6446/workdir/filesys

    DaVinci EVM #  setenv bootargs 'console=ttyS0,115200n8 ip=none nfsroot=192.168.50.217:/home/DM6446/workdir/filesys root=dev/nfs rw rootwait'

    DaVinci EVM # saveenv

    Saving Environment to NAND...

    Erasing Nand...Writing to Nand... done

    DaVinci EVM # printenv

    bootdelay=3

    baudrate=115200

    bootfile="uImage"

    filesize=1ecc28

    fileaddr=80700000

    ipaddr=172.16.3.100

    serverip=172.16.3.203

    bootcmd=nboot 0x80700000 0 0x200000; bootm

    stdin=serial

    stdout=serial

    stderr=serial

    ethaddr=00:0e:99:02:43:b1

    videostd=pal

    nfshost=192.168.50.217

    rootpath=/home/DM6446/workdir/filesys

    bootargs=console=ttyS0,115200n8 ip=none nfsroot=192.168.50.217:/home/DM6446/workdir/filesysy

    s root=dev/nfs rw rootwait

    Environment size: 719/16380 bytes

    and after boot command I get as below: still NFS mount problem I am not seeing nfs  in my linux host "dev/nfs" directory. whats wrong?

    DaVinci EVM # boot

    Loading from NAND 64MiB 1,8V 8-bit, offset 0x200000
       Image Name:   Linux-2.6.18_pro500-davinci_evm-
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2018280 Bytes =  1.9 MB
       Load Address: 80008000
       Entry Point:  80008000
    ## Booting image at 80700000 ...
       Image Name:   Linux-2.6.18_pro500-davinci_evm-
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2018280 Bytes =  1.9 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    OK

    Starting kernel ...

    Uncompressing Linux..............................................................................................
    Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (x0029463@aspbuild11) (gcc version 4.2.0 20070126 (prerelease9
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    Machine: DaVinci EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci DM6443 variant 0x1
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
    Built 1 zonelists.  Total pages: 65536
    Kernel s root=dev/nfs rw rootwait0,115200n8 ip=none nfsroot=192.168.50.217:/home/DM6446/workdir/filesysy
    PID hash table entries: 2048 (order: 11, 8192 bytes)
    Clock event device timer0_0 configured with caps set: 03
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 255488KB available (3461K code, 689K data, 176K init)
    Security Framework v1.0.0 initialized
    Capability LSM initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    DaVinci: 71 gpio irqs
    WARNING: both IDE and NOR flash are enabled, but share pins.
            Disable IDE for NOR support.
    ch0 default output "COMPOSITE", mode "NTSC"
    MUX: initialized LOEEN
    MUX: initialized LFLDEN
    VPBE Encoder Initialized
    LogicPD encoder initialized
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 8192 bind 4096)
    TCP reno registered
    davinci_spi_board_init: NO spi support
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 3.1 (2006/08/19) Phillip Lougher
    JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
    yaffs May 20 2009 01:11:27 Installing.
    SGI XFS with no debug enabled
    Initializing Cryptographic API
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    LTT : ltt-facilities init
    LTT : ltt-facility-core init in kernel
    davincifb davincifb: dm_osd0_fb: 720x480x16@0,0 with framebuffer size 675KB
    davincifb davincifb: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
    davincifb davincifb: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
    davincifb davincifb: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
    davincifb davincifb.0: dm_osd0_fb: Failed to obtain ownership of OSD window.
    DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a 16550A
    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
    netconsole: not configured, aborting
    TI DaVinci EMAC: MAC address is 00:0e:99:02:43:b1
    TI DaVinci EMAC Linux version updated 4.0
    TI DaVinci EMAC: Installed 1 instances.
    Linux video capture interface: v2.00
    vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
    Trying to register davinci display video device.
    layer=cf216400,layer->video_dev=cf216560
    Trying to register davinci display video device.
    layer=cf216200,layer->video_dev=cf216360
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded

     Davici AEW Driver cannot be loaded
     VIDEO PORT is not enabledData Flow path from CCDC is disabled

     Davinci AF driver cannot be loaded
     VIDEO PORT is not enabled
     CCDC needs to be configured<6>i2c /dev entries driver
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
    MUX: initialized HDIREN
    MUX: initialized ATAEN
        ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
    Palm Chip BK3710 IDE Register Fail
    Initializing USB Mass Storage driver...
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new driver usbhid
    drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    musb_hdrc: version 6.0, cppi-dma, host, debug=0
    musb_hdrc musb_hdrc: No DMA interrupt line
    musb_hdrc: USB Host mode controller at d085e000 using DMA, IRQ 12
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    rtc_davinci_evm rtc_davinci_evm: rtc intf: proc
    rtc_davinci_evm rtc_davinci_evm: rtc intf: dev (254:0)
    rtc_davinci_evm rtc_davinci_evm: rtc core: registered rtc_davinci_evm as rtc0
    rtc0: hours 12-23 are misreported as duplicate hours 00-11
    davinci-mmc davinci-mmc.0: Supporting 4-bit mode
    davinci-mmc davinci-mmc.0: Using DMA mode
    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
    ASoC version 0.13.1
    MUX: initialized MCBSP
    AIC3X Audio Codec 0.1
    asoc: aic3x <-> davinci-i2s mapping ok
    ALSA device list:
      #0: DaVinci EVM (aic3x)
    IPv4 over IPv4 tunneling driver
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    Time: timer0_1 clocksource has been installed.
    Clock event device timer0_0 configured with caps set: 08
    Switched to high resolution mode on CPU 0
    rtc_davinci_evm rtc_davinci_evm: setting the system clock to 2004-02-01 12:38:48 (1075639128)
    Looking up port of RPC 100003/2 on 192.168.50.217
    portmap: RPC call returned error 101
    Root-NFS: Unable to get nfsd port number from server, using default
    Looking up port of RPC 100005/1 on 192.168.50.217
    portmap: RPC call returned error 101
    Root-NFS: Unable to get mountd port number from server, using default
    mount: RPC call returned error 101
    Root-NFS: Server returned error -101 while mounting /home/DM6446/workdir/filesysy
    FS: Unable to mount root fs via NFS, trying floppy.
    VFS: Cannot open root device "dev/nfs" or unknown-block(2,0)
    Please append a correct "root=" boot option
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

     

     

    Please suggest me.

     

    Regards,

     

    Azhagiri

  • Hi,

    DaVinci EVM # setenv bootargs 'console=ttyS0,115200n8 ip=none nfsroot=192.168.50.217:/home/DM6446/workdir/filesys root=dev/nfs rw rootwait'

    You have to enable the network in kernel, but it seems you disabled through "ip=none" so,
    Please enable the internet through either DHCP or STATIC
    Ex:
    DHCP:
    "ip=dhcp"
    STATIC:
    "ip=192.168.50.216"
  • Hi,

    1) I am not able to type uboot commands ie env variable in single line If i want to type :

    DaVinci EVM # setenv bootargs 'console=ttyS0,115200n8 ip=192.168.50.216 nfsroot=192.168.50.217:/h

    ome/DM6446/workdir/filesys/root=/dev/nfs rw rootwait'

    I am able to type only till :

    DaVinci EVM # setenv bootargs 'console=ttyS0,115200n8 ip=192.168.50.216 nfsroot=192.168.50.217:/home/DM6446/work

    and if i type further the letters are getting replaced. And if i continue typing or got next line and type till the end and if i do printenv I get:

    PS note: It display ipaddr=172.16.3.100

    serverip=172.16.3.203

    DaVinci EVM # setenv bootargs 'console=ttyS0,115200n8 ip=192.168.50.216 nfsroot=192.168.50.217:/home/DM6446/work'

    DaVinci EVM # saveenv

    Saving Environment to NAND...

    Erasing Nand...Writing to Nand... done

    DaVinci EVM # printenv

    bootdelay=3

    baudrate=115200

    bootfile="uImage"

    filesize=1ecc28

    fileaddr=80700000

    ipaddr=172.16.3.100

    serverip=172.16.3.203

    bootcmd=nboot 0x80700000 0 0x200000; bootm

    nfshost=192.168.50.217

    rootpath=/home/DM6446/mkdir/filesys

    stdin=serial

    stdout=serial

    stderr=serial

    ethaddr=00:0e:99:02:43:b1

    videostd=pal

    bootargs=console=ttyS0,115200n8 ip=192.168.50.216 nfsroot=192.168.50.217:/home/DM6446/workdir/filesys/root=/dev/t

    Environment size: 432/16380 bytes

    DaVinci EVM #

    i guess it is not taking the env variable/bootargs properly. Anything wrong here?

    2)

    I have changed my ip as static by

    ip=192.168.50.216 and still I get error and it is as below, do i need to connect the ethernet cable between host linux and target EVM? :

    Looking up port of RPC 100003/2 on 192.168.50.217

    portmap: server 192.168.50.217 not responding, timed out

    Root-NFS: Unable to get nfsd port number from server, using default

    Looking up port of RPC 100005/1 on 192.168.50.217

    portmap: server 192.168.50.217 not responding, timed out

    Root-NFS: Unable to get mountd port number from server, using default

    mount: server 192.168.50.217 not responding, timed out

    Root-NFS: Server returned error -5 while mounting /home/DM6446/workd

    VFS: Unable to mount root fs via NFS, trying floppy.

    VFS: Cannot open root device "<NULL>" or unknown-block(2,0)

    Please append a correct "root=" boot option

    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

    3) also my switch configurations are as below:

    S3=0000111111

    J4=NAND

    do I need to change these settings ?

    Regards,

    Azhagiri

  • Hi,
    1) You have to use "[CTRL] + [A] + [Z]" to enable line wrap ON in minicom.

    2) Do you have DHCP server setup in your LAN nw (in your company if any) ?
    If yes, try DHCP option.

    For Static, use like this.

    setenv bootargs mem=32M console=/dev/ttyS0,115200 ip=192.168.50.216:::::eth0:off nfsroot=192.168.50.217:/usr/local/filesystem root=/dev/nfs rw rootwait

    You have to connect the ethernet cable between ubuntu Linux host PC to your DM6446 EVm board.
    You have to set IP address as "192.168.50.216" in Linux host PC.
  • Hi,

    Thank You.

    1) I have tried wrap ON in minicom and its working good.

    2) I have made below updates and the result is still same :

    "connect the ethernet cable between ubuntu Linux host PC to your DM6446 EVm board.
    You have to set IP address as "192.168.50.216" in Linux host PC"

    My linux host IP: set manually as 192.168.50.216
    NFS file system/root IP as : 192.168.50.217
    (in minicom DaVinci EVM # setenv nfshost 192.168.50.217
    DaVinci EVM # setenv rootpath /home/DM6446/mkdir/filesys)

    and
    Davinci EVM# 'setenv bootargs mem=32M console=/dev/ttyS0,115200 ip=192.168.50.216:::::eth0:off nfsroot=192.168.50.217:/usr/local/filesystem root=/dev/nfs rw rootwait'

    and log is as below:

    DaVinci EVM # setenv nfshost 192.168.50.217
    DaVinci EVM # setenv rootpath /home/DM6446/mkdir/filesys
    DaVinci EVM # setenv bootargs 'mem=32M console=/dev/ttyS0,115200 ip=192.168.50.216:::::eth0:off nfsroot=172.16.3.10
    2:/usr/local/filesystem root=/dev/nfs rw rootwait'
    DaVinci EVM # saveenv
    Saving Environment to NAND...
    Erasing Nand...Writing to Nand... done
    DaVinci EVM # printenv
    bootdelay=3
    baudrate=115200
    bootfile="uImage"
    filesize=1ecc28
    fileaddr=80700000
    ipaddr=172.16.3.100
    serverip=172.16.3.203
    bootcmd=nboot 0x80700000 0 0x200000; bootm
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=00:0e:99:02:43:b1
    videostd=pal
    nfshost=192.168.50.217
    rootpath=/home/DM6446/mkdir/filesys
    bootargs=mem=32M console=/dev/ttyS0,115200 ip=192.168.50.216:::::eth0:off nfsroot=192.168.50.217:/usr/local/filesyste
    m root=/dev/nfs rw rootwait

    Environment size: 443/16380 bytes
    DaVinci EVM # boot

    Loading from NAND 64MiB 1,8V 8-bit, offset 0x200000
    Image Name: Linux-2.6.18_pro500-davinci_evm-
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2018280 Bytes = 1.9 MB
    Load Address: 80008000
    Entry Point: 80008000
    ## Booting image at 80700000 ...
    Image Name: Linux-2.6.18_pro500-davinci_evm-
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2018280 Bytes = 1.9 MB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    OK

    Starting kernel ...

    Uncompressing Linux..............................................................................................
    ....................................... done, booting the kernel.

    (hangs here after)

    Whats wrong here?

    Insteatd I tried previous command suggested by you with modified IP address :

    DaVinci EVM # setenv nfshost 172.16.3.102
    DaVinci EVM # setenv rootpath /home/DM6446/mkdir/filesys
    DaVinci EVM # setenv bootargs 'console=ttyS0,115200n8 ip=172.16.3.101 nfsroot=172.16.3.102:/home/DM6446/workdir/filesys/root=/dev/nfs rw rootwait'

    log:

    DaVinci EVM # setenv bootargs 'console=ttyS0,115200n8 ip=172.16.3.101 nfsroot=172.16.3.102:/home/DM6446/workdir/f
    ilesys/root=/dev/nfs rw rootwait'
    DaVinci EVM # saveenv
    Saving Environment to NAND...
    Erasing Nand...Writing to Nand... done
    DaVinci EVM # printenv
    bootdelay=3
    baudrate=115200
    bootfile="uImage"
    filesize=1ecc28
    fileaddr=80700000
    ipaddr=172.16.3.100
    serverip=172.16.3.203
    bootcmd=nboot 0x80700000 0 0x200000; bootm
    nfshost=172.16.3.102
    rootpath=/home/DM6446/mkdir/filesys
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=00:0e:99:02:43:b1
    videostd=pal
    bootargs=console=ttyS0,115200n8 ip=172.16.3.101 nfsroot=172.16.3.102:/home/DM6446/workdir/filesys/root=/dev/nfs r
    w rootwait

    Environment size: 426/16380 bytes


    I get as below:

    ................
    IP-Config: Complete:
    device=eth0, addr=172.16.3.101, mask=255.255.0.0, gw=255.255.255.255,
    host=172.16.3.101, domain=, nis-domain=(none),
    bootserver=255.255.255.255, rootserver=172.16.3.102, rootpath=
    Looking up port of RPC 100003/2 on 172.16.3.102
    portmap: server 172.16.3.102 not responding, timed out
    Root-NFS: Unable to get nfsd port number from server, using default
    Looking up port of RPC 100005/1 on 172.16.3.102
    portmap: server 172.16.3.102 not responding, timed out
    Root-NFS: Unable to get mountd port number from server, using default
    mount: server 172.16.3.102 not responding, timed out
    Root-NFS: Server returned error -5 while mounting /home/DM6446/workdir/filesys/root=/dev/nfs
    VFS: Unable to mount root fs via NFS, trying floppy.
    VFS: Cannot open root device "<NULL>" or unknown-block(2,0)
    Please append a correct "root=" boot option
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


    same as previous error.

    Please suggest me. meanwhile I will try DHCP thing as suggested by you.

    Regards,
  • Hi,

    Another point I want to ask you is there any possibilities to have a chat with you like we can try your suggestions and reply back if any problem immediately so that we can move further sooner, any possible timings? if so it will greatly help us.

    Azhagiri,
    Bangalore,India
  • I have sent a friend to request for private chat on E2E . Please accept it and will discuss.