AnsweredAssumed Answered

T2080QDS : Network issue

Question asked by Abhijit Thorat on Jul 14, 2020
Latest reply on Jul 29, 2020 by Yiping Wang

Hi,

I am using T2080QDS for development project. I want to transfer data to another machine.

I build deployment images using Yocto and deployed images using tftp server.

In boot mode I am able to ping 8.8.8.8

But in kernel mode no interface is up automatically. Also I checked file /etc/network/interfaces

There is no interface in that file.

What are the steps to make network working? Do I need to configure interface manually?   

Is there any documentation for that? 

I refer document QorIQ SDK 2.0 Documentation but not find anything.

Following are the environment variables. Boot logs are also attached.

 

=> printenv
baudrate=115200
bdev=sda3
bootargs=root=/dev/ram rw console=ttyS0,115200 ramdisk_size=10000000 log_buf_len=128K
bootcmd=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate;bootm e8020000 e9300000 e8800000
bootdelay=10
bootfile=uImage
consoledev=ttyS0
eth10addr=00:04:9F:06:8D:12
eth11addr=00:04:9F:06:8D:13
eth12addr=00:04:9F:06:8D:14
eth13addr=00:04:9F:06:8D:15
eth14addr=00:04:9F:06:8D:16
eth15addr=00:04:9F:06:8D:17
eth1addr=00:04:9F:06:8D:09
eth2addr=00:04:9F:06:8D:0A
eth3addr=00:04:9F:06:8D:0B
eth4addr=00:04:9F:06:8D:0C
eth5addr=00:04:9F:06:8D:0D
eth6addr=00:04:9F:06:8D:0E
eth7addr=00:04:9F:06:8D:0F
eth8addr=00:04:9F:06:8D:10
eth9addr=00:04:9F:06:8D:11
ethact=FM1@DTSEC3
ethaddr=00:04:9F:06:8D:08
ethprime=FM1@DTSEC3
fdtaddr=c00000
fdtfile=t2080qds/t2080qds.dtb
fileaddr=1000000
filesize=4df2e0
fman_ucode=eff00000
hwconfig=fsl_ddr:ctlr_intlv=cacheline,bank_intlv=auto;usb1:dr_mode=host,phy_type=utmi
ipaddr=131.101.198.134
loadaddr=1000000
netdev=eth0
netmask=255.255.255.0
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off console=$consoledev,$baudrate $othbo
otargs;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=t2080qds/ramdisk.uboot
rootpath=/opt/nfsroot
sataboot=setenv bootargs root=/dev/sda1 rootdelay=5 rw console=$consoledev,$baudrate $othbootargs;bootm e8020000 - e8800000
serverip=131.101.198.244
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: 2069/8188 bytes

 

=> mdio list
FSL_MDIO0:
FM_TGEC_MDIO:
T2080QDS_MDIO_RGMII1:
1 - RealTek RTL8211E <--> FM1@DTSEC3
T2080QDS_MDIO_RGMII2:
2 - RealTek RTL8211E <--> FM1@DTSEC4
T2080QDS_MDIO_SLOT1:
T2080QDS_MDIO_SLOT2:
T2080QDS_MDIO_SLOT3:
T2080QDS_MDIO_SLOT4:
T2080QDS_MDIO_SLOT5:
T2080QDS_MDIO_10GC:
=> mdio read FM1@DTSEC3 1
Reading from bus T2080QDS_MDIO_RGMII1
PHY at address 1:
1 - 0x7969
=> mdio read FM1@DTSEC4 1
Reading from bus T2080QDS_MDIO_RGMII2
PHY at address 2:
1 - 0x7949
=> mii info
PHY 0x00: OUI = 0x0732, Model = 0x11, Rev = 0x05, 10baseT, HDX
PHY 0x02: OUI = 0x0732, Model = 0x11, Rev = 0x05, 10baseT, HDX
=> ping 8.8.8.8
Using FM1@DTSEC3 device
host 8.8.8.8 is alive

Attachments

Outcomes