I rebuilt our custom o/s image with the new tiny capsa changes from the fido
branch (42c2ff24ee360444f32ff36faa2dabc3518ccd3f), enabled the ov7692 driver
as a module in the kernel config, and I added the #define CONFIG_OV7692 to
the dtsi. All built just fine. Once booted, when I issue the command
'modprobe omap3-isp" I get a seg fault error:
[ 137.043121] omap3isp 480bc000.omap3_isp: interface 0
[ 137.048645] omap3isp 480bc000.omap3_isp: interface 0
[ 137.053894] Unable to handle kernel NULL pointer dereference at virtual
address 00000000
[ 137.062408] pgd = dd390000
[ 137.065216] [00000000] *pgd=9e035831, *pte=00000000, *ppte=00000000
[ 137.071807] Internal error: Oops: 17 [#1] SMP ARM
[ 137.076721] Modules linked in: omap3_isp(+) videobuf2_dma_contig
videobuf2_memops videobuf2_core ipv6 usb_f_acm u_serial usb_f_ecm g_cdc
u_ether libcomposite snd_soc_omap_twl4030 libertas_sdio snd_soc_omap_mcbsp
snd_soc_omap libertas snd_pcm_dmaengine cfg80211 rfkill snd_soc_twl4030
snd_soc_core snd_compress twl4030_madc industrialio ov7692 mt9v032
v4l2_common videodev media
[ 137.111541] CPU: 0 PID: 1238 Comm: modprobe Not tainted 3.18.21-custom #1
[ 137.118621] task: de372ec0 ti: de4c6000 task.ti: de4c6000
[ 137.124359] PC is at v4l2_async_notifier_register+0x6c/0x14c [videodev]
[ 137.131286] LR is at isp_probe+0x2b8/0xe28 [omap3_isp]
[ 137.136657] pc : [<bf02203c>] lr : [<bf25b8b4>] psr: 80010013
[ 137.136657] sp : de4c7d08 ip : de7a00d8 fp : bf26e0f0
[ 137.148590] r10: dd1521c8 r9 : de1a0000 r8 : de1a0010
[ 137.154052] r7 : fffffdfb r6 : 00000000 r5 : 00000002 r4 : de7a00cc
[ 137.160858] r3 : 00000000 r2 : de7a00d8 r1 : 00000002 r0 : 0000000c
[ 137.167663] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment
user
[ 137.175079] Control: 10c5387d Table: 9d390019 DAC: 00000015
[ 137.181060] Process modprobe (pid: 1238, stack limit = 0xde4c6240)
[ 137.187499] Stack: (0xde4c7d08 to 0xde4c8000)
[ 137.192047] 7d00: de7a0010 00000002 00000000 fffffdfb
de1a0010 bf25b8b4
[ 137.200592] 7d20: c07ebb6c c00832ec c0949c10 60010013 dd248510 c114083c
c07ebb6c c05e6944
[ 137.209106] 7d40: 00000002 00000000 dd374b70 00000000 00000000 dfab226c
00000001 00000001
[ 137.217620] 7d60: 0000000c 00000000 00000000 00000000 de1a23f0 c07ebb6c
dd374b70 c118859c
[ 137.226165] 7d80: de1a0010 bf26c1b4 fffffdfb c08f41a0 0000002d dd1521c8
bf26e0f0 c03c2290
[ 137.234680] 7da0: c03c224c c118859c de1a0010 00000000 bf26c1b4 c03c09ac
00000000 de1a0010
[ 137.243194] 7dc0: bf26c1b4 de1a0044 c09614b0 c08f41a0 dd0793c0 c03c0bbc
00000000 bf26c1b4
[ 137.251708] 7de0: c03c0b28 c03bef44 de044ca8 de194390 bf26c1b4 de20cb40
00000000 c03c01d0
[ 137.260253] 7e00: bf26af10 bf26c1b4 de4c6030 bf26c1b4 de4c6030 bf275000
00000000 c03c1314
[ 137.268768] 7e20: 00000000 c08f41a0 de4c6030 c00089c4 c08f4084 dfe91120
dfaf1000 00000000
[ 137.277313] 7e40: 00000021 c00835c0 c08e96c0 c098a5c0 20010013 00000021
de4c7f58 c00835c0
[ 137.285827] 7e60: 1f191000 a0010013 dfa7b2ec de4c7f58 c08ea4dc dd0793c0
1f191000 a0010013
[ 137.294342] 7e80: dfa7b4dc de4c7f58 c098ddd4 bf26e0fc dd1521c0 00000001
bf26e138 dd1521c8
[ 137.302886] 7ea0: bf26e0f0 c00b8a18 bf26e0fc 00007fff c00b5cb4 00000000
00000000 00000000
[ 137.311401] 7ec0: de4c7f58 de4c6028 c00b5dd0 bf26e0fc 00000000 de4c7f60
0000039d de4c7f8c
[ 137.319915] 7ee0: 00015954 00000000 0b300002 000081a4 00000001 00000000
00000000 00000000
[ 137.328460] 7f00: 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 137.336975] 7f20: 00000000 00000000 00000000 00000000 00000000 00000000
00000006 00020ee4
[ 137.345489] 7f40: 0000017b c000e824 de4c6000 00000000 00000000 c00b9288
e0b3e000 0002092c
[ 137.354034] 7f60: e0b549cc e0b54878 e0b588ec 00014324 00017184 00000000
00000000 00000000
[ 137.362548] 7f80: 00000020 00000021 00000016 0000001a 0000000f 00000000
00000000 0002bfb8
[ 137.371063] 7fa0: 00000000 c000e660 00000000 0002bfb8 00000006 00020ee4
00000000 00040000
[ 137.379608] 7fc0: 00000000 0002bfb8 00000000 0000017b 00000000 0002bfb8
0002bec8 00000000
[ 137.388122] 7fe0: bebc6a00 bebc69f0 00016f84 b6f1c370 60010010 00000006
19500428 0e29d002
[ 137.396759] [<bf02203c>] (v4l2_async_notifier_register [videodev]) from
[<bf25b8b4>] (isp_probe+0x2b8/0xe28 [omap3_isp])
[ 137.408111] [<bf25b8b4>] (isp_probe [omap3_isp]) from [<c03c2290>]
(platform_drv_probe+0x44/0xa4)
[ 137.417388] [<c03c2290>] (platform_drv_probe) from [<c03c09ac>]
(driver_probe_device+0x104/0x23c)
[ 137.426635] [<c03c09ac>] (driver_probe_device) from [<c03c0bbc>]
(__driver_attach+0x94/0x98)
[ 137.435424] [<c03c0bbc>] (__driver_attach) from [<c03bef44>]
(bus_for_each_dev+0x6c/0xa0)
[ 137.443969] [<c03bef44>] (bus_for_each_dev) from [<c03c01d0>]
(bus_add_driver+0x144/0x1f0)
[ 137.452575] [<c03c01d0>] (bus_add_driver) from [<c03c1314>]
(driver_register+0x78/0xf8)
[ 137.460937] [<c03c1314>] (driver_register) from [<c00089c4>]
(do_one_initcall+0x80/0x1c8)
[ 137.469451] [<c00089c4>] (do_one_initcall) from [<c00b8a18>]
(load_module+0x1998/0x20b4)
[ 137.477905] [<c00b8a18>] (load_module) from [<c00b9288>]
(SyS_finit_module+0x68/0x78)
[ 137.486053] [<c00b9288>] (SyS_finit_module) from [<c000e660>]
(ret_fast_syscall+0x0/0x50)
[ 137.494598] Code: e5943004 e7933101 e2811001 e283000c (e5932000)
[ 137.501068] ---[ end trace a964c68298b0122f ]---
Segmentation fault
Any Ideas? lsmod shows this after the modprobe failure:
Module Size Used by
omap3_isp 104031 1
videobuf2_dma_contig 9122 1 omap3_isp
videobuf2_memops 2139 1 videobuf2_dma_contig
videobuf2_core 39571 1 omap3_isp
ipv6 368311 22
usb_f_acm 5421 1
u_serial 10195 1 usb_f_acm
usb_f_ecm 6956 1
g_cdc 2874 0
u_ether 13058 2 g_cdc,usb_f_ecm
libcomposite 44779 3 g_cdc,usb_f_acm,usb_f_ecm
snd_soc_omap_twl4030 6877 0
libertas_sdio 17100 0
snd_soc_omap_mcbsp 18045 2
snd_soc_omap 2783 1 snd_soc_omap_mcbsp
libertas 105968 1 libertas_sdio
snd_pcm_dmaengine 5427 1 snd_soc_omap
cfg80211 412904 1 libertas
rfkill 19588 1 cfg80211
snd_soc_twl4030 39531 1
snd_soc_core 162579 4
snd_soc_omap_twl4030,snd_soc_omap,snd_soc_omap_mcbsp,snd_soc_twl4030
snd_compress 8664 1 snd_soc_core
twl4030_madc 9173 0
industrialio 27164 1 twl4030_madc
ov7692 8673 0
mt9v032 10684 0
v4l2_common 7703 4 omap3_isp,mt9v032,ov7692,videobuf2_core
videodev 145102 5
omap3_isp,mt9v032,v4l2_common,ov7692,videobuf2_core
media 14864 4 omap3_isp,mt9v032,ov7692,videodev
Any help appreciated! Thanks.
--
View this message in context:
http://gumstix.8.x6.nabble.com/tiny-caspa-anyone-got-it-working-on-overo-tp4971371p4971439.htmlSent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users