Kevin Hilman wrote:
> m-kariche...@ti.com writes:
> 
>> From: Muralidharan Karicheri <a0868...@gt516km11.gt.design.ti.com>
>>
>> Big Thanks to all reviewers who have contributed to this driver
>> by reviewing and offering valuable comments.
>>
>> VPFE Capture driver for DaVinci Media SOCs :- DM355 and DM6446
>>
>> This is the version v3 of the patch series. This is the reworked
>> version of the driver based on comments received against the last
>> version (v2) of the patch and is expected to be final version
>> candidate for merge to upstream kernel
> 
> FYI...
> 
> I've updated the staging/vpfe branch of davinci git with this series
> and the tvp514x v3 patch.
> 
> Also, I'll be pushing the arch/arm/* patches of this series to DaVinci
> git master and queueing them for upstream merge.
> 

Has anyone using this staging tree? I'm having hard time to making
this work. My problems are:

1) This branch does not built without attached patch.

2) tvp514x throws attached kernel oops. I guess this due missing
   platform data master definition in board support file.

3) Even if I correct these two and compile drivers built-in then I
   see an oops message related to asoc code on boot.

4) If I make these drivers kernel modules, then I can install all of
   them but dm6446_ccdc. Don't know why, just no messages on dmesg.

I tried v1 and v2 of these patches previously, they were have the
same problem of (3) but not the others. I was able to make v1 and v2
working but this one is a dead end due to (4).

Thanks,
Caglar
________________________________________________________________________________

diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c
b/arch/arm/mach-davinci/board-dm644x-evm.c
index 13b73a7..c1b8747 100644
--- a/arch/arm/mach-davinci/board-dm644x-evm.c
+++ b/arch/arm/mach-davinci/board-dm644x-evm.c
@@ -29,6 +29,7 @@
 #include <linux/phy.h>
 #include <linux/clk.h>
 #include <linux/videodev2.h>
+#include <media/v4l2-int-device.h>
 #include <media/tvp514x.h>
 #include <asm/setup.h>
 #include <asm/mach-types.h>
diff --git a/drivers/media/video/davinci/vpfe_capture.c
b/drivers/media/video/davinci/vpfe_capture.c
index 003450b..4ffb164 100644
--- a/drivers/media/video/davinci/vpfe_capture.c
+++ b/drivers/media/video/davinci/vpfe_capture.c
@@ -70,7 +70,7 @@
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
 #include <linux/version.h>
-#include <media/v4l2-common.h>
+#include <media/v4l2-int-device.h>
 #include <linux/io.h>
 #include <media/davinci/vpfe_capture.h>
 #include <media/tvp514x.h>
________________________________________________________________________________

Unable to handle kernel NULL pointer dereference at virtual address
00000000
pgd = c5dd8000
[00000000] *pgd=85dce031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT
Modules linked in: tvp514x(+) videobuf_dma_contig videobuf_core ipv6
CPU: 0    Not tainted  (2.6.30-davinci1 #105)
PC is at strcpy+0x4/0x18
LR is at tvp514x_probe+0xf0/0x18c [tvp514x]
pc : [<c01efd5c>]    lr : [<bf04fce8>]    psr: 40000013
sp : c6309e50  ip : c048579c  fp : 0008b480
r10: 00000000  r9 : c6308000  r8 : c049e6c4
r7 : bf051724  r6 : bf0500e8  r5 : c5c15e00  r4 : c5de1c00
r3 : 0000000c  r2 : c5de1c3c  r1 : 00000000  r0 : c5de1c3c
Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005317f  Table: 85dd8000  DAC: 00000015
Process insmod (pid: 993, stack limit = 0xc6308268)
Stack: (0xc6309e50 to 0xc630a000)
9e40:                                     c5c15e20 00000000 bf04fbf8
c5c15e00
9e60: c5c15e20 c0291fcc c5c15e20 c5c15e54 bf051724 c022e7c0 c5c56b70
c5c15e20
9e80: c5c15e54 bf051724 bf051724 c022e8d8 00000000 c6309ea0 c022e878
c022dca4
9ea0: c5c2efb8 c5c56b70 c5c2ef88 bf0516f8 bf051724 c632f900 bf054000
c022e258
9ec0: bf0507e0 00000001 c6920088 bf0516f8 bf051724 000ac018 bf054000
c04a74cc
9ee0: 00000000 c022ecb4 00000021 bf0516f8 bf051aa8 000ac018 bf054000
c04a74cc
9f00: 00000000 c0292f94 00000000 00004a57 bf051aa8 c00292fc c691ff45
c57e3de0
9f20: c6921558 0000001f 00000021 c69205b0 bf051ab4 c6920588 000000b5
00000000
9f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
9f60: 00004a57 bf051aa8 000ac018 00004a57 bf051aa8 000ac018 00000000
c0029f64
9f80: 000a96ac c0063bc0 c6308000 ffffffff 000ac018 00004a57 000001b0
be9c8ecd
9fa0: 00000080 c0029de0 00004a57 000001b0 000ac018 00004a57 000ac008
000001b0
9fc0: 00004a57 000001b0 be9c8ecd 00000080 00099f58 00000046 000a96ac
0008b480
9fe0: be9c8c40 be9c8c30 00017110 40182ff0 60000010 000ac018 e28dd004
e8bd4030
[<c01efd5c>] (strcpy+0x4/0x18) from [<bf04fce8>]
(tvp514x_probe+0xf0/0x18c [tvp514x])
[<bf04fce8>] (tvp514x_probe+0xf0/0x18c [tvp514x]) from [<c0291fcc>]
(i2c_device_probe+0x68/0x80)
[<c0291fcc>] (i2c_device_probe+0x68/0x80) from [<c022e7c0>]
(driver_probe_device+0xac/0x164)
[<c022e7c0>] (driver_probe_device+0xac/0x164) from [<c022e8d8>]
(__driver_attach+0x60/0x84)
[<c022e8d8>] (__driver_attach+0x60/0x84) from [<c022dca4>]
(bus_for_each_dev+0x4c/0x80)
[<c022dca4>] (bus_for_each_dev+0x4c/0x80) from [<c022e258>]
(bus_add_driver+0x9c/0x220)
[<c022e258>] (bus_add_driver+0x9c/0x220) from [<c022ecb4>]
(driver_register+0xac/0x13c)
[<c022ecb4>] (driver_register+0xac/0x13c) from [<c0292f94>]
(i2c_register_driver+0x88/0xfc)
[<c0292f94>] (i2c_register_driver+0x88/0xfc) from [<c00292fc>]
(do_one_initcall+0x4c/0x17c)
[<c00292fc>] (do_one_initcall+0x4c/0x17c) from [<c0063bc0>]
(sys_init_module+0x90/0x194)
[<c0063bc0>] (sys_init_module+0x90/0x194) from [<c0029de0>]
(ret_fast_syscall+0x0/0x2c)

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to