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.

uboot using usb Ethernet always

HI,

I am trying to load firmware through Ethernet . But uboot always using "usb_ethe"r for communication independent of "ethact"  env variable .

resetting ...

U-Boot SPL: 2013.10 (Mar 26 2015 - 11:09:11)


U-Boot 2013.10 (Apr 06 2015 - 13:04:08)

I2C:   ready
DRAM:  1 GiB
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net:   usb_ether
Hit any key to stop autoboot:  0
U-Boot# printenv ethact
ethact=usb_ether
U-Boot#  setenv ethact cpsw
U-Boot# saveenv
Saving Environment to NAND...
Erasing NAND...
Erasing at 0x180000 -- 100% complete.
Writing to NAND... OK
U-Boot# ping 192.168.0.1
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC c4:ed:ba:8b:35:f7
HOST MAC de:ad:be:af:00:00
RNDIS ready
ERROR: The remote end did not respond in time.
at ether.c:2388/usb_eth_init()
ping failed; host 192.168.0.1 is not alive
U-Boot# ping 192.168.0.1
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC c4:ed:ba:8b:35:f7
HOST MAC de:ad:be:af:00:00
RNDIS ready
ERROR: The remote end did not respond in time.
at ether.c:2388/usb_eth_init()
ping failed; host 192.168.0.1 is not alive
U-Boot#

why uboot not using RGMII port for its communication ?

Note : I removed CONFIG_ENV_OVERWRITE macro to prevent overwriting MAC address and removed code for reading MAC address from e-fuse.

Regards

Gokul CG