what' wrong with tftp

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

what' wrong with tftp

868 Views
longqiluo
Contributor II

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

=> 

Labels (1)
0 Kudos
Reply
2 Replies

700 Views
Pavel
NXP Employee
NXP Employee

NXP offers SDK 1.9 for the P1023.

This SDK is available on NXP page. Use SDKLINUX for search. Download previous version of NXP SDK.

See the Section 4.4.10.8.1 of the QorIQ-SDK-1.9-IC-RevA.pdf file.

 

Use the following command for uImage loading via TFTP:

=>tftp 1000000 uImage

 

Test your Ethernet connection using "ping 192.168.1.20" command from u-boot.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

700 Views
longqiluo
Contributor II

hello, I use SDK1.9 for booting, however, still the problem, I summarized the

detailed information as much as possible as attachement. please check it and

just tell me what's your viewpoint about my problem.thank you in advance!

a

body {

font-family: Helvetica, Arial, sans-serif;

-webkit-text-size-adjust: 100%;

}

/* Webkit */

h1, h2, h3, h4, h5, h6, p, hr {

-webkit-margin-before: 0;

-webkit-margin-after: 0;

-webkit-margin-start: 0;

-webkit-margin-end: 0;

}

.button td {

background-image: -moz-linear-gradient(top, #75B7E3 0%, #5498D6 50%, #408BD0

51%, #387AC8 100%) !important;

background-image: -webkit-gradient(linear, left top, left bottom, color-stop(

0%,#75B7E3), color-stop(50%,#5498D6), color-stop(51%,#408BD0), color-stop(100%,#

387AC8)) !important;

-webkit-box-shadow: inset 0 1px 0 #74b9de, 0 1px 3px rgba(0,0,0,.3) !

important;

-moz-box-shadow: inset 0 1px 0 #74b9de, 0 1px 3px rgba(0,0,0,.3) !important;

}

Pavel д:

NXP Community

Re: what' wrong with tftp

reply from Pavel Chubakov in QorIQ Processing Platforms - View the full

discussion

NXP offers SDK 1.9 for the P1023. This SDK is available on NXP page. Use

SDKLINUX for search. Download previous version of NXP SDK.See the Section 4.4.

10.8.1 of the QorIQ-SDK-1.9-IC-RevA.pdf file. Use the following command for

uImage loading via TFTP:=>tftp 1000000 uImage Test your Ethernet connection

using "ping 192.168.1.20" command from u-boot.

Have a great day,

Pavel Chubakov

0 Kudos
Reply