./mx8_v4l2_cap_drm.out source code?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

./mx8_v4l2_cap_drm.out source code?

1,141 Views
marcus-castlepeakinc
Contributor III

I've got a 8MPLUSPD4-PEVK.  I tried to run

root@imx8mpevk:/unit_tests/V4L2# ./mx8_v4l2_cap_drm.out -cam 7 -fmt NV12 -of
(init_video_channel:513): init channel[0] save_file_name=0.NV12
(init_video_channel:517): init channel[0] v4l2_dev_name=/dev/video0 w/h=(1280,800)
(init_video_channel:513): init channel[1] save_file_name=1.NV12
(init_video_channel:517): init channel[1] v4l2_dev_name=/dev/video1 w/h=(1280,800)
(init_video_channel:513): init channel[2] save_file_name=2.NV12
(init_video_channel:517): init channel[2] v4l2_dev_name=/dev/video2 w/h=(1280,800)
(open_save_file:594): open 0.NV12 success
(open_save_file:594): open 1.NV12 success
(open_save_file:594): open 2.NV12 success
(main:1835): =*= success =*=

And got 3 zero length files.

Does anyone have any idea? 

Oh, and does anyone know where the source is to mx8_v4l2_cap_drm?

0 Kudos
6 Replies

1,135 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos

1,132 Views
marcus-castlepeakinc
Contributor III

Thanks.  On my imx8PLUSLPD4 with yocto 5.10.72, in /unit_tests/V4L2, the README, "Case 2", the DTB file:  fsl-imx8qxp-mek-mipi-ov5640.dtb, does the imx8 plus support that?  It's not listed in the release notes.

0 Kudos

1,124 Views
marcus-castlepeakinc
Contributor III

so will these tests work on the i.mx8 plus?

0 Kudos

1,112 Views
marcus-castlepeakinc
Contributor III

Is there a specific reason?  Is it the board?

0 Kudos

1,105 Views
marcus-castlepeakinc
Contributor III

Would you please tell me what specifically about the i.MX8Plus is not compatible with mx8_v4l2_cap_drm.out?

0 Kudos

1,095 Views
igorpadykov
NXP Employee
NXP Employee

sorry, you are right. Supported devices are provided in main()

int main(int argc, const char *argv[])
{
struct media_dev media;
char *soc_list[] = { "i.MX8QM", "i.MX8QXP", "i.MX8MN", "i.MX8MP", "i.MX8ULP" };

 

 

0 Kudos