cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
love23by223
Contributor
Contributor
640 Views
Registered: ‎09-08-2017

XCZU3 Gem causes the system to hang

kernel version : 4.9

System hangs while using the network and operating the SD card at the same time

0 Kudos
2 Replies
love23by223
Contributor
Contributor
637 Views
Registered: ‎09-08-2017

devicetree

============================

zynqmp.dtsi 

gem3: ethernet@ff0e0000 {
compatible = "cdns,zynqmp-gem";
status = "disabled";
interrupt-parent = <&gic>;
interrupts = <0 63 4>, <0 63 4>;
reg = <0x0 0xff0e0000 0x1000>;
clock-names = "pclk", "hclk", "tx_clk";
#address-cells = <1>;
#size-cells = <0>;
#stream-id-cells = <1>;
iommus = <&smmu 0x877>;
power-domains = <&pd_eth3>;
};

==============================

zynqmp-zcu102.dts

&gem3 {
status = "okay";
local-mac-address = [00 0a 35 00 02 90];
phy-handle = <&phy5>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gem3_default>;
phy5:phy@0x5{
reg = <0x5>;
ti,rx-internal-delay = <0x8>;
ti,tx-internal-delay = <0xa>;
ti,fifo-depth = <0x1>;
ti,rxctrl-strap-worka;
};
};

0 Kudos
stephenm
Moderator
Moderator
599 Views
Registered: ‎09-12-2007

Are you saying that if you dont enable the gem it works fine? 

Can you verify the SD config in the zynq ps in vivado to make sure this is correct as per your board.

are you using a custom board? Have you tested this in bare metal?

0 Kudos