Nvp6324 driver for imx8qm.

Document created by Bert Xu Employee on Aug 12, 2019
Version 1Show Document
  • View in full screen mode

Platform:

  • imx8qm mek
  • imx-yocto-L4.14.98_2.0.0_ga

 

Building Step:

  1. Apply the nvp6324 patches.
  2.  
    Symbol: IMX8_NVP6324 [=y]
    Type : tristate
    Prompt: IMX8 NVP6324 Driver
    Location:
    -> Device Drivers
    -> Multimedia support (MEDIA_SUPPORT [=y])
    -> V4L platform devices (V4L_PLATFORM_DRIVERS [=y])
    -> MX8 Video For Linux Video Capture (VIDEO_MX8_CAPTURE [=y])
    (1) -> IMX8 Camera ISI/MIPI Features support
    select nvp6324 to y in menuconfig(default is 'y')
  3. make Image -j8; make freescale/fsl-imx8qm-mek-nvp6324.dtb, to build kernel and dts, outputs are at 
    work/imx8qmmek-poky-linux/linux-imx/4.14.98-r0/build/arch/arm64/Image
    work/imx8qmmek-poky-linux/linux-imx/4.14.98-r0/build/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-nvp6324.dtb
    copy them to the sd boot partition.

  4. reboot the board, you can test the first camera with command:
    ./mx8_v4l2_cap_drm.out -cam 1 -ow 1280 -oh 720
    mx8_v4l2_cap_drm.out is at /unit_tests/V4L2/mx8_v4l2_cap_drm.out

  5. The corresponding video device should be default to /dev/video0 ~ /dev/video3.
2 people found this helpful

Attachments

Outcomes