Announcement

Collapse
No announcement yet.

U-boot Fec Address Problem

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • U-boot Fec Address Problem

    Hi.
    I am trying to configure ethernet on u-boot but it gives me an error which showed below. How can I fix this problem? Thanks.
    Error: FEC address not set.

  • #2
    There are some basic env parameters which need to be set to be able to use Ethernet. Go to uBoot and try something like this (you may need to adjust the numbers based on your network settings):
    Code:
    setenv netdev eth0
    setenv ethprime FEC0
    setenv ethact FEC0
    setenv ethaddr 00:01:02:03:04:05
    setenv fec_addr 00:01:02:03:04:05
    setenv ipaddr 192.168.0.150
    setenv serverip 192.168.0.86
    setenv gatewayip 192.168.0.1
    saveenv

    Comment

    Working...
    X