From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MPC5121 (and MPC5200) ethernet initialization delay
Date: Tue, 18 Dec 2007 06:20:44 +0100 [thread overview]
Message-ID: <200712180620.44690.sr@denx.de> (raw)
In-Reply-To: <f3f1b91a0712171737v6638a888lda713e94b0a4f403@mail.gmail.com>
On Tuesday 18 December 2007, Chris Morgan wrote:
> One of the hardware guys speculated about the autonegotation being the
> cause of the delay so I guess it has at least a few votes now. I'm
> hoping for a Freescale person on this list to verify the cause of the
> issue as something we can't just change a few registers and fix.
>
> If Wolfgang is ok with not initializing the hardware before use then
> doesn't that fit with holding off the ethernet initialization until
> there is a function call in the code that requires accessing ethernet?
> We aren't using any boot commands that use networking so while we have
> ethernet enabled in our board configuration for debug and flashing it
> isn't necessary in most boot situations. If initialization on demand
> of the ethernet device was acceptable we could probably have someone
> work on a patch to do so. Just want to get approval that the idea is
> sane and acceptable for inclusion in u-boot, if properly implemented.
Let me check if I understand this correctly. Your U-Boot has a delay of
approx. 2 seconds upon booting (most likely waiting for autonegotiation to
complete), even when you don't use ethernet in U-Boot at all?
This is not what should happen. The targets I know best (PPC4xx) initiate the
autonegotiation only when the ethernet interface is used. Upon TFTP download
or something like this. So there should be no delay at all in U-Boot related
to this ethernet initialization when you don't use ethernet.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2007-12-18 5:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 19:03 [U-Boot-Users] MPC5121 (and MPC5200) ethernet initialization delay Chris Morgan
2007-12-17 23:21 ` gvb.uboot
2007-12-18 1:37 ` Chris Morgan
2007-12-18 3:17 ` gvb.uboot
2007-12-18 5:20 ` Stefan Roese [this message]
2007-12-18 8:16 ` Wolfgang Denk
2007-12-18 9:03 ` Stefan Roese
2007-12-18 17:38 ` Chris Morgan
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=200712180620.44690.sr@denx.de \
--to=sr@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.