This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365IPNC-MT9M034 Ip-cam is not working

Hi,

I have DM365IPNC-MT9M034 ip-cam from appro. I have successfully installed the camera with help of starter guide and I am able to see the video by assign both DHCP and static IP. Even today morning it was running perfectly fine. But today afternoon there was no video. I power cycle the camera and observed that no IP assigned to camera and no application was running. I have seen two print on serial console,

TimeOut occure in boot_proc.
Program exit.

And since then camera is not working.

Any idea on above problem ?? I am attaching the Log file for reference.

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.11.21 18:00:14 =~=~=~=~=~=~=~=~=~=~=~=
DM36x initialization passed!
TI UBL Base Version: 1.50
Boot Loader BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000008.
Boot Mode Task Completed

IPNC UBL Version: 1.1.0
Platform: DM365

Jumping to entry point at 0x81080000

U-Boot 1.3.4 (Jun 23 2011 - 02:22:27) DM365-IPNC-1.0.1

I2C:   ready
DRAM:  128 MB
NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
128 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock :- 297MHz
DDR Clock :- 270MHz
Ethernet PHY: GENERIC @ 0x01
Hit any key to stop autoboot:  4  3  2  1  0 

NAND read: device 0 offset 0x700000, size 0xe00000
 14680064 bytes read: OK

Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
   Image Name:   Linux-2.6.18_pro500-davinci_IPNC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1819180 Bytes =  1.7 MB
   Load Address: 80008000
   Entry Point:  80008000
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.18_pro500-davinci_IPNC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1819180 Bytes =  1.7 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Linux version 2.6.18_pro500-davinci_IPNC_DM368_2.6.0 (root@localhost.localdomain) (gcc ���� 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771 2007-03-10)) #1 PREEMPT Tue May 31 18:38:16 CST 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM365 IPNC
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000, commonrate: 135000000, vpssrate: 270000000
PLL0: vencrate_sd: 27000000, ddrrate: 270000000 mmcsdrate: 49090909
PLL1: armrate: 297000000, voicerate: 118800000, vencrate_hd: 74250000
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists.  Total pages: 12288
Kernel command line: mem=48M console=ttyS1,115200n8 root=/dev/mtdblock3 rootfstype=cramfs ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off eth=00:0C:0C:02:3A:61
PID hash table entries: 256 (order: 8, 1024 bytes)
Clock event device timer0_0 configured with caps set: 07
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 48MB = 48MB total
Memory: 44672KB available (3121K code, 647K data, 180K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
DaVinci: 104 gpio irqs
MUX: initialized GPIO20
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 May 31 2011 18:33:49 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=c0570a00,layer->video_dev=c0570b60
Trying to register davinci display video device.
layer=c0570800,layer->video_dev=c0570960
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: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Creating 7 MTD partitions on "nand_davinci.0":
0x00000000-0x00300000 : "bootloader"
0x00300000-0x00500000 : "params"
0x00500000-0x00700000 : "kernel"
0x00700000-0x02700000 : "filesystem"
0x02700000-0x02900000 : "data1"
0x02900000-0x02d00000 : "Calibration"
0x02d00000-0x08000000 : "data2"
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 0xc3866000 (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 00:30:40 (946686640)
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.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 180K

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 May 31 2011 18:42:00 
I2C: Module install successful, device major num = 252 
DMA: Module install successful, device major num = 251 
DRV: Module install successful
DRV: Module built on May 31 2011 18:42:03 
DRV: EDMACC.QUEPRI  = 00002777
DRV: SYSTEM.MSTPRI0 = 00440022
DRV: SYSTEM.MSTPRI1 = 00000344
DRV: ISP.BCR        = 00000002
DRV: SYSTEM.MISC = 00000391
CMEMK module: built on Jun 13 2011 at 11:08:16
  Reference Linux version 2.6.18
  File /home/user/workdir/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc4000000 of size 0x5000000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
cmemk initialized
EDMAK module: built on Jun 13 2011 at 11:08:19
  Reference Linux version 2.6.18
  File /home/user/workdir/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
IRQK module: built on Jun 13 2011 at 11:08:20
  Reference Linux version 2.6.18
  File /home/user/workdir/dvsdk_2_10_01_18/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
Creat queue id:0
queue id:0
FileMngThread created
Creat queue id:32769
queue id:32769
AlramThread created
Share memory init success
IPNC_DM368_2.6.0 (root@localhost.localdomain) (gcc ���� 4.2.0 2 
Creat queue id:65538
queue id:65538
queue id:32769
FileMng: Error Can't create system file
FileMng: Error Initialize fail (FileMgnInit)
Kill queue id:32769
Error CleanupFileEnv is called
FileMsgDrv: Error
Data read error
Starting mounting local filesystems: mount none on /dev/shm type tmpfs (rw,size=5M)
queue id:65538
Creat queue id:98305
queue id:98305
FileMsgDrv: Error
Data read error
Can't get system info!!
FileMsgDrv: Error
Data read error
none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw,sync)
Setting up networking ...rm: unable to remove `/etc/network/run': Read-only file system
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: 00:0C:0C:02:3A:61
 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 00:0C:0C:02:3A:61
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 c38fa000 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 abfc22d7, no volume label.
queue id:0
TimeOut occure in boot_proc.
Program exit.
ApproDrvInit: 3
Creat queue id:131075
queue id:131075

INIT: Entering runlevel: 3



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



(none) login: root


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

login[751]: root login  on `console'


# ps
  PID  Uid     VmSize Stat Command
    1 root        540 S   init [3]   
    2 root            SW  [posix_cpu_timer]
    3 root            SW  [softirq-high/0]
    4 root            SW  [softirq-timer/0]
    5 root            SW  [softirq-net-tx/]
    6 root            SW  [softirq-net-rx/]
    7 root            SW  [softirq-block/0]
    8 root            SW  [softirq-tasklet]
    9 root            SW  [softirq-hrtimer]
   10 root            SW  [softirq-rcu/0]
   11 root            SW< [desched/0]
   12 root            SW< [events/0]
   13 root            SW< [khelper]
   14 root            SW< [kthread]
   25 root            SW< [kblockd/0]
   74 root            SW  [pdflush]
   75 root            SW  [pdflush]
   76 root            SW< [kswapd0]
   77 root            SW< [aio/0]
   78 root            SW< [xfslogd/0]
   79 root            SW< [xfsdatad/0]
  168 root            SW  [mtdblockd]
  192 root            SW< [dm_spi.0]
  277 root        404 S < udevd --daemon 
  521 root            SWN [jffs2_gcd_mtd4]
  617 bin         368 S   /sbin/portmap 
  627 root        636 S   /usr/sbin/inetd 
  694 root            SW< [kmmcd]
  706 root            SW< [khubd]
  737 root        532 S   ./boa -c /etc 
  740 root        500 S   avahi-autoipd: [eth0] probing 169.254.3.248          
  741 root        308 S   avahi-autoipd: [eth0] callout dispatcher             
  744 root       1176 S   avahi-daemon: running [none.local]                   
  747 root        512 S   /usr/sbin/avahi-dnsconfd -D 
  751 root        852 S   -sh 
  754 root        748 R   ps 
# 
# ifco
# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:0C:0C:02:3A:61  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1630 (1.5 KiB)  TX bytes:1851 (1.8 KiB)
          Interrupt:52 Base address:0x7000 

eth0:avah Link encap:Ethernet  HWaddr 00:0C:0C:02:3A:61  
          inet addr:169.254.3.248  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:52 Base address:0x7000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# 

Regards,

Shabbir Limdiwala