1.概述
前面介绍了驱动搭建方法,
这里主要是排查通路的正确性
2. 内核崩溃
直接运行应用程序试试,发现直接内核崩了
debug : ionAlloc [ 35.243468] Unable to handle kernel NULL pointer dereference at virtual address 00000008
<__GetIonMemOpsS:925>: *** get _[ 35.255242] pgd = dfeac000
_GetIonMemOpsS ***
debug : ion[ 35.261030] [00000008] *pgd=60354835Alloc <ion_alloc_open:134>: begi, *pte=00000000n ion_alloc_opendebug : ce, *ppte=00000000darc <VeSetSpeed:1552>: *** set
ve freq to 600 Mhz ***
debug :[ 35.279154] Internal error: Oops - BUG: 17 [#1] PREEMPT SMP ARMionAlloc <ion_alloc_open:175>: [ 35.288507] Modules linked in: sunxi_usbc** phy offset = 0
prepare main sunxi_usb_udc gma301channel time: 1506787227s.934854 industrialio_triggered_buffer sunxi_gpadcms
[ISP]video device name is vi sunxi_aio vin_v4l2n_video2
[ISP]open video device nvp6124b vin_io[2] success!
W0930 16:00:27.935 videobuf2_dma_contig
12