]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
poplar: use random mac address
authorIgor Opaniuk <igor.opaniuk@foundries.io>
Thu, 9 Nov 2023 22:34:34 +0000 (23:34 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 23:59:58 +0000 (18:59 -0500)
Set CONFIG_NET_RANDOM_ETHADDR=y, which sets random eth address in
case there is no configuration provided neither in CONFIG_ETHADDR
nor in "ethaddr" env variable.

This fixes the problem:
poplar# dhcp
Error: ethernet@9841000 address not set.

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
configs/poplar_defconfig

index f0ab2319a47ab83628d38f98c9dfc1caab641b48..b6e0c3166c1754a78f4b1ef15c9d698e200aee50 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_USB=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x20000000
 CONFIG_FASTBOOT_BUF_SIZE=0x10000000