Re: [PATCH 1/2] covoar: Store only the file name in ExecutableInfo

2021-05-25 Thread Chris Johns
On 4/5/21 7:07 pm, Gedare Bloom wrote: > On Fri, Apr 30, 2021 at 2:02 PM Alex White wrote: >> >> This changes the ExecutableInfo class to only store the executable >> file's name rather than an entire instance of rld::files::object. This >> allows the rld::files::object to be cleaned up in the

Re: RTEMS_VERSION on 5 branch

2021-05-25 Thread Chris Johns
On 25/5/21 8:56 pm, Christian MAUDERER wrote: > Hello, Great question :) > if I build a BSP on the 5 branch, I still have the following defines in > cpuopts.h: > > #define RTEMS_VERSION "5.0.0" > #define __RTEMS_MAJOR__ 5 > #define __RTEMS_MINOR__ 0 > #define __RTEMS_REVISION__ 0 > > We are pa

Re: RTEMS Documentation build problem

2021-05-20 Thread Chris Johns
On 21/5/21 4:28 am, Jeff Mayes wrote: > I’m trying to build the RTEMS Documentation, but having a problem with > sphinxcontrib-bibtex.  It’s been a long time since I’ve tried this, so maybe > there’s a configuration problem on my end.  Anyway, I’ve pulled down the > rtems-docs repo and tried to fol

Re: [PATCH] rtems-bsp-builder: Change to waf build system

2021-05-19 Thread Chris Johns
Looks fine (on my phone) Thanks for this > On 20 May 2021, at 1:25 am, Ryan Long wrote: > > Closes #4124 > --- > config/rtems-bsps.ini | 28 ++-- > tester/rt/check.py| 35 ++- > 2 files changed, 40 insertions(+), 23 deletions(-) > > di

Re: Heavy SysInit Dependency

2021-05-19 Thread Chris Johns
> On 20 May 2021, at 2:05 am, Sebastian Huber > wrote: > > On 19/05/2021 15:09, Joel Sherrill wrote: >> On Wed, May 19, 2021 at 3:54 AM Sebastian Huber >> > <mailto:sebastian.hu...@embedded-brains.de>> wrote: >>On 19/05/2021 10:23, Chris Johns w

Re: question about posix timer expiration

2021-05-19 Thread Chris Johns
> On 18 May 2021, at 10:02 pm, gabriel.moy...@dlr.de wrote: > >  > From further investigation I’ve found that when a timer expires, > _POSIX_Timer_TSR() is called and this uses pthread_kill() to send a signal. > Shouldn’t ptimer->inf.sigev_value be used here in order to create a siginfo_t >

Re: Heavy SysInit Dependency

2021-05-19 Thread Chris Johns
> On 19 May 2021, at 5:28 pm, Sebastian Huber > wrote: > > I am not sure how the dependency chain can be fixed with the current struct > _reent approach of Newlib. A modern approach would be to replace this > structure with individual thread-local objects. This would be technically > feasib

Re: [PATCH] tester: Avoid TFTP race condition

2021-05-18 Thread Chris Johns
Ok to push. On 18/5/21 6:29 am, Kinsey Moore wrote: > The u-boot TFTP client will fail a fully completed file retrieval if the > final ACK gets an ICMP response that the port is unavailable which can > occur if the port is closed before the ACK arrives from the client. This > change causes the TFT

Re: Use GCC 11 for RTEMS 6?

2021-05-17 Thread Chris Johns
On 3/5/21 6:19 pm, Sebastian Huber wrote: > On 03/05/2021 07:25, Chris Johns wrote: > >> On 3/5/21 3:08 pm, Sebastian Huber wrote: >>> GCC 11 was released recently: >>> >>> https://gcc.gnu.org/gcc-11/changes.html >>> >>> Should we switch

Re: [PATCH v5] rtems-debugger: Fixed 32bit pointers

2021-05-08 Thread Chris Johns
On 8/5/21 6:13 am, Stephen Clark wrote: > Using 32bit types like uint32_t for pointers creates issues on 64 bit > architectures like AArch64. Replaced occurrences of these with uintptr_t, > which will work for both 32 and 64 bit architectures. Added hex_decode_addr > function to rtems-debugger. Cha

Re: [PATCH v2] rtemstoolkit/mailer.py: Fix option ordering for add_arguments

2021-05-08 Thread Chris Johns
> On 8 May 2021, at 4:17 am, Alex White wrote: > > The ordering of keys cannot be guaranteed in a dictionary. This changes > the options iteration to no longer rely on key ordering. OK Chris ___ devel mailing list devel@rtems.org http://lists.rtems.

Re: [PATCH] rtemstoolkit/mailer.py: Fix option ordering for add_arguments

2021-05-05 Thread Chris Johns
On 6/5/21 4:49 am, Gedare Bloom wrote: > On Wed, May 5, 2021 at 9:16 AM Alex White wrote: >> >> On Wed, May 5, 2021 at 9:47 AM Gedare Bloom wrote: >>> >>> Why? >> >> To prevent the '--mail' and '--use-gitconfig' options from being added more >> than once to the ArgumentParser in add_arguments. >

Re: [PATCH] Return NULL for zero size allocations

2021-05-05 Thread Chris Johns
On 5/5/21 4:58 pm, Chris Johns wrote: > On 5/5/21 4:52 pm, Sebastian Huber wrote: >> In POSIX, zero size memory allocations are implementation-defined >> behaviour. The implementation has two options: >> >> https://pubs.opengroup.org/onlinepubs/9699919799/functi

Re: [PATCH] Return NULL for zero size allocations

2021-05-04 Thread Chris Johns
On 5/5/21 4:52 pm, Sebastian Huber wrote: > In POSIX, zero size memory allocations are implementation-defined > behaviour. The implementation has two options: > > https://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html > > https://pubs.opengroup.org/onlinepubs/9699919799/functions

Re: Use GCC 11 for RTEMS 6?

2021-05-02 Thread Chris Johns
On 3/5/21 3:08 pm, Sebastian Huber wrote: > > GCC 11 was released recently: > > https://gcc.gnu.org/gcc-11/changes.html > > Should we switch to this version for RTEMS 6 in the RSB? > Do we have build reports on our supported host platforms? I would like to clear confirmation we can build the

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-29 Thread Chris Johns
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). > I briefly looked through the gccdeps.py file and it is doing some string > strippin

Re: tcpreplay for testing network stacks

2021-04-29 Thread Chris Johns
On 29/4/21 4:30 pm, Christian MAUDERER wrote: > Am 29.04.21 um 00:54 schrieb 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,

Re: tcpreplay for testing network stacks

2021-04-28 Thread Chris Johns
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 Kumar Banerjee wrote: >>> On Wed, Apr 28, 2021 at 12:41 AM Christian MAUDERER >>> wrote: Hello Vijay, Am 27.04

Re: tcpreplay for testing network stacks

2021-04-28 Thread Chris Johns
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 tcpreplay tool and it looks like a nice tool for testing >>> the >>> network

Re: Issues with rtems_waf on Windows 10 with gccdeps module

2021-04-28 Thread Chris Johns
On 28/4/21 7:59 pm, Robin Müller wrote: > I think the following commit in rtems_waf breaks the waf build on Windows 10: > > commit 096372fc4504730e50b51b952ce47ca603b35f01 > Author: Chris Johns mailto:chr...@rtems.org>> > Date:   Thu Oct 10 17:43:11 2019 +1100 > >    

Re: tcpreplay for testing network stacks

2021-04-27 Thread Chris Johns
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 and then play it > back, > this will help with testing the network packets from different network stacks. >

Re: [PATCH v2] STM32 lwIP addition and CMake support

2021-04-27 Thread Chris Johns
On 28/4/21 2:58 am, Robin Müller wrote: > Okay, I can understand that you'd like to have one build system only. We had > the > same issue with a former Makefile build system and the new CMake system and > decided to make the former system obsolete> because maintaining both of them > would be too

Re: [PATCH] sb: Merge mailer changes from rtems-tools

2021-04-21 Thread Chris Johns
On 22/4/21 11:48 am, Alex White wrote: > > On Wed, Apr 21, 2021 at 5:06 PM Chris Johns wrote: >> >> Hi Alex, >> >> Is there a chance the password can end up in a log file? > > I did not see the command line options in the email when I sent it to myself

Re: [PATCH] sb: Merge mailer changes from rtems-tools

2021-04-21 Thread Chris Johns
r/sb/mailer.py > index ff25df5..ee5bf07 100644 > --- a/source-builder/sb/mailer.py > +++ b/source-builder/sb/mailer.py > @@ -1,21 +1,32 @@ > # > # RTEMS Tools Project (http://www.rtems.org/) > -# Copyright 2013 Chris Johns (chr...@rtems.org) > +# Copyright 2013-2016 C

Re: Booting a rtems exe on Zynq UltraScale+ MPSoC ZCU106 board

2021-04-20 Thread Chris Johns
On 21/4/21 2:37 pm, Richi Dubey wrote: > Cool, I tried building uboot for the board from this > repo: https://github.com/Xilinx/u-boot-xlnx > , and the instructions for zcu106 are > here:  > https://github.com/Xilinx/u-boot-xlnx/blob/master/doc/board/xilinx/zy

Re: network configuration was: [PATCH 4/4] RTEMS_USE_LWIP option to use lwip in RTEMS

2021-04-20 Thread Chris Johns
On 21/4/21 4:17 pm, Sebastian Huber wrote: > On 20/04/2021 19:37, Gedare Bloom wrote: > >> On Tue, Apr 20, 2021 at 11:09 AM Sebastian Huber >> wrote: >>> On 12/04/2021 11:56, Robin.Mueller wrote: >>> This adds a configuration option if lwIP is used instead of libbsd. It works by specify

Re: Make zero size allocation result consistent across directives

2021-04-20 Thread Chris Johns
On 21/4/21 4:07 pm, Sebastian Huber wrote: > Hello, > > while working on the specification of some memory allocation directives I > noticed that zero size allocations have no consistent behaviour in RTEMS. For > example malloc( 0 ) returns NULL and posix_memalign(&p, align, 0) returns in > p a >

Re: network configuration was: [PATCH 4/4] RTEMS_USE_LWIP option to use lwip in RTEMS

2021-04-20 Thread Chris Johns
On 21/4/21 3:37 am, Gedare Bloom wrote: > To me, it doesn't make any sense that someone will build and install > RTEMS with multiple networking stacks for the same application. I do this. I have applications in production with the legacy stack and being tested and developed against libbsd. This m

Re: [PATCH] bsps/arm: Set MSP in ARMv7-M start code

2021-04-20 Thread Chris Johns
On 20/4/21 3:46 pm, Sebastian Huber wrote: > On 20/04/2021 07:30, Chris Johns wrote: > >> On 20/4/21 3:28 pm, Sebastian Huber wrote: >>> This helps if applications are started by a boot loader. >> How does it help? >     /* >      * Set the Main Stack Pointer (MS

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-19 Thread Chris Johns
On 20/4/21 4:38 pm, Sebastian Huber wrote: > > On 20/04/2021 08:30, Chris Johns wrote: >> On 20/4/21 3:54 pm, Sebastian Huber wrote: >>> On 20/04/2021 07:30, Chris Johns wrote: >>> >>>> We need a way for libdebugger or any other piece of software to capt

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-19 Thread Chris Johns
On 20/4/21 3:54 pm, Sebastian Huber wrote: > On 20/04/2021 07:30, Chris Johns wrote: > >> We need a way for libdebugger or any other piece of software to capture and >> cascade the call. If this can be done on aarch64 then I am happy. > > The fatal error extensions execut

Re: [PATCH] bsps/arm: Set MSP in ARMv7-M start code

2021-04-19 Thread Chris Johns
On 20/4/21 3:28 pm, Sebastian Huber wrote: > This helps if applications are started by a boot loader. How does it help? Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-19 Thread Chris Johns
On 20/4/21 5:02 am, Kinsey Moore wrote: > On 4/18/2021 20:18, Chris Johns wrote: >> On 19/4/21 9:23 am, Joel Sherrill wrote: >>> >>> On Sun, Apr 18, 2021, 5:13 PM Chris Johns >> <mailto:chr...@rtems.org>> wrote: >>> >>> On 17/4/21

Re: OS Neutrality in Python Development Guidelines?

2021-04-19 Thread Chris Johns
On 20/4/21 4:12 am, Sebastian Huber wrote: > On 19/04/2021 18:48, Gedare Bloom wrote: > A random pick of a file and a brief scan ... https://git.rtems.org/rtems-central/tree/rtemsspec/interface.py#n313 >>> There is no issue in this line. I disagree. At a technical level there is an

Re: OS Neutrality in Python Development Guidelines?

2021-04-19 Thread Chris Johns
On 20/4/21 2:52 am, Gedare Bloom wrote: > The biggest issues are paths and CaseSensitive filesystems. I'm sure > there are other hidden brambles though. Path length in Windows ... https://git.rtems.org/rtems-tools/tree/rtemstoolkit/path.py#n63 Chris __

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-18 Thread Chris Johns
On 19/4/21 9:23 am, Joel Sherrill wrote: > > > On Sun, Apr 18, 2021, 5:13 PM Chris Johns <mailto:chr...@rtems.org>> wrote: > > On 17/4/21 10:00 am, Kinsey Moore wrote: > > On 4/16/2021 08:48, Gedare Bloom wrote: > >> On Fri,

Re: [PATCH v1] c-user: Add documentation for exception mapping

2021-04-18 Thread Chris Johns
On 16/4/21 11:19 pm, Sebastian Huber wrote: > On 16/04/2021 15:05, Kinsey Moore wrote: > >> Yes, that's currently the case for non-aarch64 platforms. The test is set to >> require aarch64 as a result. > > How do you get this information from the documentation? > > In case this is something whic

Re: OS Neutrality in Python Development Guidelines?

2021-04-18 Thread Chris Johns
On 16/4/21 3:28 pm, Sebastian Huber wrote: > On 15/04/2021 22:58, Gedare Bloom wrote: >> I guess we should define something to add here? Is anything written >> somewhere we can adopt? > the spirit of the Python guide is to have rules which are enforced by tools. I see a guide as a means to provide

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-18 Thread Chris Johns
On 17/4/21 10:00 am, Kinsey Moore wrote: > On 4/16/2021 08:48, Gedare Bloom wrote: >> On Fri, Apr 16, 2021 at 1:19 AM Sebastian Huber >> wrote: >>> Hello Kinsey, >>> >>> why don't you use a fatal error extension for this? You can save all the >>> processor state to a structure and use it to jump t

Re: [PATCH v1 2/3] aarch64: Add support for mapping exceptions

2021-04-18 Thread Chris Johns
On 18/4/21 8:40 am, Joel Sherrill wrote: > > > On Sat, Apr 17, 2021, 4:27 PM Gedare Bloom > wrote: > > On Sat, Apr 17, 2021 at 8:10 AM Joel Sherrill > wrote: > > > > > > > > On Sat, Apr 17, 2021, 8:25 AM Gedare Bloom

Re: OS Neutrality in Python Development Guidelines?

2021-04-15 Thread Chris Johns
On 16/4/21 6:58 am, Gedare Bloom wrote: > Hello all, > > To revisit a little bit of a controversial subject :) The Python > Development Guidelines have been in place now for a little while, but > one thing that seems to have been missed entirely is guidance on > writing Python code that is OS-neut

Re: [PATCH rtems-net-legacy v3] netlegacy: Use os.path instead of hardcoded Unix like path

2021-04-14 Thread Chris Johns
On 15/4/21 5:22 am, Vijay Kumar Banerjee wrote: > On Wed, Apr 14, 2021 at 1:10 PM Gedare Bloom wrote: >> >> On Wed, Apr 14, 2021 at 12:36 PM Vijay Kumar Banerjee >> wrote: >>> >>> --- >>> netlegacy.py | 27 +-- >>> 1 file changed, 13 insertions(+), 14 deletions(-) >>> >>

Re: Tool update procedure (was Re: Fwd: GCC 10.3 Released)

2021-04-13 Thread Chris Johns
On 12/4/21 6:15 pm, Sebastian Huber wrote: > Hello Chris, > > On 12/04/2021 01:34, Chris Johns wrote: >> On 10/4/21 1:19 am, Joel Sherrill wrote: >>> On Fri, Apr 9, 2021, 9:07 AM Sebastian Huber >>> >> <mailto:sebastian.hu...@embedded-brains.de>&g

Re: [PATCH 0/3] rtemstoolkit: Add SMTP login to mailer

2021-04-13 Thread Chris Johns
On 13/4/21 12:09 pm, Joel Sherrill wrote: > On Mon, Apr 12, 2021, 6:47 PM Chris Johns <mailto:chr...@rtems.org>> wrote: > > Hi Alex, > > This looks great. Thank you for adding this feature. OK to push. > > Do you think a small section called "

Re: [PATCH] rtemstoolkit/mailer.py: Add --use-gitconfig option

2021-04-13 Thread Chris Johns
OK to push with a minor fix noted below ... On 14/4/21 7:33 am, Alex White wrote: > This adds the option to pull mail-related configuration values from the > user's git configuration. > > Closes #4384 > --- > rtemstoolkit/mailer.py | 46 -- > 1 file change

Re: [PATCH 0/3] rtemstoolkit: Add SMTP login to mailer

2021-04-12 Thread Chris Johns
Hi Alex, This looks great. Thank you for adding this feature. OK to push. Do you think a small section called "Posting Reports" that explains how to use these options, ie with GMail, would be good to have? Chris On 13/4/21 6:22 am, Alex White wrote: > This patch set includes changes to allow fo

Tool update procedure (was Re: Fwd: GCC 10.3 Released)

2021-04-11 Thread Chris Johns
On 10/4/21 1:19 am, Joel Sherrill wrote: > On Fri, Apr 9, 2021, 9:07 AM Sebastian Huber > > wrote: > > On 08/04/2021 14:50, Joel Sherrill wrote: > > > Is it time to bump the RSB GCC version for rtems6? > I am not sure, we are always quite u

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

2021-04-11 Thread Chris Johns
On 9/4/21 10:49 pm, Joel Sherrill wrote> libdebugger is probably the only service that is tied enough to RTEMS > that moving it would be a pain for maintenance. The others are just  > simple applications. libdebugger's transport layer is independent of the debugger implementation so in theory it c

Re: Questions about waf config system: "grp" and updating configure.ac

2021-04-09 Thread Chris Johns
On 9/4/21 4:45 pm, Sebastian Huber wrote: > On 09/04/2021 08:28, Chris Johns wrote: > >> On 9/4/21 3:02 pm, Sebastian Huber wrote: >>> I try to not break the old build system, however, I don't add new stuff to >>> it. >>>  From my point of view the o

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

2021-04-09 Thread Chris Johns
On 9/4/21 4:47 pm, Sebastian Huber wrote: > On 09/04/2021 08:36, Chris Johns wrote: > >> On 9/4/21 1:31 am, Gedare Bloom wrote: >>> On Thu, Apr 8, 2021 at 2:18 AM Sebastian Huber >>>> I would keep the services in rtems.git and add APIs for the things which >

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

2021-04-08 Thread Chris Johns
On 9/4/21 1:31 am, Gedare Bloom wrote: > On Thu, Apr 8, 2021 at 2:18 AM Sebastian Huber >> I would keep the services in rtems.git and add APIs for the things which >> depend on RTEMS_NETWORKING. Then implement the API in the network >> stacks. It is not that much: Sebastian, I am sceptical this is

Re: Questions about waf config system: "grp" and updating configure.ac

2021-04-08 Thread Chris Johns
On 9/4/21 3:02 pm, Sebastian Huber wrote: > I try to not break the old build system, however, I don't add new stuff to it. > From my point of view the old build system should be removed. The major > blocking > point for the removal is that nobody had the time to convert the BSP builder > to > use

Re: #3860 - GSoC enquiries

2021-04-07 Thread Chris Johns
On 7/4/21 3:01 pm, Sebastian Huber wrote: > On 06/04/2021 18:12, Gedare Bloom wrote: > >> On Mon, Apr 5, 2021 at 10:37 PM Sebastian Huber >>   wrote: >>> On 04/04/2021 22:18, Joel Sherrill wrote: >>> On Sun, Apr 4, 2021 at 2:25 PM Ida Delphine >>> > wrote: >>>

Re: [PATCH 1/2] Added FAQ page

2021-04-06 Thread Chris Johns
On 6/4/21 2:26 am, Gedare Bloom wrote: > On Sat, Apr 3, 2021 at 5:15 PM Chris Johns wrote: >> >> On 3/4/21 6:29 am, Gedare Bloom wrote: >>> On Fri, Apr 2, 2021 at 12:55 PM Joel Sherrill wrote: >>>> On Fri, Apr 2, 2021 at 1:50 PM Ayushman Mishra >>>

Re: [PATCH 1/4] main_cp.c: Unused value (CID #1255344)

2021-04-06 Thread Chris Johns
On 7/4/21 6:36 am, Ryan Long wrote: > Oh, I definitely missed that. I'm not sure though, but other patches have > used #ifdef. So I should only resubmit this patch then? No. Please submit the whole patch set with a new patch set version number. And this is what needs to happen from now on. Spli

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

2021-04-06 Thread Chris Johns
On 7/4/21 7:40 am, Gedare Bloom wrote: > On Tue, Apr 6, 2021 at 2:24 PM Chris Johns wrote: >> >> >> >>> On 4 Apr 2021, at 11:06 am, Vijay Kumar Banerjee wrote: >>> >>> --- >>> netlegacy.py | 18 +- >>>

Re: [PATCH 1/4] main_cp.c: Unused value (CID #1255344)

2021-04-06 Thread Chris Johns
> On 6 Apr 2021, at 5:38 am, Ryan Long wrote: > > CID 1255344: Unused value in copy(). > > Closes #4339 > --- > cpukit/libmisc/shell/main_cp.c | 64 ++ > 1 file changed, 64 insertions(+) > > diff --git a/cpukit/libmisc/shell/main_cp.c b/cpukit/libmisc/sh

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

2021-04-06 Thread Chris Johns
> On 4 Apr 2021, at 11:06 am, Vijay Kumar Banerjee wrote: > > --- > 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

Re: [PATCH 0/4] Unused value Coverity issues

2021-04-06 Thread Chris Johns
> On 7 Apr 2021, at 2:07 am, Gedare Bloom wrote: > > 1/3/4 are fine, fix 2 and resend the set, or resent 1/3/4 as a set now > to ACK and send 2 separately later. Can we please only post full revised patch sets? I would like to comment on a patch here as well so creating and positing parts of

Re: [PATCH 1/2] rtl-obj.c: Added an early return if rtl lock fails

2021-04-05 Thread Chris Johns
causes rtems_rtl_lock() to return NULL. I would need to look at this in much more detail to completely resolve what happens at an architectural level. That is something else to this patch. > > -Original Message- > From: Chris Johns > Sent: Tuesday, March 30, 2021 11:31 PM &g

Re: [PATCH rtems-docs v2 1/2] Added FAQ page

2021-04-04 Thread Chris Johns
On 4/4/21 1:30 pm, Ayushman Mishra wrote: > Using "-" makes H4 size headings > (https://documentation-style-guide-sphinx.readthedocs.io/en/latest/style-guide.html#headings). > > Could there be a single FAQ section and then internal references, ie > links? : Does it mean making separate .rst pa

Re: [PATCH rtems-docs v2 1/2] Added FAQ page

2021-04-03 Thread Chris Johns
On 4/4/21 10:37 am, Ayushman Mishra wrote: > Sir, can you please clarify a little bit what does "each question needs to be > a > section heading of some level" mean , because sir I have used  this "-" > line > below every question which is a symbol used for showing the sentence as a > heading

Re: [PATCH rtems-docs v2 1/2] Added FAQ page

2021-04-03 Thread Chris Johns
eue of things to do. Chris > > On Sun, Apr 4, 2021 at 5:05 AM Chris Johns wrote: >> >> >> >> On 3/4/21 6:25 am, Gedare Bloom wrote: >>> On Fri, Apr 2, 2021 at 12:19 PM Ayushman Mishra >>> wrote: >>>> >>>> --- >&g

Re: [PATCH rtems-docs v2 1/2] Added FAQ page

2021-04-03 Thread Chris Johns
On 3/4/21 6:25 am, Gedare Bloom wrote: > On Fri, Apr 2, 2021 at 12:19 PM Ayushman Mishra > wrote: >> >> --- >> user/bld/index.rst | 2 + >> user/overview/index.rst | 2 + >> user/start/faq.rst | 295 +++ >> user/start/index.rs

Re: [PATCH 1/2] Added FAQ page

2021-04-03 Thread Chris Johns
On 3/4/21 6:29 am, Gedare Bloom wrote: > On Fri, Apr 2, 2021 at 12:55 PM Joel Sherrill wrote: >> On Fri, Apr 2, 2021 at 1:50 PM Ayushman Mishra >> wrote: >>> >>> Sir, It was given as an issue https://devel.rtems.org/ticket/3958 ( >>> Review wiki/TBR/Website/FAQ for correct links) for the faq pag

Re: [PATCH 1/2] Added FAQ page

2021-04-03 Thread Chris Johns
On 24/3/21 6:34 am, Gedare Bloom wrote: > Did you build the docs and verify they look good? > On Tue, Mar 23, 2021 at 12:44 PM Ayushman Mishra > wrote: >> +How are floating point numbers handled ? >> +- >> + >> +`Floating point support in RTEMS >> +

Re: [PATCH rtems-docs v2 2/2] Corrected link

2021-04-03 Thread Chris Johns
On 3/4/21 5:19 am, Ayushman Mishra wrote: > --- > eng/stakeholders.rst | 4 +++- > user/bld/index.rst | 2 +- > 2 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/eng/stakeholders.rst b/eng/stakeholders.rst > index 756c462..a4413cf 100644 > --- a/eng/stakeholders.rst > +++ b/eng/

Re: [libbsd] How to install machine header files?

2021-03-31 Thread Chris Johns
On 1/4/21 6:37 am, jan.som...@dlr.de wrote: > Hello, > > I stumbled upon some include path problems in libbsd while looking at Chris' > ptpd port and I am not sure what is the recommended way to solve it. > It starts with "freebsd/sys/sys/bus.h" including "machine/_bus.h". > Currently, this will

Re: [rtems5 PATCH 0/5] Backport zynq SPI drivers to rtems5

2021-03-31 Thread Chris Johns
Hi Jan, This looks good. Has this been tested on zync hardware? If no then some testing is needed and if yes then please push. Thanks Chris On 31/3/21 8:06 pm, Jan Sommer wrote: > This patchset backports: > - The cadence SPI driver (see: https://devel.rtems.org/ticket/4369) > - The xilinx axi SP

Re: [PATCH] rld-cc: Add -target to recognised cflags

2021-03-31 Thread Chris Johns
On 1/4/21 3:04 am, Gedare Bloom wrote: > On Wed, Mar 31, 2021 at 12:19 AM Hesham Almatary > wrote: >> >> Ping >> > Go ahead if you tested with gcc also. Fine with me. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/

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

2021-03-31 Thread Chris Johns
On 1/4/21 11:03 am, Vijay Kumar Banerjee wrote: > On Wed, Mar 31, 2021 at 4:19 PM Chris Johns wrote: >> >> Do we need to support platform as well? I have lost track of which Python we >> need build doco. I suspect it is only 3. > > platform.dist is deprecated since

Re: [rtems-tools commit] rld-process: Add named tempfile constructor

2021-03-31 Thread Chris Johns
On 1/4/21 2:26 am, Alex White wrote: > On Tue, Mar 30, 2021 at 10:30 PM Chris Johns wrote: >> >> Hi, >> >> When I looked at this on vc@ I saw it is broken. I am sorry I did not pick >> this >> up in the review. >> >> On 31/3/21 5:20 am, Joel Sh

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

2021-03-31 Thread Chris Johns
I am fine with this. I did not know it existed. On 27/3/21 7:40 am, 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 @@ class rtems

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

2021-03-31 Thread Chris Johns
Do we need to support platform as well? I have lost track of which Python we need build doco. I suspect it is only 3. Chris On 24/3/21 7:05 am, Vijay Kumar Banerjee wrote: > --- > common/latex.py | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/common/latex.py b/c

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

2021-03-30 Thread Chris Johns
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 created a cloned > ticket for master: #4367. Master is more complicated because what

Re: [PATCH 2/2] rtl-allocator.c: Put dereferences after nullcheck

2021-03-30 Thread Chris Johns
+1 ... but it is blocked by the 1/2 patch until that is resolved or a v2 patch set is created. On 31/3/21 4:05 am, Gedare Bloom wrote: > ok > > On Tue, Mar 30, 2021 at 10:57 AM Ryan Long wrote: >> >> ping >> >> -Original Message- >> From: Ryan Long >> Sent: Monday, March 22, 2021 12:08

Re: [PATCH 1/2] rtl-obj.c: Added an early return if rtl lock fails

2021-03-30 Thread Chris Johns
On 31/3/21 4:08 am, Gedare Bloom wrote: > This looks ok. I'm wondering however if these rtems_rtl_lock () ever > should fail in practice, should it be an assert? Just wondering. Good question, I cannot remember. Maybe a better solution is to move to a statically allocated lock using the newer inte

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

2021-03-30 Thread Chris Johns
OK for 5 the branch. It was a really great piece of work by everyone to sort this out. I have recently been hit by 4 separate cases of this change in gcc10 effecting code. Thanks Chris On 31/3/21 11:19 am, Vijay Kumar Banerjee wrote: > Close #4366 > --- > rtems/config/tools/rtems-gdb-9.1-1.cfg

Re: [rtems-tools commit] rld-process: Add named tempfile constructor

2021-03-30 Thread Chris Johns
Hi, When I looked at this on vc@ I saw it is broken. I am sorry I did not pick this up in the review. On 31/3/21 5:20 am, Joel Sherrill wrote: > Module:rtems-tools > Branch:master > Commit:420d7a13672991a1480d06ac02190f2976b9253b > Changeset: > http://git.rtems.org/rtems-tools/commit

Re: [PATCH rtems-docs v2] User/BSPs/Beagle: Add JTAG debugger section

2021-03-30 Thread Chris Johns
And me. Thanks. Chris On 30/3/21 7:47 am, Gedare Bloom wrote: > looks fine to me > > On Mon, Mar 29, 2021 at 1:12 PM Christian Mauderer wrote: >> >> --- >> user/bsps/arm/beagle.rst | 67 ++-- >> 1 file changed, 65 insertions(+), 2 deletions(-) >> >> diff --g

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

2021-03-30 Thread Chris Johns
On 30/3/21 6:03 pm, Till Straumann wrote: > Hi Chris. > > On 3/30/21 4:16 AM, Chris Johns wrote: >> Hi, >> >> Thanks for bring this to our attention. >> >> I have pinged Till via github about the patches. >> >> There is no point adding these

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

2021-03-30 Thread Chris Johns
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 Heinz Junkes): 'RTEMS:5-freebsd-12'. Thanks, that is what I thought. I thi

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

2021-03-30 Thread Chris Johns
On 30/3/21 5:58 pm, Till Straumann wrote: > This emailing of patches is too confusing and time-consuming for me. That is a shame, it is the process we have. > The tip of my branch which I submitted as a pull request > (c77e67ef3cbf71e27ac5daa6a4c4b5acb4f4ba0e) > does not #define MVETH_DEBUG. Int

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

2021-03-29 Thread Chris Johns
On 30/3/21 12:30 pm, Vijay Kumar Banerjee wrote: > 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 inserti

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

2021-03-29 Thread Chris Johns
On 30/3/21 12:27 pm, Vijay Kumar Banerjee wrote: > 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/

Re: [PATCH] covoar: Add option to create named objdumps

2021-03-29 Thread Chris Johns
On 30/3/21 9:10 am, Alex White wrote: > On Mon, Mar 29, 2021 at 4:39 PM Chris Johns wrote: >> >> On 30/3/21 7:56 am, Gedare Bloom wrote: >>> On Fri, Mar 12, 2021 at 10:07 AM Alex White wrote: >>>> >>>> This adds a new behavior to the -d option

Re: [PATCH] coverage/symbol-sets.ini : Add libtrace

2021-03-29 Thread Chris Johns
On 30/3/21 7:19 am, Alex White wrote: > On Sat, Mar 27, 2021 at 9:46 AM Gedare Bloom wrote: >> >> On Fri, Mar 12, 2021 at 10:17 AM Alex White wrote: >>> >>> --- >>>  tester/rtems/testing/coverage/symbol-sets.ini | 3 ++- >>>  1 file changed, 2 insertions(+), 1 deletion(-) >>> >>> diff --git a/test

Re: [PATCH] covoar: Add option to create named objdumps

2021-03-29 Thread Chris Johns
On 30/3/21 7:56 am, Gedare Bloom wrote: > On Fri, Mar 12, 2021 at 10:07 AM Alex White wrote: >> >> This adds a new behavior to the -d option which allows the creation of >> named objdump outputs in the /tmp directory. This allows the outputs to >> be reused on subsequent runs of covoar rather than

Re: [Beagle BSP] How to run all tests on a Beaglebone Black in an automated way

2021-03-28 Thread Chris Johns
On 28/3/21 8:04 pm, Christian Mauderer wrote: > On 28/03/2021 03:16, Chris Johns wrote: >> On 28/3/21 6:16 am, Ahamed Husni wrote: >>> Hi, >>> >>> I ran the hello program on the BBB using a bootable SD card. The SD card >>> has two >>> pa

Re: [PATCH rtems-libbsd 1/2] racoon/session: Honor file descriptor maximum

2021-03-27 Thread Chris Johns
On 22/3/21 7:45 pm, Christian MAUDERER wrote: > Hello Chris, > > Am 19.03.21 um 02:11 schrieb Chris Johns: >> On 3/3/21 7:41 pm, Christian MAUDERER wrote: >>> Hello Chris, >>> >>> Am 03.03.21 um 02:17 schrieb Chris Johns: >>>> On 2/3/2

Re: [Beagle BSP] How to run all tests on a Beaglebone Black in an automated way

2021-03-27 Thread Chris Johns
On 28/3/21 6:16 am, Ahamed Husni wrote: > Hi, > > I ran the hello program on the BBB using a bootable SD card. The SD card has > two > partitions. > > 1. BOOT - primary, bootable, FAT32 > 2. ROOT - primary, ext4 > > The BOOT partition has the following files. > > 1. uEnv.txt > 2. rtems-app

Re: psim failure - dl06

2021-03-27 Thread Chris Johns
On 28/3/21 7:21 am, Joel Sherrill wrote: > While the "multiple resource leaks" thread continues, I thought I would start > threads for other failures that are not resource leaks. dl06 fails as > follows.  There has been no work done on the RAP format and I currently do not have the time to look

Re: [PATCH v6 1/2] covoar: Fix NOP execution marking

2021-03-25 Thread Chris Johns
On 26/3/21 10:28 am, Alex White wrote: > On Thu, Mar 25, 2021 at 6:10 PM Chris Johns wrote: >> >> On 26/3/21 8:49 am, Alex White wrote: >>> Some NOP instructions were not being marked as executed because they >>> are located at the end of uncovered ranges. This ha

Re: [PATCH v6 1/2] covoar: Fix NOP execution marking

2021-03-25 Thread Chris Johns
On 26/3/21 8:49 am, Alex White wrote: > Some NOP instructions were not being marked as executed because they > are located at the end of uncovered ranges. This has been fixed. > --- > tester/covoar/CoverageMapBase.cc | 10 +++ > tester/covoar/CoverageMapBase.h | 4 ++ > tester/covoar/Desired

Re: Making Covoar More C++

2021-03-24 Thread Chris Johns
On 25/3/21 11:54 am, Joel Sherrill wrote: > > > On Wed, Mar 24, 2021, 7:28 PM Chris Johns <mailto:chr...@rtems.org>> wrote: > > > > On 25/3/21 6:54 am, Joel Sherrill wrote: > > > > > > On Wed, Mar 24, 2021 at 2:

Re: Making Covoar More C++

2021-03-24 Thread Chris Johns
On 25/3/21 6:54 am, Joel Sherrill wrote: > > > On Wed, Mar 24, 2021 at 2:42 PM Gedare Bloom > wrote: > > On Wed, Mar 24, 2021 at 1:35 PM Joel Sherrill > wrote: > > > > Hi > > > > There has been a lot of talk about makin

Re: [PATCH v2] bsps/sparc: Remove INI files using SIS in GBD

2021-03-23 Thread Chris Johns
On 24/3/21 6:46 am, Gedare Bloom wrote: > On Tue, Mar 23, 2021 at 1:45 PM Ryan Long wrote: >> >> Removed the INI files that use the "target sim" option >> since the SIS sparc simulator in GBD is no longer used > GDB > >> with RTEMS. A newer version of SIS is built seperately. > while you're at it

Re: rtems-test not running tests for leon3

2021-03-23 Thread Chris Johns
On 24/3/21 1:18 am, Richi Dubey wrote: > Afaik minimum tests are supposed to fail. This is something I am not sure about. It is minimal by definition and as a result does not print anything so it is impossible to determine if the test runs of fails. As an example to show how small RTEMS can be it

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

2021-03-23 Thread Chris Johns
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. >> >> Does this move the manual to near the bottom of the manual list? >> > No, it doesn't. The order is set by the order in this l

Re: [PATCH rtems-docs v3 1/6] prefixes: Update installation prefix

2021-03-22 Thread Chris Johns
On 23/3/21 4:41 am, Gedare Bloom wrote:> I wonder what is your opinion, should we bump these tutorials with > every version? And, is the find/replace of the commands the best way > to do this? > > I feel like this topic comes up now and again. Maintaining these > examples is a little fragile. It

<    9   10   11   12   13   14   15   16   17   18   >