Friends,
After some good try i can able to register the mt9v113 camera sensor on leopard dm365 but once i tried to run the sample application using the mt9v113(LI-LBCMVGA) the board hangs as below i cant figure it out what the problem was. please suggest any idea for my following 2 errors. 1.While Booting i could register camera board but this messegecomes for some times and board ready ..
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
i2c_davinci i2c_davinci.1: initiating i2c bus recovery
i2c_davinci i2c_davinci.1: controller timed out
2. While running application
/ # ./usr/share/ti/ti-dmai-apps/
video_encode_io1_motion_vector_dm365.x470MV
main:__:startStarting application...
...
colorspace 0 0 2
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
Unable to handle kernel paging request at virtual address 20333155
pgd = c5774000
[20333155] *pgd=00000000
Internal error: Oops: 1 [#1] PREEMPT
last sysfs file: /sys/devices/virtual/irqk/irqk/dev
Modules linked in: irqk edmak dm365mmap cmemk
CPU: 0 Not tainted (2.6.32-17-ridgerun #47)
PC is at mt9v113_write_reg+0x3c/0xbc
LR is at mt9v113_s_std+0x84/0xe0
pc : [<c024b7e8>] lr : [<c024b8ec>] psr: 20000013
sp : c519bce0 ip : c519bd20 fp : c519bd1c
r10: c509eef0 r9 : c57055e0 r8 : c519be70
r7 : c024b868 r6 : 00000002 r5 : 00000001 r4 : c042edac
r3 : 0000c509 r2 : 20333131 r1 : 00000002 r0 : 7639746d
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005317f Table: 85774000 DAC: 00000015
Process video_encode_io (pid: 1118, stack limit = 0xc519a270)
Stack: (0xc519bce0 to 0xc519c000)
bce0: 00000002 00000001 c024f374 c024f2c8 c519bd14 00000000 c519bd14 00000000
bd00: c042edac 00000000 c024b868 c519be70 c519bd3c c519bd20 c024b8ec c024b7bc
bd20: c042edac c509ec00 c509ec14 c040f910 c519bd64 c519bd40 c0250fc8 c024b878
bd40: 00000000 00000000 c519bdb0 c513b900 c0333100 c55c5200 c519bea4 c519bd68
bd60: c0246cac c0250e74 00000132 00000000 c0191e70 c0191dc4 c519bda4 c5183d68
bd80: c5183d68 00000000 c519bda4 c519bd98 be8f1410 c513b900 00000001 00000000
bda0: 00000000 00000000 00000000 40085618 000000ff 00000000 00006172 00000000
bdc0: 00000000 00000000 00000000 00000000 00000000 00000002 00000000 00000000
bde0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
be00: 00000000 0000000b 00013000 c04b4400 c0244598 c5774000 c5068320 00000000
be20: c5183d68 00013000 c571384c 00000000 c519bea4 c519be40 c0086c74 c0085e78
be40: 0000000b 00000000 00000000 00000000 00000013 c5774000 00000000 c51b7000
be60: 0000004c c0079cb0 c513b900 c5702960 00000000 00000000 00000003 40085618
be80: 40085618 be8f1410 c513b900 be8f1410 c519a000 40025000 c519becc c519bea8
bea0: c0253300 c024523c c513b900 40085618 be8f1410 c513b900 be8f1410 40025000
bec0: c519beec c519bed0 c02443d0 c0253178 c513b900 be8f1410 40085618 c513b900
bee0: c519bf0c c519bef0 c00a92e0 c02443a0 0000000d c513b900 0000000d c513b900
bf00: c519bf7c c519bf10 c00a99d4 c00a92bc c514e0c0 00000003 00000000 c513b900
bf20: c519bf5c 00000000 00000000 c57011f0 00000000 c41bf280 00000020 c57011f0
bf40: 00000000 c41bf280 00000020 c57011f0 c519bf94 0000000d be8f1410 40085618
bf60: c513b900 c002d0e4 c519a000 40025000 c519bfa4 c519bf80 c00a9a70 c00a9450
bf80: c519a000 00000000 000000ff 00000000 0000acac 00000036 00000000 c519bfa8
bfa0: c002cf60 c00a9a40 000000ff 00000000 0000000d 40085618 be8f1410 be8f1410
bfc0: 000000ff 00000000 0000acac 00000036 00000000 00000000 40025000 be8f148c
bfe0: 00000000 be8f1290 00013968 40291aec 60000010 0000000d 80535031 80535431
Backtrace:
[<c024b7ac>] (mt9v113_write_reg+0x0/0xbc) from [<c024b8ec>] (mt9v113_s_std+0x84/0xe0)
r8:c519be70 r7:c024b868 r6:00000000 r5:c042edac r4:00000000
[<c024b868>] (mt9v113_s_std+0x0/0xe0) from [<c0250fc8>] (vpfe_s_std+0x164/0x1e8)
r7:c040f910 r6:c509ec14 r5:c509ec00 r4:c042edac
[<c0250e64>] (vpfe_s_std+0x0/0x1e8) from [<c0246cac>] (video_ioctl2+0x1a80/0x379c)
[<c024522c>] (video_ioctl2+0x0/0x379c) from [<c0253300>] (vpfe_ioctl+0x198/0x1d0)
[<c0253168>] (vpfe_ioctl+0x0/0x1d0) from [<c02443d0>] (v4l2_unlocked_ioctl+0x40/0x44)
[<c0244390>] (v4l2_unlocked_ioctl+0x0/0x44) from [<c00a92e0>] (vfs_ioctl+0x34/0x94)
r7:c513b900 r6:40085618 r5:be8f1410 r4:c513b900
[<c00a92ac>] (vfs_ioctl+0x0/0x94) from [<c00a99d4>] (do_vfs_ioctl+0x594/0x5f0)
r7:c513b900 r6:0000000d r5:c513b900 r4:0000000d
[<c00a9440>] (do_vfs_ioctl+0x0/0x5f0) from [<c00a9a70>] (sys_ioctl+0x40/0x64)
[<c00a9a30>] (sys_ioctl+0x0/0x64) from [<c002cf60>] (ret_fast_syscall+0x0/0x28)
r7:00000036 r6:0000acac r5:00000000 r4:000000ff
Code: e590201c e5900018 e1d430b2 e88d0022 (e5921024)
---[ end trace 12da978617a4036d ]---
main:__:startStarting application...
...
colorspace 0 0 2
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
Unable to handle kernel paging request at virtual address 20333155
pgd = c5774000
[20333155] *pgd=00000000
Internal error: Oops: 1 [#1] PREEMPT
last sysfs file: /sys/devices/virtual/irqk/irqk/dev
Modules linked in: irqk edmak dm365mmap cmemk
CPU: 0 Not tainted (2.6.32-17-ridgerun #47)
PC is at mt9v113_write_reg+0x3c/0xbc
LR is at mt9v113_s_std+0x84/0xe0
pc : [<c024b7e8>] lr : [<c024b8ec>] psr: 20000013
sp : c519bce0 ip : c519bd20 fp : c519bd1c
r10: c509eef0 r9 : c57055e0 r8 : c519be70
r7 : c024b868 r6 : 00000002 r5 : 00000001 r4 : c042edac
r3 : 0000c509 r2 : 20333131 r1 : 00000002 r0 : 7639746d
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005317f Table: 85774000 DAC: 00000015
Process video_encode_io (pid: 1118, stack limit = 0xc519a270)
Stack: (0xc519bce0 to 0xc519c000)
bce0: 00000002 00000001 c024f374 c024f2c8 c519bd14 00000000 c519bd14 00000000
bd00: c042edac 00000000 c024b868 c519be70 c519bd3c c519bd20 c024b8ec c024b7bc
bd20: c042edac c509ec00 c509ec14 c040f910 c519bd64 c519bd40 c0250fc8 c024b878
bd40: 00000000 00000000 c519bdb0 c513b900 c0333100 c55c5200 c519bea4 c519bd68
bd60: c0246cac c0250e74 00000132 00000000 c0191e70 c0191dc4 c519bda4 c5183d68
bd80: c5183d68 00000000 c519bda4 c519bd98 be8f1410 c513b900 00000001 00000000
bda0: 00000000 00000000 00000000 40085618 000000ff 00000000 00006172 00000000
bdc0: 00000000 00000000 00000000 00000000 00000000 00000002 00000000 00000000
bde0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
be00: 00000000 0000000b 00013000 c04b4400 c0244598 c5774000 c5068320 00000000
be20: c5183d68 00013000 c571384c 00000000 c519bea4 c519be40 c0086c74 c0085e78
be40: 0000000b 00000000 00000000 00000000 00000013 c5774000 00000000 c51b7000
be60: 0000004c c0079cb0 c513b900 c5702960 00000000 00000000 00000003 40085618
be80: 40085618 be8f1410 c513b900 be8f1410 c519a000 40025000 c519becc c519bea8
bea0: c0253300 c024523c c513b900 40085618 be8f1410 c513b900 be8f1410 40025000
bec0: c519beec c519bed0 c02443d0 c0253178 c513b900 be8f1410 40085618 c513b900
bee0: c519bf0c c519bef0 c00a92e0 c02443a0 0000000d c513b900 0000000d c513b900
bf00: c519bf7c c519bf10 c00a99d4 c00a92bc c514e0c0 00000003 00000000 c513b900
bf20: c519bf5c 00000000 00000000 c57011f0 00000000 c41bf280 00000020 c57011f0
bf40: 00000000 c41bf280 00000020 c57011f0 c519bf94 0000000d be8f1410 40085618
bf60: c513b900 c002d0e4 c519a000 40025000 c519bfa4 c519bf80 c00a9a70 c00a9450
bf80: c519a000 00000000 000000ff 00000000 0000acac 00000036 00000000 c519bfa8
bfa0: c002cf60 c00a9a40 000000ff 00000000 0000000d 40085618 be8f1410 be8f1410
bfc0: 000000ff 00000000 0000acac 00000036 00000000 00000000 40025000 be8f148c
bfe0: 00000000 be8f1290 00013968 40291aec 60000010 0000000d 80535031 80535431
Backtrace:
[<c024b7ac>] (mt9v113_write_reg+0x0/0xbc) from [<c024b8ec>] (mt9v113_s_std+0x84/0xe0)
r8:c519be70 r7:c024b868 r6:00000000 r5:c042edac r4:00000000
[<c024b868>] (mt9v113_s_std+0x0/0xe0) from [<c0250fc8>] (vpfe_s_std+0x164/0x1e8)
r7:c040f910 r6:c509ec14 r5:c509ec00 r4:c042edac
[<c0250e64>] (vpfe_s_std+0x0/0x1e8) from [<c0246cac>] (video_ioctl2+0x1a80/0x379c)
[<c024522c>] (video_ioctl2+0x0/0x379c) from [<c0253300>] (vpfe_ioctl+0x198/0x1d0)
[<c0253168>] (vpfe_ioctl+0x0/0x1d0) from [<c02443d0>] (v4l2_unlocked_ioctl+0x40/0x44)
[<c0244390>] (v4l2_unlocked_ioctl+0x0/0x44) from [<c00a92e0>] (vfs_ioctl+0x34/0x94)
r7:c513b900 r6:40085618 r5:be8f1410 r4:c513b900
[<c00a92ac>] (vfs_ioctl+0x0/0x94) from [<c00a99d4>] (do_vfs_ioctl+0x594/0x5f0)
r7:c513b900 r6:0000000d r5:c513b900 r4:0000000d
[<c00a9440>] (do_vfs_ioctl+0x0/0x5f0) from [<c00a9a70>] (sys_ioctl+0x40/0x64)
[<c00a9a30>] (sys_ioctl+0x0/0x64) from [<c002cf60>] (ret_fast_syscall+0x0/0x28)
r7:00000036 r6:0000acac r5:00000000 r4:000000ff
Code: e590201c e5900018 e1d430b2 e88d0022 (e5921024)
---[ end trace 12da978617a4036d ]---