From: Ezra Buehler <ezra@easyb.ch>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: netdev@vger.kernel.org, Stefan Roese <sr@denx.de>,
linux-arm-kernel@lists.infradead.org, u-boot@lists.denx.de
Subject: Re: Linux mvneta driver unable to read MAC address from HW
Date: Tue, 13 Oct 2020 10:20:26 +0200 [thread overview]
Message-ID: <5B9D8BBF-BED3-4762-96A1-5B14DC75CE20@easyb.ch> (raw)
In-Reply-To: <20201013083554.0ab5c099@windsurf.home>
Hi Thomas,
On 13 Oct 2020, at 08:35, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:
> I suspect you have the mvneta driver as a module ? If this is the case,
> then indeed, the MAC address is lost because Linux turns of all unused
> clocks at the end of the boot. When the driver is built-in, there is a
> driver adding a reference to the clock before all unused clocks are
> disabled. When the driver is compiled as a module, this does not
> happen. So indeed, the correct solution here is to have U-Boot pass the
> MAC address in the Device Tree.
Yes, you are right, the driver is compiled as module. This explains
everything, thank you very much for the clarification.
Have a nice day!
Cheers,
Ezra.
prev parent reply other threads:[~2020-10-13 8:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-10 16:41 Linux mvneta driver unable to read MAC address from HW Ezra Buehler
2020-10-13 6:35 ` Thomas Petazzoni
2020-10-13 8:20 ` Ezra Buehler [this message]
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=5B9D8BBF-BED3-4762-96A1-5B14DC75CE20@easyb.ch \
--to=ezra@easyb.ch \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=netdev@vger.kernel.org \
--cc=sr@denx.de \
--cc=thomas.petazzoni@bootlin.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;
as well as URLs for NNTP newsgroup(s).