cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
amsanchez
Contributor
Contributor
3,102 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
amsanchez
Contributor
Contributor
3,045 Views
Registered: ‎03-03-2017

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
gudishak
Moderator
Moderator
3,060 Views
Registered: ‎06-27-2017

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.
amsanchez
Contributor
Contributor
3,046 Views
Registered: ‎03-03-2017

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