tcpreplay for testing network stacks

2021-04-27 Thread Vijay Kumar Banerjee
Hi, I came across the tcpreplay tool and it looks like a nice tool for testing the network stacks. It can be used to capture network traffic and then play it back, this will help with testing the network packets from different network stacks. My proposal is to add the tcpreply as a host-side

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-29 Thread Vijay Kumar Banerjee
Hi all, On Thu, Apr 29, 2021 at 3:01 PM Chris Johns wrote: > > On 30/4/21 5:01 am, Robin Müller wrote: > > Yes that is the prefix. The rtems.h file is definitely located at the > > location > > in the warning and it works on older commit of rtems_waf (where gccdeps.py > > is > > not used). >

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-05-01 Thread Vijay Kumar Banerjee
[] > bld = self.generator.bld > > I don't know whether this can have other evil side effects, but the waf build > works after that.. The possible evil side effects could be the issue with "\", as you mentioned here. So better to avoid hacking it. :) Best regards, Vijay >

Re: RTEMS Bootstrap fails

2021-04-23 Thread Vijay Kumar Banerjee
Hi Richi, On Fri, Apr 23, 2021 at 9:22 AM Richi Dubey wrote: > > Hi, > > I am building a new RTEMS from master source (to build the xilinx_zynqmp_lp64 > bsp from the aarch64 arch), and these are the steps I followed: > > mkdir -p $HOME/quick-start/src > cd $HOME/quick-start/src > git clone

Re: tcpreplay for testing network stacks

2021-04-28 Thread Vijay Kumar Banerjee
On Wed, Apr 28, 2021 at 3:26 PM Chris Johns wrote: > > On 29/4/21 2:31 am, Vijay Kumar Banerjee wrote: > > On Wed, Apr 28, 2021 at 12:45 AM Chris Johns wrote: > >> > >> On 28/4/21 2:48 am, Vijay Kumar Banerjee wrote: > >>> I came across the tc

Re: tcpreplay for testing network stacks

2021-04-28 Thread Vijay Kumar Banerjee
On Wed, Apr 28, 2021 at 3:27 PM Chris Johns wrote: > > > > On 29/4/21 3:00 am, Vijay Kumar Banerjee wrote: > > On Wed, Apr 28, 2021 at 10:49 AM Christian Mauderer > > wrote: > >> > >> Hello Vijay, > >> > >> On 28/04/2021 18:25, Vijay

Re: [PATCH v3 0/2] powerpc/shared/console: Console baud rate fixes

2021-04-27 Thread Vijay Kumar Banerjee
On Tue, Apr 27, 2021 at 2:22 PM Gedare Bloom wrote: > > ok, vijay, please check the build and push if all good > Checked the build and pushed it. Thanks. > On Tue, Apr 27, 2021 at 11:48 AM wrote: > > > > From: Peter Dufault > > > > With these two changes the "powerpc/shared/console" code

Re: [PATCH 2/3] Consistent library name used now

2021-04-24 Thread Vijay Kumar Banerjee
On Sat, Apr 24, 2021 at 5:55 AM Robin Mueller wrote: > > Important fix for CMake build system These are CMake related changes and it looks OK. You could squash this into the giant CMake patch as well. These mostly name changes, so it'll stay consistent in the original patch itself. Thank you

Re: RTEMS Bootstrap fails

2021-04-24 Thread Vijay Kumar Banerjee
ore building. > > On Fri, Apr 23, 2021 at 9:03 PM Vijay Kumar Banerjee wrote: >> >> Hi Richi, >> >> >> On Fri, Apr 23, 2021 at 9:22 AM Richi Dubey wrote: >> > >> > Hi, >> > >> > I am building a new RTEMS from master source (to buil

[PATCH rtems] Makefile.am: Remove legacy networking files

2021-04-24 Thread Vijay Kumar Banerjee
--- bsps/headers.am | 8 - bsps/shared/grlib-sources.am | 4 - bsps/shared/shared-sources.am | 14 -- c/src/lib/libbsp/arm/atsam/Makefile.am| 5 - c/src/lib/libbsp/arm/csb336/Makefile.am | 5 -

Re: [PATCH 3/3] merge error fixes

2021-04-24 Thread Vijay Kumar Banerjee
Hi Robin, On Sat, Apr 24, 2021 at 5:56 AM Robin Mueller wrote: > > A function was defined twice due to a merge error. > This patch fixes this. Please squash these into one, since they're not upstream yet, it's not a problem to squash them into the patch that cased the merge error. This way it

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-05-03 Thread Vijay Kumar Banerjee
ml Best regards, Vijay >> Kind Regards >> Robin >> >> On Sat, 1 May 2021 at 20:29, Vijay Kumar Banerjee wrote: >>> >>> Hi Robin, >>> >>> On Fri, Apr 30, 2021 at 2:36 AM Robin Müller wrote: >>> > >>> > Issue

Re: [PATCH rtems-net-legacy v2] bsp_drivers: Use os.path for compatibility with non Unix host

2021-05-03 Thread Vijay Kumar Banerjee
Is this Ok to push? On Mon, Apr 19, 2021 at 11:32 AM Vijay Kumar Banerjee wrote: > > On Mon, Apr 19, 2021 at 11:30 AM Vijay Kumar Banerjee wrote: > > > > --- > > bsp_drivers.py | 22 +++--- > > 1 file changed, 11 insertions(+), 11 d

[PATCH rtems-net-legacy] Re-license copyright texts

2021-05-03 Thread Vijay Kumar Banerjee
@@ # # RTEMS Project (https://www.rtems.org/) # -# Copyright (c) 2021 Vijay Kumar Banerjee . +# Copyright (c) 2021 Regents of University of Colorado +# Written by Vijay Kumar Banerjee . # All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git

Re: [PATCH rtems-net-legacy] Re-license copyright texts

2021-05-04 Thread Vijay Kumar Banerjee
On Tue, May 4, 2021 at 1:02 AM Gedare Bloom wrote: > > ok Pushed. Thanks. > > On Mon, May 3, 2021 at 4:37 PM Vijay Kumar Banerjee wrote: > > > > --- > > bsp_drivers.py | 3 ++- > > netlegacy.py| 3 ++- >

Re: [PATCH rtems-net-legacy v2] bsp_drivers: Use os.path for compatibility with non Unix host

2021-05-04 Thread Vijay Kumar Banerjee
On Tue, May 4, 2021 at 1:01 AM Gedare Bloom wrote: > > looks good to me > Thanks. Pushed. > On Mon, May 3, 2021 at 4:37 PM Vijay Kumar Banerjee wrote: > > > > Is this Ok to push? > > > > On Mon, Apr 19, 2021 at 11:32 AM Vijay Kumar Banerjee > > wrote:

Re: tcpreplay for testing network stacks

2021-04-28 Thread Vijay Kumar Banerjee
On Wed, Apr 28, 2021 at 10:49 AM Christian Mauderer wrote: > > Hello Vijay, > > On 28/04/2021 18:25, Vijay Kumar Banerjee wrote: > > On Wed, Apr 28, 2021 at 12:41 AM Christian MAUDERER > > wrote: > >> > >> Hello Vijay, > >> > >>

Re: tcpreplay for testing network stacks

2021-04-28 Thread Vijay Kumar Banerjee
On Wed, Apr 28, 2021 at 12:41 AM Christian MAUDERER wrote: > > Hello Vijay, > > Am 27.04.21 um 18:48 schrieb Vijay Kumar Banerjee: > > Hi, > > > > I came across the tcpreplay tool and it looks like a nice tool for > > testing the network stacks. It ca

Re: tcpreplay for testing network stacks

2021-04-28 Thread Vijay Kumar Banerjee
On Wed, Apr 28, 2021 at 12:45 AM Chris Johns wrote: > > On 28/4/21 2:48 am, Vijay Kumar Banerjee wrote: > > I came across the tcpreplay tool and it looks like a nice tool for testing > > the > > network stacks. It can be used to capture network traffic an

Re: [PATCH rtems 2/2] testsuites: Remove telnetd01

2021-04-22 Thread Vijay Kumar Banerjee
ping :) On Tue, Apr 13, 2021 at 11:45 PM Vijay Kumar Banerjee wrote: > > --- > spec/build/testsuites/libtests/grp.yml | 2 - > spec/build/testsuites/libtests/telnetd01.yml | 22 > testsuites/libtests/telnetd01/init.c | 120 --- > t

Re: [PATCH rtems-docs] legacy-networking: Add note with build instructions for rtems-net-legacy

2021-04-22 Thread Vijay Kumar Banerjee
ping. :) On Mon, Apr 19, 2021 at 12:12 PM Vijay Kumar Banerjee wrote: > > --- > legacy-networking/index.rst | 1 + > legacy-networking/quick_start.rst | 29 + > 2 files changed, 30 insertions(+) > create mode 100644 legacy-networking/quick_

Re: [PATCH rtems 1/2] telnetd.c: Remove RTEMS_NETWORKING check

2021-04-22 Thread Vijay Kumar Banerjee
Ping :) On Tue, Apr 13, 2021 at 11:45 PM Vijay Kumar Banerjee wrote: > > Set the priority manually to make telnetd compatible with the > --- > cpukit/telnetd/telnetd.c | 11 +-- > 1 file changed, 1 insertion(+), 10 deletions(-) > > diff --git a/cpukit/telnetd/telne

Re: [PATCH rtems 2/2] testsuites: Remove telnetd01

2021-04-22 Thread Vijay Kumar Banerjee
ise, it's ok to me. Can't run this test without building a stack. > > On Tue, Apr 13, 2021 at 11:45 PM Vijay Kumar Banerjee wrote: > > > > --- > > spec/build/testsuites/libtests/grp.yml | 2 - > > spec/build/testsuites/libtests/telnetd01.yml | 22

Standalone repository for libnetworking stack

2021-02-05 Thread Vijay Kumar Banerjee
Hello, I'm currently working on separating the libnetworking stack into its standalone repository that can be built separately with waf. The current status of the project is that I have a working rtems-libnetworking repository [1] that builds with waf (hasn't been tested with any test cases yet).

Re: Standalone repository for libnetworking stack

2021-02-09 Thread Vijay Kumar Banerjee
On Tue, Feb 9, 2021 at 3:31 PM Chris Johns wrote: > > On 6/2/21 10:17 am, Vijay Kumar Banerjee wrote: > > Hello Christian, Joel, Chris, > > > > On Fri, Feb 5, 2021 at 3:41 PM Chris Johns wrote: > >> > >> On 6/2/21 8:28 am, Joel Sherrill wrote: >

Re: Standalone repository for libnetworking stack

2021-03-23 Thread Vijay Kumar Banerjee
> > > > On 11/3/21 1:11 am, Joel Sherrill wrote: > > > On Tue, Mar 9, 2021 at 11:00 PM Vijay Kumar Banerjee < > vi...@rtems.org > > <mailto:vi...@rtems.org> > > > <mailto:vi...@rtems.org <mailto:vi...@rtems.org>

[PATCH rtems-libbsd] libbsd.py: Build i2c shell command

2021-03-26 Thread Vijay Kumar Banerjee
--- libbsd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libbsd.py b/libbsd.py index f7efda43..fe0566e7 100644 --- a/libbsd.py +++ b/libbsd.py @@ -258,6 +258,7 @@ class rtems(builder.Module): 'rtems/rtems-bsd-rc-conf.c', 'rtems/rtems-bsd-set-if-input.c',

Re: [PATCH rtems-docs v3] networking: Rename to legacy networking

2021-03-26 Thread Vijay Kumar Banerjee
Mar 26, 2021 at 3:48 PM Vijay Kumar Banerjee > wrote: > >> Ping :) >> >> >> On Tue, Mar 23, 2021 at 2:04 PM Vijay Kumar Banerjee >> wrote: >> > >> > --- >> > book/index_book.rst | 2 +- >

Re: [PATCH rtems-docs v3] networking: Rename to legacy networking

2021-03-26 Thread Vijay Kumar Banerjee
On Fri, Mar 26, 2021, 17:26 Joel Sherrill wrote: > > > On Fri, Mar 26, 2021, 5:53 PM Vijay Kumar Banerjee > wrote: > >> Hi Joel, >> >> On Fri, Mar 26, 2021, 16:46 Joel Sherrill >> wrote: >> >>> I thought I said this looked good on the f

[PATCH rtems-littlevgl] wscript: Upgrade rtems_version number

2021-03-26 Thread Vijay Kumar Banerjee
--- lvgl.py | 2 +- wscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lvgl.py b/lvgl.py index 0eadd90..2574acd 100644 --- a/lvgl.py +++ b/lvgl.py @@ -110,5 +110,5 @@ def build(bld): bld.install_files(os.path.join("${PREFIX}", arch_inc_path, include_path),

[PATCH rtems-examples] lvgl/wscript: Add libpath to search for required libraries

2021-03-26 Thread Vijay Kumar Banerjee
--- lvgl/wscript | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lvgl/wscript b/lvgl/wscript index 064ebed..281af25 100644 --- a/lvgl/wscript +++ b/lvgl/wscript @@ -5,11 +5,19 @@ import rtems_waf.rtems as rtems import rtems_waf.rtems_bsd as rtems_bsd +import

Re: [PATCH rtems-docs v3] networking: Rename to legacy networking

2021-03-26 Thread Vijay Kumar Banerjee
Ping :) On Tue, Mar 23, 2021 at 2:04 PM Vijay Kumar Banerjee wrote: > > --- > book/index_book.rst | 2 +- > {networking => legacy-networking}/command.rst | 0 > {networking => legacy-networking}/conf.py

[PATCH rtems-littlevgl] Update rtems_waf

2021-03-26 Thread Vijay Kumar Banerjee
--- rtems_waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems_waf b/rtems_waf index ad6c6e8..1a118bb 16 --- a/rtems_waf +++ b/rtems_waf @@ -1 +1 @@ -Subproject commit ad6c6e8771b95dffa73a7dc1167d98d208f17cb0 +Subproject commit 1a118bbcd52138dbdc3236e64bc23fd430a064b1

[PATCH rtems 16/18] BUGFIX: if buffer allocation fails we *must not* call consume_rxbuf()

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann If we have no new buffer then we must recycle/reuse the old one and *not* return it to the user for consumption. Update #4344 --- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH rtems 18/18] mv643xx_eth.c, mv643xx_eth_bsdnet.c: removed trailing whitespace

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 66 +++ .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 44 ++--- 2 files changed, 61 insertions(+), 49 deletions(-) diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c

[PATCH rtems 17/18] mv643xx_eth.c: added 0x00100000 bit to 'known' ext. interrupt causes

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann In 'testing' mode the paranoia checks found this bit asserted. The recent linux driver (2013) mentions lists this bit as a 'phy link status change' bit (together with (1<<16)). Thus, we accept this as a 'known' bit now. Update #4344 ---

Re: [PATCH rtems-net-legacy 1/2] Remove RTEMS_NETWORKING checks

2021-03-29 Thread Vijay Kumar Banerjee
ping :) On Tue, Mar 23, 2021 at 2:10 PM Vijay Kumar Banerjee wrote: > > * Remove nfsclient wscript and build from netlegacy.py > --- > bsps/powerpc/mpc55xxevb/net/smsc9218i.c | 4 +-- > libmisc/dummy-networking.c | 44 -

Re: [PATCH rtems-net-legacy 2/2] greth.c: Pull RTEMS commit for variable size descriptor

2021-03-29 Thread Vijay Kumar Banerjee
ping :) On Tue, Mar 23, 2021 at 2:10 PM Vijay Kumar Banerjee wrote: > > RTEMS commit hash: 053b17ce8e3f710167e9ec3f44b37756cbdcbec0 > --- > bsps/shared/grlib/net/greth.c | 22 +++--- > 1 file changed, 15 insertions(+), 7 deletions(-) > > diff --git a/

Re: [PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-29 Thread Vijay Kumar Banerjee
Hi, Sorry for too many pings at once :) Thanks. On Tue, Mar 23, 2021 at 2:05 PM Vijay Kumar Banerjee wrote: > > --- > common/latex.py | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/common/latex.py b/common/latex.py > index a042510..a1b3917

Re: [PATCH rtems-docs v3] networking: Rename to legacy networking

2021-03-29 Thread Vijay Kumar Banerjee
On Fri, Mar 26, 2021 at 5:26 PM Joel Sherrill wrote: > > > > On Fri, Mar 26, 2021, 5:53 PM Vijay Kumar Banerjee wrote: >> >> Hi Joel, >> >> On Fri, Mar 26, 2021, 16:46 Joel Sherrill wrote: >>> >>> I thought I said this looked good on the

Re: [PATCH rtems-examples] lvgl/wscript: Add libpath to search for required libraries

2021-03-29 Thread Vijay Kumar Banerjee
On Mon, Mar 29, 2021 at 10:09 AM Gedare Bloom wrote: > > On Mon, Mar 29, 2021 at 9:20 AM Vijay Kumar Banerjee wrote: > > > > Hi, > > > > Is this OK to push? This only affects lvgl. > > > You're a maintainer of lvgl repo, so you can make tha

Re: [PATCH rtems-libbsd] Import telnetd from RTEMS repository

2021-03-29 Thread Vijay Kumar Banerjee
ping :) On Tue, Mar 23, 2021 at 2:10 PM Vijay Kumar Banerjee wrote: > > The files have been taken from RTEMS repository with head commit at > bd9e45d91f77657445400bc2c814f251c9e37cef > --- > libbsd.py| 22 +- > rtemsbsd/include/rtems/telnetd.h | 137

Re: [PATCH rtems-libbsd] libbsd.py: Build i2c shell command

2021-03-29 Thread Vijay Kumar Banerjee
Ping :) On Fri, Mar 26, 2021 at 2:40 PM Vijay Kumar Banerjee wrote: > > --- > libbsd.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libbsd.py b/libbsd.py > index f7efda43..fe0566e7 100644 > --- a/libbsd.py > +++ b/libbsd.py > @@ -258,6 +258,7

[PATCH rtems 01/18] Broke low-level parts of mv643xx_eth driver into separate files

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/headers.am |1 + .../powerpc/beatnik/include/bsp/mv643xx_eth.h | 111 + bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 1162 +- .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 3519 +

[PATCH rtems 03/18] verified that we can compile with MVETH_TESTING and MVETH_DEBUG

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 59 +++ .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 1 - 2 files changed, 47 insertions(+), 13 deletions(-) diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c

[PATCH rtems 04/18] removed direct access to ring-size / ring-available from BSD driver

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 6 +++--- .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c| 14 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c

[PATCH rtems 02/18] first version with mv643xx eth driver broken into pieces which compiles

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- .../powerpc/beatnik/include/bsp/mv643xx_eth.h | 85 +- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 343 ++- .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 2601 ++--- 3 files changed, 575 insertions(+), 2454 deletions(-) diff --git

[PATCH rtems 05/18] mv643xx_eth_bsdnet.c: use default descriptor ring size if ifconfig says 0

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 39 --- .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 8 2 files changed, 8 insertions(+), 39 deletions(-) diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c

[PATCH rtems 09/18] if_mve_pub.h, mv643xx_eth.h: header reorg and cleanup.

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann All low-level interfaces were moved to mv643xx_eth.h and the latter is included by if_mve_pub.h. Update #4344 --- bsps/powerpc/beatnik/include/bsp/if_mve_pub.h | 199 +--- .../powerpc/beatnik/include/bsp/mv643xx_eth.h | 298 ++ 2 files changed, 250

[PATCH rtems 11/18] mv643xx_eth.c, mv643xx_eth_bsdnet.c: added some more debugging messages (#ifdef)

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 15 ++- .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 13 + 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c

[PATCH rtems 13/18] mv643xx_eth_bsdnet.c: reworked buffer-iterator code.

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Must be careful to skip empty buffers and to correctly identify the last non-empty buffer (since that is the one whose associated descriptor stores the head of the chain for deferred cleanup). Update #4344 --- .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 42

[PATCH rtems 07/18] mv643xx_eth_bsdnet.c: removed leftover macros

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 352 +- 1 file changed, 8 insertions(+), 344 deletions(-) diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c b/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c index

[PATCH rtems 08/18] mv643xx_eth.c, mv643xx_eth_bsdnet.c: moved some definitions to public header

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c| 5 - bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 5 - 2 files changed, 10 deletions(-) diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c

[PATCH rtems 10/18] mv643xx_eth_bsdnet.c, mv643xx_eth.c, mv643xx_eth.h: init_hw has new 'speed' argument

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Remove any calls to mii_ioctl from the low-level driver. Instead, the caller must determine the current speed and communicate to init_hw(). Update #4344 --- .../powerpc/beatnik/include/bsp/mv643xx_eth.h | 2 +- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 12 ++---

[PATCH rtems 12/18] mv643xx_eth_bsdnet.c: define ISR (which was removed from low-level driver)

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann NOTE: apparently we now must use rtems_bsdnet_event_send(). The combination of rtems_event_send()/rtems_bsdnet_event_receive() apparently no longer works (rtems-5). Update #4344 --- .../beatnik/net/if_mve/mv643xx_eth_bsdnet.c| 14 +- 1 file changed, 13

[PATCH rtems 14/18] mv643xx_eth.c: fixed format in debugging message

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c b/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c index 82ecf5ffa4..fb72ee132e 100644

[PATCH rtems 15/18] mv643xx_eth_bsdnet.c: minor cleanup

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c b/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c index

[PATCH rtems 06/18] mv643xx_eth.h: iterator callback takes no const arg

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4344 --- bsps/powerpc/beatnik/include/bsp/mv643xx_eth.h | 2 +- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c | 9 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bsps/powerpc/beatnik/include/bsp/mv643xx_eth.h

[PATCH rtems-libbsd 1/5] rtemsbsd: Add mv643xx nexus ethernet driver

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Update #4345 --- libbsd.py| 19 + rtemsbsd/include/bsp/nexus-devices.h | 7 +- rtemsbsd/sys/dev/mve/mv643xx_nexus.c | 965 +++ 3 files changed, 990 insertions(+), 1 deletion(-) create mode 100644

[PATCH rtems-libbsd 2/5] mv643xx_nexus.c: removed unlocked mve_init(), mve_start()

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann The recursive lock takes care of this... Update #4345 --- rtemsbsd/sys/dev/mve/mv643xx_nexus.c | 37 +++- 1 file changed, 9 insertions(+), 28 deletions(-) diff --git a/rtemsbsd/sys/dev/mve/mv643xx_nexus.c b/rtemsbsd/sys/dev/mve/mv643xx_nexus.c

[PATCH rtems-libbsd 3/5] mv643xx_nexus.c: removed 'repackage_chain()'.

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann Testing (TCP with larger amounts of data while MVETH_TESTING was defined which reduces the ring sizes to very small numbers) revealed that the BSD stack honours the 'sendqlen' and never hands us chains exceeding the ring size. Update #4345 ---

[PATCH rtems-libbsd 4/5] mv643xx_nexus.c: added a helper routine that allows printing of driver statistics

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann The 'legal' access by means of a special ioctl() is way too cumbersome when you need to do quick diagnosis. Update #4345 --- rtemsbsd/sys/dev/mve/mv643xx_nexus.c | 16 1 file changed, 16 insertions(+) diff --git a/rtemsbsd/sys/dev/mve/mv643xx_nexus.c

[PATCH rtems-libbsd 5/5] mv643xx_nexus.c: more use of if_xxx() access functions

2021-03-29 Thread Vijay Kumar Banerjee
From: till straumann avoid using struct members directly. Update #4345 --- rtemsbsd/sys/dev/mve/mv643xx_nexus.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/rtemsbsd/sys/dev/mve/mv643xx_nexus.c b/rtemsbsd/sys/dev/mve/mv643xx_nexus.c index

Re: [PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-30 Thread Vijay Kumar Banerjee
review. Pushed it. > On Mon, Mar 29, 2021 at 7:43 PM Vijay Kumar Banerjee wrote: > > > > Hi, > > Sorry for too many pings at once :) > > > > Thanks. > > > > On Tue, Mar 23, 2021 at 2:05 PM Vijay Kumar Banerjee > > wrote: > > > >

Re: [PATCH rtems-libbsd 1/5] rtemsbsd: Add mv643xx nexus ethernet driver

2021-03-30 Thread Vijay Kumar Banerjee
Hi all, On Tue, Mar 30, 2021 at 1:12 AM Chris Johns wrote: > > On 30/3/21 6:08 pm, Till Straumann wrote: > > None of these additions to libbsd.py -- except for mv643xx_nexus.c > > are in my patches. Note, however, that my pull-request is on top of > > another branch (on request/suggestion by

Re: [PATCH rtems-docs v3] networking: Rename to legacy networking

2021-03-30 Thread Vijay Kumar Banerjee
On Tue, Mar 30, 2021 at 7:43 AM Gedare Bloom wrote: > > Yes, go ahead with this doco patch. > Thanks. Pushed. > On Mon, Mar 29, 2021 at 7:41 PM Vijay Kumar Banerjee wrote: > > > > On Fri, Mar 26, 2021 at 5:26 PM Joel Sherrill wrote: > > > > > > >

Re: [PATCH rtems-net-legacy 2/2] greth.c: Pull RTEMS commit for variable size descriptor

2021-03-30 Thread Vijay Kumar Banerjee
Hi, On Tue, Mar 30, 2021 at 7:57 AM Gedare Bloom wrote: > > On Tue, Mar 23, 2021 at 2:10 PM Vijay Kumar Banerjee wrote: > > > > RTEMS commit hash: 053b17ce8e3f710167e9ec3f44b37756cbdcbec0 > Please preserve the git authorship information. Sent a new patch with the proper a

[PATCH rtems-net-legacy] leon, greth: added support for variable sized descriptor table sizes

2021-03-30 Thread Vijay Kumar Banerjee
From: Daniel Hellstrom The descriptor table size is equal to its alignment and set when configuring the HW IP through VHDL generics. This SW patch simply probes the HW how large the RX/TX descriptor tables are and adjusts accordingly. The number of descriptors actual used

Re: [PATCH rtems-net-legacy 1/2] Remove RTEMS_NETWORKING checks

2021-03-30 Thread Vijay Kumar Banerjee
Hi, On Tue, Mar 30, 2021 at 7:53 AM Gedare Bloom wrote: > > On Mon, Mar 29, 2021 at 7:42 PM Vijay Kumar Banerjee wrote: > > > > ping :) > > > > On Tue, Mar 23, 2021 at 2:10 PM Vijay Kumar Banerjee > > wrote: > > > > > >

[PATCH rtems-net-legacy] netlegacy: Use os.path to get the file extension

2021-04-02 Thread Vijay Kumar Banerjee
--- bsp_drivers.py | 5 +++-- netlegacy.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bsp_drivers.py b/bsp_drivers.py index cb6caa5..3ca10c6 100644 --- a/bsp_drivers.py +++ b/bsp_drivers.py @@ -62,9 +62,10 @@ def bsp_files(bld): source_dir =

[PATCH rtems-net-legacy v2] Remove RTEMS_NETWORKING checks

2021-04-02 Thread Vijay Kumar Banerjee
* Remove nfsclient wscript and build from netlegacy.py --- bsps/powerpc/mpc55xxevb/net/smsc9218i.c | 4 +-- libmisc/dummy-networking.c | 44 - netlegacy.py| 18 +- nfsclient/wscript | 1 +

Re: [PATCH rtems-net-legacy 1/2] Remove RTEMS_NETWORKING checks

2021-04-02 Thread Vijay Kumar Banerjee
On Tue, Mar 30, 2021 at 10:48 AM Gedare Bloom wrote: > > On Tue, Mar 30, 2021 at 10:40 AM Vijay Kumar Banerjee wrote: > > > > Hi, > > > > > > On Tue, Mar 30, 2021 at 7:53 AM Gedare Bloom wrote: > > > > > > On Mon, Mar 29, 2021 at 7:42 PM Vi

[PATCH rtems-net-legacy] nfsclient: Build nfsclient from the top level netlegacy script

2021-04-03 Thread Vijay Kumar Banerjee
--- netlegacy.py | 18 +- nfsclient/wscript | 1 + wscript | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/netlegacy.py b/netlegacy.py index 89176e6..f470da2 100644 --- a/netlegacy.py +++ b/netlegacy.py @@ -55,6 +55,13 @@ def build(bld):

[PATCH rtems-net-legacy v3] Remove RTEMS_NETWORKING checks

2021-04-03 Thread Vijay Kumar Banerjee
--- bsps/powerpc/mpc55xxevb/net/smsc9218i.c | 4 +-- libmisc/dummy-networking.c | 44 - telnetd/telnetd.c | 4 --- 3 files changed, 23 insertions(+), 29 deletions(-) diff --git a/bsps/powerpc/mpc55xxevb/net/smsc9218i.c

Re: [PATCH rtems-net-legacy v2] Remove RTEMS_NETWORKING checks

2021-04-03 Thread Vijay Kumar Banerjee
On Sat, Apr 3, 2021 at 12:27 PM Gedare Bloom wrote: > > On Fri, Apr 2, 2021 at 7:32 PM Vijay Kumar Banerjee wrote: > > > > * Remove nfsclient wscript and build from netlegacy.py > > These two different changes probably should have been two different > patches? I barely

Re: [PATCH] STM32H743ZI Nucleo and basic lwIP support

2021-04-02 Thread Vijay Kumar Banerjee
n > > > On Mon, 29 Mar 2021 at 22:25, Vijay Kumar Banerjee wrote: >> >> On Mon, Mar 29, 2021 at 9:52 AM Gedare Bloom wrote: >> > >> > On Mon, Mar 29, 2021 at 6:17 AM Robin Mueller < robin.muelle...@gmail.com> wrote: >> > > >> >

Re: [PATCH rtems-littlevgl] wscript: Upgrade rtems_version number

2021-03-29 Thread Vijay Kumar Banerjee
Hello Christian, On Mon, Mar 29, 2021 at 12:38 AM Christian MAUDERER wrote: > > Hello Vijay, > > please push the littlevgl patches. These are our responsibility anyway. > Pushed! Thanks, Vijay > Best regards > > Christian > > Am 26.03.21 um 21:4

Re: [PATCH rtems-examples] lvgl/wscript: Add libpath to search for required libraries

2021-03-29 Thread Vijay Kumar Banerjee
Hi, Is this OK to push? This only affects lvgl. Best regards, Vijay On Fri, Mar 26, 2021 at 2:47 PM Vijay Kumar Banerjee wrote: > > --- > lvgl/wscript | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/lvgl/wscript b/lvgl/wscript > i

Re: [PATCH RTEMS] bsps/beagle: Refactored i2c driver

2021-03-27 Thread Vijay Kumar Banerjee
Hi Niteesh, Thanks for the patch. I have some questions below. On Mon, Mar 22, 2021 at 11:48 AM G S Niteesh Babu wrote: > > Refactored the i2c driver to parse register values from the device > tree rather than hardcoding them. But still the clocks have to > initialized manually. > --- >

Re: [PATCH rtems-libbsd] libbsd.py: Build i2c shell command

2021-03-31 Thread Vijay Kumar Banerjee
On Wed, Mar 31, 2021 at 4:20 PM Chris Johns wrote: > > I am fine with this. I did not know it existed. > Thanks. Pushed. Best regards, Vijay > On 27/3/21 7:40 am, Vijay Kumar Banerjee wrote: > > --- > > libbsd.py | 1 + > > 1 file changed, 1 insertion(+) &g

Re: [PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-31 Thread Vijay Kumar Banerjee
ould fail with python>= 3.7, which made me think that maybe python2 is still being used to build docs so kept the platform import. > > Chris > > On 24/3/21 7:05 am, Vijay Kumar Banerjee wrote: > > --- > > common/latex.py | 7 +-- > > 1 file changed, 5 insertions(+),

Re: Ticket#3889 updated

2021-03-30 Thread Vijay Kumar Banerjee
On Tue, Mar 30, 2021, 14:40 zack_on_the_speed_chanel < zack_on_the_speed_cha...@protonmail.ch> wrote: > I have both of the options and i tried to built it with BUILD_TESTS and > PSXTESTS and the test didn't build. Is there anything else that could > alter how rtems is built? > Those options

[PATCH RSB 5] gdb-9-1: Add patch for linker error

2021-03-30 Thread Vijay Kumar Banerjee
Close #4366 --- rtems/config/tools/rtems-gdb-9.1-1.cfg| 3 + .../patches/gdb-9-1-linker-error-fix.diff | 67 +++ 2 files changed, 70 insertions(+) create mode 100644 source-builder/patches/gdb-9-1-linker-error-fix.diff diff --git

Re: [PATCH RSB 5] gdb-9-1: Add patch for linker error

2021-03-30 Thread Vijay Kumar Banerjee
ssue with that was that I was getting merge conflicts from the ChangeLog file so this is a workaround to get the changes in code. I can add the commit hash in the commit message and add the original commit message to the diff. > On Tue, Mar 30, 2021 at 4:56 PM Vijay Kumar Banerjee wrote: >&g

Re: [PATCH RSB 5 v2] gdb-9-1: Add patch to fix linker error with gcc10

2021-03-30 Thread Vijay Kumar Banerjee
separate cases of this change in gcc10 effecting code. > Thanks, Vijay > Thanks > Chris > > On 31/3/21 11:19 am, Vijay Kumar Banerjee wrote: > > Close #4366 > > --- > > rtems/config/tools/rtems-gdb-9.1-1.cfg | 3 +++ > > 1 file changed, 3 insertions(+) &

Re: [PATCH RSB 5 v2] gdb-9-1: Add patch to fix linker error with gcc10

2021-03-30 Thread Vijay Kumar Banerjee
On Tue, Mar 30, 2021 at 10:45 PM Chris Johns wrote: > > On 31/3/21 3:29 pm, Vijay Kumar Banerjee wrote: > > On Tue, Mar 30, 2021 at 10:24 PM Chris Johns wrote: > >> > >> OK for 5 the branch. > >> > > Thanks. will it be ok for master as well? I have

Re: [PATCH] STM32H743ZI Nucleo and basic lwIP support

2021-03-29 Thread Vijay Kumar Banerjee
On Mon, Mar 29, 2021 at 9:52 AM Gedare Bloom wrote: > > On Mon, Mar 29, 2021 at 6:17 AM Robin Mueller > wrote: > > > > This patch adds support for the STM32H743ZI-Nucleo board > > variation. This currently works by setting the STM32H743ZI_NUCLEO > > flag in the config.ini flag > > > > It also

Re: [PATCH RSB 5] gdb-9-1: Add patch for linker error

2021-03-30 Thread Vijay Kumar Banerjee
On Tue, Mar 30, 2021 at 4:52 PM Joel Sherrill wrote: > > > > On Tue, Mar 30, 2021, 5:23 PM Vijay Kumar Banerjee wrote: >> >> On Tue, Mar 30, 2021 at 4:18 PM Joel Sherrill wrote: >> > >> > It is preferred not to add patches to our repos when you can ref

[PATCH RSB 5 v2] gdb-9-1: Add patch to fix linker error with gcc10

2021-03-30 Thread Vijay Kumar Banerjee
Close #4366 --- rtems/config/tools/rtems-gdb-9.1-1.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtems/config/tools/rtems-gdb-9.1-1.cfg b/rtems/config/tools/rtems-gdb-9.1-1.cfg index 99e6571..1d14a20 100644 --- a/rtems/config/tools/rtems-gdb-9.1-1.cfg +++

Re: [PATCH rtems-docs v2] networking: Rename to legacy networking

2021-03-23 Thread Vijay Kumar Banerjee
Ping :) On Tue, Mar 9, 2021 at 9:59 AM Vijay Kumar Banerjee wrote: > > --- > book/index_book.rst | 2 +- > {networking => legacy-networking}/command.rst | 0 > {networking => legacy-networking}/conf.py

Re: [PATCH rtems-docs v2] networking: Rename to legacy networking

2021-03-23 Thread Vijay Kumar Banerjee
ut the different network stack available in rtems and how would a user select between them. This can be a section in the user manual. Best regards, Vijay > --joel > > On Tue, Mar 23, 2021 at 1:48 PM Vijay Kumar Banerjee wrote: >> >> Ping :) >> >> On Tue, Mar 9, 2021 a

Re: Standalone repository for libnetworking stack

2021-03-23 Thread Vijay Kumar Banerjee
On Tue, Mar 23, 2021 at 1:10 PM Gedare Bloom wrote: > > On Tue, Mar 23, 2021 at 12:34 PM Joel Sherrill wrote: > > > > > > > > On Tue, Mar 23, 2021 at 11:27 AM Vijay Kumar Banerjee > > wrote: > >> > >> Hi, > >> > >> I

[PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-23 Thread Vijay Kumar Banerjee
--- common/latex.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/latex.py b/common/latex.py index a042510..a1b3917 100644 --- a/common/latex.py +++ b/common/latex.py @@ -3,8 +3,11 @@ # import os -import platform import re +try: +from distro import

[PATCH rtems-docs v3] networking: Rename to legacy networking

2021-03-23 Thread Vijay Kumar Banerjee
--- book/index_book.rst | 2 +- {networking => legacy-networking}/command.rst | 0 {networking => legacy-networking}/conf.py | 6 +++--- {networking => legacy-networking}/dec_21140.rst | 0 {networking =>

[PATCH rtems-libbsd] Import telnetd from RTEMS repository

2021-03-23 Thread Vijay Kumar Banerjee
The files have been taken from RTEMS repository with head commit at bd9e45d91f77657445400bc2c814f251c9e37cef --- libbsd.py| 22 +- rtemsbsd/include/rtems/telnetd.h | 137 + rtemsbsd/telnetd/README | 23 + rtemsbsd/telnetd/check_passwd.c | 106

[PATCH rtems-net-legacy 2/2] greth.c: Pull RTEMS commit for variable size descriptor

2021-03-23 Thread Vijay Kumar Banerjee
RTEMS commit hash: 053b17ce8e3f710167e9ec3f44b37756cbdcbec0 --- bsps/shared/grlib/net/greth.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/bsps/shared/grlib/net/greth.c b/bsps/shared/grlib/net/greth.c index 8b19b48..84efcd7 100644 ---

[PATCH rtems-net-legacy 1/2] Remove RTEMS_NETWORKING checks

2021-03-23 Thread Vijay Kumar Banerjee
* Remove nfsclient wscript and build from netlegacy.py --- bsps/powerpc/mpc55xxevb/net/smsc9218i.c | 4 +-- libmisc/dummy-networking.c | 44 - netlegacy.py| 17 +- nfsclient/wscript | 1 +

Re: [PATCH rtems-docs v2] networking: Rename to legacy networking

2021-03-23 Thread Vijay Kumar Banerjee
On Tue, Mar 23, 2021 at 3:16 PM Chris Johns wrote: > > On 24/3/21 7:08 am, Vijay Kumar Banerjee wrote: > > Hi, > > > > Thanks for the review. > > > > On Tue, Mar 23, 2021 at 12:56 PM Joel Sherrill wrote: > >> > >> I'm OK with this.

Re: [PATCH rtems-net-legacy] nfsclient: Build nfsclient from the top level netlegacy script

2021-04-06 Thread Vijay Kumar Banerjee
the patch with this cleanup added. > On Sat, Apr 3, 2021 at 7:06 PM Vijay Kumar Banerjee wrote: > > > > --- > > netlegacy.py | 18 +- > > nfsclient/wscript | 1 + > > wscript | 2 +- > > 3 files changed, 19 insertions(+), 2

[PATCH rtems-net-legacy v2] nfsclient: Build nfsclient from the top level netlegacy script

2021-04-06 Thread Vijay Kumar Banerjee
include/libchip/', f) diff --git a/nfsclient/wscript b/nfsclient/wscript deleted file mode 100644 index bc2f994..000 --- a/nfsclient/wscript +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Project (https://www.rtems.org/) -# -# Copyright (c) 2021 Vijay Kumar Banerjee . -# All rights reserved. -# -# Re

<    3   4   5   6   7   8   9   10   >