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.

NFS root does not work with DVSDK 2.0 / DM6446

I am using SEED's DM6446 EVM board,and i run the mv4.01 with 2.6.10 kernel from SEED EVM board CD.Everything is running well.
but I down the DVSDK2.0 and mv5.0 form the TI site,I can't mount the root file system from my server(The error message in the bottom ).

If I boot back the 2.6.10 , with the exactly same hardware and cables setup, I could mount the root nfs. So definitely something changed in the 2.6.18.

I tried pinging - the pings work fine to several local hosts, also the kernel load via TFTP works fine, however the mount stage fails。

Thank you very much for reply.

TI UBL Version: 1.00, Flash type: NAND
Booting PSP Boot Loader
PSPBootMode = NAND
Starting NAND Copy...
Initializing NAND flash...
Valid MagicNum found.
NAND Boot success.
   DONE

U-Boot 1.2.0 (Dec 11 2009 - 16:27:20)

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
PLL2_PLLM:13
PLL2_DIV2:1
PLL1_PLLM:15
ARM Clock :- 297MHz
DDR Clock :- 135MHz
Hit any key to stop autoboot:  0
DaVinci EVM # print
bootdelay=3
baudrate=115200
bootfile="uImage"
gatewayip=192.168.100.1
netmask=255.255.255.0
hostname=192.168.100.139
ethaddr=00:0e:97:02:50:18
bootcmd=tftpboot 0x82000000 initrd.image
serverip=192.168.100.196
ipaddr=192.168.100.128
bootargs=mem=120M console=ttyS0,115200n8 noinitrd rw root=/dev/nfs ip=192.168.100.128:192.168.100.196:192.168.100.1:255.255.255.0:::off nfsroot=192.168.100.196:/opt/workdir/workfile/DM6446dvsdk2_0/montavista/pro/devkit/arm/v5t_le/target,nolock,tcp video=davincifb:vid0=0,2025K:vid1=0,1350K:osd0=720x576x16,2025K davinci_enc_mgr.ch0_output=COMPOSITE davinci_enc_mgr.ch0_mode=pal
stdin=serial
stdout=serial
stderr=serial
autostart=yes
videostd=pal

Environment size: 678/16380 bytes
DaVinci EVM # setenv serverip 192.168.100.196;setenv ipaddr 192.168.100.128;tftp 80800000 uImage
TFTP from server 192.168.100.196; our IP address is 192.168.100.128
Filename 'uImage'.
Load address: 0x80800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############
done
Bytes transferred = 2064784 (1f8190 hex)
Automatic boot of image at addr 0x80800000 ...
## Booting image at 80800000 ...
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2064720 Bytes =  2 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux........................................................................................................................................ done, booting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (root@localhost.localdomain) (gcc 鐗堟湰 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Fri Dec 11 16:35:41 CST 2009
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: 30720
Kernel command line: mem=120M console=ttyS0,115200n8 noinitrd rw root=/dev/nfs ip=192.168.100.128:192.168.100.196:192.168.100.1:255.255.255.0:::off nfsroot=192.168.100.196:/opt/workdir/workfile/DM6446dvsdk2_0/montavista/pro/devkit/arm/v5t_le/target,nolock,tcp video=davincifb:vid0=0,2025K:vid1=0,1350K:osd0=720x576x16,2025K davinci_enc_mgr.ch0_output=COMPOSITE davinci_enc_mgr.ch0_mode=pal
Unknown boot option `davinci_enc_mgr.ch0_output=COMPOSITE': ignoring
Unknown boot option `davinci_enc_mgr.ch0_mode=pal': ignoring
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 03
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 120MB = 120MB total
Memory: 117248KB available (3541K code, 715K 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.
Generic PHY: Registered new driver
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: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
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 Dec 11 2009 16:32:43 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: Initial window configuration is invalid.
davincifb davincifb: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 2025KB
davincifb davincifb: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 2025KB
davincifb davincifb: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
davincifb davincifb: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1350KB
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
Marvell 88E1101: Registered new driver
Davicom DM9161E: Registered new driver
Davicom DM9131: Registered new driver
Cicada Cis8204: Registered new driver
Cicada Cis8201: Registered new driver
LXT970: Registered new driver
LXT971: Registered new driver
QS6612: Registered new driver
SMSC LAN83C185: Registered new driver
Vitesse VSC8244: Registered new driver
Broadcom BCM5411: Registered new driver
Broadcom BCM5421: Registered new driver
Broadcom BCM5461: Registered new driver
Broadcom BCM5481: Registered new driver
Fixed PHY: Registered new driver
ICPlus IP175C: Registered new driver
netconsole: not configured, aborting
TI DaVinci EMAC: MAC address is 04:c0:00:60:59:c0
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
Linux video capture interface: v2.00
Trying to register davinci display video device.
layer=c09d7a00,layer->video_dev=c09d7b60
Trying to register davinci display video device.
layer=c09d7800,layer->video_dev=c09d7960
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 c805e000 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
ALSA device list:
  No soundcards found.
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
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: hctosys: invalid date/time
IP-Config: Complete:
      device=eth0, addr=192.168.100.128, mask=255.255.255.0, gw=192.168.100.1,
     host=192.168.100.128, domain=, nis-domain=(none),
     bootserver=192.168.100.196, rootserver=192.168.100.196, rootpath=
Looking up port of RPC 100003/2 on 192.168.100.196
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.100.196
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /opt/workdir/workfile/DM6446dvsdk2_0/montavista/pro/devkit/arm/v5t_le/target
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
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

  • It looks like your boot process was going well there, and that the NFS server was successfully contacted so it is reachable and running, however it errored out after that. Could you post what you are using in your /etc/exports file for the new DVSDK 2.0 NFS share?

    It may also be worth ensuring you have proper privelages on the NFS share folder though I believe that would be leading to another error.

  • My /etc/exports file was shown on the bottom of reply, and my machine can mount the folder own success.
    I also found a doubtful points. On the uboot cmdline ,I could ping to the EVM board successful from several local hosts.
     But after the kernel starts(when mount the root file system),I could not ping to the EVM board from several local hosts.
    I run the 2.6.10 kernel,the above tests(pinging) were all operating normally.
    This test is to prove that when the kernel starts, the network failure.

    How should I do now?

    [root@localhost linux-2.6.18_pro500]# cat /etc/exports

    /home/xiaozhuzhu/Davinci/filesys/ *(rw,no_root_squash,no_all_squash,sync)

    /opt/workdir/workfile/DM357_new/nfs *(rw,no_root_squash,no_all_squash,sync)

    /opt/workdir/workfile *(rw,no_root_squash,no_all_squash,sync)

     [root@localhost linux-2.6.18_pro500]# mount -t nfs 192.168.100.196:/opt/workdir/workfile/DM6446dvsdk2_0/montavista/pro/devkit/arm/v5t_le/target /mnt/nfs
    [root@localhost linux-2.6.18_pro500]# ls /mnt/nfs
    bin   dev  home  media  opt   root  srv  tmp  var
    boot  etc  lib   mnt    proc  sbin  sys  usr

     

  • Hi LEO

    I got the same error server returned error -5 in my case i had problem with my ethernet driver in the kernel.

    Can you tell is you ethernet driver after you get to the prompt is working.

    Regard's

    Rohan Tabish

  • "I also found a doubtful points. On the uboot cmdline ,I could ping to the EVM board successful from several local hosts.
     But after the kernel starts(when mount the root file system),I could not ping to the EVM board from several local hosts.
    I run the 2.6.10 kernel,the above tests(pinging) were all operating normally."

    I have the same question.

    LEO ,have you correct this yet?  If yes ,please tell me how to correct it.

  • I think the ethernet information passed by the EMAC module does not matches your attached device try passing 0xffffff and see if it works server returned error -5 means that your kernel is not loading the driver

     

    Regard's

    Rohan Tabish

  • Rohan Tabish:

      Thanks for your reply.

      But I am still confused, beacuse I know little of the linux.

      How can I get the "returned error -5"?

      And how can I correct it?

    Best regard's

     

    charlie

  •  In the LEO's starting information ,pay attention to following words:

    "DaVinci DM6443 variant 0x1"

    And in my starting information, I have the following words just like LEO's:

    "DaVinci DM6443 variant 0x0"

    But in fact, on my board, the core is DM6446, not DM6443;

    Why do these words occur?

    Does it have relationship with our NFS err?

  • Rohan Tabish:

    I have get the returned error -5 too:

    Looking up port of RPC 100003/2 on 192.168.1.114
    portmap: server 192.168.1.114 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.1.114
    portmap: server 192.168.1.114 not responding, timed out
    Root-NFS: Unable to get mountd port number from server, using default
    mount: server 192.168.1.114 not responding, timed out
    Root-NFS: Server returned error -5 while mounting /home/charlie/workdir/filesys
    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
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0

  • Hello

    Do one thing just make a RAMDISK image and load it to your board.And the try to configure the ethernet of your probably the problem seens to be with the ethernet device driver in the kernel.

     

    Server returned error -5 can be due to many reasons in my case it was the reason that i told in above lines. Also check that your nfs is working fine try to mount from other PC.

    Make sure the your Firewall is turn off.

     

    Regard's

    Rohan Tabish

  • Rohan, Charlie

    What Host Linux OS are you using?  I have tried following GSG with RHEL4 without any issues; I am pretty sure it works in RHEL 5 as well.  Just curious...

  • FYI, below is a log of my successful boot process (I used TFTP and NFS).  As you can see, my log also shows "DaVinci DM6443 variant 0x1" and this should not be an issue.

    DHCP client bound to address 156.117.95.149
    TFTP from server 156.117.94.248; our IP address is 156.117.95.149
    Filename 'uImage'.
    Load address: 0x80700000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #####
    done
    Bytes transferred = 2018344 (1ecc28 hex)
    ## 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, b
    ooting the kernel.
    Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (x0029463@aspbuild11) (gcc ve
    rsion 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771 2007-03-10)) #
    1 PREEMPT Wed May 20 01:14:17 IST 2009
    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: 30720
    Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nf
    sroot=156.117.94.248:/home/user/dvsdk_2_00_00_22/filesys,nolock mem=120M
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Clock event device timer0_0 configured with caps set: 03
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 120MB = 120MB total
    Memory: 117376KB 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: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 4096 bind 2048)
    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:51:f4
    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=c748d600,layer->video_dev=c748d760
    Trying to register davinci display video device.
    layer=c748d400,layer->video_dev=c748d560
    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
    hda: SAMSUNG MP0402H, ATA DISK drive
    ide0 at 0xfec661f0-0xfec661f7,0xfec663f6 on irq 22
    hda: max request size: 512KiB
    hda: 78242976 sectors (40060 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(66)
    hda: cache flushes supported
     hda: hda1 hda2
    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 c805e000 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-01-01 12:02:22
     (1072958542)
    Sending DHCP requests .., OK
    IP-Config: Got DHCP answer from 255.255.255.255, my address is 156.117.95.149
    IP-Config: Complete:
          device=eth0, addr=156.117.95.149, mask=255.255.254.0, gw=156.117.94.2,
         host=156.117.95.149, domain=am.dhcp.ti.com, nis-domain=(none),
         bootserver=255.255.255.255, rootserver=156.117.94.248, rootpath=
    Looking up port of RPC 100003/2 on 156.117.94.248
    Looking up port of RPC 100005/1 on 156.117.94.248
    VFS: Mounted root (nfs filesystem).
    Freeing init memory: 176K
    INIT: version 2.86 booting
    Starting the hotplug events dispatcher: udevd.
    Synthesizing the initial hotplug events...done.
    Waiting for /dev to be fully populated...done.
    Activating swap...done.
    Remounting root filesystem...done.
    Calculating module dependencies
    WARNING: Couldn't open directory /lib/modules/2.6.18_pro500-davinci_evm-arm_v5t_
    le: No such file or directory
    FATAL: Could not open /lib/modules/2.6.18_pro500-davinci_evm-arm_v5t_le/modules.
    dep.temp for writing: No such file or directory
    Loading modules:
    Checking all file systems: fsck
    fsck 1.40 (29-Jun-2007)
    Mounting local filesystems: mount nothing was mounted
    umount.nfs: /dev/root: not found or not mounted
    Setting up networking ....
    /etc/network/options is deprecated.
    Setting up IP spoofing protection: rp_filter done.
    Disabling IPv4 packet forwarding: done.
    Disabling TCP/IP Explicit Congestion Notification: done.
    Starting network interfaces: done.
    Starting hotplug subsystem:
       pci
       pci      [success]
       usb
       usb      [success]
       isapnp
       isapnp   [success]
       ide
       ide      [success]
       input
       input    [success]
       scsi
       scsi     [success]
    done.
    Starting portmap daemon....
    Cleaning: /tmp /var/lock /var/run done.
    Updating /etc/motd...done.
    INIT: Entering runlevel: 3
    Starting system log daemon: syslogd klogd.
    Starting NFS common utilities: statd.
    Starting internet superserver: inetd.
    Starting OpenBSD Secure Shell server: sshd.

    MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921)

    156.117.95.149 login: root
    Last login: Thu Jan  1 00:03:01 1970 on console
    Linux 156.117.95.149 2.6.18_pro500-davinci_evm-arm_v5t_le #1 PREEMPT Wed May 20
    01:14:17 IST 2009 armv5tejl GNU/Linux

    Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921).

    root@156.117.95.149:~#

  • Juan Gonzales :

     First of all, thank you for your reply very much!

    I  puzzled about by this question for several days!

    My Host linux OS version is Fedora 8.

    I think that you have pointed out the key point, and I well try to install RHEL4 from start.

    Best regards

    charlie

  • Hello,

    I have a problème to boot my DM6467 with the U-boot (RS232).

    here my printenv

    DM6467 EVM # printenv
    bootcmd=nboot 80700000 0 a0000;bootm
    bootdelay=3
    baudrate=115200
    bootfile="uImage"
    serverip=192.168.1.100
    ipaddr=192.168.1.201
    nfshost=192.168.1.168
    rootpath=/home/thierno/workdir/filesys
    bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.1.177:192.168.1.168::255.
    255.255.0:dm6467:eth0: root=/dev/nfs nfsroot=192.168.1.168:/home/thierno/workdir
    /filesys,nolock,tcp mem=120M
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=00:0e:99:02:b2:68

    Environment size: 444/131068 bytes

     

    the adress ip of my host system is: 192.168.1.168 and the ip of the EVM:192.168.1.177

    I tried the method outlined in the forum but i have against a problem.

    NB: here the resultat from the u-boot

    Booting Application @ 0x81080000


    U-Boot 1.2.0 (Dec 13 2007 - 14:52:18)

    I2C:   ready
    DRAM:  256 MB
    unknown vendor=0 Flash:  0 kB
    NAND:  128 MiB
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock :- 297MHz
    DDR Clock :- 297MHz
    Hit any key to stop autoboot:  0
    DM6467 EVM # printenv
    bootcmd=nboot 80700000 0 a0000;bootm
    bootdelay=3
    baudrate=115200
    bootfile="uImage"
    serverip=192.168.1.100
    ipaddr=192.168.1.201
    nfshost=192.168.1.168
    rootpath=/home/thierno/workdir/filesys
    bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.1.177:192.168.1.168::255.
    255.255.0:dm6467:eth0: root=/dev/nfs nfsroot=192.168.1.168:/home/thierno/workdir
    /filesys,nolock,tcp mem=120M
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=00:0e:99:02:b2:68

    Environment size: 444/131068 bytes
    DM6467 EVM # boot

    Loading from NAND 128MiB 3,3V 8-bit, offset 0xa0000
       Image Name:   Linux-2.6.10_mvl401-davinci_evm
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1390892 Bytes =  1.3 MB
       Load Address: 80008000
       Entry Point:  80008000
    ## Booting image at 80700000 ...
       Image Name:   Linux-2.6.10_mvl401-davinci_evm
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1390892 Bytes =  1.3 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.............................................................
    ................................. done, booting the kernel.
    Linux version 2.6.10_mvl401-davinci_evm (davincihd@psplinux.india.ti.com) (gcc v
    ersion 3.4.3 (MontaVista 3.4.3-25.0.116.0601565 2006-09-20)) #1 Wed Oct 22 19:05
    :32 IST 2008
    CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
    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
    Machine:
    Memory policy: ECC disabled, Data cache writeback
    DM6467
    Built 1 zonelists
    Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.1.177:192.168
    .1.168::255.255.255.0:dm6467:eth0: root=/dev/nfs nfsroot=192.168.1.168:/home/thi
    erno/workdir/filesys,nolock,tcp mem=120M
    PID hash table entries: 512 (order: 9, 8192 bytes)
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 120MB = 120MB total
    Memory: 118528KB available (2391K code, 505K data, 152K init)
    Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
    CPU: Testing write buffer coherency: ok
    spawn_desched_task(00000000)
    desched cpu_callback 3/00000000
    ksoftirqd started up.
    desched cpu_callback 2/00000000
    desched thread 0 started up.
    NET: Registered protocol family 16
    Registering platform device 'serial8250.0'. Parent at platform
    DaVinci: 48 gpio irqs
    DaVinci I2C DEBUG: 19:03:51 Oct 22 2008
    Registering platform device 'i2c'. Parent at platform
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    musb_hdrc: version 2.2a/db-0.4.8 [cppi-dma] [host] [debug=0]
    Registering platform device 'musb_hdrc'. Parent at platform
    musb_hdrc: USB Host mode controller at c8000000 using DMA, IRQ 13
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
    yaffs Oct 22 2008 19:03:27 Installing.
    Registering platform device 'DavinciHD_vdce.2'. Parent at platform
    Consumer IR INFO: CIR device registered successfully (Major = 253, Minor = 0)
    Registering platform device 'cir.0'. Parent at platform
    Consumer IR INFO: CIR IRQ 42 registered successfully
    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
    Registering platform device 'serial8250'. Parent at platform
    ttyS0 at MMIO 0x1c20000 (irq = 40) is a ST16654
    ttyS1 at MMIO 0x1c20400 (irq = 41) is a ST16650V2
    io scheduler noop registered
    io scheduler anticipatory registered
    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
    Registering platform device 'ti_davinci_emac'. Parent at platform
    TI DaVinci EMAC: MAC address is 00:0e:99:02:b2:68
    TI DaVinci EMAC Linux version updated 5.0
    TI DaVinci EMAC: Installed 1 instances.
    netconsole: not configured, aborting
    i2c /dev entries driver
    Linux video capture interface: v1.00
    Registering platform device 'vpif capture.1'. Parent at platform
    Registering platform device 'vpif display.1'. Parent at platform
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
    MUX: initialized ATAEN
    hda: TOSHIBA MK4032GAX, ATA DISK drive
    elevator: using anticipatory as default io scheduler
    ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22
    hda: max request size: 1024KiB
    hda: 78140160 sectors (40007 MB), CHS=16383/255/63
     hda: hda1 hda2
        ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio
    Initializing USB Mass Storage driver...
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    Registering Audio Devices. Total communication peripherals (ASP) : 2
    Codec with ID = 0 on ASP = 0 is initialized.Using minor number :  3
    Configuring the McASP as Master
    Configuring the McASP 1 for DIT
    SPDIF on ASP = 1 is initialized.Using minor number : 19
    NET: Registered protocol family 2
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 8192 bind 16384)
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    IP-Config: Complete:
          device=eth0, addr=192.168.1.177, mask=255.255.255.0, gw=255.255.255.255,
         host=dm6467, domain=, nis-domain=(none),
         bootserver=192.168.1.168, rootserver=192.168.1.168, rootpath=
    Looking up port of RPC 100003/2 on 192.168.1.168
    Looking up port of RPC 100005/1 on 192.168.1.168
    VFS: Mounted root (nfs filesystem).
    Freeing init memory: 152K
    Warning: unable to open an initial console.
    Kernel panic - not syncing: No init found.  Try passing init= option to kernel.


    Please help me

    Thierno

  • bah thierno said:
    VFS: Mounted root (nfs filesystem).
    Freeing init memory: 152K
    Warning: unable to open an initial console.
    Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

    This makes it seem like the NFS was mounted properly but when the kernel went to continue booting with the filesystem on the NFS it ran into problems, which could mean a couple of things.

    Typically you would get this series of messages if you either had no file system at the nfs mount point, or if you had copied the filesystem into the nfs mount point without preserving symbolic links (i.e. a cp was used instead of cp -a). There is actually another thread with a similar problem back here, though the original poster never responded, I imagine one of the suggestions fixed the issue.

  • Hi,

    thank to your reply, i try the method indicated in the forum. he indicate to change the cp -a to cp -dpR

    i'v got you now

    just another question
    in the getting started guide: he is asked to:
    host $ cp-a / opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target / *.
    host $ chown-R useracct opt / / This command does not work. how do I do?
    I had rather do this: chown-R / home / thierno / workdir / filesys / do you think is good?
    thank you again

    Thierno

  • bah thierno said:
    in the getting started guide: he is asked to:
    host $ cp-a / opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target / *.
    host $ chown-R useracct opt / / This command does not work. how do I do?
    I had rather do this: chown-R / home / thierno / workdir / filesys / do you think is good?

    Either command should be fine, the latter would be making everything in your filesystem owned by your user account as opposed to just the opt folder of your filesystem.

    Two things to keep in mind if the commands do not work, first being that the command typically requires root privelages to use, so you may need to use sudo chown -R ... or log into root before running the command using the su root command. The second thing to keep in mind is that 'useracct' needs to be your user account name, so if your user log in was thierno you could run something like sudo chown -R thierno ~/workdir/filesys.

  • thanks,

    i tried the solution that propose the forum (ie cp -a by cp -dpR)

    but it the same error

    here the result of boot

    DM6467 EVM # printenv
    bootcmd=nboot 80700000 0 a0000;bootm
    bootdelay=3
    baudrate=115200
    bootfile="uImage"
    serverip=192.168.1.100
    ipaddr=192.168.1.201
    nfshost=192.168.1.168
    rootpath=/home/thierno/workdir/filesys
    bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.1.177:192.168.1.168::255.
    255.255.0:dm6467:eth0: root=/dev/nfs nfsroot=192.168.1.168:/home/thierno/workdir
    /filesys, nolock,tcp mem=120M
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=00:0e:99:02:b2:68

    Environment size: 445/131068 bytes
    DM6467 EVM # boot

    Loading from NAND 128MiB 3,3V 8-bit, offset 0xa0000
       Image Name:   Linux-2.6.10_mvl401-davinci_evm
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1390892 Bytes =  1.3 MB
       Load Address: 80008000
       Entry Point:  80008000
    ## Booting image at 80700000 ...
       Image Name:   Linux-2.6.10_mvl401-davinci_evm
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1390892 Bytes =  1.3 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.............................................................
    ................................. done, booting the kernel.
    Linux version 2.6.10_mvl401-davinci_evm (davincihd@psplinux.india.ti.com) (gcc v
    ersion 3.4.3 (MontaVista 3.4.3-25.0.116.0601565 2006-09-20)) #1 Wed Oct 22 19:05
    :32 IST 2008
    CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
    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
    Machine:
    Memory policy: ECC disabled, Data cache writeback
    DM6467
    Built 1 zonelists
    Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.1.177:192.168
    .1.168::255.255.255.0:dm6467:eth0: root=/dev/nfs nfsroot=192.168.1.168:/home/thi
    erno/workdir/filesys, nolock,tcp mem=120M
    PID hash table entries: 512 (order: 9, 8192 bytes)
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 120MB = 120MB total
    Memory: 118528KB available (2391K code, 505K data, 152K init)
    Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
    CPU: Testing write buffer coherency: ok
    spawn_desched_task(00000000)
    desched cpu_callback 3/00000000
    ksoftirqd started up.
    desched cpu_callback 2/00000000
    desched thread 0 started up.
    NET: Registered protocol family 16
    Registering platform device 'serial8250.0'. Parent at platform
    DaVinci: 48 gpio irqs
    DaVinci I2C DEBUG: 19:03:51 Oct 22 2008
    Registering platform device 'i2c'. Parent at platform
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    musb_hdrc: version 2.2a/db-0.4.8 [cppi-dma] [host] [debug=0]
    Registering platform device 'musb_hdrc'. Parent at platform
    musb_hdrc: USB Host mode controller at c8000000 using DMA, IRQ 13
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
    yaffs Oct 22 2008 19:03:27 Installing.
    Registering platform device 'DavinciHD_vdce.2'. Parent at platform
    Consumer IR INFO: CIR device registered successfully (Major = 253, Minor = 0)
    Registering platform device 'cir.0'. Parent at platform
    Consumer IR INFO: CIR IRQ 42 registered successfully
    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
    Registering platform device 'serial8250'. Parent at platform
    ttyS0 at MMIO 0x1c20000 (irq = 40) is a ST16654
    ttyS1 at MMIO 0x1c20400 (irq = 41) is a ST16650V2
    io scheduler noop registered
    io scheduler anticipatory registered
    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
    Registering platform device 'ti_davinci_emac'. Parent at platform
    TI DaVinci EMAC: MAC address is 00:0e:99:02:b2:68
    TI DaVinci EMAC Linux version updated 5.0
    TI DaVinci EMAC: Installed 1 instances.
    netconsole: not configured, aborting
    i2c /dev entries driver
    Linux video capture interface: v1.00
    Registering platform device 'vpif capture.1'. Parent at platform
    Registering platform device 'vpif display.1'. Parent at platform
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
    MUX: initialized ATAEN
    hda: TOSHIBA MK4032GAX, ATA DISK drive
    elevator: using anticipatory as default io scheduler
    ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22
    hda: max request size: 1024KiB
    hda: 78140160 sectors (40007 MB), CHS=16383/255/63
     hda: hda1 hda2
        ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio
    Initializing USB Mass Storage driver...
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    Registering Audio Devices. Total communication peripherals (ASP) : 2
    Codec with ID = 0 on ASP = 0 is initialized.Using minor number :  3
    Configuring the McASP as Master
    Configuring the McASP 1 for DIT
    SPDIF on ASP = 1 is initialized.Using minor number : 19
    NET: Registered protocol family 2
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 8192 bind 16384)
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    IP-Config: Complete:
          device=eth0, addr=192.168.1.177, mask=255.255.255.0, gw=255.255.255.255,
         host=dm6467, domain=, nis-domain=(none),
         bootserver=192.168.1.168, rootserver=192.168.1.168, rootpath=
    Looking up port of RPC 100003/2 on 192.168.1.168
    Looking up port of RPC 100005/1 on 192.168.1.168
    VFS: Mounted root (nfs filesystem).
    Freeing init memory: 152K
    Warning: unable to open an initial console.
    Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

    I do not know what to do

    Regards
    Thierno
  • This appears to be a kernel incompatability issue (as I tried to suggest above, sorry I was not clear enough).  You suggest you are using DVSDK 2.0, which is based on MV Pro 5.0 (2.6.18 kernel); however, if you look at your bootlog, your kernel appears to be from an older build based on MV Pro 4.

    "2.6.10_mvl401-davinci_evm"

    If you try to use this older kernel with a newer file-system based on mv pro 5, then you are likely to experience problems such as this.  You need to upgrade your kernel (I normally use TFTP to load my kernel since I find it easier than flashing kernel onto NAND all the time).

    Hope this helps.

  • your filesystem isn't copied correctly in the directory use cp -r <directory> to <directory you want to copy> and check whether it is completly copied

     

    Regard's

    RT

  • Hi juan,

    I await the evaluation card of DM6467T in 2 days normally, until then I use a evaluation card DM6467 old.
    Thank you in advance.

    Hi RT, thanks for your reply.

    I do not understand your answer:  Here is the method I followed in the guide started:

    4) Perform the following commands to create a copy of the target file system with permissions set for writing to the shared area as useracct. Substitute your user name for useracct. If you installed in a location other than /opt/mv_pro_5.0, use your location in the cp command.

    host $ cp -a /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/* . //here i do: cp -dpR /opt/mv_pro_4.0/montavista/............./target/*
    host $ chown -R useracct opt
    // here i do: chown -R thierno /home/thierno/workdir/filesys/ because chown -R thierno opt not work

    5) Still as root, edit the /etc/exports file on the host Linux workstation (not the exports file on the target filesystem) using a text editor like gedit, for example:

    host $ gedit /etc/exports

    Add the following line for exporting the filesys area, substituting your user name for useracct. Use the full path from root; ~ may not work for exports on all file systems. By editing the exports file you are effectively sharing the folder so that other devices (such as the EVM) can mount it.

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



    this is not what you asked me?

    Regards
    Thierno
  • Hi,

    Juan, i await the evaluation card DM6467T in 2 days normally, until i use the evaluation card old DM6467 that the TI loan me.

    thanks.

    RT, i dont understand your answer: her the method i followed with the started guide:

    4) Perform the following commands to create a copy of the target file system with permissions set for writing to the shared area as useracct. Substitute your user name for useracct. If you installed in a location other than /opt/mv_pro_5.0, use your location in the cp command.

    host $ cp -a /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/* . //here i do: cp -dpR /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/* i added -dpR because
     in the forum, someone recomanded me this option.
    host $ chown -R useracct opt // here i do: chown -R thierno /home/thierno/workdir/filesys/ I

    5) Still as root, edit the /etc/exports file on the host Linux workstation (not the exports file on the target filesystem) using a text editor like gedit, for example:

    host $ gedit /etc/exports 

    Add the following line for exporting the filesys area, substituting your user name for useracct. Use the full path from root; ~ may not work for exports on all file systems. By editing the exports file you are effectively sharing the folder so that other devices (such as the EVM) can mount it.

    /home/thierno/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)
    this is not what you asked me
    Thanks
    Thierno

  • Excuse me there is a beug in message

    in host $cp -a /opt/mv_pro.................../target/*  I do:

    cp -dpR /opt/mv_pro...................../target/*

    and In chown, i do: chown -R thierno /home/thierno/workdir/filesys

    sorry

    thierno

  • bah thierno said:

    RT, i dont understand your answer: her the method i followed with the started guide:

    My response was not questioning the steps in the GSG, but more general advice.  You can break your Linux software into three parts: 1) boot loader (u-boot), the kernel (uImage) and the file-system (the directory you have been copying).  You need to make sure all these three parts are compatible.  What make this challenging sometimes is that these pieces can often reside in a few places and the u-boot environment variables tell the system where to look for this software.  For example, your Linux Kernel (uImage) can reside in NAND flash or be loaded via TFTP; the u-boot 'bootcmd' envoriment variable defines where the kernel will be loaded from (where to look for the Linux Kernel).  In your particular system, you have installled and build the kernel, but this new (MV5) kernel still resides on your host; yet you u-boot environment is configured such that it loads the kernel from NAND flash (where older MV 4 kernel still resides).  Hence there is probrably nothing wrong with your file-system, the problem likely lies in the fact that you are trying to use this older kernel with your new file system.  If you were to copy the new kernel to NAND flash (I thinkg the steps for doing this are in the GSG appendix) or reconfigured u-boot such that it loads new kernel from host via TFTP, then you will be using the file-system with a compatible kernel and you issue will likely go away.

    Let me know if this helps clear things up.

  • Hi juan,

    I responded to RT, who told me that the filesystem was not well and not copied but is not the response to your answer.
    I knew he must install a new Linux kernel to fit the dvsdk.
    I wait 2 days in my evaluation board DM6467T brand new for the Future.

     

    pending, then I must download a new linux kernel "sources lsp MontaVista Linux Pro 5" on the site of Texas and re-install everything?
    I do not touch the dvsdk software then?
    the steps in the guide are: "Building a New Linux Kernel" and "New linuw Booting the kernel" I think not? I do not need to overwrite the old linux kernel, it does so automatically I guess?

    but in the started guid, it write:

    Make sure you have completed Setting Up the Build/Development Environment and Writing a Simple Program and Running it on the EVM before attempting to build a new kernel.

    and i don't completed this etap because i had a problem. i

    I must then re-install the new kernel and follow the steps until "Wrting a simple program" and then make the "Building a new linux kernel" right?


    thank you

    Thierno

  • If you are going to work with DM6467T, then you need to install DVSDK 3.10.  Your best bet is to follow the Getting Started Guide.  Building the hello program is a step which tests to ensure that your PATH variable is properly defined so the right compilers are found.  If your PATH is not properly defined, you will not be able to build the kernel.

    If you get stuck in any step in the GSG, you can reply to this post

  • juan,
    I checked the versions of my sources:
    my DVSDK is: 1.40.00.31 and MontaVista Linux: 4.0.1
    So I have the correct version normally post the link: http://tiexpressdsp.com/index.php/LSP

     

    thierno

  • ok, thanks for the note.  FYI, I was going by the subject heading on this thread (suggests DVSDK 2.0 / DM6446).  Ideally, we should have started a new thread as this can get confusing for others who may stumble on to this thread.

  • also,

    I agree to "writing a simple program) but the problem is that:
    as I'm stuck at "testing the shared filesystem" because when I boot the EVM, I get the error that I had at first: kernel panic .... So I can not run the program writing a simple program "

  • hi juan,

     

    I posted a message on the forum:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/p/5841/21607.aspx#21607

    Can you tell me if the approach is good for the copy of the filesystem?

    because I think the whole problem could come from here

    NB: in this line i did

    /home/thierno/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)
    no change

    because of jet lag, I do not read it until tomorrow morning your answer.

     

    Thanks.

    Thierno

  • yes this is right if the filesytem is not copied correctly or there is no filesystem at the mount point you will get this message

    Regard's

    RT

  • hi,
    I installed gstreamer for DM6467T ,all sources compile well but I encountered a error at the end.
    Here is the error

    checking for flex... /usr/bin/flex
    checking flex version 2.5.4 >= 2.5.31... configure: error: no
    make[4]: *** [gstreamer.configure] Erreur 1
    make[4]: quittant le répertoire

    « /home/thierno/Desktop/Gstreamer/gst-ti-plugin-full-1.01.00/opensource_build »
    make[3]: *** [base] Erreur 2
    make[3]: quittant le répertoire

    « /home/thierno/Desktop/Gstreamer/gst-ti-plugin-full-1.01.00/opensource_build »
    make[2]: *** [.base] Erreur 2
    make[2]: quittant le répertoire

    « /home/thierno/Desktop/Gstreamer/gst-ti-plugin-full-1.01.00/opensource_build »
    make[1]: *** [opensource_build] Erreur 2
    make[1]: quittant le répertoire

    « /home/thierno/Desktop/Gstreamer/gst-ti-plugin-full-1.01.00 »
    make: *** [all] Erreur 2

    can you help me please.

    Best regards

    Thierno

  • The errors are here:

    Unknown boot option `davinci_enc_mgr.ch0_output=COMPOSITE': ignoring
    Unknown boot option `davinci_enc_mgr.ch0_mode=pal': ignoring

    I'm too.

     

  • The  answer is the phy on SEED's DM6446 board is different from the TI's EVM.

    See the code about the phy in drivers/net/davinci_emac_phy.c.

  • Juan Gonzales said:

    FYI, below is a log of my successful boot process (I used TFTP and NFS).  As you can see, my log also shows "DaVinci DM6443 variant 0x1" and this should not be an issue.

    DHCP client bound to address 156.117.95.149
    TFTP from server 156.117.94.248; our IP address is 156.117.95.149
    Filename 'uImage'.
    Load address: 0x80700000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #####
    done
    Bytes transferred = 2018344 (1ecc28 hex)
    ## 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, b
    ooting the kernel.
    Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (x0029463@aspbuild11) (gcc ve
    rsion 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771 2007-03-10)) #
    1 PREEMPT Wed May 20 01:14:17 IST 2009
    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: 30720
    Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nf
    sroot=156.117.94.248:/home/user/dvsdk_2_00_00_22/filesys,nolock mem=120M
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Clock event device timer0_0 configured with caps set: 03
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 120MB = 120MB total
    Memory: 117376KB 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: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 4096 bind 2048)
    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:51:f4
    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=c748d600,layer->video_dev=c748d760
    Trying to register davinci display video device.
    layer=c748d400,layer->video_dev=c748d560
    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
    hda: SAMSUNG MP0402H, ATA DISK drive
    ide0 at 0xfec661f0-0xfec661f7,0xfec663f6 on irq 22
    hda: max request size: 512KiB
    hda: 78242976 sectors (40060 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(66)
    hda: cache flushes supported
     hda: hda1 hda2
    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 c805e000 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-01-01 12:02:22
     (1072958542)
    Sending DHCP requests .., OK
    IP-Config: Got DHCP answer from 255.255.255.255, my address is 156.117.95.149
    IP-Config: Complete:
          device=eth0, addr=156.117.95.149, mask=255.255.254.0, gw=156.117.94.2,
         host=156.117.95.149, domain=am.dhcp.ti.com, nis-domain=(none),
         bootserver=255.255.255.255, rootserver=156.117.94.248, rootpath=
    Looking up port of RPC 100003/2 on 156.117.94.248
    Looking up port of RPC 100005/1 on 156.117.94.248
    VFS: Mounted root (nfs filesystem).
    Freeing init memory: 176K
    INIT: version 2.86 booting
    Starting the hotplug events dispatcher: udevd.
    Synthesizing the initial hotplug events...done.
    Waiting for /dev to be fully populated...done.
    Activating swap...done.
    Remounting root filesystem...done.
    Calculating module dependencies
    WARNING: Couldn't open directory /lib/modules/2.6.18_pro500-davinci_evm-arm_v5t_
    le: No such file or directory
    FATAL: Could not open /lib/modules/2.6.18_pro500-davinci_evm-arm_v5t_le/modules.
    dep.temp for writing: No such file or directory
    Loading modules:
    Checking all file systems: fsck
    fsck 1.40 (29-Jun-2007)
    Mounting local filesystems: mount nothing was mounted
    umount.nfs: /dev/root: not found or not mounted
    Setting up networking ....
    /etc/network/options is deprecated.
    Setting up IP spoofing protection: rp_filter done.
    Disabling IPv4 packet forwarding: done.
    Disabling TCP/IP Explicit Congestion Notification: done.
    Starting network interfaces: done.
    Starting hotplug subsystem:
       pci
       pci      [success]
       usb
       usb      [success]
       isapnp
       isapnp   [success]
       ide
       ide      [success]
       input
       input    [success]
       scsi
       scsi     [success]
    done.
    Starting portmap daemon....
    Cleaning: /tmp /var/lock /var/run done.
    Updating /etc/motd...done.
    INIT: Entering runlevel: 3
    Starting system log daemon: syslogd klogd.
    Starting NFS common utilities: statd.
    Starting internet superserver: inetd.
    Starting OpenBSD Secure Shell server: sshd.

    MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921)

    156.117.95.149 login: root
    Last login: Thu Jan  1 00:03:01 1970 on console
    Linux 156.117.95.149 2.6.18_pro500-davinci_evm-arm_v5t_le #1 PREEMPT Wed May 20
    01:14:17 IST 2009 armv5tejl GNU/Linux

    Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921).

    root@156.117.95.149:~#

    dear Juan Gonzales:

         I want to know whether your ubl and u-boot flashed in nand flash , or ubl flashed in eeprom, u-boot flashed in nand