• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM3x DaVinci Video Processor Forum » DM365IPNC-IMX035 by APPRO setup issues
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

DM365IPNC-IMX035 by APPRO setup issues

This question is answered
sujit mahapatro
Posted by sujit mahapatro
on Jun 15 2010 03:25 AM
Genius3920 points

hi

i am trying to do the setup for DM365IPNC-IMX035 by APPRO using ipnc1.2.

i am following the steps given in Users_Guide_IPNC_DM365_IMX035.pdf.  while installing the IPNETCAM APPLICATION, in section 3.1.1.1

while make

make -s sysall

getting errors for the cramfs files  mounted inside filesys folder.

as per my information cramfs files are readonly files.

-----------------

rm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm4_tunnel.ko': Read-only file system
rm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm6_mode_transport.ko': Read-only file system
rm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm6_mode_tunnel.ko': Read-only file system
rm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm6_tunnel.ko': Read-only file system
rm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm_user.ko': Read-only file system
make[2]: *** [lspclean] Error 1
make[1]: *** [lspall] Error 2
make: *** [sysall] Error 2

------------------

any one has faced the same. how to proceed further.

DM365 daVinci dm365 DVEVM X11
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Marko Shink
    Posted by Marko Shink
    on Jun 15 2010 15:38 PM
    Verified Answer
    Verified by sujit mahapatro
    Genius3695 points

    I commented out  lines which deletes *.ko files, in a main Makefile. 

    rm $(TARGET_FS_DIR)/modules/ltt*.ko

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sujit mahapatro
    Posted by sujit mahapatro
    on Jun 15 2010 19:55 PM
    Genius3920 points

    hi Marko, thanks for your reply

    i tried commenting the same, now i am getting one new  error

    ------------------------------------

    /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-ar: creating sysctrl.a
    install: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/reboot_ipnc': Read-only file system
    make[6]: *** [install] Error 1
    make[5]: *** [util] Error 2
    make[4]: *** [libs] Error 2
    make[3]: *** [libs] Error 2
    make[2]: *** [exe] Error 2
    make[1]: *** [all] Error 2
    make: *** [sysall] Error 2

    -------------------------------------

    have you tried some other method ?

    i am surprise how APPRO has released the document, with out verifying it.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Marko Shink
    Posted by Marko Shink
    on Jun 16 2010 02:00 AM
    Verified Answer
    Verified by sujit mahapatro
    Genius3695 points

    Instead of mounting ramdisk image as described in UserGuide, i mounted it as described in UserGuide for IPNC-MT5 camera,
    or you can manualy create directory structure for /filesys/opt/....

    cd <Filesystem Mount Directory>
    mkdir filesys
    mkdir rdmnt2
    mount -t cramfs -o loop cramfsImage_ipnc_dm36x_xxx rdmnt2/
    cd rdmnt2
    tar -cf - . | tar -C ../filesys/ -xpf -

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sujit mahapatro
    Posted by sujit mahapatro
    on Jun 16 2010 03:07 AM
    Genius3920 points

    thank you for your reply.

    i am searching for this user guide gor MT5 but i am not getting it.

    http://dns.appropho.com/NewWeb/Product_DM365MT5.php

    in the above link getting started guide is there but it doesn't describes.

    will you please send me the link from where i can download the MT5 user guide.

    or please send me the user guide in the forum or in sujit.mahapatro@gmail.com

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Anshuman Saxena
    Posted by Anshuman Saxena
    on Jun 16 2010 03:15 AM
    Mastermind19870 points

    Sujit,

    Have you ensured that the ownership of the filesystem is in <username>? Looks like you are not able to delete the files from filesystem, because the file permission is not available.

    Also, did you follow the steps that Marko mentioned for creating a filesystem from the cramfs? by default, cramfs is read only filesystem, so if you just mount it and try to use it for building the executables, it will not allow you to overwrite the files.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sujit mahapatro
    Posted by sujit mahapatro
    on Jun 16 2010 21:14 PM
    Genius3920 points

    hi Marko,

    thanks for your help.

     now make sysall is successfull.

    once i am entering in to login prompt by typing "ifconfig " for the staic ip address for the device it displays the the default ip address only,

    not the ip address set by me. also the MAC address of the device shows is wrong.

    ---------------------------

    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    ApproDrvInit: 6
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    ApproDrvInit: 8
    ApproDrvInit: 9
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    ApproDrvInit: 10
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    INIT: Entering runlevel: 3

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

    DM36x_IPNC login: killall: wis-streamer: no process killed

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

    DM36x_IPNC login: root


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

    login[782]: root login  on `console'

    # ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:E0:0A:DD:00:00
              inet addr:192.168.1.168  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:124 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:8736 (8.5 KiB)  TX bytes:0 (0.0 B)
              Interrupt:52 Base address:0x7000

    ----------------------------

    so that if while i am trying to run the ipaddress in the interbet browser i am not able to connect. any mistake have i done ?

    my enviornment variables are

     ---------------------------

    DM365 IPNC :>print
    bootdelay=4
    baudrate=115200
    bootfile="uImage"
    ethaddr=00:0C:0C:0A:03:0F
    setboot=setenv bootargs $(bootargs) video=dm36x:output=$(videostd)
    filesize=B3E000
    fileaddr=82000000
    serverip=192.168.17.5
    bootcmd=nand read 0x82000000 0x400000 0xb3e000;nboot 0x80700000 0 0x200000;bootm 0x80700000
    netmask=255.255.255.0
    gatewayip=55.101.66.1
    bootargs=mem=60M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,12M ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=$(ethaddr)
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 1.3.4 (Jun 14 2010 - 16:32:08) DM365-IPNC-1.0.0

    Environment size: 589/16380 bytes
    DM365 IPNC :>

    ----------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Anshuman Saxena
    Posted by Anshuman Saxena
    on Jun 16 2010 22:11 PM
    Mastermind19870 points

    Hi Sujit,

    Can you share the boot up log? It might help us to figure out where the problem is happening during bootup and assigning of IP address. Also, i saw that /dev/cmem device is not created in your system. The boot up log might help there as well.

    Regards,

    Anshuman

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sujit mahapatro
    Posted by sujit mahapatro
    on Jun 16 2010 23:22 PM
    Genius3920 points

    hi Anshuman,

    how to get the boot up log file. i just coppied the message from console.

    ----------------------------------------------

    MUX: initialized I2C_SCL
    Generic PHY: Registered new driver
    ch0 default output "COMPOSITE", mode "NTSC"
    VPBE Encoder Initialized
    SCSI subsystem initialized
    NET: Registered protocol family 2
    IP route cache hash table entries: 512 (order: -1, 2048 bytes)
    TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 2048 bind 1024)
    TCP reno registered

     ***davinci_spi_board_init()!<6>
     ***davinci_spi_board_init_End(0)!<5>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 Jun  1 2010 16:34:55 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
    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 0xfbc20000 (irq = 40) is a 16550A
    serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
    Linux video capture interface: v2.00
    Trying to register davinci display video device.
    layer=c2a49a00,layer->video_dev=c2a49b60
    Trying to register davinci display video device.
    layer=c2a49800,layer->video_dev=c2a49960
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
    i2c /dev entries driver
    nand_davinci nand_davinci.0: Using 4-bit hardware ECC
    NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 8-bit)
    Creating 6 MTD partitions on "nand_davinci.0":
    0x00000000-0x00080000 : "bootloader"
    0x00080000-0x00200000 : "params"
    0x00200000-0x00400000 : "kernel"
    0x00400000-0x01400000 : "filesystem1"
    0x01400000-0x01600000 : "filesystem2"
    0x01600000-0x02000000 : "Calibration"
    nand_davinci nand_davinci.0: hardware revision: 2.3
    MUX: initialized SPI0_SCLK
    MUX: initialized SPI0_SDO)
    dm_spi.0: davinci SPI Controller driver at 0xc4066000 (irq = 42) use_dma=0
    rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: proc
    rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: dev (254:0)
    rtc_davinci_dm365 rtc_davinci_dm365.0: rtc core: registered rtc_davinci_dm365 as rtc0
    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
    ASoC version 0.13.1
    CQ0093 Voice Codec 0.1
    asoc: cq93vc <-> davinci-vcif mapping ok
    ALSA device list:
      #0: On-chip voice codec (cq93vc)
    IPv4 over IPv4 tunneling driver
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    rtc_davinci_dm365 rtc_davinci_dm365.0: setting the system clock to 2000-01-01 02:27:43 (946693663)
    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
    IP-Config: No network devices available.
    RAMDISK: cramfs filesystem found at block 0
    RAMDISK: Loading 11512KiB [1 disk] into ram disk... done.
    VFS: Mounted root (cramfs filesystem) readonly.
    Freeing init memory: 176K
    INIT: version 2.86 booting
    0
    mkdir: Cannot create directory `/dev/.test': Read-only file system
    Starting the hotplug events dispatcher: udevd.
    Synthesizing the initial hotplug events...done.
    Waiting for /dev to be fully populated...done.
    0
    CSL: Module install successful, device major num = 253
    CSL: Module version 0.10.00, built on Jun  1 2010 19:01:25
    I2C: Module install successful, device major num = 252
    DMA: Module install successful, device major num = 251
    DRV: Module install successful
    DRV: Module built on Jun  1 2010 19:01:29
    DRV: EDMACC.QUEPRI  = 00000777
    DRV: SYSTEM.MSTPRI0 = 00550011
    DRV: SYSTEM.MSTPRI1 = 00000444
    DRV: ISP.BCR        = 00000002
    DRV: SYSTEM.MISC = 00000391
    CMEMK module: built on Jun  1 2010 at 16:41:28
      Reference Linux version 2.6.18
      File /home/wenchi/Templates/DM365_IMX035/dvsdk_2_10_01_18_368/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    CMEM Range Overlaps Kernel Physical - allowing overlap
    CMEM phys_start (0x83800000) overlaps kernel (0x80000000 -> 0x83c00000)
    CMEMK Error: Failed to request_mem_region(0x83800000, 75497472)
    insmod: cannot insert `cmemk.ko': Bad address (-1): Bad address
    EDMAK module: built on Jun  1 2010 at 16:41:31
      Reference Linux version 2.6.18
      File /home/wenchi/Templates/DM365_IMX035/dvsdk_2_10_01_18_368/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
    IRQK module: built on Jun  1 2010 at 16:41:32
      Reference Linux version 2.6.18
      File /home/wenchi/Templates/DM365_IMX035/dvsdk_2_10_01_18_368/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
    irqk initialized
    ln: rtc: File exists
    Creat queue id:0
    queue id:0
    Creat queue id:32769
    queue id:32769
    Creat queue id:65538
    queue id:65538
    IPNC_DM365_1.6 (wenchi@dino.linux) (gcc version 4.2.0 (MontaVis
    queue id:65538
    queue id:32769

     DEMOCFG Value: 0

    nVideocodecmode = 0
    nVideocodecres = 0
    ./av_server.out FD OSD AEWB APPRO2A 720P H264 4000000 CVBR MENUOFF &
    Check_device_version : DEVICE VER = 1 !!
    Starting mounting local filesystems: mount
     AVSERVER UI: Initializing.

    DRV_SyncRst: module = 47, domain = 0, state = 0

    DRV_SyncRst: module = 47, domain = 0, state = 3
    none on /dev/shm type tmpfs (rw,size=5M)
    none on /var/run type tmpfs (rw)
    none on /tmp type tmpfs (rw,sync)

     CLK Hz,
     ARM   Hz =  297000000
     DDR   Hz =  270000000
     VPSS  Hz =  270000000
     IMCOP Hz =  270000000

    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
     ERROR  (drv.c|DRV_init|43): CMEM init
     ERROR  (drv.c|DRV_init|107): DRV_init()
     ERROR  (avServerApi.c|AVSERVER_init|461): DRV_init()
     ERROR  (avServerUi.c|UI_start|50): AVSERVER_init()
    Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system
    numid=2,iface=MIXER,name='Mono DAC Playback Volume'
      ; type=INTEGER,access=rw---,values=1,min=0,max=63,step=0
      : values=32
    ApproDrvInit: 7
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    Error: ApproDrvInit fail
    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: portmap.
    Starting internet superserver: inetd.io scheduler deadline registered

    io scheduler cfq registered
    TI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr)
     sbulla: unknown partition table
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    loop: loaded (max 8 devices)
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    CSLIP: code copyright 1989 Regents of the University of California
    netconsole: not configured, aborting
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    Davinci EMAC MII Bus: probed
    MAC address is $(ethaddr)
    TI DaVinci EMAC Linux version updated 4.0
    davinci-mmc davinci-mmc.0: Supporting 4-bit mode
    davinci-mmc davinci-mmc.0: Using DMA mode
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0
    musb_hdrc musb_hdrc: No DMA interrupt line
    musb_hdrc: USB Peripheral mode controller at c40f2000 using DMA, IRQ 12
    Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)
     sbulla: unknown partition table
    mkdosfs 3.0.6 (04 Oct 2009)
    unable to get drive geometry, using default 255/63
    /dev/sbulla has 255 heads and 63 sectors per track,
    logical sector size is 512,
    using 0xf8 media descriptor, with 1024 sectors;
    file system has 2 12-bit FATs and 4 sectors per cluster.
    FAT size is 1 sector, and provides 247 clusters.
    Root directory contains 512 slots.
    Volume ID is 62dddef1, no volume label.
    queue id:0
    umount: /mnt/mmc: not mounted
    killall: dhcpcd: no process killed
    rm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directory
    net_search_gateway:eth0, 1A8C0, 0, 1
    dns=192.168.1.1
    net_search_gateway:eth0, 1A8C0, 0, 1
    net_search_gateway:eth0, 0, FE01A8C0, 3
    dns=192.168.1.1
    g_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005
    ERROR: Module g_g_file_storage gadget: Number of LUNs=1
    file_storage doeg_file_storage gadget-lun0: ro=0, file: /dev/sbulla
    s not exist in /proc/modules
    system_server/535[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196
    ApproDrvInit: 2
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    ApproDrvInit: 6
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    ApproDrvInit: 9
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    ApproDrvInit: 10
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    ApproDrvInit: 8
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
    INIT: Entering runlevel: 3

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

    DM36x_IPNC login: killall: wis-streamer: no process killed

    ----------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Marko Shink
    Posted by Marko Shink
    on Jun 17 2010 01:49 AM
    Genius3695 points

    Your IP address is OK, but you should set it in Linux (web browser) , the one you set in  boot arguments is only for uBoot.
    The default for Linux is 192.168.1.168. I think it's set in system_server, if there is no config file in /mnt/nand  yet.

    In your log the following is a problem :

    CMEMK Error: Failed to request_mem_region(0x83800000, 75497472)
    insmod: cannot insert `cmemk.ko': Bad address (-1): Bad address

    Try to desrease your memory for Linux in uBoot bootargs to 56 or 50 M
    (like : bootargs=mem=56M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,13M stdin=serial),

    or change memory start address for cmem.ko in av_capture_load.sh.

    cmem.ko is trying to use memory already been reserved from Linux.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • gomo
    Posted by gomo
    on Jun 17 2010 19:37 PM
    Genius3380 points

    You can modify start address to 0x83800000 in av_capture_load.sh

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sujit mahapatro
    Posted by sujit mahapatro
    on Jun 17 2010 20:00 PM
    Genius3920 points

    HI MARKO,

    i modified the memory as suggested by you in bootargs, but audio disbeled msg is coming in the boot meassage .

    also the memory i have assigned is from 0x83800000 to 0x86A00000 ( 50 MB) but in the boot message its displaying from 0x80000000 to 0x83200000.

    is there anything else i need to modify ?

    -------------------------------------------------

     IP-Config: Device `off' not found.
    RAMDISK: cramfs filesystem found at block 0
    RAMDISK: Loading 11512KiB [1 disk] into ram disk... done.
    VFS: Mounted root (cramfs filesystem) readonly.
    Freeing init memory: 176K
    INIT: version 2.86 booting
    0
    mkdir: Cannot create directory `/dev/.test': Read-only file system
    Starting the hotplug events dispatcher: udevd.
    Synthesizing the initial hotplug events...done.
    Waiting for /dev to be fully populated...done.
    0
    CSL: Module install successful, device major num = 253
    CSL: Module version 0.10.00, built on Jun  1 2010 19:01:25
    I2C: Module install successful, device major num = 252
    DMA: Module install successful, device major num = 251
    DRV: Module install successful
    DRV: Module built on Jun  1 2010 19:01:29
    DRV: EDMACC.QUEPRI  = 00000777
    DRV: SYSTEM.MSTPRI0 = 00550011
    DRV: SYSTEM.MSTPRI1 = 00000444
    DRV: ISP.BCR        = 00000002
    DRV: SYSTEM.MISC = 00000391
    CMEMK module: built on Jun  1 2010 at 16:41:28
      Reference Linux version 2.6.18
      File /home/wenchi/Templates/DM365_IMX035/dvsdk_2_10_01_18_368/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xc5000000 of size 0x4800000
    CMEM Range Overlaps Kernel Physical - allowing overlap
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83200000)
    cmemk initialized
    EDMAK module: built on Jun  1 2010 at 16:41:31
      Reference Linux version 2.6.18
      File /home/wenchi/Templates/DM365_IMX035/dvsdk_2_10_01_18_368/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
    IRQK module: built on Jun  1 2010 at 16:41:32
      Reference Linux version 2.6.18
      File /home/wenchi/Templates/DM365_IMX035/dvsdk_2_10_01_18_368/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
    irqk initialized
    ln: rtc: File exists
    Creat queue id:0
    queue id:0
    Creat queue id:32769
    queue id:32769
    IPNC_DM365_1.6 (wenchi@dino.linux) (gcc version 4.2.0 (MontaVis
    Creat queue id:65538
    queue id:65538
    queue id:32769
    queue id:65538

     DEMOCFG Value: 0

    nVideocodecmode = 0
    nVideocodecres = 0
    ./av_server.out FD OSD AEWB APPRO2A 720P H264 4000000 CVBR MENUOFF &
    Check_device_version : DEVICE VER = 1 !!

     AVSERVER UI: Initializing.

    DRV_SyncRst: module = 47, domain = 0, state = 0

    DRV_SyncRst: module = 47, domain = 0, state = 3

     CLK Hz,
     ARM   Hz =  297000000
     DDR   Hz =  270000000
     VPSS  Hz =  270000000
     IMCOP Hz =  270000000

    Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)
    none on /var/run type tmpfs (rw)
    none on /tmp type tmpfs (rw,sync)
     DRV LDC: GetConfig 0004 0x0
    Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system
    numid=2,iface=MIXER,name='Mono DAC Playback Volume'
      ; type=INTEGER,access=rw---,values=1,min=0,max=63,step=0
      : values=32
    ApproDrvInit: 7
    Creat queue id:98307
    queue id:98307
     AVSERVER UI: Starting in mode 1
    Starting hotplug subsystem:
       pci
    spi mode: 16
    bits per word: 8
    max speed: 12000000 Hz (12000 KHz)
     ~~~ Sensor_imgsSetRegs ~~~
    ================> 1000, 150, 0
    APPRO Setting Applied

     Default Icon TI Logo

     Default Icon TI Logo

     Default Icon TI Logo

    DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:
    layer.pix_fmt.bytesperline = 640,
     layer.pix_fmt.width = 640,
     layer.pix_fmt.height = 480,
     layer.pix_fmt.sizeimage =460800
     DM365MM Init SuDavinciDisplay DavinciDisplay.1: pixfmt->width = 640,
     layer->layer_info.config.line_length= 640
    ccessfulRate Control Type: IVIDEO_STORAGE STREAM: Ext 0: 0x0
     STREAM: Ext 1: 0x0
    queue id:98307
    FF: FF open

     FR : 0 users registered from exsiting face album
    FF: FF open done.
    IPNC_DM365_1.6 (wenchi@dino.linux) (gcc version 4.2.0 (MontaVis
     IPNC AUTO_IRIS = 0 (0:Manual,1:Auto)#####################
    APPRO 2A Created
    XXXXX IAE_CMD_SET_CONFIG XXXXX
    Page read err(-1)
    eeprom_prErr:-1
    read fail!!
    ################DFC ret=-1##################
    EE SETUP SHIFT VALUE: 3
    GBCE in EVAL MODE
    AUDIO_GetSampleRate = 8000
    AUDIO : period size = 1000 frames dir = 0
    AUDIO : period time = 125000 us dir = 0
    queue id:65538
       pci      [success]
       usb
       usb      [success]
       isapnp
       isapnp   [success]
       ide
       ide      [success]
       input
       input    [success]
       scsi
       scsi     [success]
    done.
    Starting portmap daemon: portmap.
    Starting internet superserver: inetd.
    io scheduler deadline registered
    io scheduler cfq registered
    TI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr)
     sbulla: unknown partition table
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    loop: loaded (max 8 devices)
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    CSLIP: code copyright 1989 Regents of the University of California
    netconsole: not configured, aborting
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    Davinci EMAC MII Bus: probed
    MAC address is $(ethaddr)
    TI DaVinci EMAC Linux version updated 4.0
    davinci-mmc davinci-mmc.0: Supporting 4-bit mode
    davinci-mmc davinci-mmc.0: Using DMA mode
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0
    musb_hdrc musb_hdrc: No DMA interrupt line
    musb_hdrc: USB Peripheral mode controller at c40fa000 using DMA, IRQ 12
    Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)
     sbulla: unknown partition table
    mkdosfs 3.0.6 (04 Oct 2009)
    unable to get drive geometry, using default 255/63
    /dev/sbulla has 255 heads and 63 sectors per track,
    logical sector size is 512,
    using 0xf8 media descriptor, with 1024 sectors;
    file system has 2 12-bit FATs and 4 sectors per cluster.
    FAT size is 1 sector, and provides 247 clusters.
    Root directory contains 512 slots.
    Volume ID is 70bb1f15, no volume label.
    queue id:0
    ApproDrvExit: 7
    Error: WaitStreamReady Fail.
    umount: /mnt/mmc: not mounted
    killall: dhcpcd: no process killed
    rm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directory
    net_search_gateway:eth0, 1A8C0, 0, 1
    dns=192.168.1.1
    net_search_gateway:eth0, 1A8C0, 0, 1
    net_search_gateway:eth0, 0, FE01A8C0, 3
    dns=192.168.1.1
    ERROR: Module g_file_storage does not exist in /proc/modules
    g_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005
    g_file_storage gadget: Number of LUNs=1
    g_file_storage gadget-lun0: ro=0, file: /dev/sbulla
    system_server/525[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196
    ApproDrvInit: 2
    queue id:98307
    Initializing...
    ApproDrvInit: 6
    queue id:98307
    Initializing...
    ApproDrvInit: 8
    queue id:98307
    Initializing...
    ApproDrvInit: 9
    ApproDrvInit: 10
    queue id:98307
    Initializing...
    queue id:98307
    Initializing...
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168:8557/h264
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168:8554/mpeg4
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168:8556/h264
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168/mpeg4
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168:8555/mjpeg
    INIT: Entering runlevel: 3
    [01/Jan/2000:21:52:17 +0000] boa: server version Boa/0.94.13
    [01/Jan/2000:21:52:17 +0000] boa: server built Jun  1 2010 at 19:03:11.
    [01/Jan/2000:21:52:17 +0000] boa: starting server pid=789, port 80
    queue id:0
    UDPString=uuid:Upnp-TVEmulator-1_0-00_0090676175</UDN>

    Upnp port is 0
    UPnP Initialized OK ip=192.168.1.168, port=49152
    desc_doc_url = http://192.168.1.168/tvdevicedesc.xml
    error code = 0
    device advertisement succeed.

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

    DM36x_IPNC login: Audio disabled!
    Audio disabled!
    Audio disabled!
    Audio disabled!
    Audio disabled!
    Audio Alarm!!
    Audio Alarm!!
    Audio Alarm!!
    Audio Alarm!!
    Audio Alarm!!

    -------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sujit mahapatro
    Posted by sujit mahapatro
    on Jun 17 2010 20:03 PM
    Genius3920 points

    start address is already set to0x83800000 to 0x886A00000 (50 MB )

    please check the last mail i sent just before this message.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sujit mahapatro
    Posted by sujit mahapatro
    on Jun 17 2010 20:06 PM
    Genius3920 points

    start address is already set to0x83800000 to 0x86A00000 (50 MB ) please check the last mail i sent just before this message.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Anshuman Saxena
    Posted by Anshuman Saxena
    on Jun 18 2010 01:06 AM
    Mastermind19870 points

    Sujit,

    Just keep mem=56M. That is safe and your application was designed for that.

    I dont see any problems in your log anymore. Do you still face some issues? Can you point in the log where you see any more error messages. Dont worry about the overlap message while loading cmem.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sujit mahapatro
    Posted by sujit mahapatro
    on Jun 18 2010 01:22 AM
    Genius3920 points

    hi anshuman,

    1. i am getting two error messages in log " audio disbeled" and "".

    2. while i am connecting the device with  ipaddress in internet explorer the screen comes with the web viewer " Texas Instrument " but no live view appears.

        even i select 'live video' or 'image' no live image or video displays.

    3. also when i am tried using vlc media player , simoultaniously running the app in device  

    ./av_capture_load.sh

    ./loadmodules_ipnc.sh

    ./system_server &

    ./wis-streamer &

    vlc player is not able to display.

    log message

    ----------------

     CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83800000)
    cmemk initialized
    EDMAK module: built on Jun  1 2010 at 16:41:31
      Reference Linux version 2.6.18
      File /home/wenchi/Templates/DM365_IMX035/dvsdk_2_10_01_18_368/linuxutils_2_24_                                                                             03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
    IRQK module: built on Jun  1 2010 at 16:41:32
      Reference Linux version 2.6.18
      File /home/wenchi/Templates/DM365_IMX035/dvsdk_2_10_01_18_368/linuxutils_2_24_                                                                             03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
    irqk initialized
    ln: rtc: File exists
    Creat queue id:0
    queue id:0
    Creat queue id:32769
    queue id:32769
    IPNC_DM365_1.6 (wenchi@dino.linux) (gcc version 4.2.0 (MontaVis
    Creat queue id:65538
    queue id:65538
    queue id:32769
    queue id:65538

     DEMOCFG Value: 0

    nVideocodecmode = 0
    nVideocodecres = 0
    Check_device_version : DEVICE VER = 1 !!
    ./av_server.out FD OSD AEWB APPRO2A 720P H264 4000000 CVBR MENUOFF &

     AVSERVER UI: Initializing.

    DRV_SyncRst: module = 47, domain = 0, state = 0

    DRV_SyncRst: module = 47, domain = 0, state = 3

     CLK Hz,
     ARM   Hz =  297000000
     DDR   Hz =  270000000
     VPSS  Hz =  270000000
     IMCOP Hz =  270000000

    Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=                                                                             5M)
    none on /var/run type tmpfs (rw)
    none on /tmp type tmpfs (rw,sync)
     DRV LDC: GetConfig 0004 0x0
    Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file                                                                              system
    numid=2,iface=MIXER,name='Mono DAC Playback Volume'
      ; type=INTEGER,access=rw---,values=1,min=0,max=63,step=0
      : values=32
    ApproDrvInit: 7
    Creat queue id:98307
    queue id:98307
     AVSERVER UI: Starting in mode 1
    Starting hotplug subsystem:
       pci
    spi mode: 16
    bits per word: 8
    max speed: 12000000 Hz (12000 KHz)
     ~~~ Sensor_imgsSetRegs ~~~
    ================> 1000, 150, 0
    APPRO Setting Applied

     Default Icon TI Logo

     Default Icon TI Logo

     Default Icon TI Logo

    DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:
    layer.pix_fmt.bytesperline = 640,
     layer.pix_fmt.width = 640,
     layer.pix_fmt.height = 480,
     layer.pix_fmt.sizeimage =460800
     DM365MM Init SuDavinciDisplay DavinciDisplay.1: pixfmt->width = 640,
     layer->layer_info.config.line_length= 640
    ccessfulRate Control Type: IVIDEO_STORAGE STREAM: Ext 0: 0x0
     STREAM: Ext 1: 0x0
    queue id:98307
    FF: FF open

     FR : 0 users registered from exsiting face album
    FF: FF open done.
    IPNC_DM365_1.6 (wenchi@dino.linux) (gcc version 4.2.0 (MontaVis
     IPNC AUTO_IRIS = 0 (0:Manual,1:Auto)#####################
    APPRO 2A Created
    XXXXX IAE_CMD_SET_CONFIG XXXXX
    Page read err(-1)
    eeprom_prErr:-1
    read fail!!
    ################DFC ret=-1##################
    EE SETUP SHIFT VALUE: 3
    GBCE in EVAL MODE
    AUDIO_GetSampleRate = 8000
    AUDIO : period size = 1000 frames dir = 0
    AUDIO : period time = 125000 us dir = 0
    queue id:65538
       pci      [success]
       usb
       usb      [success]
       isapnp
       isapnp   [success]
       ide
       ide      [success]
       input
       input    [success]
       scsi
       scsi     [success]
    done.
    Starting portmap daemon: portmap.
    Starting internet superserver: inetd.
    io scheduler deadline registered
    io scheduler cfq registered
    TI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr)
     sbulla: unknown partition table
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    loop: loaded (max 8 devices)
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    CSLIP: code copyright 1989 Regents of the University of California
    netconsole: not configured, aborting
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    Davinci EMAC MII Bus: probed
    MAC address is $(ethaddr)
    TI DaVinci EMAC Linux version updated 4.0
    davinci-mmc davinci-mmc.0: Supporting 4-bit mode
    davinci-mmc davinci-mmc.0: Using DMA mode
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    musb_hdrc: version 6.0, cppi-dma, peripheral, debug=0
    musb_hdrc musb_hdrc: No DMA interrupt line
    musb_hdrc: USB Peripheral mode controller at c40fa000 using DMA, IRQ 12
    Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp)
     sbulla: unknown partition table
    mkdosfs 3.0.6 (04 Oct 2009)
    unable to get drive geometry, using default 255/63
    /dev/sbulla has 255 heads and 63 sectors per track,
    logical sector size is 512,
    using 0xf8 media descriptor, with 1024 sectors;
    file system has 2 12-bit FATs and 4 sectors per cluster.
    FAT size is 1 sector, and provides 247 clusters.
    Root directory contains 512 slots.
    Volume ID is 33ca8d43, no volume label.
    queue id:0
    ApproDrvExit: 7
    Error: WaitStreamReady Fail.
    umount: /mnt/mmc: not mounted
    killall: dhcpcd: no process killed
    rm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directory
    net_search_gateway:eth0, 1A8C0, 0, 1
    dns=192.168.1.1
    net_search_gateway:eth0, 1A8C0, 0, 1
    net_search_gateway:eth0, 0, FE01A8C0, 3
    dns=192.168.1.1
    ERROR: Module g_file_storage does not exist in /proc/modules
    g_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005
    g_file_storage gadget: Number of LUNs=1
    g_file_storage gadget-lun0: ro=0, file: /dev/sbulla
    system_server/525[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196
    ApproDrvInit: 2
    queue id:98307
    Initializing...
    ApproDrvInit: 6
    queue id:98307
    ApproDrvInit: 8
    queue id:98307
    Initializing...
    ApproDrvInit: 9
    queue id:98307
    Initializing...
    ApproDrvInit: 10
    queue id:98307
    Initializing...
    Initializing...
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168/mpeg4
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168:8557/h264
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168:8554/mpeg4
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168:8556/h264
    ...done initializing
    Play this stream using the URL:
            rtsp://192.168.1.168:8555/mjpeg
    INIT: Entering runlevel: 3
    ApproDrvInit: 3
    queue id:98307
    queue id:0
    queue id:32769
    [02/Jan/2000:04:25:38 +0000] boa: server version Boa/0.94.13
    [02/Jan/2000:04:25:38 +0000] boa: server built Jun  1 2010 at 19:03:11.
    [02/Jan/2000:04:25:38 +0000] boa: starting server pid=789, port 80
    queue id:0
    UDPString=uuid:Upnp-TVEmulator-1_0-00_0035522396</UDN>

    Upnp port is 0
    UPnP Initialized OK ip=192.168.1.168, port=49152
    desc_doc_url = http://192.168.1.168/tvdevicedesc.xml
    error code = 0
    device advertisement succeed.

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

    DM36x_IPNC login: Audio disabled!
    Audio disabled!
    Audio disabled!
    Audio disabled!
    Audio disabled!
    Audio Alarm!!
    Audio Alarm!!
    Audio Alarm!!
    Audio Alarm!!
    Audio Alarm!!

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

    DM36x_IPNC login:

    ----------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
123
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use