From: Francesco Dolcini <francesco@dolcini.it>
To: Tom Rini <trini@konsulko.com>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>,
Emanuele Ghidoli <emanuele.ghidoli@toradex.com>,
u-boot@lists.denx.de,
Francesco Dolcini <francesco.dolcini@toradex.com>,
Francesco Dolcini <francesco@dolcini.it>
Subject: Re: [PATCH v1 6/7] toradex: common: Use random mac address if toradex config block is missing
Date: Fri, 23 Feb 2024 09:07:51 +0100 [thread overview]
Message-ID: <20240223080751.GA4408@francesco-nb> (raw)
In-Reply-To: <20240220182926.101161-7-francesco@dolcini.it>
On Tue, Feb 20, 2024 at 07:29:25PM +0100, Francesco Dolcini wrote:
> From: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
>
> 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.
>
> Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
> ---
> board/toradex/common/tdx-common.c | 1 -
> configs/apalis-imx8_defconfig | 1 +
> configs/apalis-tk1_defconfig | 1 +
> configs/apalis_imx6_defconfig | 1 +
> configs/apalis_t30_defconfig | 1 +
> configs/colibri-imx6ull-emmc_defconfig | 1 +
> configs/colibri-imx6ull_defconfig | 1 +
> configs/colibri-imx8x_defconfig | 1 +
> configs/colibri_imx6_defconfig | 1 +
> configs/colibri_imx7_defconfig | 1 +
> configs/colibri_imx7_emmc_defconfig | 1 +
> configs/colibri_t20_defconfig | 1 +
> configs/colibri_t30_defconfig | 1 +
> configs/colibri_vf_defconfig | 1 +
> configs/verdin-am62_a53_defconfig | 1 +
> configs/verdin-am62_r5_defconfig | 1 +
> configs/verdin-imx8mm_defconfig | 1 +
> configs/verdin-imx8mp_defconfig | 1 +
> 18 files changed, 17 insertions(+), 1 deletion(-)
...
> diff --git a/configs/verdin-am62_r5_defconfig b/configs/verdin-am62_r5_defconfig
> index a3febdcb6941..910340ea5a41 100644
> --- a/configs/verdin-am62_r5_defconfig
> +++ b/configs/verdin-am62_r5_defconfig
> @@ -65,6 +65,7 @@ CONFIG_SPL_OF_CONTROL=y
> CONFIG_SPL_MULTI_DTB_FIT=y
> CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
> CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> +CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_SPL_DM=y
> CONFIG_SPL_DM_SEQ_ALIAS=y
> CONFIG_REGMAP=y
This change here is not required, it has no effect since there is no
network available on the verdin am62 r5, however it is just confusing to
have it enabled.
I will send a v2 with this removed.
Francesco
next prev parent reply other threads:[~2024-02-23 8:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-20 18:29 [PATCH v1 0/7] toradex: fix reset and hardware detection regressions Francesco Dolcini
2024-02-20 18:29 ` [PATCH v1 1/7] toradex: Fix recursive call to checkboard Francesco Dolcini
2024-02-20 18:29 ` [PATCH v1 2/7] toradex: Remove not necessary model prints from checkboard() Francesco Dolcini
2024-02-20 18:29 ` [PATCH v1 3/7] toradex: common: Use SETTINGS_R event to read toradex config block Francesco Dolcini
2024-02-20 18:29 ` [PATCH v1 4/7] arm: dts: Refactor device trees using "&{/aliases}" syntax Francesco Dolcini
2024-02-20 18:29 ` [PATCH v1 5/7] toradex: common: Add sysinfo driver Francesco Dolcini
2024-02-20 19:14 ` Svyatoslav Ryhel
2024-02-20 19:51 ` Marcel Ziswiler
2024-02-21 13:10 ` Tom Rini
2024-02-21 14:24 ` Marcel Ziswiler
2024-02-21 15:23 ` Tom Rini
2024-02-21 15:43 ` Igor Opaniuk
2024-02-21 21:16 ` Francesco Dolcini
2024-02-20 18:29 ` [PATCH v1 6/7] toradex: common: Use random mac address if toradex config block is missing Francesco Dolcini
2024-02-23 8:07 ` Francesco Dolcini [this message]
2024-02-20 18:29 ` [PATCH v1 7/7] toradex: imx6*: fix reset using wdt-reboot driver Francesco Dolcini
2024-02-20 19:51 ` [PATCH v1 0/7] toradex: fix reset and hardware detection regressions Marcel Ziswiler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240223080751.GA4408@francesco-nb \
--to=francesco@dolcini.it \
--cc=emanuele.ghidoli@toradex.com \
--cc=francesco.dolcini@toradex.com \
--cc=marcel.ziswiler@toradex.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox