AnsweredAssumed Answered

Can i get 6144x3072 data use CSI paraller port?

Question asked by Hanseung Lee on Apr 27, 2016
Latest reply on Apr 28, 2016 by Hanseung Lee


Hi everyone.

I want to get Image data from other chip that size 6144x3072 .

I use csi parallel port(not mipi) and when i tested in the last week, i use ov5640.c(for other chip  probe) ,mxc_v4l2_capture(app).

I adjust vsync and hsync and format etc.. same ov5640 camera. just different point is camera data is continues .. my data is single (one shot).

 

First step : i had to modify ov5640.c file to add size (6144 x 3072) and just run mxc_v4l2_capture.c(app) . result is fail...

 

mxc_v4l2_captur: page allocation failure: order:13, mode:0xd1

[<80048e34>] (unwind_backtrace+0x0/0xf8) from [<800c0a38>] (warn_alloc_failed+0xc8/0x100)

[<800c0a38>] (warn_alloc_failed+0xc8/0x100) from [<800c2f70>] (__alloc_pages_nodemask+0x4c8/0x6cc)

[<800c2f70>] (__alloc_pages_nodemask+0x4c8/0x6cc) from [<8004bda0>] (__dma_alloc+0xa4/0x300)

[<8004bda0>] (__dma_alloc+0xa4/0x300) from [<8004c5d8>] (dma_alloc_coherent+0x54/0x60)

[<8004c5d8>] (dma_alloc_coherent+0x54/0x60) from [<7f0002a8>] (prp_enc_enabling_tasks+0x30/0x7c0 [ipu_prp_enc])

[<7f0002a8>] (prp_enc_enabling_tasks+0x30/0x7c0 [ipu_prp_enc]) from [<7f01623c>] (mxc_streamon+0x78/0x22c [mxc_v4l2_capture])

[<7f01623c>] (mxc_streamon+0x78/0x22c [mxc_v4l2_capture]) from [<7f018028>] (mxc_v4l_do_ioctl+0x420/0x1ed8 [mxc_v4l2_capture])

[<7f018028>] (mxc_v4l_do_ioctl+0x420/0x1ed8 [mxc_v4l2_capture]) from [<8034c278>] (video_usercopy+0x98/0x4d4)

[<8034c278>] (video_usercopy+0x98/0x4d4) from [<8034b814>] (v4l2_ioctl+0x11c/0x138)

[<8034b814>] (v4l2_ioctl+0x11c/0x138) from [<801017c4>] (do_vfs_ioctl+0x80/0x54c)

[<801017c4>] (do_vfs_ioctl+0x80/0x54c) from [<80101cc8>] (sys_ioctl+0x38/0x5c)

[<80101cc8>] (sys_ioctl+0x38/0x5c) from [<80041fc0>] (ret_fast_syscall+0x0/0x30)

Mem-info:

DMA per-cpu:

CPU    0: hi:   90, btch:  15 usd:   0

CPU    1: hi:   90, btch:  15 usd:   0

CPU    2: hi:   90, btch:  15 usd:   0

CPU    3: hi:   90, btch:  15 usd:   0

Normal per-cpu:

CPU    0: hi:  186, btch:  31 usd:  41

CPU    1: hi:  186, btch:  31 usd:  56

CPU    2: hi:  186, btch:  31 usd:   0

CPU    3: hi:  186, btch:  31 usd:   0

active_anon:156 inactive_anon:140 isolated_anon:0

active_file:493 inactive_file:546 isolated_file:0

unevictable:0 dirty:0 writeback:0 unstable:0

free:171078 slab_reclaimable:412 slab_unreclaimable:1205

mapped:319 shmem:144 pagetables:45 bounce:0

DMA free:115156kB min:844kB low:1052kB high:1264kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:186944kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes

lowmem_reserve[]: 0 577 577 577

Normal free:569156kB min:2680kB low:3348kB high:4020kB active_anon:624kB inactive_anon:560kB active_file:1972kB inactive_file:2184kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:591296kB mlocked:0kB dirty:0kB writeback:0kB mapped:1276kB shmem:576kB slab_reclaimable:1648kB slab_unreclaimable:4820kB kernel_stack:528kB pagetables:180kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0 0 0

DMA: 3*4kB 3*8kB 5*16kB 3*32kB 2*64kB 1*128kB 2*256kB 3*512kB 0*1024kB 3*2048kB 4*4096kB 5*8192kB 3*16384kB 0*32768kB = 115156kB

Normal: 369*4kB 299*8kB 163*16kB 81*32kB 55*64kB 45*128kB 32*256kB 26*512kB 29*1024kB 26*2048kB 1*4096kB 2*8192kB 2*16384kB 12*32768kB = 569260kB

1188 total pagecache pages

0 pages in swap cache

Swap cache stats: add 0, delete 0, find 0/0

Free swap  = 0kB

Total swap = 0kB

262144 pages of RAM

171285 free pages

70607 reserved pages

1038 slab pages

1029 pages shared

0 pages swap cached

ERROR: v4l2 capture: Allocate dummy frame failed.

VIDIOC_STREAMON error

start_capturing failed

 

please how to solve this error?

Outcomes