p5020ds and 10g copper ethernet of xaui-riser-b

cancel
Showing results for 
Search instead for 
Did you mean: 

p5020ds and 10g copper ethernet of xaui-riser-b

167 Views
zhongzz
Contributor I

Hello everybody,

 

Does someone of you already manage to get a 10gigabit connection through the ethernet copper interface of XAUI-Riser-B with the p5020ds?

 u-boot error:

Could not get PHY for FM_TGEC_MDIO: addr 0
 Failed to connect

Even with the freescale SDK, I can not establish a connection between my p5020ds board and a dedicated computer with an ethernet card and a linux.

I know my question is very large but I can enter more in the details if someone of you works on this specific subject.

 

I already work on the SERDES errata 8, changing the hwconfig and trying several RCW without success.

I dream of the day during which I will get a ping...

 

Any suggestion on how to process is greatly appreciated!

 

 

u-boot:

 

U-Boot 2016.012.0+ga9b437f (Sep 21 2022 - 01:29:20 -0700)

CPU0: P5020E, Version: 1.0, (0x82280010)
Core: e5500, Version: 1.0, (0x80240010)
Clock Configuration:
CPU0:2000 MHz, CPU1:2000 MHz,
CCB:800 MHz,
DDR:666.667 MHz (1333.333 MT/s data rate) (Asynchronous), LBC:100 MHz
FMAN1: 600 MHz
QMAN: 400 MHz
PME: 400 MHz
L1: D-cache 32 KiB enabled
I-cache 32 KiB enabled
Reset Configuration Word (RCW):
00000000: 0c540000 00000000 1e120000 00000000
00000010: d8984a01 03002000 de800000 41000000
00000020: 00000000 00000000 00000000 10070000
00000030: 00000000 00000000 00000000 00000000
I2C: ready
Board: P5020DS, Sys ID: 0x1c, Sys Ver: 0x12, FPGA Ver: 0x05, vBank: 0
SERDES Reference Clocks: Bank1=100Mhz Bank2=125Mhz Bank3=125Mhz
SPI: ready
DRAM: Initializing....using SPD
Detected UDIMM 99P5471-039.A00LF
Detected UDIMM 99P5471-056.A00LF
14 GiB left unmapped
Testing 0x00000000 - 0x7fffffff
Testing 0x80000000 - 0xffffffff
Testing 0x100000000 - 0x17fffffff
Testing 0x180000000 - 0x1ffffffff
Testing 0x200000000 - 0x27fffffff
Testing 0x280000000 - 0x2ffffffff
Testing 0x300000000 - 0x37fffffff
Testing 0x380000000 - 0x3ffffffff
Remap DDR 14 GiB left unmapped

16 GiB (DDR3, 64-bit, CL=9, ECC off)
DDR Controller Interleaving Mode: cache line
DDR Chip-Select Interleaving Mode: CS0+CS1
POST memory PASSED
Flash: 128 MiB
L2: 512 KiB enabled
Corenet Platform Cache: 2 MiB enabled
SRIO1: disabled
SRIO2: disabled
NAND: 1024 MiB
MMC: FSL_SDHC: 0
EEPROM: CRC mismatch (5b193866 != ffffffff)
PCIe1: Root Complex, no link, regs @ 0xfe200000
PCIe1: Bus 00 - 00
PCIe2: disabled
PCIe3: Root Complex, no link, regs @ 0xfe202000
PCIe3: Bus 01 - 01
PCIe4: disabled
In: serial
Out: serial
Err: serial
Net: Initializing Fman
Fman1: Uploading microcode version 106.1.18
Could not get PHY for HYDRA_SGMII_MDIO: addr 28
Failed to connect
Could not get PHY for HYDRA_SGMII_MDIO: addr 29
Failed to connect
Could not get PHY for HYDRA_SGMII_MDIO: addr 30
Failed to connect
Could not get PHY for FM_TGEC_MDIO: addr 0
Failed to connect
FM1@DTSEC1 [PRIME], FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@TGEC1
Hit any key to stop autoboot: 0
=> Could not get PHY for FM_TGEC_MDIO: addr 0
Unknown command 'Could' - try 'help'
=>

 

u-boot parament:

=> pri
baudrate=115200
bdev=sda3
bootcmd=setenv bootargs root=/dev/$bdev rw console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr
bootdelay=10
bootfile=uImage
consoledev=ttyS0
eth1addr=00:04:9F:02:01:FD
eth2addr=00:04:9F:02:02:FD
eth3addr=00:04:9F:02:03:FD
eth4addr=00:04:9F:02:04:FD
eth5addr=00:04:9F:02:05:FD
ethact=FM1@DTSEC1
ethaddr=00:04:9F:02:00:FD
ethprime=FM1@DTSEC1
fdtaddr=c00000
fdtfile=p4080ds/p4080ds.dtb
fman_ucode=eff00000
hwconfig=fsl_ddr:ctlr_intlv=cacheline,bank_intlv=cs0_cs1;usb1:dr_mode=host,phy_type=utmi;usb2:dr_mode=peripheral,phy_type=utmi
loadaddr=1000000
netdev=eth0
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr
ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
ramdiskaddr=2000000
ramdiskfile=p4080ds/ramdisk.uboot
rootpath=/opt/nfsroot
stderr=serial
stdin=serial
stdout=serial
tftpflash=tftpboot $loadaddr $uboot && protect off $ubootaddr +$filesize && erase $ubootaddr +$filesize && cp.b $loadaddr $ubootaddr $filesize && protect on $ubootaddr +$filesize && cmp.b $loadaddr $ubootaddr $filesize
uboot=u-boot.bin
ubootaddr=0xeff40000

Environment size: 1539/8188 bytes
=>

 

error:

root@p5020ds:~# ifconfig fm1-10g up
root@p5020ds:~# mdio_bus ffe4f1000: Error while reading PHY0 reg at 1.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 1.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 3.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 3.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 4.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 4.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 7.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 7.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 30.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 30.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 31.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 31.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 1.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 1.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 1.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 3.1
mdio_bus ffe4f1000: Error while reading PHY0 reg at 3.1

 

0 Kudos
0 Replies