Re: [PATCH 1/3] unit: Add a unit test suite

2022-03-31 Thread Sebastian Huber
On 01/04/2022 01:46, Chris Johns wrote: On 30/3/2022 6:13 pm, Sebastian Huber wrote: + +#include "../validation/ts-default.h" + What is the relationship between this "unit testsuite" and the validation tests? Each validation test suite is linked to one or more requirements. The unit tests ar

Re: [PATCH] libmisc/untar: Use a larger block size to read and write files

2022-03-31 Thread Chris Johns
On 1/4/2022 2:27 pm, Joel Sherrill wrote: > On Thu, Mar 31, 2022, 10:17 PM Chris Johns > wrote: > On 1/4/2022 11:14 am, Joel Sherrill wrote: > > This looks ok. Does it impact any array declaration that I missed? I'm > just > > worrying about changes in stack c

[PATCH] fix _mkdir parameter error.

2022-03-31 Thread zhengxiaojun
Signed-off-by: zhengxiaojun --- tester/covoar/ReportsBase.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/ReportsBase.cc index 0fb9ce0..eb56c4f 100644 --- a/tester/covoar/ReportsBase.cc +++ b/tester/covoar/ReportsBase.cc @@ -65,7

Re: [PATCH] libmisc/untar: Use a larger block size to read and write files

2022-03-31 Thread Joel Sherrill
On Thu, Mar 31, 2022, 10:17 PM Chris Johns wrote: > On 1/4/2022 11:14 am, Joel Sherrill wrote: > > This looks ok. Does it impact any array declaration that I missed? I'm > just > > worrying about changes in stack consumption. > > Not that I could see. A buffer allocated on the heap is now bigger

Re: [PATCH] libmisc/untar: Use a larger block size to read and write files

2022-03-31 Thread Chris Johns
On 1/4/2022 11:14 am, Joel Sherrill wrote: > This looks ok. Does it impact any array declaration that I missed? I'm just > worrying about changes in stack consumption. Not that I could see. A buffer allocated on the heap is now bigger to hold the larger data block and that has been adjusted. I ha

Re: [PATCH] libmisc/untar: Use a larger block size to read and write files

2022-03-31 Thread Joel Sherrill
This looks ok. Does it impact any array declaration that I missed? I'm just worrying about changes in stack consumption. On Thu, Mar 31, 2022, 6:26 PM wrote: > From: Chris Johns > > - A larger block size lets files systems work better. On JFFS > a 512 byte compressed block means lots of small

Re: [PATCH] microblaze: Add AXI GPIO driver

2022-03-31 Thread Chris Johns
Alex, How do you handle single or dual GPIO channel configurations? How do you handle 1 to 32 GPIO pins? On 17/3/2022 3:25 am, Alex White wrote: > On Wed, Mar 16, 2022 at 10:27 AM Gedare Bloom wrote: >> >> On Tue, Mar 15, 2022 at 2:28 PM Alex White wrote: >>> >>> --- >>>  bsps/include/dev/gpio

Re: [PATCH 1/3] unit: Add a unit test suite

2022-03-31 Thread Chris Johns
On 30/3/2022 6:13 pm, Sebastian Huber wrote: > + > +#include "../validation/ts-default.h" > + What is the relationship between this "unit testsuite" and the validation tests? Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/li

Re: [PATCH] libcsupport: Use _fwalk_reent()

2022-03-31 Thread Chris Johns
OK On 1/4/2022 2:09 am, Sebastian Huber wrote: > Use _fwalk_reent() instead of _fwalk(), since _fwalk() was removed from > Newlib. > Include and remove local declarations. > --- > cpukit/libcsupport/src/sync.c | 29 ++--- > 1 file changed, 10 insertions(+), 19 deletions(

[PATCH 4/7] cpukit/libcsupport/src/[a-f]*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- cpukit/libcsupport/src/access.c | 25 -- .../src/arc4random_getentropy_fail.c | 25 -- cpukit/libcsupport/src/assoc32tostring.c | 25 -- cpukit/libcsupport/src/assoclocalbyname.c | 25 -- .../src/ass

[PATCH 2/7] cpukit/include/rtems/cbs.h: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Permission received from Petr Benes Updates #3053. --- cpukit/include/rtems/cbs.h | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/cpukit/include/rtems/cbs.h b/cpukit/include/rtems/cbs.h index a42061ddc0..d8a78cc214 100644 --- a/cpukit/include/rte

[PATCH] libmisc/untar: Use a larger block size to read and write files

2022-03-31 Thread chrisj
From: Chris Johns - A larger block size lets files systems work better. On JFFS a 512 byte compressed block means lots of small flash updates Closes #4635 --- cpukit/libmisc/untar/untar.c | 53 ++-- 1 file changed, 33 insertions(+), 20 deletions(-) diff --git

[PATCH 3/7] cpukit/include/rtems/timespec.h: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Permission received from Krzysztof Miesowicz. Updates #3053. --- cpukit/include/rtems/timespec.h | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/cpukit/include/rtems/timespec.h b/cpukit/include/rtems/timespec.h index 1e9eea71c5..879b106d7b 100644

[PATCH] libcsupport: Use _fwalk_reent()

2022-03-31 Thread Sebastian Huber
Use _fwalk_reent() instead of _fwalk(), since _fwalk() was removed from Newlib. Include and remove local declarations. --- cpukit/libcsupport/src/sync.c | 29 ++--- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcs

[PATCH] libcsupport: Use _fwalk_reent()

2022-03-31 Thread Sebastian Huber
Use _fwalk_reent() instead of _fwalk(), since _fwalk() was removed from Newlib. Include and remove local declarations. --- cpukit/libcsupport/src/sync.c | 29 ++--- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcs

AW: AW: AW: Dependencies of PPS API in rtems-libbsd

2022-03-31 Thread Gabriel.Moyano
> On 30/03/2022 15:19, gabriel.moy...@dlr.de wrote: > >>> Ok, it seems the pps_event() could be called by interrupt service > >>> routines. In this case, you cannot use a mutex and condition variables. > >>> You have to use a thread queue directly. Use the thread queue ISR > >>> lock for mutual exc

[PATCH 1/7] cpukit/score/cpu/moxie: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Permission received from Anthony Green. Updates #3053. --- cpukit/score/cpu/moxie/cpu.c | 25 --- cpukit/score/cpu/moxie/cpu_asm.S | 25 --- cpukit/score/cpu/moxie/include/rtems/asm.h| 25 --- .../score/cpu/moxi

[PATCH 6/7] cpukit/libcsupport/src/[g-r]*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- cpukit/libcsupport/src/getchark.c | 25 +-- cpukit/libcsupport/src/getdents.c | 25 +-- cpukit/libcsupport/src/getrusage.c| 25 +-- cpukit/libcsupport/src/getuid.c | 25 +-- cpukit/

[PATCH 7/7] cpukit/libcsupport/src/_*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- cpukit/libcsupport/src/__assert.c | 25 ++--- cpukit/libcsupport/src/__gettod.c | 25 ++--- cpukit/libcsupport/src/__times.c| 25 ++--- cpukit/libcsupport/src/_calloc_r.c | 25 ++--- cpukit/

[PATCH 0/7] More BSD-2 Relicensing

2022-03-31 Thread Joel Sherrill
Hi This patch series covers three categories of files: + Files written by Anthony Green and Petr Benes who both recently gave permission to relicense + cpukit/libcsupport/src files which were authored by one or more of OAR Corporation, embedded brains, Contemporary Software/Chris Johns, or

Re: AW: AW: AW: Dependencies of PPS API in rtems-libbsd

2022-03-31 Thread Sebastian Huber
On 31/03/2022 12:10, gabriel.moy...@dlr.de wrote: On 30/03/2022 15:19, gabriel.moy...@dlr.de wrote: Ok, it seems the pps_event() could be called by interrupt service routines. In this case, you cannot use a mutex and condition variables. You have to use a thread queue directly. Use the thread

[PATCH 5/7] cpukit/libcsupport/src/[s-z]*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- cpukit/libcsupport/src/setegid.c | 25 ++-- cpukit/libcsupport/src/seteuid.c | 25 ++-- cpukit/libcsupport/src/setgroups.c| 25 ++-- cpukit/libcsupport/src/setuid.c | 25 ++-- cpukit/libcsupport/

[PATCH 09/11] testsuites/sptests/sp[a-h]*/*.doc: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- testsuites/sptests/spassoc01/spassoc01.doc| 25 --- .../sptests/spcbssched01/spcbssched01.doc | 25 --- .../sptests/spcbssched02/spcbssched02.doc | 25 --- .../sptests/spcbssched03/spcbssched03.doc | 25

[PATCH 05/11] testsuites/sptests/sp[a-f*]*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- testsuites/sptests/spassoc01/init.c | 25 --- testsuites/sptests/spcache01/init.c | 25 --- testsuites/sptests/spcbssched01/init.c| 25 --- testsuites/sptests/spcbssched01/system.h | 25

[PATCH 02/11] testsuites/sptests/sp1*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- testsuites/sptests/sp11/init.c | 25 ++--- testsuites/sptests/sp11/system.h | 25 ++--- testsuites/sptests/sp11/task1.c| 25 ++--- testsuites/sptests/sp11/task2.c| 25 ++--- testsuites/

[PATCH 01/11] testsuites/sptests/sp0*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- testsuites/sptests/sp01/init.c | 25 ++--- testsuites/sptests/sp01/system.h | 25 ++--- testsuites/sptests/sp01/task1.c| 25 ++--- testsuites/sptests/sp02/init.c | 25 ++--- testsuites/

[PATCH 03/11] testsuites/sptests/sp[2-3]*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- testsuites/sptests/sp20/getall.c | 25 ++--- testsuites/sptests/sp20/init.c | 25 ++--- testsuites/sptests/sp20/system.h | 25 ++--- testsuites/sptests/sp20/task1.c| 25 ++--- testsuites/

[PATCH 11/11] sp0*/*.doc: Remove junk UTF-8 character

2022-03-31 Thread Joel Sherrill
--- testsuites/sptests/sp02/sp02.doc | 2 +- testsuites/sptests/sp05/sp05.doc | 2 +- testsuites/sptests/sp06/sp06.doc | 2 +- testsuites/sptests/sp07/sp07.doc | 2 +- testsuites/sptests/sp08/sp08.doc | 2 +- testsuites/sptests/x | 4 6 files changed, 9 insertions(+), 5 deletions(

[PATCH 10/11] testsuites/sptests/sp[i-z]*/*.doc: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- .../spintrcritical01/spintrcritical01.doc | 25 --- .../spintrcritical02/spintrcritical02.doc | 25 --- .../spintrcritical03/spintrcritical03.doc | 25 --- .../spintrcritical04/spintrcritical04.doc | 25

[PATCH 04/11] testsuites/sptests/sp[4-7]*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- testsuites/sptests/sp40/init.c | 25 ++--- testsuites/sptests/sp41/init.c | 25 ++--- testsuites/sptests/sp42/init.c | 25 ++--- testsuites/sptests/sp43/init.c | 25 ++--- testsuites/

[PATCH 07/11] testsuites/sptests/sp[s-z]*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- testsuites/sptests/spscheduler01/init.c | 25 ++--- testsuites/sptests/spsem01/init.c | 25 ++--- testsuites/sptests/spsem02/init.c | 25 ++--- testsuites/sptests/spsem03/init.c | 25 ++

[PATCH 06/11] testsuites/sptests/sp[g-r]*: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- testsuites/sptests/spheapprot/init.c | 25 --- testsuites/sptests/spinternalerror01/init.c | 25 --- testsuites/sptests/spinternalerror02/init.c | 25 --- testsuites/sptests/spintr_err01/init.c| 25

[PATCH 08/11] testsuites/sptests/sp[0-7]*/*.doc: Change license to BSD-2

2022-03-31 Thread Joel Sherrill
Updates #3053. --- testsuites/sptests/sp01/sp01.doc | 25 ++--- testsuites/sptests/sp02/sp02.doc | 25 ++--- testsuites/sptests/sp03/sp03.doc | 25 ++--- testsuites/sptests/sp04/sp04.doc | 25 ++--- tes

[PATCH 00/11] Relicense sptests

2022-03-31 Thread Joel Sherrill
Hi This patch series relicenses most of the sptests code to BSD-2. The pattern on the patches is that any code copyright OAR, embedded brains, Chris Johns, or Gedare Bloom was automatically included. I looked at the git diff and reversed a few that included a second name if that person had not gr