Re: [U-Boot] [PATCH v2 4/4] net: NC-SI setup and handling

2019-09-08 Thread Samuel Mendoza-Jonas
On Tue, 2019-07-09 at 23:33 +, Joe Hershberger wrote: > On Mon, Jun 17, 2019 at 8:43 PM Samuel Mendoza-Jonas > wrote: > > Add the handling of NC-SI ethernet frames, and add a check at the > > start > > of net_loop() to configure NC-SI before starting other network >

Re: [U-Boot] [PATCH v2 4/4] net: NC-SI setup and handling

2019-06-19 Thread Samuel Mendoza-Jonas
On Wed, 2019-06-19 at 02:35 +, Joel Stanley wrote: > On Tue, 18 Jun 2019 at 01:38, Samuel Mendoza-Jonas > wrote: > > Add the handling of NC-SI ethernet frames, and add a check at the start > > of net_loop() to configure NC-SI before starting other network commands. >

[U-Boot] [PATCH v2 4/4] net: NC-SI setup and handling

2019-06-17 Thread Samuel Mendoza-Jonas
Add the handling of NC-SI ethernet frames, and add a check at the start of net_loop() to configure NC-SI before starting other network commands. This also adds an "ncsi" command to manually start NC-SI configuration. Signed-off-by: Samuel Mendoza-Jonas --- v2: Update ncsi command help

[U-Boot] [PATCH v2 3/4] net/ftgmac100: Add NC-SI mode support

2019-06-17 Thread Samuel Mendoza-Jonas
the NC-SI phy. Signed-off-by: Samuel Mendoza-Jonas --- drivers/net/ftgmac100.c | 39 +-- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c index 92c38a81bd..c0100e91c7 100644 --- a/drivers/net

[U-Boot] [PATCH v2 2/4] phy: Include NC-SI in phy setup

2019-06-17 Thread Samuel Mendoza-Jonas
. Signed-off-by: Samuel Mendoza-Jonas --- drivers/net/phy/phy.c | 7 +++ include/phy.h | 11 +++ include/phy_interface.h | 2 ++ 3 files changed, 20 insertions(+) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index c1c1af9abd..dc68f25ebf 100644 --- a/drivers

[U-Boot] [PATCH v2 1/4] phy: Add support for the NC-SI protocol

2019-06-17 Thread Samuel Mendoza-Jonas
] is copied from the Linux kernel for consistent field definitions. [0]: https://github.com/torvalds/linux/tree/master/net/ncsi [1]: https://github.com/torvalds/linux/blob/master/net/ncsi/ncsi-pkt.h Signed-off-by: Samuel Mendoza-Jonas --- v2: - Fix endianess issue when setting MAC address - Make che

[U-Boot] [PATCH v2 0/4] NC-SI PHY Support

2019-06-17 Thread Samuel Mendoza-Jonas
/ Changes in v2: - Fix endianess issue when setting MAC address - Make checksum offsets easier to read - Instantiate per-phy ncsi_priv structures - Update ncsi command help text - Used update ncsi-pkt.h version to include SPDX header Samuel Mendoza-Jonas (4): phy: Add support for the NC-SI protocol

Re: [U-Boot] [PATCH 4/4] net: NC-SI setup and handling

2019-06-11 Thread Samuel Mendoza-Jonas
On Wed, 2019-06-12 at 02:05 +, Joel Stanley wrote: > On Thu, 6 Jun 2019 at 04:50, Samuel Mendoza-Jonas > wrote: > > Add the handling of NC-SI ethernet frames, and add a check at the start > > of net_loop() to configure NC-SI before starting other network commands. > >

Re: [U-Boot] [PATCH 3/4] net/ftgmac100: Add NC-SI mode support

2019-06-11 Thread Samuel Mendoza-Jonas
On Wed, 2019-06-12 at 03:04 +, Joel Stanley wrote: > On Thu, 6 Jun 2019 at 04:50, Samuel Mendoza-Jonas > wrote: > > Update the ftgmac100 driver to support NC-SI instead of an mdio phy > > where available. This is a common setup for Aspeed AST2x00 platforms. > > >

Re: [U-Boot] [PATCH 1/4] phy: Add support for the NC-SI protocol

2019-06-11 Thread Samuel Mendoza-Jonas
On Wed, 2019-06-12 at 02:40 +, Joel Stanley wrote: > On Thu, 6 Jun 2019 at 04:50, Samuel Mendoza-Jonas > wrote: > > This introduces support for the NC-SI protocol, modelled as a phy driver > > for other ethernet drivers to consume. > > > > NC-SI (Network Contr

[U-Boot] [PATCH 4/4] net: NC-SI setup and handling

2019-06-05 Thread Samuel Mendoza-Jonas
Add the handling of NC-SI ethernet frames, and add a check at the start of net_loop() to configure NC-SI before starting other network commands. This also adds an "ncsi" command to manually start NC-SI configuration. Signed-off-by: Samuel Mendoza-Jonas --- cmd/Kconfig | 6 ++

[U-Boot] [PATCH 3/4] net/ftgmac100: Add NC-SI mode support

2019-06-05 Thread Samuel Mendoza-Jonas
the NC-SI phy. Signed-off-by: Samuel Mendoza-Jonas --- drivers/net/ftgmac100.c | 39 +-- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c index 92c38a81bd..c0100e91c7 100644 --- a/drivers/net

[U-Boot] [PATCH 1/4] phy: Add support for the NC-SI protocol

2019-06-05 Thread Samuel Mendoza-Jonas
] is copied from the Linux kernel for consistent field definitions. [0]: https://github.com/torvalds/linux/tree/master/net/ncsi [1]: https://github.com/torvalds/linux/blob/master/net/ncsi/ncsi-pkt.h Signed-off-by: Samuel Mendoza-Jonas --- drivers/net/phy/Kconfig | 4 + drivers/net/phy/Makefile

[U-Boot] [PATCH 2/4] phy: Include NC-SI in phy setup

2019-06-05 Thread Samuel Mendoza-Jonas
. Signed-off-by: Samuel Mendoza-Jonas --- drivers/net/phy/phy.c | 8 include/phy.h | 11 +++ include/phy_interface.h | 2 ++ 3 files changed, 21 insertions(+) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index cda4caa803..c2bc57c45d 100644 --- a/drivers

[U-Boot] [PATCH 0/4] NC-SI PHY Support

2019-06-05 Thread Samuel Mendoza-Jonas
ing NCSI first ethernet@1e66: link up, 100 Mbps full-duplex mac:0c:c4:7a:d5:48:43 NCSI: probing channels NCSI: configuring channel 0 NCSI: configuration done! BOOTP broadcast 1 BOOTP broadcast 2 DHCP client bound to address 10.61.161.188 (255 ms) [0]: https://patchwork.ozlabs.org/patch/1107087/

[U-Boot] [RFC PATCH] net: implement NC-SI network support

2019-05-29 Thread Samuel Mendoza-Jonas
2.7; our IP address is 10.61.254.32 Filename '0A3DFE20.img'. Load address: 0x8300 Loading: * TFTP error: 'File not found' (1) Not retrying... [0] https://github.com/torvalds/linux/tree/master/net/ncsi Signed-off-by: Samuel Mendoza-Jonas --- cmd/Kconfig | 6 +