]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
zynq: enable CONFIG_NET_RANDOM_ETHADDR
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 Jul 2015 11:26:06 +0000 (20:26 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 19 Aug 2015 09:27:54 +0000 (11:27 +0200)
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: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
configs/zynq_microzed_defconfig
configs/zynq_picozed_defconfig
configs/zynq_zc702_defconfig
configs/zynq_zc706_defconfig
configs/zynq_zc70x_defconfig
configs/zynq_zc770_xm010_defconfig
configs/zynq_zc770_xm011_defconfig
configs/zynq_zc770_xm012_defconfig
configs/zynq_zc770_xm013_defconfig
configs/zynq_zed_defconfig
configs/zynq_zybo_defconfig

index 129faf4f2cd7a250eba3f680a5b8abf4bb664fa7..3e141a8d223f497809a1e498369081fcf0c9ca03 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_FIT_SIGNATURE=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
index 62be59be22c087f1114e41fdb43586e89c367e21..f2b71e9b8258c7bf114079d945df66af39c576fb 100644 (file)
@@ -7,3 +7,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
index 2aba08f5251d22664497fb2f3ffeb50595d29ae9..f94bddef8da4b675e2023f108f7bc0b7fd2ec912 100644 (file)
@@ -10,3 +10,4 @@ CONFIG_FIT_SIGNATURE=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
index db11e6fe5b2050ad7c00ecc0fcaad231fbfc4f92..49efc6b25a959a27631784d93b6fb7695b0399ca 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_FIT_SIGNATURE=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
index abb02b1349f734a54e3413e02b157f6cffeebda6..633c521d78b5eace72be572c2bb2de7248b4a5f3 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_FIT_SIGNATURE=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
index 52511a759aee316082d791ffd379e466b1f30f35..c6080290f5637c26e14fd9e2b636f5c6a12cedb1 100644 (file)
@@ -12,4 +12,5 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM010"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPI_FLASH=y
index cae8fe0504d9863bde492fa4c6c2209f8ecafa2c..123e461fbe1b435b1da1867c2bb307659de959ba 100644 (file)
@@ -12,3 +12,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM011"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
index 4361bf787589d1121311dc64587173149c543884..3da5168d95e615dd6fed3703b7f69ea4228c880e 100644 (file)
@@ -10,3 +10,4 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM012"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
index 8f10d325a50c6070ca4137f8856970bb3ae49bae..015ec7900a7b27cae734805356f036470380dc0c 100644 (file)
@@ -12,3 +12,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM013"
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
index 44885a17fe35de8ef98c791adc923e61ddafc0d1..ce414b75886d70ddd4d77a3c91296deb3dc7df2f 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_FIT_SIGNATURE=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y
index 7779836e541022aca99c1c000b86dfa22af7ba2c..defcac9dda7c1178230007bd3c31c45d0fcbca65 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_FIT_SIGNATURE=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_EMBED=y
+CONFIG_NET_RANDOM_ETHADDR=y