cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
360 Views
Registered: ‎06-26-2019

DPU Signature found but settings register values are zeros

Jump to solution

Hi,

    I have created a Ultra96 V2 project based on the DPU Integration Tutorial. After booting into linux, I insmod the dpu.ko driver and get an error message 

    "Error of no DPU core found in current configuration of DPU IP!"

After going through the driver code, I realized, the number of cores value is read as 0 from the DPU registers. I did a memory dump to check the registers. The DPU signature is indeed available at the baseaddress (in my case 0x8FF0 0000). But all the consequent values are 0s. Attched is the md command output at the Uboot.

I have tried changing the DPU arch version but the result is the same. I even tried it on DPU 3.0 IP version and it is the same. 

Looked like no one else is running into this issue. I must be missing some steps here.

Any help is greatly apprecitated.

I can provide more information if needed.

Thankyou.

 

Tags (1)
Capture.PNG
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
323 Views
Registered: ‎03-27-2013

Re: DPU Signature found but settings register values are zeros

Jump to solution

Hi @avasudevan ,

 

The data you read back is from u-boot, I think that it is more like a hardware issue here.

The value should be:

ZynqMP> md 0xa0f00000
a0f00000: 0c014450 170a9a8a 00008879 31230842    PD......y...B.#1
a0f00010: 000000ba 00000000 007f0430 00004104    ........0....A..
a0f00020: 00000000 e3000000 00000000 03030000    ................
a0f00030: 00000000 00000000 00000000 00000000    ................
a0f00040: 00000000 00000000 00000000 00000000    ................
a0f00050: 00000000 00000000 00000000 00000000    ................
a0f00060: 00000000 00000000 00000000 00000000    ................
...

Is there any error message when generate the bitstream file?

And I would suggest you to use 2019.1 Vivado/PetaLinux to create the design and use the DPU IP inside the DPU TRD 2019.1: https://www.xilinx.com/member/forms/download/design-license-xef.html?filename=zcu102-dpu-trd-2019-1-190809.zip

If the issue still occur then I would suggest you to double check the DPU connection and configuration on your design: clock, reset and IP configuration comparing with the settings in DPU-TRD reference design.

Best Regards,
Jason
-----------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if the information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
-----------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
Highlighted
Xilinx Employee
Xilinx Employee
324 Views
Registered: ‎03-27-2013

Re: DPU Signature found but settings register values are zeros

Jump to solution

Hi @avasudevan ,

 

The data you read back is from u-boot, I think that it is more like a hardware issue here.

The value should be:

ZynqMP> md 0xa0f00000
a0f00000: 0c014450 170a9a8a 00008879 31230842    PD......y...B.#1
a0f00010: 000000ba 00000000 007f0430 00004104    ........0....A..
a0f00020: 00000000 e3000000 00000000 03030000    ................
a0f00030: 00000000 00000000 00000000 00000000    ................
a0f00040: 00000000 00000000 00000000 00000000    ................
a0f00050: 00000000 00000000 00000000 00000000    ................
a0f00060: 00000000 00000000 00000000 00000000    ................
...

Is there any error message when generate the bitstream file?

And I would suggest you to use 2019.1 Vivado/PetaLinux to create the design and use the DPU IP inside the DPU TRD 2019.1: https://www.xilinx.com/member/forms/download/design-license-xef.html?filename=zcu102-dpu-trd-2019-1-190809.zip

If the issue still occur then I would suggest you to double check the DPU connection and configuration on your design: clock, reset and IP configuration comparing with the settings in DPU-TRD reference design.

Best Regards,
Jason
-----------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if the information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
-----------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Highlighted
Visitor
Visitor
282 Views
Registered: ‎06-26-2019

Re: DPU Signature found but settings register values are zeros

Jump to solution
Thank you for the reply Jason. I will check it again. Just to clarify, my target board is Ultra96 V2.
0 Kudos
Highlighted
Visitor
Visitor
203 Views
Registered: ‎06-26-2019

Re: DPU Signature found but settings register values are zeros

Jump to solution

I created a vivado project based on Ultra 96 V2 BSP and imported the design from ZCU102 TRD 2019.1 and it worked.

Thanks.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
182 Views
Registered: ‎03-27-2013

Re: DPU Signature found but settings register values are zeros

Jump to solution

Good to know that @avasudevan , and thanks for sharing your debug experience.

Best Regards,
Jason
-----------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if the information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
-----------------------------------------------------------------------------------------------
0 Kudos