AR# 75674

|

2019.1-2020.1 Zynq UltraScale+ MPSoC: MIPI CSI Rx Linux driver fails to probe when VCX is disabled in a Vivado design

Description

In the 2019.1-2020.1 release version of Linux, The MIPI CSI Rx Linux driver fails to probe when VCX is disabled in a Vivado design.

Solution

This is a known issue in the 2019.1-2020.1 release of DTG for Zynq UltraScale+ MPSoC devices.

To fix this issue, you will need to apply the attached patch.

Root Cause:

In a MIPI design where CONFIGS.C_EN_CSI_V2_0 is true, CONFIG.C_EN_VCX is false and CONFIG.CMN_VC is "All", the xlnx,vc node property is not generated which causes the MIPI driver probe to fail.

PetaLinux:

The patch should be applied to <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/device-tree.bbappend recipes

Note: For information on how to apply a patch to recipes in PetaLinux, please refer to (UG1144) or https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842475/PetaLinux+Yocto+Tips

1) Copy the attached patch from the Attachments section to the device-tree directory as shown below.

If these directory and recipes do not exist then manually create <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/files/

$ cp 0001-mipi_csi_rx-Add-xlnx-vc-parameter-when-C_EN_VCX-disa.patch <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/files

2) Modify the device-tree.bbappend file with the below content using a text editor:

$ vim <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/device-tree.bbappend
 
# device-tree.bbappend content 
# Note: system-user.dtsi is autogenerated from petalinux tool.
 
SRC_URI_append = " \
    file://system-user.dtsi \
    file://0001-mipi_csi_rx-Add-xlnx-vc-parameter-when-C_EN_VCX-disa.patch \
"
 
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 
3) Clean the device-tree sstate cache and rebuild the device-tree recipes:

$ petalinux-build -c device-tree -x cleansstate
$ petalinux-build -c device-tree

Yocto:

The patch should be applied to <yocto-proj-root>/sources/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bbappend recipes

1) Copy the attached patch from the Attachments section to the device-tree directory as shown below. 

If these directory and recipes do not exist then manually create <yocto-proj-root>/sources/meta-xilinx-tools/recipes-bsp/device-tree/files/

$ mkdir -p <yocto-proj-root>/sources/meta-xilinx-tools/recipes-bsp/device-tree/files
$ cp 0001-mipi_csi_rx-Add-xlnx-vc-parameter-when-C_EN_VCX-disa.patch <yocto-proj-root>/sources/meta-xilinx-tools/recipes-bsp/device-tree/files

2) Modify the device-tree.bbappend file with the below content using a text editor:

$ vim <yocto-proj-root>/sources/meta-xilinx-tools/recipes-bsp/device-tree/device-tree.bbappend
 
# device-tree.bbappend content
 
SRC_URI_append = " \
    file://0001-mipi_csi_rx-Add-xlnx-vc-parameter-when-C_EN_VCX-disa.patch \
"
 
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 

3) Clean the device-tree sstate cache and rebuild the device-tree recipes:

$ bitbake device-tree -c cleansstate
$ bitbake device-tree

Attachments

Associated Attachments

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
73686 PetaLinux 2020.1 - Product Update Release Notes and Known Issues N/A N/A
AR# 75674
Date 11/06/2020
Status Active
Type Known Issues
Devices
Tools
IP
Boards & Kits
People Also Viewed