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?
Hi Marcus
sources can be found in
Best regards
igor
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.
so will these tests work on the i.mx8 plus?
Is there a specific reason? Is it the board?
Would you please tell me what specifically about the i.MX8Plus is not compatible with mx8_v4l2_cap_drm.out?
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" };