diff options
author | Emanuele Ghidoli | 2024-02-23 10:11:42 +0100 |
---|---|---|
committer | Tom Rini | 2024-03-01 09:10:44 -0500 |
commit | f271276fb0907a0bed99a8121b9e9f1f0eabdca8 (patch) | |
tree | dd493c2f66a06fb276f3139933994e4be1816dfe /configs/colibri_vf_defconfig | |
parent | 2abc3bbe0cefee8f150af851a6625a6cb32dad63 (diff) |
toradex: common: Use random mac address if toradex config block is missing
Set CONFIG_NET_RANDOM_ETHADDR=y, which sets random eth address in
case there is no toradex config block programmed.
In case of missing toradex config block the generated mac address was
always the same, linked to serial number 0.
Use random generated mac address instead.
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> # Verdin iMX8M Plus
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'configs/colibri_vf_defconfig')
-rw-r--r-- | configs/colibri_vf_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig index 3d1319cf812..891637dee74 100644 --- a/configs/colibri_vf_defconfig +++ b/configs/colibri_vf_defconfig @@ -66,6 +66,7 @@ CONFIG_ENV_RANGE=0x80000 CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y CONFIG_VERSION_VARIABLE=y +CONFIG_NET_RANDOM_ETHADDR=y CONFIG_USE_IPADDR=y CONFIG_IPADDR="192.168.10.2" CONFIG_USE_NETMASK=y |