AnsweredAssumed Answered

what' wrong with tftp

Question asked by longqi luo on Mar 13, 2017
Latest reply on Mar 15, 2017 by longqi luo

hello, I am using P1023 and I designed ethernet refered to P1023RDB. now some problem happended on tftp function as below, you can see  MIB Registers: Transmit and Receive Counters , could someone tell me what/s wrong with my board?

 

 

U-Boot 2011.12 (Mar 12 2017 - 11:21:24)

 

CPU0:  P1023E, Version: 1.1, (0x80fe0011)

Core:  E500, Version: 5.1, (0x80212151)

Clock Configuration:

       CPU0:400  MHz, CPU1:400  MHz, 

       CCB:266.667 MHz,

       DDR:400  MHz (800 MT/s data rate) (Asynchronous), LBC:16.667 MHz

       FMAN1: 266.667 MHz

L1:    D-cache 32 kB enabled

       I-cache 32 kB enabled

Board: P1023 RDS

I2C:   ready

SPI:   ready

DRAM:  256 MiB

Now running in RAM - U-Boot at: 0ff30000

Now running in function:board_early_init_r(p1023rds.c)Flash: 64 MiB

L2:    256 KB enabled

cpu_init_r() complete !

NAND:  fsl_elbc_nand: address did not match any chip selects

0 MiB

env_relocate() complete !

cpu_secondary_init_r() complete !

EEPROM: Read failed.

eth_getenv_enetaddr() complete !

getenv_IPaddr() complete !

PCIe1: Root Complex of Slot 1, no link, regs @ 0xff60a000

PCIe1: Bus 00 - 00

PCIe2: Root Complex of Slot 2, no link, regs @ 0xff609000

PCIe2: Bus 01 - 01

PCIe3: Root Complex of Slot 3, no link, regs @ 0xff60b000

PCIe3: Bus 02 - 02

pci_init() complete !

stdio_init() complete !

In:    serial

Out:   serial

Err:   serial

cosole_init_r() complete !

U-Boot relocated to 0ff30000

Net:   Fman1: Uploading microcode version 160.0.18

PHY reset timed out

FM1@DTSEC1, FM1@DTSEC2

Warning: failed to set MAC address

 

eth_initialize() complete !

UT_PPC PowerPC bootloader starting ...

### main_loop entered: bootdelay=3

 

Hit any key to stop autoboot:  0 

=> md ff7e0200

ff7e0200: 00000000 00000000 00000000 00000000    ................

ff7e0210: 00000000 00000000 00000000 00000000    ................

ff7e0220: 00000000 00000000 00000000 00000000    ................

ff7e0230: 00000000 00000000 00000000 00000000    ................

ff7e0240: 00000000 00000000 00000000 00000000    ................

ff7e0250: 00000000 00000000 00000000 00000000    ................

ff7e0260: 00000000 00000000 00000000 00000000    ................

ff7e0270: 00000000 00000000 00000000 00000000    ................

ff7e0280: 00000000 00000000 00000000 00000000    ................

ff7e0290: 00000000 00000000 00000000 00000000    ................

ff7e02a0: 00000000 00000000 00000000 00000000    ................

ff7e02b0: 00000000 00000000 fe03ffff 000ffffd    ................

ff7e02c0: 00000000 00000000 00000000 00000000    ................

ff7e02d0: 00000000 00000000 00000000 00000000    ................

ff7e02e0: 00000000 00000000 00000000 00000000    ................

ff7e02f0: 00000000 00000000 00000000 00000000    ................

=> md ff7e0000

ff7e0000: 08240101 002c0000 02000700 00000000    .$...,..........

ff7e0010: 00000000 00000058 00000000 00000008    .......X........

ff7e0020: 00000000 00000000 00000000 00000000    ................

ff7e0030: 00000000 00000000 00000000 00000000    ................

ff7e0040: 00000020 00000000 00000000 00000000    ... ............

ff7e0050: 00000021 00000000 00000000 00000000    ...!............

ff7e0060: 00000000 00000000 00000000 00000000    ................

ff7e0070: 00000000 00000000 00000000 00000000    ................

ff7e0080: 00000000 00000000 00000000 00000000    ................

ff7e0090: 00000000 00000000 00000000 00000000    ................

ff7e00a0: 00000000 00000000 00000000 00000000    ................

ff7e00b0: 00000000 00000000 00000000 00000000    ................

ff7e00c0: 00000000 00000000 00000000 00000000    ................

ff7e00d0: 00000000 00000000 00000000 00000000    ................

ff7e00e0: 00000000 00000000 00000000 00000000    ................

ff7e00f0: 00000000 00000000 00000000 00000000    ................

=> md ff7e0014

ff7e0014: 00000058 00000000 00000008 00000000    ...X............

ff7e0024: 00000000 00000000 00000000 00000000    ................

ff7e0034: 00000000 00000000 00000000 00000020    ............... 

ff7e0044: 00000000 00000000 00000000 00000021    ...............!

ff7e0054: 00000000 00000000 00000000 00000000    ................

ff7e0064: 00000000 00000000 00000000 00000000    ................

ff7e0074: 00000000 00000000 00000000 00000000    ................

ff7e0084: 00000000 00000000 00000000 00000000    ................

ff7e0094: 00000000 00000000 00000000 00000000    ................

ff7e00a4: 00000000 00000000 00000000 00000000    ................

ff7e00b4: 00000000 00000000 00000000 00000000    ................

ff7e00c4: 00000000 00000000 00000000 00000000    ................

ff7e00d4: 00000000 00000000 00000000 00000000    ................

ff7e00e4: 00000000 00000000 00000000 00000000    ................

ff7e00f4: 00000000 00000000 00000000 00000000    ................

ff7e0104: 00007115 40605060 00a1f037 00000800    ..q.@`P`...7....

=> mm ff7e0014

ff7e0014: 00000058 ? 1058

ff7e0018: 00000000 ? q

=> tftp test.txt

Using FM1@DTSEC1 device

TFTP from server 192.168.1.20; our IP address is 192.168.1.4

Filename 'test.txt'.

Load address: 0x1000000

Loading: T T T T T #

done

Bytes transferred = 648 (288 hex)

=> md ff7e0200  

ff7e0200: 00000012 0000000d 00000000 00000000    ................

ff7e0210: 00000003 00000000 00000000 00001482    ................

ff7e0220: 000000bc 00000004 00000004 0000000a    ................

ff7e0230: 00000000 00000000 00000000 00000000    ................

ff7e0240: 00000000 000000a8 00000000 00000000    ................

ff7e0250: 00000000 000000a5 00000000 00000000    ................

ff7e0260: 000002d6 0000000b 00000000 00000004    ................

ff7e0270: 00000000 00000000 00000000 00000000    ................

ff7e0280: 00000000 00000000 00000000 00000000    ................

ff7e0290: 00000000 00000000 00000000 00000000    ................

ff7e02a0: 00000000 00000000 00000000 00000000    ................

ff7e02b0: 00000000 00000000 fe03ffff 000ffffd    ................

ff7e02c0: 00000000 00000000 00000000 00000000    ................

ff7e02d0: 00000000 00000000 00000000 00000000    ................

ff7e02e0: 00000000 00000000 00000000 00000000    ................

ff7e02f0: 00000000 00000000 00000000 00000000    ................

=> tftp test.txt

Using FM1@DTSEC1 device

TFTP from server 192.168.1.20; our IP address is 192.168.1.4

Filename 'test.txt'.

Load address: 0x1000000

Loading: T T #

done

Bytes transferred = 648 (288 hex)

=> md ff7e0200  

ff7e0200: 00000021 0000001b 00000000 00000000    ...!............

ff7e0210: 00000004 00000000 00000000 00001fb8    ................

ff7e0220: 0000010d 00000009 00000007 00000011    ................

ff7e0230: 00000000 00000000 00000000 00000001    ................

ff7e0240: 00000000 000000e9 00000000 00000000    ................

ff7e0250: 00000000 000000e1 00000000 00000000    ................

ff7e0260: 0000052c 00000014 00000000 00000007    ...,............

ff7e0270: 00000000 00000000 00000000 00000000    ................

ff7e0280: 00000000 00000000 00000000 00000000    ................

ff7e0290: 00000000 00000000 00000000 00000000    ................

ff7e02a0: 00000000 00000000 00000000 00000000    ................

ff7e02b0: 00000000 00000000 fe03ffff 000ffffd    ................

ff7e02c0: 00000000 00000000 00000000 00000000    ................

ff7e02d0: 00000000 00000000 00000000 00000000    ................

ff7e02e0: 00000000 00000000 00000000 00000000    ................

ff7e02f0: 00000000 00000000 00000000 00000000    ................

=> tftp 1000000 uImage

Using FM1@DTSEC1 device

TFTP from server 192.168.1.20; our IP address is 192.168.1.4

Filename 'uImage'.

Load address: 0x1000000

Loading: T T T T T T T T T T 

Retry count exceeded; starting again

*** ERROR: `eth1addr' not set

 

Abort

=> md ff7e0200        

ff7e0200: 00000043 0000003d 00000002 00000002    ...C...=........

ff7e0210: 00000006 00000003 00000000 00005d0a    ..............].

ff7e0220: 00000344 0000001e 0000000f 0000002e    ...D............

ff7e0230: 00000000 00000000 00000000 00000006    ................

ff7e0240: 00000000 000002f6 00000000 00000000    ................

ff7e0250: 00000000 000002da 00000000 00000000    ................

ff7e0260: 00000900 00000023 00000000 0000000a    .......#........

ff7e0270: 00000000 00000000 00000000 00000000    ................

ff7e0280: 00000000 00000000 00000000 00000000    ................

ff7e0290: 00000000 00000000 00000000 00000000    ................

ff7e02a0: 00000000 00000000 00000000 00000000    ................

ff7e02b0: 00000000 00000000 fe03ffff 000ffffd    ................

ff7e02c0: 00000000 00000000 00000000 00000000    ................

ff7e02d0: 00000000 00000000 00000000 00000000    ................

ff7e02e0: 00000000 00000000 00000000 00000000    ................

ff7e02f0: 00000000 00000000 00000000 00000000    ................

=> pri

baudrate=9600

bootargs=root=/dev/mtdblock2 rootfstype=jffs2 rw console=ttyS0,9600

bootcmd=bootm 0xefb70000 - 0xeda50000

bootdelay=3

bootfile=uImage

ethact=FM1@DTSEC1

ethaddr=00:04:9f:02:87:0d

fileaddr=1000000

filesize=288

fman_ucode=0xec000000

gatewayip=192.168.1.1

hwconfig=usb1:dr_mode=host,phy_type=ulpi

ipaddr=192.168.1.4

loadaddr=1000000

netmask=255.255.255.0

serverip=192.168.1.20

stderr=serial

stdin=serial

stdout=serial

 

Environment size: 467/8188 bytes

=> 

Outcomes