Commit d1221462fece27ad163dcd0c181a456c73fe2011

Authored by Michal Simek
1 parent f0600af212

zynqmp: enable CONFIG_NET_RANDOM_ETHADDR

We have to set a MAC address to use network.
Otherwise, the tftpboot command fails with the following message:

  Gem.e000b000 Waiting for PHY auto negotiation to complete........ done
  *** ERROR: `ethaddr' not set

Since commit 92ac52082140 ("net: Remove all references to
CONFIG_ETHADDR and friends"), we can not use CONFIG_ETHADDR.

The easiest way to set a MAC address is to enable
CONFIG_NET_RANDOM_ETHADDR.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

configs/xilinx_zynqmp_ep_defconfig
... ... @@ -20,5 +20,6 @@
20 20 CONFIG_CMD_PING=y
21 21 CONFIG_CMD_TIME=y
22 22 CONFIG_CMD_TIMER=y
  23 +CONFIG_NET_RANDOM_ETHADDR=y
23 24 # CONFIG_REGEX is not set