From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Query: Ethernet switch support
Date: Mon, 29 Jul 2013 22:20:28 +0200 [thread overview]
Message-ID: <20130729202028.21F76380448@gemini.denx.de> (raw)
In-Reply-To: <A1A6EA40F8503D48BB002B42BD65974E0A0C9275@039-SN2MPN1-012.039d.mgd.msft.net>
Dear Bhupesh,
In message <A1A6EA40F8503D48BB002B42BD65974E0A0C9275@039-SN2MPN1-012.039d.mgd.msft.net> you wrote:
>
> I am trying to add support of a Vitesse L2 switch in u-boot (in unmanaged configuration).
> I was analyzing whether advanced features like flow control, link-aggregation etc are
> required to be supported for a L2 switch working in a u-boot bootloader level.
...
> But, I am not sure about the design approaches used to support
> previous switch modules in u-boot.
Things depend _heavily_ on your specific project requiremnts. IF all
you need is a working network port then you can probably do with just
the default initialization, determined by the pin strapping (i. e.
your hardware guys should just to The Right Thing (TM) ).
However, if you run a device in a security sensitive environment, it
may be strictly forbidden to run the switch even for very short
periods in some "open" configuration that would - for example - allow
access from the "outside" to some (normally) protected inner networks.
There is at least one board configuration in mainline which performs
a full switch initialization in a time-optimized manner (by just down-
loading a register dump to the switch); see enbw_cmc_config_switch()
in board/enbw/enbw_cmc/enbw_cmc.c
Normally, you should probably leave the switch just turned off /
disabled and wait until proper application code in Linux can perform
the needed initalizations.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
CAUTION: The Mass of This Product Contains the Energy Equivalent of
85 Million Tons of TNT per Net Ounce of Weight.
prev parent reply other threads:[~2013-07-29 20:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 15:33 [U-Boot] Query: Ethernet switch support Sharma Bhupesh-B45370
2013-07-29 16:56 ` Albert ARIBAUD
2013-07-30 3:45 ` Sharma Bhupesh-B45370
2013-07-29 20:20 ` Wolfgang Denk [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=20130729202028.21F76380448@gemini.denx.de \
--to=wd@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox