PYNQ: PYTHON PRODUCTIVITY

Facing issue during driver initialisation of HDMI receiver subsystem

When I try to initialise using pynq.lib.video.xilinx_hdmi.HdmiRxSs(), I get below mentioned error messages:-

Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python3.7/site-packages/pynq/overlay.py”, line 861, in getattr
driver = ipdescription’driver’
File “/usr/lib/python3.7/site-packages/pynq/lib/video/xilinx_hdmi.py”, line 265, in init
super().init(description)
File “/usr/lib/python3.7/site-packages/pynq/overlay.py”, line 649, in init
setattr(self, interrupt, Interrupt(details[‘fullpath’]))
File “/usr/lib/python3.7/site-packages/pynq/interrupt.py”, line 98, in init
_InterruptController.get_controller(parentname))
File “/usr/lib/python3.7/site-packages/pynq/interrupt.py”, line 159, in get_controller
ret = _InterruptController(name)
File “/usr/lib/python3.7/site-packages/pynq/interrupt.py”, line 177, in init
self.mmio = MMIO(PL.ip_dict[name][‘phys_addr’], 32)
KeyError: ‘’

Auto generated node in pl.dtsi for reference:-

HDMI_IN_v_hdmi_rx_ss_0: v_hdmi_rx_ss@a0000000 {
clock-names = “s_axi_cpu_aclk”, “link_clk”, “s_axis_audio_aclk”, “video_clk”, “s_axis_video_aclk”;
clocks = <&zynqmp_clk 71>, <&misc_clk_0>, <&zynqmp_clk 71>, <&misc_clk_1>, <&zynqmp_clk 72>;
compatible = “xlnx,v-hdmi-rx-ss-3.1”, “xlnx,v-hdmi-rx-ss-3.1”;
interrupt-names = “irq”;
interrupt-parent = <&gic>;
interrupts = <0 93 4>;
reg = <0x0 0xa0000000 0x0 0x10000>;
};

Can someone please provide solution for this issue ?

In PYNQ prior to 2.6 it was required that all interrupts lines used with PYNQ should go through an AXI interrupt controller and be attached to the first interrupt line. In 2.6 this was extended to allow directly connected interrupts as well. If you’re running an earlier version updating to 2.6 should fix your issue alternatively you can update your design to match the guidelines.

Peter

1 Like