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: 
Contributor
Contributor
2,513 Views
Registered: ‎03-03-2017

Zynq Ultrascale hangs at "bootconsole [cdns0] disabled" when using AXI GPIO

Jump to solution

As described in the title, I have problems to run Petalinux when using AXI GPIOs in the firmware. If I remove the AXI GPIO modules from the design, I can lunch Petalinux in the ZynqMP without any problem, but when they are added, Petalinux hangs at the line "bootconsole [cdns0] disabled". I presume that there may be some error/s in my device tree, but not sure where (or maybe it's a different problem). In the past, I was able to run the same code in a Zynq without any problem. This is my device tree (system-user.dtsi):

 

/include/ "system-conf.dtsi"
/ {       
};

/* SDIO */
&sdhci1 {
   disable-wp;
   no-1-8-v;
};

/* ETH PHY */
&gem3 {
    xlnx,eth-mode = <0x1>;
    fixed-link {
          speed = <1000>;
          full-duplex;
    };
};


&dwc3_0 {
    status = "okay";
    dr_mode = "host";
    maximum-speed = "high-speed";
    /delete-property/phy-names;
    /delete-property/phys;
    /delete-property/snps,usb3_lpm_capable;
};


/* QSPI PHY */
&qspi {
    #address-cells = <1>;
    #size-cells = <0>;
    status = "okay";
    flash0: flash@0 {
        compatible = "jedec,spi-nor";
        reg = <0x0>;
        #address-cells = <1>;
        #size-cells = <1>;
    };
};

 I enclose the file "pl.dtsi" as well. Maybe someone can provide some insight on this. Thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
Contributor
Contributor
2,456 Views
Registered: ‎03-03-2017

Re: Zynq Ultrascale hangs at "bootconsole [cdns0] disabled" when using AXI GPIO

Jump to solution

Hi @gudishak

thank you very much for your answer. I had already seen this post and the proposed solution didn't work in my case.

I've finally been able to run Petalinux using the solution proposed in the following link:

https://forums.xilinx.com/t5/Embedded-Linux/Make-devices-compatible-with-generic-uio-by-their-type/td-p/869811

That is, adding the following code for each gpio in the device tree:

&axi_gpio_0 {
    compatible = "generic-uio";
};

View solution in original post

0 Kudos
2 Replies
Moderator
Moderator
2,471 Views
Registered: ‎06-27-2017

Re: Zynq Ultrascale hangs at "bootconsole [cdns0] disabled" when using AXI GPIO

Jump to solution

Hi @amsanchez 

Could you please refere below forum post and try work-around?

https://forums.xilinx.com/t5/Embedded-Linux/bootconsole-cdns0-disabled-2018-1-sdcard-booting/td-p/878809

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
Contributor
Contributor
2,457 Views
Registered: ‎03-03-2017

Re: Zynq Ultrascale hangs at "bootconsole [cdns0] disabled" when using AXI GPIO

Jump to solution

Hi @gudishak

thank you very much for your answer. I had already seen this post and the proposed solution didn't work in my case.

I've finally been able to run Petalinux using the solution proposed in the following link:

https://forums.xilinx.com/t5/Embedded-Linux/Make-devices-compatible-with-generic-uio-by-their-type/td-p/869811

That is, adding the following code for each gpio in the device tree:

&axi_gpio_0 {
    compatible = "generic-uio";
};

View solution in original post

0 Kudos