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.

Booting DM6467T EVM with NFS fails

Other Parts Discussed in Thread: PCF8574A, THS7303, THS8200, THS7353, TVP7002

I did http://processors.wiki.ti.com/index.php/GSG:_DVEVM_Software_Setup_for_DM6467_Platforms#Creating_a_Target_and_Host_Shared_File_System_and_Exporting_It

and http://processors.wiki.ti.com/index.php/GSG:_Running_the_DVEVM_Demos#Sample_U-Boot_parameters_required_for_the_DVSDK_demo

but my DM6467T won't boot successfully with the file system over on my Ubuntu/VMware/WindowsXP NFS host.

Please look at the screen capture below from booting and suggest what may be wrong.  

For your reference, some IP addresses:

192.168.123.33 = router
192.168.123.18 = Ubuntu/VMware/WindowsXP NFS host
192.168.123.19 = next available IP address from router DHCP client list, that I assign and also gets assigned to EVM

PLEASE NOTE:

1) I believe my router has its own tftp server.  This got in the way before of using the dhcp command, and I bypassed it by hard setting some things and using tftpboot.

2) I did a printenv before boot, so you can see what all my environmental variable were beforehand

3) I am particularly concered about the lines after "IP-Config" that show host=...19, bootserver=...33, rootserver=...33, and rootpath=<blank>.  I would think these should have been 18,19,19 respectively and "/home/helmutforren/dvdsk/Shared_EVM_FS".

Thanks very much,

Helmut

======================================== Hyperterminal Screen Capture while Booting =====================================

printenv

bootcmd=nboot 0x80700000 0 0x160000; bootm

bootdelay=3

addclk=setenv bootargs ${bootargs} clkref=${clkref}

ethaddr=00:0e:99:02:b7:78

ethact=DaVinci EMAC

ipaddr=192.168.123.19

old_bootargs=mem=112M console=ttyS0,115200n8 root=/dev/hda1 rw ip=off vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0

new_bootargs=mem=76M console=ttyS0,115200n8 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock ip=192.168.123.19 vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0

nfshost=192.168.123.18

serverip=192.168.123.18

bootfile=uImage-dm6467t-evm.bin

rootpath=/home/helmutforren/dvdsk/Shared_EVM_FS

baudrate=115200

gateway=192.168.123.33

newdhcp_bootargs=mem=76M console=ttyS0,115200n8 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock ip=dhcp vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0

bootargs=mem=76M console=ttyS0,115200n8 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock ip=dhcp vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0

stdin=serial

stdout=serial

stderr=serial

ver=U-Boot 2009.08 (Jan 20 2010 - 15:27:59)

 

Environment size: 1058/16380 bytes

DM6467 EVM > boot

 

Loading from NAND 128MiB 3,3V 8-bit, offset 0x160000

   Image Name:   Arago/2.6.31+2.6.32-rc1-r31+gitr

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    2061256 Bytes =  2 MB

   Load Address: 80008000

   Entry Point:  80008000

## Booting kernel from Legacy Image at 80700000 ...

   Image Name:   Arago/2.6.31+2.6.32-rc1-r31+gitr

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    2061256 Bytes =  2 MB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

 

Starting kernel ...

 

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

Linux version 2.6.32-rc2-davinci1 (denis@elrond) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Mon Jan 11 21:45:54 EST 2010

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

CPU: VIVT data cache, VIVT instruction cache

Machine: DaVinci DM646x EVM

Memory policy: ECC disabled, Data cache writeback

DaVinci dm6467_rev3.x variant 0x1

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 19304

Kernel command line: mem=76M console=ttyS0,115200n8 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock ip=dhcp vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0

PID hash table entries: 512 (order: -1, 2048 bytes)

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

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory: 76MB = 76MB total

Memory: 72628KB available (3876K code, 335K data, 144K init, 0K highmem)

SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

Hierarchical RCU implementation.

NR_IRQS:245

Console: colour dummy device 80x30

Calibrating delay loop... 246.57 BogoMIPS (lpj=1232896)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

DaVinci: 43 gpio irqs

NET: Registered protocol family 16

MUX: Setting register STSOMUX_DISABLE

  PINMUX0 (0x00000000) = 0x00000000 -> 0x00000000

MUX: Setting register STSIMUX_DISABLE

  PINMUX0 (0x00000000) = 0x00000000 -> 0x00000000

MUX: Setting register PTSOMUX_DISABLE

  PINMUX0 (0x00000000) = 0x00000000 -> 0x00000000

MUX: Setting register PTSIMUX_DISABLE

  PINMUX0 (0x00000000) = 0x00000000 -> 0x00000000

MUX: initialized CIR_UART2

MUX: Setting register CIR_UART2

  PINMUX1 (0x00000004) = 0x00000000 -> 0x00000020

MUX: initialized ATAEN

MUX: Setting register ATAEN

  PINMUX0 (0x00000000) = 0x00000000 -> 0x00000001

bio: create slab <bio-0> at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

pcf857x 1-0038: gpios 145..152 on a pcf8574a

pcf857x 1-0038: setup --> -38

vpif vpif: vpif probe success

Switching to clocksource timer0_1

musb_hdrc: version 6.0, pio, peripheral, debug=0

musb_hdrc: USB Peripheral mode controller at fec64000 using PIO, IRQ 13

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

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

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

TCP: Hash tables configured (established 4096 bind 4096)

TCP reno registered

NET: Registered protocol family 1

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

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

msgmni has been set to 141

io scheduler noop registered

io scheduler anticipatory registered (default)

CIR device registered successfully  (Major = 252,  Minor = 0)

Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled

serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a ST16654

console [ttyS0] enabled

serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1c20400 IRQ41): -22

serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1c20800 IRQ42): -22

brd: module loaded

loop: module loaded

at24 1-0050: 32768 byte 24c256 EEPROM (writable)

Read MAC addr from EEPROM: 00:0e:99:02:b7:78

Uniform Multi-Platform E-IDE driver

ide-gd driver 1.18

    ide0: MMIO-DMA

hda: TOSHIBA MK4032GAX, ATA DISK drive

hda: UDMA/100 mode selected

ide0 at 0xfec661f0-0xfec661f7,0xfec663f6 on irq 22

hda: max request size: 512KiB

hda: 78140160 sectors (40007 MB), CHS=16383/255/63

hda: cache flushes supported

 hda: hda1 hda2

NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB 3,3V 8-bit)

Scanning device for bad blocks

Creating 4 MTD partitions on "davinci_nand.0":

0x000000000000-0x000000020000 : "params"

0x000000020000-0x000000160000 : "bootloader"

0x000000160000-0x000000560000 : "kernel"

0x000000560000-0x000008000000 : "filesystem"

davinci_nand davinci_nand.0: controller rev. 2.2

spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode

Using RX channel = 17 , TX channel = 16 and event queue = 3

at25 spi0.0: 32 KByte at25640a eeprom, pagesize 64

spi_davinci spi_davinci.0: Controller at 0xfec66800 

PPP generic driver version 2.4.2

PPP Deflate Compression module registered

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

dm9000 Ethernet Driver, V1.31

console [netcon0] enabled

netconsole: network logging started

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver usbtest

g_ether gadget: using random self ethernet address

g_ether gadget: using random host ethernet address

usb0: MAC e2:b8:50:8f:df:d8

usb0: HOST MAC 0a:f6:72:61:bd:d3

g_ether gadget: Ethernet Gadget, version: Memorial Day 2008

g_ether gadget: g_ether ready

i2c /dev entries driver

Linux video capture interface: v2.00

ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)

ths8200 1-0020: chip found @ 0x40 (DaVinci I2C adapter)

ths7353 1-002e: chip found @ 0x5c (DaVinci I2C adapter)

vpif_capture vpif_capture: registered sub device ths7353

tvp7002 1-005d: tvp7002 1-005d decoder driver registered !!

vpif_capture vpif_capture: registered sub device tvp7002

vpif_capture vpif_capture: DM646x VPIF Capture driver initialized

watchdog watchdog: heartbeat 60 sec

usbcore: registered new interface driver usbhid

usbhid: v2.6:USB HID core driver

Advanced Linux Sound Architecture Driver Version 1.0.21.

No device for DAI tlv320aic3x

asoc: tlv320aic3x <-> davinci-i2s mapping ok

asoc: DIT <-> davinci-dit mapping ok

ALSA device list:

  #0: DaVinci DM6467 EVM (tlv320aic3x)

TCP cubic registered

NET: Registered protocol family 17

Clocks: disable unused uart1

Clocks: disable unused emac

Clocks: disable unused timer1

emac-mii: probed

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

eth0: attached PHY driver [ET1011C] (mii_bus:phy_addr=1:01, id=282f013)

Sending DHCP requests ..

PHY: 1:01 - Link is Up - 1000/Full

., OK

IP-Config: Got DHCP answer from 192.168.123.33, my address is 192.168.123.19

IP-Config: Complete:

     device=eth0, addr=192.168.123.19, mask=255.255.255.0, gw=192.168.123.33,

     host=192.168.123.19, domain=domain.invalid, nis-domain=(none),

     bootserver=192.168.123.33, rootserver=192.168.123.33, rootpath=

Looking up port of RPC 100003/2 on 192.168.123.33

rpcbind: server 192.168.123.33 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.123.33

rpcbind: server 192.168.123.33 not responding, timed out

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

Root-NFS: Server returned error -5 while mounting /tftpboot/$(nfshost):$(rootpath)

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

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

Please append a correct "root=" boot option; here are the available partitions:

0300        39070080 hda driver: ide-gd

  0301        27342598 hda1

  0302        11727450 hda2

1f00             128 mtdblock0 (driver?)

1f01            1280 mtdblock1 (driver?)

1f02            4096 mtdblock2 (driver?)

1f03          125568 mtdblock3 (driver?)

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

Backtrace: 

[<c00307d0>] (dump_backtrace+0x0/0x114) from [<c030af14>] (dump_stack+0x18/0x1c)

 r7:00008000 r6:c3013000 r5:c0026808 r4:c041e850

[<c030aefc>] (dump_stack+0x0/0x1c) from [<c030af6c>] (panic+0x54/0x124)

[<c030af18>] (panic+0x0/0x124) from [<c0008fbc>] (mount_block_root+0x1e0/0x220)

 r3:00000001 r2:c3029e98 r1:c3029f60 r0:c0395ead

[<c0008ddc>] (mount_block_root+0x0/0x220) from [<c00090c0>] (mount_root+0xc4/0xfc)

 r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000

[<c0008ffc>] (mount_root+0x0/0xfc) from [<c0009268>] (prepare_namespace+0x170/0x1c8)

 r5:c0026808 r4:c041e340

[<c00090f8>] (prepare_namespace+0x0/0x1c8) from [<c00084bc>] (kernel_init+0xe4/0x118)

 r5:00000000 r4:c041e100

[<c00083d8>] (kernel_init+0x0/0x118) from [<c0045704>] (do_exit+0x0/0x684)

 r5:00000000 r4:00000000

 

 

  • Analyzing further, perhaps the problem is with the "Looking up port of RPC" errors also near the end.  Do I have to tell my router some port numbers so things can get through to my Ubuntu/VMware/WindowsXP server?  Antivirus on WindowsXP?  Although tftpboot successfully transfered files from Ubuntu/VMware/WindowsXP a couple days ago...

  • Hi,

    Though your bootargs says $(rootpath), I do not see you have defined the rootpath environment variable. Kernel while booting should expand your bootargs properly and you can see whether it is doing it by searching for "Kernel Command Line" in kernel boot logs.

    Regards, Sudhakar