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.

[AM3517][Craneboard][Camera][Decoder][Driver]

HI everyone:

following is whole produce

1.now i porting android 2.2 Froyo on the Craneboard

2.choice Composite decoder max9526 (NTSC->BT 656)

3.write max9526 decoder driver (/kernel/driver/media/video/max9526.c) reference tvp514x.c (/kernel/driver/media/video/tvp514x.c)

source code is 

3386.max9526.c.rar

 

4.add device node in board-am3517crane.c

source code is

4382.board-am3517crane.c.rar

 

5.Then i built-in the module , when i use open(/dev/video0,O_RDWR) , occur some oops problem , then kernel panic

The Problem message is 

Unable to handle kernel NULL pointer dereference at virtual address 00000068

pgd = c3b18000

[00000068] *pgd=83009031, *pte=00000000, *ppte=00000000

Internal error: Oops: 17 [#1]

last sysfs file: /sys/devices/platform/davinci_emac/net/eth0/ifindex

Modules linked in: omaplfb pvrsrvkm

CPU: 0    Not tainted  (2.6.32 #54)

PC is at vpfe_config_ccdc_image_format+0x18/0xb4

LR is at vpfe_config_ccdc_image_format+0x1c/0xb4

pc : [<c0292540>]    lr : [<c0292544>]    psr: 60000013

sp : c3809e18  ip : cf9bdd30  fp : beee4bf4

r10: c0489990  r9 : 00000001  r8 : cf9bdd1c

r7 : fffffdfd  r6 : cf9bdc10  r5 : cf9bdc00  r4 : c04cc838

r3 : 00000000  r2 : 00000000  r1 : 000a8c00  r0 : 59565955

Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user

Control: 10c5387d  Table: 83b18019  DAC: 00000015

 

SO, can help me solve this ?

Thanks a lot