ethernet in ls2088ardb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ethernet in ls2088ardb

2,282 Views
latha_g
Contributor II

Hi Team,

We are having an ls2088ardb board .We are using lsdk 18.09 sdk.

Can you tell us the procedure to test ethernet in u-boot.

0 Kudos
Reply
3 Replies

2,101 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello latha G,

First please deploy MC, DPL and DPC image at the following offset addresses on Flash.

DPAA2   MC   0x00A00000
DPAA2  DPL   0x00D00000
DPAA2  DPC  0x00E00000

Then try the following commands to verify the Ethernet port under u-boot.

=> setenv ethact DPMAC1@xgmii
=> setenv ipaddr 100.10.2.159
=> ping 100.10.2.1
Using DPMAC1@xgmii device
host 100.10.2.1 is alive
=>

Thanks,

Yiping

0 Kudos
Reply

2,101 Views
latha_g
Contributor II

Hi yiping,

We followed the above procedure and we are getting no devices avaliable.

 setenv ethact DPMAC1@xgmii
=> setenv ipaddr 100.10.2.159
=> ping 100.10.2.1            
ERROR (DPL is deployed. No device available)
ERROR (DPL is deployed. No device available)
ERROR (DPL is deployed. No device available)
ERROR (DPL is deployed. No device available)
ERROR (DPL is deployed. No device available)
ERROR (DPL is deployed. No device available)
ERROR (DPL is deployed. No device available)
ERROR (DPL is deployed. No device available)
ping failed; host 100.10.2.1 is not alive

0 Kudos
Reply

2,101 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello latha G,

Please use the real IP address in your networking environment.

You could execute the following command and get MC firmware image in build/firmware/qoriq-mc-binary/ls2088a/mc_10.10.0_ls2088a_20180814.itb.

$ flex-builder -c qoriq-mc-binary -m ls2088ardb

You could execute the following command and get DPL and DPC firmware image in build/firmware/mc-utils/config/ls2088a/RDB/dpl-eth.0x2A_0x41.dtb(dpc.0x2A_0x41.dtb).

$ flex-builder -c mc-utils -m ls2088ardb

Please refer to the following u-boot log, please make sure fsl-mc is setup up successfully.

U-Boot 2018.09-09786-g2af4cbde11 (Nov 27 2018 - 19:16:05 +0800)

SoC:  LS2088AE Rev1.1 (0x87090011)
Clock Configuration:
       CPU0(A72):1800 MHz  CPU1(A72):1800 MHz  CPU2(A72):1800 MHz
       CPU3(A72):1800 MHz  CPU4(A72):1800 MHz  CPU5(A72):1800 MHz
       CPU6(A72):1800 MHz  CPU7(A72):1800 MHz
       Bus:      700  MHz  DDR:      1866.667 MT/s     DP-DDR:   1600 MT/s
Reset Configuration Word (RCW):
       00000000: 483038b8 48480048 00000000 00000000
       00000010: 00000000 00000000 00a00000 00000000
       00000020: 01601180 00002581 00000000 00000000
       00000030: 00400c0b 00000000 00000000 00000000
       00000040: 00000000 00000000 00000000 00000000
       00000050: 00000000 00000000 00000000 00000000
       00000060: 00000000 00000000 00027000 00000000
       00000070: 412a0000 00040000
Model: Freescale Layerscape 2080a RDB Board
Board: LS2088AE Rev1.1-RDB, Board Arch: V1, Board version: D, boot from vBank: 0
FPGA: v1.20
SERDES1 Reference : Clock1 = 156.25MHz Clock2 = 156.25MHz
SERDES2 Reference : Clock1 = 100MHz Clock2 = 100MHz
I2C:   ready
DRAM:  15.9 GiB
DDR    15.9 GiB (DDR4, 64-bit, CL=13, ECC on)
       DDR Controller Interleaving Mode: 256B
       DDR Chip-Select Interleaving Mode: CS0+CS1
SEC0: RNG instantiated
SEC0: RNG instantiated
Using SERDES1 Protocol: 42 (0x2a)
Using SERDES2 Protocol: 65 (0x41)
Flash: 128 MiB
NAND:  2048 MiB
MMC:   FSL_SDHC: 0
Loading Environment from Flash... OK
EEPROM: Invalid ID (ff ff ff ff)
In:    serial
Out:   serial
Err:   serial
VID: Core voltage after adjustment is at 1023 mV
Net:   DPMAC5@xgmii: system interface XFI
DPMAC5@xgmii: Aquantia AQR405 Firmware Version 2.3.5
DPMAC6@xgmii: system interface XFI
DPMAC6@xgmii: Aquantia AQR405 Firmware Version 2.3.5
DPMAC7@xgmii: system interface XFI
DPMAC7@xgmii: Aquantia AQR405 Firmware Version 2.3.5
DPMAC8@xgmii: system interface XFI
DPMAC8@xgmii: Aquantia AQR405 Firmware Version 2.3.5
PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 disabled
PCIe2: pcie@3600000 Root Complex: x1 gen1
PCIe3: pcie@3700000 Root Complex: no link
e1000: 68:05:ca:35:fa:48
       DPMAC1@xgmii
Warning: DPMAC1@xgmii (eth0) using random MAC address - aa:fe:69:d6:fa:c1
, DPMAC2@xgmii
Warning: DPMAC2@xgmii (eth1) using random MAC address - a2:f6:40:ac:76:cd
, DPMAC3@xgmii
Warning: DPMAC3@xgmii (eth2) using random MAC address - fa:0b:15:b0:cd:5c
, DPMAC4@xgmii
Warning: DPMAC4@xgmii (eth3) using random MAC address - f2:03:3c:ca:41:50
, DPMAC5@xgmii
Warning: DPMAC5@xgmii (eth4) using random MAC address - ca:58:c1:6a:a8:58
, DPMAC6@xgmii
Warning: DPMAC6@xgmii (eth5) using random MAC address - c2:50:e8:10:24:54
, DPMAC7@xgmii
Warning: DPMAC7@xgmii (eth6) using random MAC address - 5e:e1:e5:c5:79:01
, DPMAC8@xgmii
Warning: DPMAC8@xgmii (eth7) using random MAC address - 56:e9:cc:bf:f5:0d
, e1000#0 [PRIME]
crc32+
fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.12.0, boot status: 0x1)
Hit any key to stop autoboot:  0
=>

0 Kudos
Reply