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/apalis_t30_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/apalis_t30_defconfig')
-rw-r--r-- | configs/apalis_t30_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/apalis_t30_defconfig b/configs/apalis_t30_defconfig index 0a27509a97e..03a1f2c2390 100644 --- a/configs/apalis_t30_defconfig +++ b/configs/apalis_t30_defconfig @@ -45,6 +45,7 @@ CONFIG_OF_LIVE=y CONFIG_ENV_OVERWRITE=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_MMC_ENV_PART=1 +CONFIG_NET_RANDOM_ETHADDR=y CONFIG_IP_DEFRAG=y CONFIG_TFTP_BLOCKSIZE=16352 CONFIG_TFTP_TSIZE=y |