Hi
I am using a TWR-VF65GS10 (VF610) and have built u-boot from these two repositories:
https://github.com/u-boot/u-boot
https://github.com/Freescale/u-boot-fslc.git
I build u-boot using the default configuration for the microcontroller (vf610twr_defconfig).
The building is successful and I can copy the bootloader to a SDCARD and boot the board. I can also load a kernel image and successfully boot up linux.
The problem is that I don't have network access on u-boot. If I try the commands "dhcp" or "tftp" on u-boot, I get:
FEC Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY FEC
I have tried setting up every network related variable (ip, gateway, ethaddr, fec, etc) and save them (setenv). Same result, no network after boot-up.
The only thing that actually gives me network access is to boot up linux followed by :
ifconfig eth0 down
ifconfig eth0 up
After resetting the board, I can have network access on u-boot. However, as soon as I turn the board off and on (removing the power cable), the access is gone.
Anybody have a clue about what could be wrong?
Thanks in advance
Mauricio
PS: I am using a TWR-SER module along with the board.
Well it turns out that it was not a software problem, but a hardware failure. The module board I used (TWR−SER) had a capacitor with a loose leg. Soldering the capacitor's leg properly fixed the issue.
I can confirm that Ethernet is working under u-boot with the sources I provided earlier.
Mauricio
Hi Mauricio,
•After resetting the board, I can have network access on u-boot.
Do you mean hitting reset button on TWR-VF65GS10 card? My TWR-VF65GS10 card isn't booting up with every power on, sometimes I need to push reset button on it, but ethernet with TWRSER2 card and uboot is always fine. I have this old u-boot compiled from sources and installed to NAND on my Vybrid card:
https://linuxlink.timesys.com/git/u-boot.git/tag/?h=2013.07-mvf-ts1.1
I hope that more recent versions from Timesys will work as well.
Edward
Hi Edward
Yes. After resetting the board with the button (or writing the command reboot from Linux).
I built the u-boot (SD card version) you provided. I got the same result. I have another Ethernet module though (TWR-SER). Any other sugestion?
Mauricio Agurto
Hi Mauricio,
I built https://github.com/Freescale/u-boot-fslc.git and it is fine with TWRSER2, every time I boot from SD card tftp is working. I built vf610twr_nand_config. Looks like you have some defect(s) either on your ethernet card or Vybrid card. I would look at reset pin of your ethernet controller, perhaps pull up is too weak or something like that.
Edward