cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
andrea@ross
Adventurer
Adventurer
606 Views
Registered: ‎11-26-2018

petalinux hdmi tx driver error

Hi,

I'm working with petalinux 2019.1 and the HDMI tx subsystem on a custom board, I've some problems during the boot. I get these errors during the boot of petalinux 

xlnx-pl-disp amba_pl@0:drm-pl-disp-drv: failed to request dma channel
[    6.104284] xilinx-vphy a0030000.vid_phy_controller: probed
[    6.110283] VPhy version : 02.02 (0000)
[    6.120653] xilinx-vphy a0030000.vid_phy_controller: probe successful
[    6.240100] xlnx-drm-hdmi a0060000.v_hdmi_tx_ss: probed
[    6.245342] xlnx-drm-hdmi a0060000.v_hdmi_tx_ss: hdmi tx audio disabled in DT
[    6.252505] xvphy_phy_init((____ptrval____)).
[    6.256886] xvphy_phy_init((____ptrval____)).
[    6.261284] xvphy_phy_init((____ptrval____)).
[    6.265688] xlnx-drm-hdmi a0060000.v_hdmi_tx_ss: Did not find a retimer-clk, not driving an external retimer device driver.
[    6.276861] xlnx-drm-hdmi: probe of a0060000.v_hdmi_tx_ss failed with error -2

 In the system-user.dsti I added the nodes and the requested property (maybe I forgot some property?) With these errors I can't find the hdmi device in petalinux /dev/.
This is my system-user file:

/include/ "system-conf.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/media/xilinx-vip.h>

#include "dt-bindings/input/input.h"
#include "dt-bindings/pinctrl/pinctrl-zynqmp.h"
#include "dt-bindings/phy/phy.h"

/ {
	
	leds {
		compatible = "gpio-leds";
		heartbeat_led {
			label = "heartbeat";
			gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
		};
	};

};

&hdmi_v_hdmi_tx_ss_0{
	clock-names = "s_axi_cpu_aclk", "link_clk", "s_axis_audio_aclk", "video_clk", "s_axis_video_aclk", "txref-clk";
	clocks = <&misc_clk_1>, <&misc_clk_2>, <&misc_clk_1>, <&misc_clk_3>, <&misc_clk_1>, <&misc_clk_1>;
	phy-names = "hdmi-phy0", "hdmi-phy1", "hdmi-phy2", "hdmi-phy3";
	phys = <&vphy_lane0 0 1 1 1>, <&vphy_lane1 0 1 1 1>, <&vphy_lane2 0 1 1 1>, <&vphy_lane3 0 1 1 1>;
	compatible = "xlnx,v-hdmi-tx-ss-3.1", "xlnx,v-hdmi-tx-ss-3.1";
	interrupt-names = "irq";
	interrupt-parent = <&gic>;
	interrupts = <0 90 4>;
	reg = <0x0 0xa0060000 0x0 0x20000>;
	xlnx,input-pixels-per-clock = <2>;
	xlnx,max-bits-per-component = <8>;
	encoder_hdmi_port: port@0 {
		reg = <0>;
		hdmi_encoder: endpoint {
			remote-endpoint = <&pl_disp_crtc>;
		};
	};
};

&sfp_10G_xxv_ethernet_0 {
	/*local-mac-address = [00 0a 35 00 22 02];*/
	axistream-connected = <&sfp_10G_axi_dma_0>;
	axistream-control-connected = <&sfp_10G_axi_dma_0>;


	xlnx,include-dre ;
	xlnx,rxmem = <0x40000>;
};

&sfp_10G_axi_dma_0 {
	#dma-cells = <1>;
	clock-names = "s_axi_lite_aclk", "m_axi_sg_aclk", "m_axi_mm2s_aclk", "m_axi_s2mm_aclk";
	clocks = <&misc_clk_1>, <&misc_clk_1>, <&misc_clk_5>, <&misc_clk_5>;
	compatible = "xlnx,eth-dma";
	interrupt-names = "mm2s_introut", "s2mm_introut";
	interrupt-parent = <&gic>;
	interrupts = <0 94 4 0 95 4>;
	reg = <0x0 0xa0041000 0x0 0x1000>;
	xlnx,include-dre ;
};

&sdhci1 {
    broken-mmc-highspeed;
    no-1-8-v;
    disable-wp;
};

inside the hdmi_v_hdmi_tx_ss_0 I've added the phys and phy-names.

0 Kudos
3 Replies
auricm
Explorer
Explorer
464 Views
Registered: ‎06-13-2012

Hi andrea@ross 

Does your custom board schematic follow the Xilinx development board?
Maybe the driver is trying to set the external clock synthesizer and you're using a different device in your board or connected in another way

Regards

0 Kudos
andrea@ross
Adventurer
Adventurer
454 Views
Registered: ‎11-26-2018

Hi @auricm 

I don't think the problem is the custom board, the error seems be related to the design or the device-tree, I checked many times the device-tree, the design and they seem correct to me.

Regards

0 Kudos
andrea@ross
Adventurer
Adventurer
396 Views
Registered: ‎11-26-2018

I changed the device-tree and I added the dp159 (the chip is present on the board) but now I get a new error:

[    6.267227] xlnx-drm-hdmi a0060000.v_hdmi_tx_ss: retimer-clk not ready -EPROBE_DEFER

 

 

0 Kudos