cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
416 Views
Registered: ‎05-29-2019

HDMI_RX_SS sub-cores absolute address calculation

Hi,

We have HDMI_RX_SS core in our system.

The core and driver are working well (we still did not integrated HDCP sub-cores).

The XPAR_V_HDMI_RX_SS_BASEADDR value is derived from Vivado address editor.

And now HDCP_1_4 sub-core has been applied.

I'm working on hdcp1x driver integration.

I'm wondering how to calculate XPAR_V_HDMI_RX_SS_HDCP_1_4_ABSOLUTE_BASEADDR at all.

XPAR_V_HDMI_RX_SS_HDCP_1_4_ABSOLUTE_BASEADDR = XPAR_V_HDMI_RX_SS_BASEADDR + XPAR_V_HDMI_RX_SS_HDCP_1_4_BASEADDR.

Actually HDCP1.4 sub-core is a part of HDMI_RX_SS core and did not expressed in address editor of Vivado at all.

XPAR_V_HDMI_RX_SS_HDCP_1_4_BASEADDR = ??

Boris Barak.

0 Kudos
5 Replies
Highlighted
353 Views
Registered: ‎05-29-2019

Re: HDMI_RX_SS sub-cores absolute address calculation

I could generate xparameters.h after exporting Export hardware from Vivado to Xilinix SDK.

Please confirm that "XPAR_HDMI_RECEIVER_X_V_HDMI_RX_SS_0_HDCP_1_4_BASEADDR" value below shall be add to "XPAR_HDMI_RECEIVER_X_V_HDMI_RX_SS_0_BASEADDR" in order to get a base address for XHdcp1x_WriteReg()/XHdcp1x_ReadReg() functions.

 

#define XPAR_HDMI_RECEIVER_X_V_HDMI_RX_SS_0_BASEADDR 0x80100000

#define XPAR_HDMI_RECEIVER_X_V_HDMI_RX_SS_0_HDCP_1_4_BASEADDR 0x00010000

 

0 Kudos
Highlighted
329 Views
Registered: ‎05-29-2019

Re: HDMI_RX_SS sub-cores absolute address calculation

I've initialized HDCP1x core and after that see the following Info:

It seems stuck here.

Is it makes sense ?


HDCP 1.4 RX Info
Encryption : Disabled.
Type: hdmi-rx
Current State: physical-layer-down
Previous State: disabled
Encrypted?: No
Flags: 0000
Driver Version: 1.00.35
Cipher Version: 1.02.09
Local KSV: 0000000000

Rx Stats
Auth Attempts: 0
Link Failures: 0
Ri Updates: 0

Cipher Stats
Int Count: 0

Port Stats
Int Count: 0

0 Kudos
Highlighted
Moderator
Moderator
290 Views
Registered: ‎10-04-2017

Re: HDMI_RX_SS sub-cores absolute address calculation

Hi boris.barak@vitec.com,

It does not look like HDCP is being enabled and that you are running into issues.

Do you have a development board available? If so, my suggestion is to take one of the examples described in chapter 6 of PG236 and before the "open IP Example Design" step, enable HDCP 1.4/2.0  in the Topolevel menu. This will add HDCP to the example design (and driver) and should help you move forward.

 

**If you don't have a board you can still build the design to see an example of the function calls.

2020-01-09 14_22_43-xcoapps66_6 (xcoapps66_6 (samk)) - VNC Viewer.png2020-01-09 14_22_03-xcoapps66_6 (xcoapps66_6 (samk)) - VNC Viewer.png

 

Don't forget to reply, kudo, and accept as solution.

Xilinx Video Design Hub
0 Kudos
Highlighted
253 Views
Registered: ‎05-29-2019

Re: HDMI_RX_SS sub-cores absolute address calculation

Hi,

Thank you very much for the answer and for your assistance

For the current realease only hdcp1.4 is needed.

Hdcp2.2 will be integrated on the next release.

Meantime I found a problems in my KMB (Key Management Block) control (actually it’s  not under hdcp1x driver scope).

The progress is obvious, authentications with Blu-ray source seems being succeeded (please see info at  the bootom of this post)..

But I couldn’t get video stream from Pioneer Blu-Ray (see attached).

It seems Blue-Ray prevents video stream, but not encrypts it.

[Encryption : Disabled]

Do you think HDMI Source (Blue-Ray) disables an encryption ?

BTW: for this integration test KSV/Keys are used.

Could it probably be seen by Blue-ray as the revoked ones ?

We purchased a key sets, should be delivered soon.

 

As for Xilinix example design:

We used an example design on the early beginning.

KMB was borrowed from the example design.

However we don’t have Xilinix  development board.

As we are far beyond in the integration steps, looking for specific problem solution seems more effective.

 

hdcp-rx(0) - starting computations

hdcp-rx(0) - computations complete

hdcp-rx(0) - authenticated

 

HDCP 1.4 RX Info

Encryption : Disabled.

Type:            hdmi-rx

Current State:   authenticated

Previous State:  computations

Encrypted?:      No

Flags:           0001

Driver Version:  1.00.35

Cipher Version:  1.02.09

Local KSV:       CD1AF21E51

Rx Stats

Auth Attempts:   295

Link Failures:   0

Ri Updates:      0

Cipher Stats

Int Count:       0

Port Stats

Int Count:       295

0 Kudos
Highlighted
213 Views
Registered: ‎05-29-2019

Re: HDMI_RX_SS sub-cores absolute address calculation

Hi,

Hdmi_rx_ss with hdcp1.4 support on Zynq seems working with a valid keys.

We are going to make deeper tests to verify.

 

Boris Barak.