3) Installing the UBL and the Uboot.

3) Installing the UBL and the Uboot.

  • Hello Todd,

     I install the SDK according to these steps successfully processors.wiki.ti.com/.../Installing_RR_Evaluation_SDK_for_Leopard_Board_DM365

      when I boot the system ,I ge these  messeges :

    Loading from nand0, offset 0x400000                                            

      Image Name:   "RR Linux Kernel"                                              

      Created:      2011-08-29   9:36:39 UTC                                      

      Image Type:   ARM Linux Kernel Image (uncompressed)                          

      Data Size:    4157344 Bytes = 4 MiB                                          

      Load Address: 80008000                                                      

      Entry Point:  80008000                                                      

    Automatic boot of image at addr 0x82000000 ...                                  

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

      Image Name:   "RR Linux Kernel"                                              

      Created:      2011-08-29   9:36:39 UTC                                      

      Image Type:   ARM Linux Kernel Image (uncompressed)                          

      Data Size:    4157344 Bytes = 4 MiB                                          

      Load Address: 80008000                                                      

      Entry Point:  80008000                                                      

      Verifying Checksum ... OK                                                    

      Loading Kernel Image ... OK                                                  

    OK                                                                              

    Starting kernel ...                                                            

    Linux version 2.6.32-17-ridgerun (root@davicwxc-desktop) (gcc version 4.3.3 (So1

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

    CPU: VIVT data cache, VIVT instruction cache                                    

    Machine: DM365 Leopard                                                          

    Memory policy: ECC disabled, Data cache writeback                              

    DaVinci dm36x_rev1.2 variant 0x8                                                

    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 25146      

    Kernel command line: davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0)

    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: 99MB = 99MB total                                                      

    Memory: 96028KB available (3728K code, 290K data, 140K 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... 147.86 BogoMIPS (lpj=739328)                          

    Mount-cache hash table entries: 512                                            

    CPU: Testing write buffer coherency: ok                                        

    DaVinci: 8 gpio irqs                                                            

    NET: Registered protocol family 16                                              

    davinci_serial_init:97: failed to get UART2 clock                              

    bio: create slab <bio-0> at 0                                                  

    DM365 IPIPE initialized in Continuous mode                                      

    SCSI subsystem initialized                                                      

    usbcore: registered new interface driver usbfs                                  

    usbcore: registered new interface driver hub                                    

    usbcore: registered new device driver usb                                      

    vpss vpss: dm365_vpss vpss probed                                              

    vpss vpss: dm365_vpss vpss probe success                                        

    dm365_afew_hw_init                                                              

    ch0 default output "COMPOSITE", mode "NTSC"                                    

    VPBE Encoder Initialized                                                        

    LogicPD encoder initialized                                                    

    Switching to clocksource timer0_1                                              

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

    musb_hdrc: USB Host mode controller at fec64000 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                                                    

    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.                      

    msgmni has been set to 187                                                      

    alg: No test for stdrng (krng)                                                  

    io scheduler noop registered                                                    

    io scheduler anticipatory registered (default)                                  

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

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

    davincifb davincifb.0: dm_osd1_fb: 0x0x8@0,0 with framebuffer size 675KB        

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

    DM365 IPIPEIF probed                                                            

    imp serializer initialized                                                      

    davinci_previewer initialized                                                  

    davinci_resizer initialized                                                    

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

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

    console [ttyS0] enabled                                                        

    brd: module loaded                                                              

    loop: module loaded                                                            

    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bi)

    Scanning device for bad blocks                                                  

    3 cmdlinepart partitions found on MTD device davinci_nand.0                    

    Creating 3 MTD partitions on "davinci_nand.0":                                  

    0x000000000000-0x000000400000 : "UBOOT"                                        

    0x000000400000-0x000000860000 : "KERNEL"                                        

    0x000000860000-0x00000d060000 : "FS"                                            

    davinci_nand davinci_nand.0: controller rev. 2.3                                

    Initializing USB Mass Storage driver...                                        

    usbcore: registered new interface driver usb-storage                            

    USB Mass Storage support registered.                                            

    usbcore: registered new interface driver usbtest                                

    i2c /dev entries driver                                                        

    Linux video capture interface: v2.00                                            

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

    vpfe_init                                                                      

    vpfe-capture: vpss clock vpss_master enabled                                    

    vpfe-capture vpfe-capture: v4l2 device registered                              

    vpfe-capture vpfe-capture: video device registered                              

    tvp5146: chip id mismatch msb:0x87 lsb:0x87                                    

    tvp5146: tvp514x decoder not detected                                          

    vpfe-capture vpfe-capture: v4l2 sub device tvp5146 register fails              

    No sub devices registered                                                      

    vpfe-capture: vpfe capture clocks disabled                                      

    vpfe_register_ccdc_device: DM365 ISIF                                          

    dm365_isif: probe of dm365_isif failed with error -22                          

    af major#: 252, minor# 0                                                        

    AF Driver initialized                                                          

    aew major#: 251, minor# 0                                                      

    AEW Driver initialized                                                          

    Trying to register davinci display video device.                                

    layer=c50b4c00,layer->video_dev=c50b4d64                                        

    Trying to register davinci display video device.                                

    layer=c50b5000,layer->video_dev=c50b5164                                        

    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded                            

    watchdog watchdog: heartbeat 60 sec                                            

    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                

    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                                                  

    No device for DAI davinci-i2s                                                  

    asoc: tlv320aic3x <-> davinci-i2s mapping ok                                    

    ALSA device list:                                                              

     #0: DaVinci DM365 EVM (tlv320aic3x)                                          

    TCP cubic registered                                                            

    NET: Registered protocol family 17                                              

    Clocks: disable unused mmcsd1                                                  

    Clocks: disable unused spi0                                                    

    Clocks: disable unused spi1                                                    

    Clocks: disable unused spi2                                                    

    Clocks: disable unused spi3                                                    

    Clocks: disable unused spi4                                                    

    Clocks: disable unused pwm0                                                    

    Clocks: disable unused pwm1                                                    

    Clocks: disable unused pwm2                                                    

    Clocks: disable unused pwm3                                                    

    Clocks: disable unused timer1                                                  

    Clocks: disable unused timer3                                                  

    Clocks: disable unused emac                                                    

    Clocks: disable unused voice_codec                                              

    Clocks: disable unused rto                                                      

    Clocks: disable unused mjcp                                                    

    davinci_emac_probe: using random MAC addr: aa:60:14:38:12:d5                    

    emac-mii: probed                                                                

    Sending DHCP requests ., OK                                                    

    IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.117            

    IP-Config: Complete:                                                            

        device=eth0, addr=192.168.1.117, mask=255.255.255.0, gw=192.168.1.1,      

        host=192.168.1.117, domain=, nis-domain=(none),                            

        bootserver=0.0.0.0, rootserver=192.168.1.109, rootpath=, mtu=576          

    Looking up port of RPC 100003/2 on 192.168.1.109                                

    Looking up port of RPC 100005/1 on 192.168.1.109                                

    VFS: Mounted root (nfs filesystem) on device 0:13.                              

    Freeing init memory: 140K                                                      

    init started: BusyBox v1.18.2 (2011-08-29 15:41:56 CST)                        

    starting pid 983, tty '': '/etc/rcS'                                            

    Error while running '/etc/rc.d/S00mountall'.                                    

    Starting System                                                                

    done.                                                                          

    Welcome to                                                                      

    __________ .__     .___               __________                                

    \______   \|__|  __| _/  ____    ____ \______   \ __ __   ____                  

    |       _/|  | / __ |  / ___\ _/ __ \ |       _/|  |  \ /    \                

    |    |   \|  |/ /_/ | / /_/  >\  ___/ |    |   \|  |  /|   |  \                

    |____|_  /|__|\____ | \___  /  \___  >|____|_  /|____/ |___|  /                

           \/          \//_____/       \/        \/             \/                

       Embedded Linux Solutions                                                    

           EVALUATION VERSION FOR NON COMMERCIAL USE ONLY!                        

    "Educational institutions, students, and hobbyists use is encouraged"          

    For further information see:                                                    

    http://www.ridgerun.com                                                        

    Build host: davicwxc-desktop                                                    

    Built by: root                                                                  

    Build date: Mon, 29 Aug 2011 17:29:44 +0800                                    

    Build tag: leopard                                                              

    Configuring network interfaces                                                  

    Loading coprocessors modules...                                                

     Loading cmem from 0x86900000 to 0x87800000                                    

    CMEMK module: built on Aug 29 2011 at 17:19:42                                  

     Reference Linux version 2.6.32                                                

     File /usr/local/dvsdk/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/sc

    allocated heap buffer 0xca000000 of size 0xf00000                              

    heap fallback enabled - will try heap if pool buffer is not available          

    CMEM Range Overlaps Kernel Physical - allowing overlap                          

    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x86300000)            

    cmemk initialized                                                              

    Error while running '/etc/rc.d/S90coprocessors'.                                

    Starting Dropbear SSH server: dropbear.                                        

    can't open /dev/ttyS0: No such file or directory                                

    process '-/bin/sh' (pid 1100) exited. Scheduling for restart.                  

    can't open /dev/ttyS0: No such file or directory                                

    process '-/bin/sh' (pid 1101) exited. Scheduling for restart.                  

    can't open /dev/ttyS0: No such file or directory

    I don't know why?

    I'm a new .Could you help me or give me some suggests?

    I am looking  forward to your reply .

    Thanks.

  • We never got the board to work.

    Our plans to port our License Plate Recognition software to it is on hold :(

  • hi,

    I can see that your using this guide:

    processors.wiki.ti.com/.../Installing_RR_Evaluation_SDK_for_Leopard_Board_DM365

    That guide was for DM355SDK786811

    I recommend you to use this guide instead for the DM365 2011Q2 SDK:

    www.ridgerun.com/.../DM365_Leopard_SDK_2011Q2_Getting_Started_Guide

    Hope it helps!

    Carlos Aguero
    Embedded Software Engineer
    RidgeRun

  • Hi ,Carlos,

    Thanks for your reply.

    I find the way to solve the problem today.It's the reason of  NFS.Thanks anyway !

    But  I got another problem when I set up the "LeopardBoardDM365sdk-EVAL2011Q2-Linux-x86-Install.bin" again.

    I set up it completely.when I excuted  the command "make help"  I got these output :

    installer/u-boot-installer/Makefile:25: *** Unable to identify the IP address of your machine on interface "eth0", please check your configuration variable INSTALLER_HOST_NET_INTERFACE.STOP.

    Why ? Could you give me some suggests?

    Thank you !

  • Hi Taylor,

    In my case, I am using the Japanese version of Ubuntu 10.04. When I run make config, it runs ifconfig to search for my machine IP address. However, since my machine show Japanese character, it doesn't know where my IP is.

    The solution is to make my machine show English character: export LANG=ENG

    Hope this help.

  • Gents,

    Your issue is likely w/the root filesystem.  richardg's console dump indicates that /etc/rc.d/S00mountall failed.  This is the point in the boot process where the various pseudo filesystems are mounted and - judging from your /dev/ttyS0 err - it looks as though /dev failed to mount.  W/o /dev mounted, you can have no /dev/ttyS0.

    If you've NFS-mounted the root filesystem, you need to change NFS export attributes in /etc/exports to something similar to this:

    /home/user/rr/fs   *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)

    If you're running out of JFFS2, you may not have allowed the right directory permissions at the root (/) level.

    regards,

    gifford scott

    G3