AnsweredAssumed Answered

T4240 U-boot ping "Tx buffer not ready"

Question asked by Danny Gale on Aug 7, 2014
Latest reply on Aug 24, 2014 by lunminliang

We're trying to bring up the interface to a 100M/1G PHY. The SGMII physical interface is up and toggling, but the software interface is not working properly.

 

Our PHY has 4 ports, each of which is connected by a single SGMII lane at 1.25 Gbps. We are using lanes A-D in configuration 27, so FM2@DTSEC5, FM2@DTSEC6, FM2@DTSEC10 and FM2@DTSEC9 are the MACs in use, respectively for lanes A - D.

 

You can see below what happens when we try to ping. You can also see my environment variables defined below.

 

Looking in the DPAA manual, it's not very clear to me how to debug this issue. What can cause this "Tx buffer not ready" error?

 

Note that the MAC addresses are just filler right now -- they should be unique to our network and are temporary, since the actual MAC addresses haven't officially been assigned yet.

 

Thanks

 

=> ping 192.168.1.53

Using FM2@DTSEC6 device

FM2@DTSEC6: Tx buffer not ready. txbd->status = 0x8800

FM2@DTSEC6: Tx buffer not ready. txbd->status = 0x8800

ping failed; host 192.168.1.53 is not alive

=> pri

baudrate=115200

bdev=sda3

bootcmd=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;setenv ramdiskaddr 0x02000000;setenv fdtaddr 0x00c00000;setenv loadaddr 0x1000000;bootm $loadaddr $ramdiskaddr $fdtaddr

bootdelay=10

bootfile=uImage

consoledev=ttyS0

eth1addr=7E:7E:7E:7E:7E:04

eth2addr=7E:7E:7E:7E:7E:06

eth3addr=7E:7E:7E:7E:7E:08

eth4addr=7E:7E:7E:7E:7E:0a

eth5addr=7E:7E:7E:7E:7E:0c

eth6addr=7E:7E:7E:7E:7E:0e

ethact=FM2@DTSEC6

ethaddr=7E:7E:7E:7E:7E:02

ethprime=FM2@DTSEC6

fdtaddr=c00000

fdtfile=t4240qds/t4240qds.dtb

fman_ucode=7fb55ef8

hwconfig=fsl_ddr:ctlr_intlv=3way_4KB,bank_intlv=auto;usb1:dr_mode=host,phy_type=utmi

ipaddr=192.168.1.230

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=t4240qds/ramdisk.uboot

rootpath=/opt/nfsroot

stderr=serial

stdin=serial

stdout=serial

tftpflash=tftpboot $loadaddr $uboot && ddr_interactive=1 && 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=0x00201000

 

Environment size: 1618/8188 bytes

=>

Outcomes