Hi
I have avc8000nano, Jetson TX2 and L4T 32.2. So, I try to compile driver avc8000nano-118 and next error occured:
WARNING: "videobuf_to_dma" [/home/ubuntu/avc8000nano-118/driver/avc8000.ko] undefined!
WARNING: "videobuf_dma_unmap" [/home/ubuntu/avc8000nano-118/driver/avc8000.ko] undefined!
WARNING: "videobuf_queue_sg_init" [/home/ubuntu/avc8000nano-118/driver/avc8000.ko] undefined!
WARNING: "videobuf_dma_free" [/home/ubuntu/avc8000nano-118/driver/avc8000.ko] undefined!
lspci:
02:00.0 Multimedia controller: Intersil Techwell Device 6869 (rev 01)
I try to compile default tw686x driver, but Jetson hangs after command:
insmod tw686x.ko
dmesg:
[ 47.543693] tw6869: PCI 0000:02:00.0, IRQ 381, MMIO 0x40200000 (memcpy mode)
[ 47.543791] tw686x 0000:02:00.0: enabling device (0000 -> 0002)
[ 48.172078] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x1, cb=21, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 48.185283] mc-err: (255) csr_afir: EMEM address decode error
[ 48.191178] mc-err: status = 0x2032700e; addr = 0x3ffffffc0
[ 48.197036] mc-err: secure: yes, access-type: read
[ 48.202104] mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000200, hubc_int_status=0x00000000
[ 48.212712] mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000200, hubc_int_status=0x00000000
[ 48.223314] mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000200, hubc_int_status=0x00000000
[ 48.233914] mc-err: Too many MC errors; throttling prints
[ 52.858925] CPU4: SError detected, daif=1c0, spsr=0x800000c5, mpidr=80000102, esr=bf40c000
How we can fix it? Thanks.
hello smarttowel0,
I am not sure what’s modification you had done,
instead of inserting the kernel module, could you please download L4T Sources .
please include your changes and compile the kernel image for verification.
thanks
Hi
I have avc8000nano, Jetson TX2 and L4T 32.2. So, I try to compile driver avc8000nano-118 and next error occured:
WARNING: "videobuf_to_dma" [/home/ubuntu/avc8000nano-118/driver/avc8000.ko] undefined!
WARNING: "videobuf_dma_unmap" [/home/ubuntu/avc8000nano-118/driver/avc8000.ko] undefined!
WARNING: "videobuf_queue_sg_init" [/home/ubuntu/avc8000nano-118/driver/avc8000.ko] undefined!
WARNING: "videobuf_dma_free" [/home/ubuntu/avc8000nano-118/driver/avc8000.ko] undefined!
lspci:
02:00.0 Multimedia controller: Intersil Techwell Device 6869 (rev 01)
I try to compile default tw686x driver, but Jetson hangs after command:
insmod tw686x.ko
dmesg:
[ 47.543693] tw6869: PCI 0000:02:00.0, IRQ 381, MMIO 0x40200000 (memcpy mode)
[ 47.543791] tw686x 0000:02:00.0: enabling device (0000 -> 0002)
[ 48.172078] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x1, cb=21, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 48.185283] mc-err: (255) csr_afir: EMEM address decode error
[ 48.191178] mc-err: status = 0x2032700e; addr = 0x3ffffffc0
[ 48.197036] mc-err: secure: yes, access-type: read
[ 48.202104] mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000200, hubc_int_status=0x00000000
[ 48.212712] mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000200, hubc_int_status=0x00000000
[ 48.223314] mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000200, hubc_int_status=0x00000000
[ 48.233914] mc-err: Too many MC errors; throttling prints
[ 52.858925] CPU4: SError detected, daif=1c0, spsr=0x800000c5, mpidr=80000102, esr=bf40c000
How we can fix it? Thanks.
few packages needs to be enabled while building kernel in make menuconfig,
packages like :- V4L2
configs like :- VIDEOBUF2_DMA_SG VIDEOBUF EM2MEM
just search VIDEOBUF in make menuconfig and enable related things
then build kernel