AnsweredAssumed Answered

S32v234 access 4 channel OV10640 problem

Question asked by 鹏 包 on Aug 22, 2018
Latest reply on Aug 22, 2018 by 鹏 包

I refer to the ISP tutorial to modify the ov10635 four-way camera tutorial
Mainly to replace OV10635 with OV10640

OV10635->OV10640

Added in main.cpp

 

After the compilation is finished, move the generated .elf to S32V234 and the result seems to crash. Show OAL initialization error?

root@s32v234sbc:~# ./bp_ov10640.elf
Press Ct 5886.877973] bp_ov10640.elf[1071]: unhandled level 2 translation fault (11) at 0x00000038, esr 0x92000006
[ 5886.887451] pgd = ffffffc078b56000
[ 5886.890810] [00000038] *pgd=00000000f8b54003, *pud=00000000f8b54003, *pmd=0000000000000000
[ 5886.899046]
[ 5886.900525] CPU: 1 PID: 1071 Comm: bp_ov10640.elf Not tainted 4.1.26-rt29-00003-g0df2715d1761 #3
[ 5886.909298] Hardware name: Freescale S32V234 (DT)
[ 5886.913961] task: ffffffc078a712c0 ti: ffffffc078cac000 task.ti: ffffffc078cac000
[ 5886.921442] PC is at 0x40b9c8
[ 5886.924363] LR is at 0x40b9ac
[ 5886.927328] pc : [<000000000040b9c8>] lr : [<000000000040b9ac>] pstate: 60000000
[ 5886.934680] sp : 0000007fefd44ec0
[ 5886.937987] x29: 0000007fefd44ec0 x28: 0000000000000000
[ 5886.943263] x27: 0000000000000000 x26: 0000000000000000
[ 5886.948553] x25: 0000000000000000 x24: 0000000000000000
[ 5886.953841] x23: 0000000000000000 x22: 0000000000000000
[ 5886.959130] x21: 000000000b0e8730 x20: 000000000b0e8620
[ 5886.964418] x19: 000000000b0e8628 x18: 0000000000000000
[ 5886.969707] x17: 0000007fae7ea720 x16: 0000007faeb190d0
[ 5886.974995] x15: 0000000000000195 x14: 0000007faee2bb20
[ 5886.980284] x13: 000000000000004f x12: 0000000000000006
[ 5886.985573] x11: 0000007fae8ba000 x10: 7361656c50202e64
[ 5886.990862] x9 : 0000000000000007 x8 : 0000007fae8bc588
[ 5886.996150] x7 : 0000000000000003 x6 : 525245203a4c414f
[ 5887.001439] x5 : 0000000000000004 x4 : 0000000000000000
[ 5887.006727] x3 : 00000000ffffffff x2 : 0000000000000000
[ 5887.012016] x1 : 000000000b0e8628 x0 : 0000000000000000
[ 5887.017305]
rl+C to terminate the demo.
Framebuffer mapped at 0x7fae3de000.
OAL: ERROR, Initialization failed. Please check the OAL kernel module.

Segmentation fault
root@s32v234sbc:~#
root@s32v234sbc:~#

Even if I commented out OAL_Initialize() in the main.cpp code, I reported the same error.

Have you encountered this kind of problem?

Outcomes