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 systemrm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm6_mode_transport.ko': Read-only file systemrm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm6_mode_tunnel.ko': Read-only file systemrm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm6_tunnel.ko': Read-only file systemrm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm_user.ko': Read-only file systemmake[2]: *** [lspclean] Error 1make[1]: *** [lspall] Error 2make: *** [sysall] Error 2 ------------------ any one has faced the same. how to proceed further.
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 systemrm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm6_mode_transport.ko': Read-only file systemrm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm6_mode_tunnel.ko': Read-only file systemrm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm6_tunnel.ko': Read-only file systemrm: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/modules/xfrm_user.ko': Read-only file systemmake[2]: *** [lspclean] Error 1make[1]: *** [lspall] Error 2make: *** [sysall] Error 2
------------------
any one has faced the same. how to proceed further.
I commented out lines which deletes *.ko files, in a main Makefile.
rm $(TARGET_FS_DIR)/modules/ltt*.ko
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.ainstall: cannot remove `/home/sujit/Dev/camera/ipnc/DM365/target/filesys/opt/ipnc/reboot_ipnc': Read-only file systemmake[6]: *** [install] Error 1make[5]: *** [util] Error 2make[4]: *** [libs] Error 2make[3]: *** [libs] Error 2make[2]: *** [exe] Error 2make[1]: *** [all] Error 2make: *** [sysall] Error 2
-------------------------------------
have you tried some other method ?
i am surprise how APPRO has released the document, with out verifying it.
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 filesysmkdir rdmnt2mount -t cramfs -o loop cramfsImage_ipnc_dm36x_xxx rdmnt2/cd rdmnt2tar -cf - . | tar -C ../filesys/ -xpf -
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
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.
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: 6CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'ApproDrvInit: 8ApproDrvInit: 9CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'ApproDrvInit: 10CMEM 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
DM36x_IPNC login: root
Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0702774).
login[782]: root login on `console'
# ifconfigeth0 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 :>printbootdelay=4baudrate=115200bootfile="uImage"ethaddr=00:0C:0C:0A:03:0Fsetboot=setenv bootargs $(bootargs) video=dm36x:output=$(videostd)filesize=B3E000fileaddr=82000000serverip=192.168.17.5bootcmd=nand read 0x82000000 0x400000 0xb3e000;nboot 0x80700000 0 0x200000;bootm 0x80700000netmask=255.255.255.0gatewayip=55.101.66.1bootargs=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=serialstdout=serialstderr=serialver=U-Boot 1.3.4 (Jun 14 2010 - 16:32:08) DM365-IPNC-1.0.0
Environment size: 589/16380 bytesDM365 IPNC :>
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.
hi Anshuman,
how to get the boot up log file. i just coppied the message from console.
----------------------------------------------
MUX: initialized I2C_SCLGeneric PHY: Registered new driverch0 default output "COMPOSITE", mode "NTSC"VPBE Encoder InitializedSCSI subsystem initializedNET: Registered protocol family 2IP 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.1Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)squashfs: version 3.1 (2006/08/19) Phillip LougherJFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.yaffs Jun 1 2010 16:34:55 Installing.SGI XFS with no debug enabledInitializing Cryptographic APIio scheduler noop registeredio scheduler anticipatory registered (default)LTT : ltt-facilities initLTT : ltt-facility-core init in kernelDAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 secSerial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabledserial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550Aserial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550ARAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksizeLinux video capture interface: v2.00Trying to register davinci display video device.layer=c2a49a00,layer->video_dev=c2a49b60Trying to register davinci display video device.layer=c2a49800,layer->video_dev=c2a49960davinci_init:DaVinci V4L2 Display Driver V1.0 loadedi2c /dev entries drivernand_davinci nand_davinci.0: Using 4-bit hardware ECCNAND 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.3MUX: initialized SPI0_SCLKMUX: initialized SPI0_SDO)dm_spi.0: davinci SPI Controller driver at 0xc4066000 (irq = 42) use_dma=0rtc_davinci_dm365 rtc_davinci_dm365.0: rtc intf: procrtc_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 rtc0Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).ASoC version 0.13.1CQ0093 Voice Codec 0.1asoc: cq93vc <-> davinci-vcif mapping okALSA device list: #0: On-chip voice codec (cq93vc)IPv4 over IPv4 tunneling driverTCP bic registeredNET: Registered protocol family 1NET: Registered protocol family 17rtc_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: 08Switched to high resolution mode on CPU 0IP-Config: No network devices available.RAMDISK: cramfs filesystem found at block 0RAMDISK: Loading 11512KiB [1 disk] into ram disk... done.VFS: Mounted root (cramfs filesystem) readonly.Freeing init memory: 176KINIT: version 2.86 booting0mkdir: Cannot create directory `/dev/.test': Read-only file systemStarting the hotplug events dispatcher: udevd.Synthesizing the initial hotplug events...done.Waiting for /dev to be fully populated...done.0CSL: Module install successful, device major num = 253CSL: Module version 0.10.00, built on Jun 1 2010 19:01:25I2C: Module install successful, device major num = 252DMA: Module install successful, device major num = 251DRV: Module install successfulDRV: Module built on Jun 1 2010 19:01:29DRV: EDMACC.QUEPRI = 00000777DRV: SYSTEM.MSTPRI0 = 00550011DRV: SYSTEM.MSTPRI1 = 00000444DRV: ISP.BCR = 00000002DRV: SYSTEM.MISC = 00000391CMEMK 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.cCMEM Range Overlaps Kernel Physical - allowing overlapCMEM 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 addressEDMAK 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.cIRQK 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.cirqk initializedln: rtc: File existsCreat queue id:0queue id:0Creat queue id:32769queue id:32769Creat queue id:65538queue id:65538IPNC_DM365_1.6 (wenchi@dino.linux) (gcc version 4.2.0 (MontaVisqueue id:65538queue id:32769
DEMOCFG Value: 0
nVideocodecmode = 0nVideocodecres = 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 = 3none 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 systemnumid=2,iface=MIXER,name='Mono DAC Playback Volume' ; type=INTEGER,access=rw---,values=1,min=0,max=63,step=0 : values=32ApproDrvInit: 7CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'Error: ApproDrvInit failStarting 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 registeredTI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr) sbulla: unknown partition tableInstalling knfsd (copyright (C) 1996 okir@monad.swb.de).loop: loaded (max 8 devices)tun: Universal TUN/TAP device driver, 1.6tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>CSLIP: code copyright 1989 Regents of the University of Californianetconsole: not configured, abortingPPP generic driver version 2.4.2PPP Deflate Compression module registeredDavinci EMAC MII Bus: probedMAC address is $(ethaddr)TI DaVinci EMAC Linux version updated 4.0davinci-mmc davinci-mmc.0: Supporting 4-bit modedavinci-mmc davinci-mmc.0: Using DMA modeusbcore: registered new driver usbfsusbcore: registered new driver hubmusb_hdrc: version 6.0, cppi-dma, peripheral, debug=0musb_hdrc musb_hdrc: No DMA interrupt linemusb_hdrc: USB Peripheral mode controller at c40f2000 using DMA, IRQ 12Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp) sbulla: unknown partition tablemkdosfs 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:0umount: /mnt/mmc: not mountedkillall: dhcpcd: no process killedrm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directorynet_search_gateway:eth0, 1A8C0, 0, 1dns=192.168.1.1net_search_gateway:eth0, 1A8C0, 0, 1net_search_gateway:eth0, 0, FE01A8C0, 3dns=192.168.1.1g_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005ERROR: Module g_g_file_storage gadget: Number of LUNs=1file_storage doeg_file_storage gadget-lun0: ro=0, file: /dev/sbullas not exist in /proc/modulessystem_server/535[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196ApproDrvInit: 2CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'ApproDrvInit: 6CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'ApproDrvInit: 9CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'ApproDrvInit: 10CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'ApproDrvInit: 8CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'INIT: Entering runlevel: 3
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.
You can modify start address to 0x83800000 in av_capture_load.sh
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 0RAMDISK: Loading 11512KiB [1 disk] into ram disk... done.VFS: Mounted root (cramfs filesystem) readonly.Freeing init memory: 176KINIT: version 2.86 booting0mkdir: Cannot create directory `/dev/.test': Read-only file systemStarting the hotplug events dispatcher: udevd.Synthesizing the initial hotplug events...done.Waiting for /dev to be fully populated...done.0CSL: Module install successful, device major num = 253CSL: Module version 0.10.00, built on Jun 1 2010 19:01:25I2C: Module install successful, device major num = 252DMA: Module install successful, device major num = 251DRV: Module install successfulDRV: Module built on Jun 1 2010 19:01:29DRV: EDMACC.QUEPRI = 00000777DRV: SYSTEM.MSTPRI0 = 00550011DRV: SYSTEM.MSTPRI1 = 00000444DRV: ISP.BCR = 00000002DRV: SYSTEM.MISC = 00000391CMEMK 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.callocated heap buffer 0xc5000000 of size 0x4800000CMEM Range Overlaps Kernel Physical - allowing overlapCMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83200000)cmemk initializedEDMAK 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.cIRQK 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.cirqk initializedln: rtc: File existsCreat queue id:0queue id:0Creat queue id:32769queue id:32769IPNC_DM365_1.6 (wenchi@dino.linux) (gcc version 4.2.0 (MontaVisCreat queue id:65538queue id:65538queue id:32769queue id:65538
nVideocodecmode = 0nVideocodecres = 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 = 3
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 0x0Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file systemnumid=2,iface=MIXER,name='Mono DAC Playback Volume' ; type=INTEGER,access=rw---,values=1,min=0,max=63,step=0 : values=32ApproDrvInit: 7Creat queue id:98307queue id:98307 AVSERVER UI: Starting in mode 1Starting hotplug subsystem: pcispi mode: 16bits per word: 8max speed: 12000000 Hz (12000 KHz) ~~~ Sensor_imgsSetRegs ~~~================> 1000, 150, 0APPRO Setting Applied
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= 640ccessfulRate Control Type: IVIDEO_STORAGE STREAM: Ext 0: 0x0 STREAM: Ext 1: 0x0queue id:98307FF: FF open
FR : 0 users registered from exsiting face albumFF: 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 CreatedXXXXX IAE_CMD_SET_CONFIG XXXXXPage read err(-1)eeprom_prErr:-1read fail!!################DFC ret=-1##################EE SETUP SHIFT VALUE: 3GBCE in EVAL MODEAUDIO_GetSampleRate = 8000AUDIO : period size = 1000 frames dir = 0AUDIO : period time = 125000 us dir = 0queue 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 registeredio scheduler cfq registeredTI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr) sbulla: unknown partition tableInstalling knfsd (copyright (C) 1996 okir@monad.swb.de).loop: loaded (max 8 devices)tun: Universal TUN/TAP device driver, 1.6tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>CSLIP: code copyright 1989 Regents of the University of Californianetconsole: not configured, abortingPPP generic driver version 2.4.2PPP Deflate Compression module registeredDavinci EMAC MII Bus: probedMAC address is $(ethaddr)TI DaVinci EMAC Linux version updated 4.0davinci-mmc davinci-mmc.0: Supporting 4-bit modedavinci-mmc davinci-mmc.0: Using DMA modeusbcore: registered new driver usbfsusbcore: registered new driver hubmusb_hdrc: version 6.0, cppi-dma, peripheral, debug=0musb_hdrc musb_hdrc: No DMA interrupt linemusb_hdrc: USB Peripheral mode controller at c40fa000 using DMA, IRQ 12Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp) sbulla: unknown partition tablemkdosfs 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:0ApproDrvExit: 7Error: WaitStreamReady Fail.umount: /mnt/mmc: not mountedkillall: dhcpcd: no process killedrm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directorynet_search_gateway:eth0, 1A8C0, 0, 1dns=192.168.1.1net_search_gateway:eth0, 1A8C0, 0, 1net_search_gateway:eth0, 0, FE01A8C0, 3dns=192.168.1.1ERROR: Module g_file_storage does not exist in /proc/modulesg_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005g_file_storage gadget: Number of LUNs=1g_file_storage gadget-lun0: ro=0, file: /dev/sbullasystem_server/525[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196ApproDrvInit: 2queue id:98307Initializing...ApproDrvInit: 6queue id:98307Initializing...ApproDrvInit: 8queue id:98307Initializing...ApproDrvInit: 9ApproDrvInit: 10queue id:98307Initializing...queue id:98307Initializing......done initializingPlay this stream using the URL: rtsp://192.168.1.168:8557/h264...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8554/mpeg4...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8556/h264...done initializingPlay this stream using the URL: rtsp://192.168.1.168/mpeg4...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8555/mjpegINIT: 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 80queue id:0UDPString=uuid:Upnp-TVEmulator-1_0-00_0090676175</UDN>
Upnp port is 0UPnP Initialized OK ip=192.168.1.168, port=49152desc_doc_url = http://192.168.1.168/tvdevicedesc.xmlerror code = 0device advertisement succeed.
DM36x_IPNC login: Audio disabled!Audio disabled!Audio disabled!Audio disabled!Audio disabled!Audio Alarm!!Audio Alarm!!Audio Alarm!!Audio Alarm!!Audio Alarm!!
start address is already set to0x83800000 to 0x886A00000 (50 MB )
please check the last mail i sent just before this message.
start address is already set to0x83800000 to 0x86A00000 (50 MB ) please check the last mail i sent just before this message.
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.
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 initializedEDMAK 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.cIRQK 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.cirqk initializedln: rtc: File existsCreat queue id:0queue id:0Creat queue id:32769queue id:32769IPNC_DM365_1.6 (wenchi@dino.linux) (gcc version 4.2.0 (MontaVisCreat queue id:65538queue id:65538queue id:32769queue id:65538 DEMOCFG Value: 0 nVideocodecmode = 0nVideocodecres = 0Check_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 0x0Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file systemnumid=2,iface=MIXER,name='Mono DAC Playback Volume' ; type=INTEGER,access=rw---,values=1,min=0,max=63,step=0 : values=32ApproDrvInit: 7Creat queue id:98307queue id:98307 AVSERVER UI: Starting in mode 1Starting hotplug subsystem: pcispi mode: 16bits per word: 8max speed: 12000000 Hz (12000 KHz) ~~~ Sensor_imgsSetRegs ~~~================> 1000, 150, 0APPRO 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= 640ccessfulRate Control Type: IVIDEO_STORAGE STREAM: Ext 0: 0x0 STREAM: Ext 1: 0x0queue id:98307FF: FF open FR : 0 users registered from exsiting face albumFF: 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 CreatedXXXXX IAE_CMD_SET_CONFIG XXXXXPage read err(-1)eeprom_prErr:-1read fail!!################DFC ret=-1##################EE SETUP SHIFT VALUE: 3GBCE in EVAL MODEAUDIO_GetSampleRate = 8000AUDIO : period size = 1000 frames dir = 0AUDIO : period time = 125000 us dir = 0queue 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 registeredio scheduler cfq registeredTI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr) sbulla: unknown partition tableInstalling knfsd (copyright (C) 1996 okir@monad.swb.de).loop: loaded (max 8 devices)tun: Universal TUN/TAP device driver, 1.6tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>CSLIP: code copyright 1989 Regents of the University of Californianetconsole: not configured, abortingPPP generic driver version 2.4.2PPP Deflate Compression module registeredDavinci EMAC MII Bus: probedMAC address is $(ethaddr)TI DaVinci EMAC Linux version updated 4.0davinci-mmc davinci-mmc.0: Supporting 4-bit modedavinci-mmc davinci-mmc.0: Using DMA modeusbcore: registered new driver usbfsusbcore: registered new driver hubmusb_hdrc: version 6.0, cppi-dma, peripheral, debug=0musb_hdrc musb_hdrc: No DMA interrupt linemusb_hdrc: USB Peripheral mode controller at c40fa000 using DMA, IRQ 12Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp) sbulla: unknown partition tablemkdosfs 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:0ApproDrvExit: 7Error: WaitStreamReady Fail.umount: /mnt/mmc: not mountedkillall: dhcpcd: no process killedrm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directorynet_search_gateway:eth0, 1A8C0, 0, 1dns=192.168.1.1net_search_gateway:eth0, 1A8C0, 0, 1net_search_gateway:eth0, 0, FE01A8C0, 3dns=192.168.1.1ERROR: Module g_file_storage does not exist in /proc/modulesg_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005g_file_storage gadget: Number of LUNs=1g_file_storage gadget-lun0: ro=0, file: /dev/sbullasystem_server/525[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196ApproDrvInit: 2queue id:98307Initializing...ApproDrvInit: 6queue id:98307ApproDrvInit: 8queue id:98307Initializing...ApproDrvInit: 9queue id:98307Initializing...ApproDrvInit: 10queue id:98307Initializing...Initializing......done initializingPlay this stream using the URL: rtsp://192.168.1.168/mpeg4...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8557/h264...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8554/mpeg4...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8556/h264...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8555/mjpegINIT: Entering runlevel: 3ApproDrvInit: 3queue id:98307queue id:0queue 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 80queue id:0UDPString=uuid:Upnp-TVEmulator-1_0-00_0035522396</UDN> Upnp port is 0UPnP Initialized OK ip=192.168.1.168, port=49152desc_doc_url = http://192.168.1.168/tvdevicedesc.xmlerror code = 0device 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: ----------------
./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 initializedEDMAK 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.cIRQK 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.cirqk initializedln: rtc: File existsCreat queue id:0queue id:0Creat queue id:32769queue id:32769IPNC_DM365_1.6 (wenchi@dino.linux) (gcc version 4.2.0 (MontaVisCreat queue id:65538queue id:65538queue id:32769queue id:65538
nVideocodecmode = 0nVideocodecres = 0Check_device_version : DEVICE VER = 1 !!./av_server.out FD OSD AEWB APPRO2A 720P H264 4000000 CVBR MENUOFF &
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 0x0Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file systemnumid=2,iface=MIXER,name='Mono DAC Playback Volume' ; type=INTEGER,access=rw---,values=1,min=0,max=63,step=0 : values=32ApproDrvInit: 7Creat queue id:98307queue id:98307 AVSERVER UI: Starting in mode 1Starting hotplug subsystem: pcispi mode: 16bits per word: 8max speed: 12000000 Hz (12000 KHz) ~~~ Sensor_imgsSetRegs ~~~================> 1000, 150, 0APPRO Setting Applied
FR : 0 users registered from exsiting face albumFF: 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 CreatedXXXXX IAE_CMD_SET_CONFIG XXXXXPage read err(-1)eeprom_prErr:-1read fail!!################DFC ret=-1##################EE SETUP SHIFT VALUE: 3GBCE in EVAL MODEAUDIO_GetSampleRate = 8000AUDIO : period size = 1000 frames dir = 0AUDIO : period time = 125000 us dir = 0queue 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 registeredio scheduler cfq registeredTI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr) sbulla: unknown partition tableInstalling knfsd (copyright (C) 1996 okir@monad.swb.de).loop: loaded (max 8 devices)tun: Universal TUN/TAP device driver, 1.6tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>CSLIP: code copyright 1989 Regents of the University of Californianetconsole: not configured, abortingPPP generic driver version 2.4.2PPP Deflate Compression module registeredDavinci EMAC MII Bus: probedMAC address is $(ethaddr)TI DaVinci EMAC Linux version updated 4.0davinci-mmc davinci-mmc.0: Supporting 4-bit modedavinci-mmc davinci-mmc.0: Using DMA modeusbcore: registered new driver usbfsusbcore: registered new driver hubmusb_hdrc: version 6.0, cppi-dma, peripheral, debug=0musb_hdrc musb_hdrc: No DMA interrupt linemusb_hdrc: USB Peripheral mode controller at c40fa000 using DMA, IRQ 12Loading iSCSI transport class v1.1-646.<5>iscsi: registered transport (tcp) sbulla: unknown partition tablemkdosfs 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:0ApproDrvExit: 7Error: WaitStreamReady Fail.umount: /mnt/mmc: not mountedkillall: dhcpcd: no process killedrm: cannot remove `/var/run/dhcpcd-eth0.pid': No such file or directorynet_search_gateway:eth0, 1A8C0, 0, 1dns=192.168.1.1net_search_gateway:eth0, 1A8C0, 0, 1net_search_gateway:eth0, 0, FE01A8C0, 3dns=192.168.1.1ERROR: Module g_file_storage does not exist in /proc/modulesg_file_storage gadget: File-backed Storage Gadget, version: 28 November 2005g_file_storage gadget: Number of LUNs=1g_file_storage gadget-lun0: ro=0, file: /dev/sbullasystem_server/525[CPU#0]: BUG in local_bh_enable at kernel/softirq.c:196ApproDrvInit: 2queue id:98307Initializing...ApproDrvInit: 6queue id:98307ApproDrvInit: 8queue id:98307Initializing...ApproDrvInit: 9queue id:98307Initializing...ApproDrvInit: 10queue id:98307Initializing...Initializing......done initializingPlay this stream using the URL: rtsp://192.168.1.168/mpeg4...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8557/h264...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8554/mpeg4...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8556/h264...done initializingPlay this stream using the URL: rtsp://192.168.1.168:8555/mjpegINIT: Entering runlevel: 3ApproDrvInit: 3queue id:98307queue id:0queue 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 80queue id:0UDPString=uuid:Upnp-TVEmulator-1_0-00_0035522396</UDN>
DM36x_IPNC login: