UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Voyager
Voyager
343 Views
Registered: ‎10-31-2016

Petalinux: VCU reset failed

Jump to solution

Hello, 

 

I have desing like 

Capture.PNG

 

but I get like below, may I know the solution for it ?

failed to get reset gpio for vcu.

 Best regards 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
172 Views
Registered: ‎11-09-2015

Re: Petalinux: VCU reset failed

Jump to solution

Hi @msh 

Why are you changing the reset level between EMIO GPIO and AXI GPIO? Can you try the following

&processing_ss_vcu_0 {
reset-gpios = <&To_VCU_axi_gpio_v4lnx_rst_0 3 0 0>;
};


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
10 Replies
Voyager
Voyager
301 Views
Registered: ‎10-31-2016

Re: Petalinux: VCU reset failed

Jump to solution

Hi, 

update from me 

I connected EMIO from PS IP to VCU reset. This is accepted as reset and system loads. Though I cannot see this reset port automatically appearing in device tree. I have to add to user defined device tree.

My question: Is this is only way ? does VCU cannot accept AXI GPIO ?

 

Best regards 

0 Kudos
Moderator
Moderator
265 Views
Registered: ‎11-09-2015

Re: Petalinux: VCU reset failed

Jump to solution

Hi @msh 

Can you share you HDF file? I will try on my side.

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Voyager
Voyager
257 Views
Registered: ‎10-31-2016

Re: Petalinux: VCU reset failed

Jump to solution

hi @florentw 

Strangly GPIO_reset is not appearing in pl.dtsi file after generation. Hence I have to add it via system_user.dtsi file. 

Please see the attachment.

Best regards 

0 Kudos
Moderator
Moderator
250 Views
Registered: ‎11-09-2015

Re: Petalinux: VCU reset failed

Jump to solution

Hi @msh 

Note that not all cases are covered in the Device Tree Generator. I guess the reset of the VCU through AXI GPIO was skipped as for most cases user will use the PS GPIO as the VCU will be used with the ZynqMP processor. However, it should not be too complicated to add to the DTG so I will see what I can do.

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Voyager
Voyager
246 Views
Registered: ‎10-31-2016

Re: Petalinux: VCU reset failed

Jump to solution

I added the GPIO reset in system-user.dtsi for VCU. But still VCU donot accept it and drviers are not loaded. I get message that gpio reset for VCU failed when I start petalinux. 

Where as with EMIO connection thats not the case. It pass. 

So why does VCU accept EMIO reset but not GPIO ? 

0 Kudos
Moderator
Moderator
211 Views
Registered: ‎11-09-2015

Re: Petalinux: VCU reset failed

Jump to solution

HI @msh 

I think it should be fine to use the AXI GPIO but you need to make sure that the device tree is correct.

The easiest way is to use the EMIO as the Device Tree Generator adding the property for you.

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Voyager
Voyager
205 Views
Registered: ‎10-31-2016

Re: Petalinux: VCU reset failed

Jump to solution

Hi @florentw 

Thank you for your reply 

in both case the reset gpio is not added via device tree generator. I have to manually add in system user device tree. 

Where i see that EMIO works and GPIO donot. 

Best regards 

0 Kudos
Moderator
Moderator
198 Views
Registered: ‎11-09-2015

Re: Petalinux: VCU reset failed

Jump to solution

HI @msh 

Can you try to connect the xslice to only the VCU reset? It seems that currently you are connecting the reset to both your custom IP and the vcu

Also looking at your system-user.dtsi, you are never adding the reset-gpio property under the vcu node. This is an issue. This is what it should look like for the EMIO (refer to the VCU TRD 2019.1)

vcu_0: vcu@a0100000 {
			reset-gpios = <&gpio 119 0>;

Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Voyager
Voyager
179 Views
Registered: ‎10-31-2016

Re: Petalinux: VCU reset failed

Jump to solution

hi @florentw 

I am using zynq ultrascale + zcu106

In user define dtsi I have the definition 

1. for EMIO 0 

&processing_ss_vcu_0 {
reset-gpios = <&gpio 78 0>;
};

2. for gpio AXI, 3rd output pin 

&processing_ss_vcu_0 {
reset-gpios = <&To_VCU_axi_gpio_v4lnx_rst_0 3 0 1>;
};

0 Kudos
Moderator
Moderator
173 Views
Registered: ‎11-09-2015

Re: Petalinux: VCU reset failed

Jump to solution

Hi @msh 

Why are you changing the reset level between EMIO GPIO and AXI GPIO? Can you try the following

&processing_ss_vcu_0 {
reset-gpios = <&To_VCU_axi_gpio_v4lnx_rst_0 3 0 0>;
};


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos