All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Query: Ethernet switch support
Date: Mon, 29 Jul 2013 18:56:51 +0200	[thread overview]
Message-ID: <20130729185651.271ebead@lilith> (raw)
In-Reply-To: <A1A6EA40F8503D48BB002B42BD65974E0A0C9275@039-SN2MPN1-012.039d.mgd.msft.net>

Hi Sharma,

On Mon, 29 Jul 2013 15:33:39 +0000, Sharma Bhupesh-B45370
<B45370@freescale.com> wrote:

> Hi List,
> 
> 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.
> 
> My point-of-view is that the L2 switch, should support only bare-minimum
> tftp of images, ping to other ethernet entities, bootp .. 
> type of commands on u-boot and as such the L2 switch u-boot driver 
> doesn't need to address flow-control and other such advanced features (probably
> of interest for a Linux device driver).
> 
> But, I am not sure about the design approaches used to support 
> previous switch modules in u-boot.
> 
> Also I had a query whether there is a common switch framework in-place/under-consideration
> in u-boot, similar to what is already present in OpenWrt code:
> https://dev.openwrt.org/browser/trunk/package/boot/uboot-lantiq/patches/0019-net-switchlib-add-framework-for-ethernet-switch-driv.patch?rev=35292
> 
> Would porting this to u-boot make sense to have a common framework for ethernet switch
> in-place?
> 
> Can you please let me know your views on the same and point me to any 
> reference switch drivers that support these features.

There is some support for switches in U-Boot (e.g. mv88e61xx) but no
framework that I know of; and I suspect what is expected from the
switch in U-Boot is that it does not hamper Ethernet operations,
nothing more. for mv88e61xx, this is done through a fixed configuration.

> Regards,
> Bhupesh

Amicalement,
-- 
Albert.

  reply	other threads:[~2013-07-29 16:56 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 [this message]
2013-07-30  3:45   ` Sharma Bhupesh-B45370
2013-07-29 20:20 ` Wolfgang Denk

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=20130729185651.271ebead@lilith \
    --to=albert.u.boot@aribaud.net \
    --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.