This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TFTP and Ping in u-boot works only via crossover cable (DM6467).

Hi, all!

 

I have an dm6467 EVM board. I have some problem with tftp and ping in u-boot. I cannot get u-boot networking to work succesfully via streight cable. When I connect my board with PC via crossover cable, ping works good:

 

TI UBL Version: 1.30

Booting Catalog Boot Loader

BootMode = NAND

Starting NAND Copy...

Valid MagicNum found.


 ENTRY POINT = 0x81080000

 NUM PAGES = 0x00000113

 BLOCK = 0x00000006

 PAGE = 0x00000001

 LOAD ADDRESS = 0x81080000   DONE

Jumping to entry point at 0x81080000.


 LSP 2.10 BETA RELEASE 

 VERSION: 2.10.008.02 


U-Boot 1.3.4 (Oct 21 2010 - 11:27:24)


I2C:   ready

DRAM:  128 MB

NAND:  NAND device: Manufacturer ID: 0x20, Chip ID: 0x76 (ST Micro NAND 64MiB 3,3V 8-bit)

64 MiB

In:    serial

Out:   serial

Err:   serial

ARM Clock :- 297MHz

DDR Clock :- 297MHz

davinci_eth_phy_detect(), ALIVE = 0x00000001

Ethernet PHY: GENERIC @ 0x00

SY6467 # printenv

bootdelay=4

baudrate=115200

ethaddr=00:50:C2:85:20:29

ipaddr=192.168.3.91

serverip=192.168.3.221

gatewayip=192.168.1.2

netmask=255.255.248.0

bootfile=uImage

stdin=serial

stdout=serial

stderr=serial


Environment size: 198/16380 bytes

 

 

SY6467 # mii write 0x0 0x0 0x3100

SY6467 # mii dump 0x0 0x0

0.     (3100)                 -- PHY control register --

  (8000:0000) 0.15    =     0    reset

  (4000:0000) 0.14    =     0    loopback

  (2040:2000) 0. 6,13 =   b01    speed selection = 100 Mbps

  (1000:1000) 0.12    =     1    A/N enable

  (0800:0000) 0.11    =     0    power-down

  (0400:0000) 0.10    =     0    isolate

  (0200:0000) 0. 9    =     0    restart A/N

  (0100:0100) 0. 8    =     1    duplex = full

  (0080:0000) 0. 7    =     0    collision test enable

  (003f:0000) 0. 5- 0 =     0    (reserved)



SY6467 # ping 192.168.3.221

+ emac_close

+ emac_ch_teardown

- emac_ch_teardown

+ emac_ch_teardown

- emac_ch_teardown

- emac_close

+ emac_open

- emac_open

+ emac_close

+ emac_ch_teardown

- emac_ch_teardown

+ emac_ch_teardown

- emac_ch_teardown

- emac_close

host 192.168.3.221 is alive


I have no trouble with networking from linux. But when I connect my board with SWITCH via straight cable, ping my PC not works.

 

 ENTRY POINT = 0x81080000

 NUM PAGES = 0x00000113

 BLOCK = 0x00000006

 PAGE = 0x00000001

 LOAD ADDRESS = 0x81080000   DONE

Jumping to entry point at 0x81080000.


 LSP 2.10 BETA RELEASE 

 VERSION: 2.10.008.02 


U-Boot 1.3.4 (Oct 21 2010 - 11:27:24)


I2C:   ready

DRAM:  128 MB

NAND:  NAND device: Manufacturer ID: 0x20, Chip ID: 0x76 (ST Micro NAND 64MiB 3,3V 8-bit)

64 MiB

In:    serial

Out:   serial

Err:   serial

ARM Clock :- 297MHz

DDR Clock :- 297MHz

davinci_eth_phy_detect(), ALIVE = 0x00000001

Ethernet PHY: GENERIC @ 0x00

SY6467 # print

bootdelay=4

baudrate=115200

ethaddr=00:50:C2:85:20:29

ipaddr=192.168.3.91

serverip=192.168.3.221

gatewayip=192.168.1.2

netmask=255.255.248.0

bootfile=uImage

stdin=serial

stdout=serial

stderr=serial


Environment size: 198/16380 bytes

SY6467 # ping

SY6467 # mii write 0x0 0x0 3100

SY6467 # mii dump

0.     (3100)                 -- PHY control register --

  (8000:0000) 0.15    =     0    reset

  (4000:0000) 0.14    =     0    loopback

  (2040:2000) 0. 6,13 =   b01    speed selection = 100 Mbps

  (1000:1000) 0.12    =     1    A/N enable

  (0800:0000) 0.11    =     0    power-down

  (0400:0000) 0.10    =     0    isolate

  (0200:0000) 0. 9    =     0    restart A/N

  (0100:0100) 0. 8    =     1    duplex = full

  (0080:0000) 0. 7    =     0    collision test enable

  (003f:0000) 0. 5- 0 =     0    (reserved)



SY6467 # ping 192.168.3.221

+ emac_close

+ emac_ch_teardown

- emac_ch_teardown

+ emac_ch_teardown

- emac_ch_teardown

- emac_close

+ emac_open

- emac_open

+ emac_close

+ emac_ch_teardown

- emac_ch_teardown

+ emac_ch_teardown

- emac_ch_teardown

- emac_close

ping failed; host 192.168.3.221 is not alive

SY6467 #

I try set to reg0x0 0x0-value that in http://e2e.ti.com/support/embedded/f/354/p/66768/242301.aspx. But this is not solve the problem. What is this issue?

Thank you for your attention.