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: 
Visitor yitach
Visitor
335 Views
Registered: ‎07-17-2018

PHY TI DP83867CR on custom board petalinux 2018.2 / 2018.3. Ping work but no telent,ssh and ftp

Jump to solution

hi all,

I am working on my custom board FPGA ZU7CG. I have compiled petalinux with "template" on machine name via petalinux config.

I see ping between my board and host but the all other not work:

The PYH init OK and shows:

libphy: MACB_mii_bus: probed
[ 1.805204] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 29 (00:0a:35:00:ee:00)
[ 1.805222] TI DP83867 ff0e0000.ethernet-ffffffff:05: attached PHY driver [TI DP83867] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:05, irq=POLL)

1. DHCP not work

2. SSH not work, not progress after lines: debug1: Enabling compatibility mode for protocol 2.0
                                                                   debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8

3. Telnet not work

4. FTP not work

 

It's seems something global in petalinux configuration or vivado ? please advise

 

The PHY configuration is as follwo:

&gem3 {
phy-handle = <&phy0>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gem3_default>;
xlnx,eth-mode = <0x1>;
phy0: phy@5 {
compatible = "ethernet-phy-ieee802.3-c22";
device_type = "ethernet-phy";
reg = <0x5>;
ti,rx-internal-delay = <0x8>;
ti,tx-internal-delay = <0xa>;
ti,fifo-depth = <0x1>;
ti,min-output-impedance;
ti,dp83867-rxctrl-strap-quirk;
status = "okay";
};
};

&pinctrl0 {

pinctrl_gem3_default: gem3-default {
mux {
function = "ethernet3";
groups = "ethernet3_0_grp";
};

conf {
groups = "ethernet3_0_grp";
slew-rate = <1>;
io-standard = <1>;
};

conf-rx {
pins = "MIO70", "MIO71", "MIO72", "MIO73", "MIO74",
"MIO75";
bias-high-impedance;
low-power-disable;
};

conf-tx {
pins = "MIO64", "MIO65", "MIO66", "MIO67", "MIO68",
"MIO69";
bias-disable;
low-power-enable;
};

mux-mdio {
function = "mdio3";
groups = "mdio3_0_grp";
};

conf-mdio {
groups = "mdio3_0_grp";
slew-rate = <1>;
io-standard = <1>;
bias-disable;
};
};

};

0 Kudos
1 Solution

Accepted Solutions
Visitor yitach
Visitor
53 Views
Registered: ‎07-17-2018

Re: PHY TI DP83867CR on custom board petalinux 2018.2 / 2018.3. Ping work but no telent,ssh and ftp

Jump to solution

I found the problem, HW issus with FPGA CLK was 33.Mhz instead of 33.3Mhz

 

View solution in original post

0 Kudos
7 Replies
Xilinx Employee
Xilinx Employee
311 Views
Registered: ‎08-15-2018

Re: PHY TI DP83867CR on custom board petalinux 2018.2 / 2018.3. Ping work but no telent,ssh and ftp

Jump to solution

Hey @yitach,

Would you mind sending me a full bootlog which has the failures present? I'd also like to see how you're trying to attach to the board once it's up (TELNET, SSH, etc).

Finally, could give me the results of running the attached script on the board twice? (Some of the registers are latching, so you need to run twice to clear).

 

Thanks!

-Clayton

0 Kudos
Visitor yitach
Visitor
272 Views
Registered: ‎07-17-2018

Re: PHY TI DP83867CR on custom board petalinux 2018.2 / 2018.3. Ping work but no telent,ssh and ftp

Jump to solution

hi

The fulll boot is attached. You could see that after IP config ping is working to host machine.

Also DHCP is not working see

udhcpc (v1.24.1) started
Sending discover...
Sending discover...
[ 7.888837] macb ff0e0000.ethernet eth0: link up (1000/Full)
[ 7.894457] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending discover...
No lease, forking to background
done.

root@se_gsi_apu_18_wnc:~# ./test.sh

=============================
GEM BASE ADDR: 0xFF0B0000
Network Control: 0x00000000
Network Config: 0x00000000
Network Status: 0x00000000
DMA Config: 0x00000000
PHY Management: 0x00000000
PCS Control: 0x00000000
PCS Status: 0x00000000
=============================
GEM BASE ADDR: 0xFF0C0000
Network Control: 0x00000000
Network Config: 0x00000000
Network Status: 0x00000000
DMA Config: 0x00000000
PHY Management: 0x00000000
PCS Control: 0x00000000
PCS Status: 0x00000000
=============================
GEM BASE ADDR: 0xFF0D0000
Network Control: 0x00000000
Network Config: 0x00000000
Network Status: 0x00000000
DMA Config: 0x00000000
PHY Management: 0x00000000
PCS Control: 0x00000000
PCS Status: 0x00000000
=============================
GEM BASE ADDR: 0xFF0E0000
Network Control: 0x0010001C
Network Config: 0x012EA44A
Network Status: 0x00000006
DMA Config: 0x70180F10
PHY Management: 0x629201E1
PCS Control: 0x00001140
PCS Status: 0x00000109
=============================

 

 

0 Kudos
Visitor yitach
Visitor
267 Views
Registered: ‎07-17-2018

Re: PHY TI DP83867CR on custom board petalinux 2018.2 / 2018.3. Ping work but no telent,ssh and ftp

Jump to solution

for ssh fail, it's stop on follwo:

yitach@yitach-lt:~$ ssh -v root@192.168.33.125
OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.33.125 [192.168.33.125] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/yitach/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yitach/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yitach/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yitach/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yitach/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yitach/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yitach/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yitach/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8

0 Kudos
Visitor yitach
Visitor
202 Views
Registered: ‎07-17-2018

Re: PHY TI DP83867CR on custom board petalinux 2018.2 / 2018.3. Ping work but no telent,ssh and ftp

Jump to solution

The FTP and Telnet is working ok with static IP the follwoing not work:

1. DHCP not work from u-boot and after image is mount, only static IP.

2. SSH not work

3. I compare the ZCU-106 Xilinx board conifuration and my custome board and it's look the same except video config which our custom not need it.

On 106 the config machine name is 'zcu106-reva' and on custom board 'template'

Peheaps someone know why DHCP and SSH not work?

 

0 Kudos
Visitor yitach
Visitor
200 Views
Registered: ‎07-17-2018

Re: PHY TI DP83867CR on custom board petalinux 2018.2 / 2018.3. Ping work but no telent,ssh and ftp

Jump to solution

in addtiion TFTP from u-boot is also work, I be able to load image.ub from uboot via tftpboot.

0 Kudos
Visitor yitach
Visitor
189 Views
Registered: ‎07-17-2018

Re: PHY TI DP83867CR on custom board petalinux 2018.2 / 2018.3. Ping work but no telent,ssh and ftp

Jump to solution

More information:

I use on custom board ZU7CG with only PS memory without PL compare to ZCU-106 that has PS and PL.

The FTP is always success but the telenet is connected to board but when I have try commands such as: "ls" , "df" and so on it's freeze and not continue.

The wireshark shows "TCP previous segment not capture" Telnet data

When I have try "ls" command from folder that does not contain files is ok... that's mean something related to package size or quantity.

0 Kudos
Visitor yitach
Visitor
54 Views
Registered: ‎07-17-2018

Re: PHY TI DP83867CR on custom board petalinux 2018.2 / 2018.3. Ping work but no telent,ssh and ftp

Jump to solution

I found the problem, HW issus with FPGA CLK was 33.Mhz instead of 33.3Mhz

 

View solution in original post

0 Kudos