[PATCH v2] libc: Added implementations for sig2str/str2sig methods

2021-07-09 Thread Matt Joyce
Added implementations for sig2str() and str2sig() in libc/signal in order to improve POSIX compliance. Added function prototypes added to sys/signal.h. --- newlib/libc/include/sys/signal.h | 12 ++ newlib/libc/signal/sig2str.c | 235 +++ 2 files changed, 247

[PATCH v3] testsuites: Added tests for sig2str/str2sig methods

2021-07-09 Thread Matt Joyce
Fixed newline error at end of psxsignal09.yml. Added psxsignal09 in psxtests and compile only test in psxhdrs in order to evaluate newly added POSIX standard methods in Newlib. --- spec/build/testsuites/psxtests/grp.yml| 2 + spec/build/testsuites/psxtests/libpsxhdrs.yml | 1 +

[PATCH v2] testsuites: Added tests for sig2str/str2sig methods

2021-07-09 Thread Matt Joyce
Added psxsignal09 in psxtests and compile only test in psxhdrs in order to evaluate newly added POSIX standard methods in Newlib. --- spec/build/testsuites/psxtests/grp.yml| 2 + spec/build/testsuites/psxtests/libpsxhdrs.yml | 1 + .../build/testsuites/psxtests/psxsignal09.yml | 20

[PATCH rtems-libbsd v2 1/2] freebsd/if_cgem: Fail probe for unterminated MII

2021-07-09 Thread Kinsey Moore
When the MII bus is unterminated on unused interfaces, it results in PHY read timeouts which manifest as spurious PHYs during the attach call. Detect these timeouts during the probe so the device can be ignored. --- freebsd/sys/dev/cadence/if_cgem.c | 18 ++ 1 file changed, 18

[PATCH rtems-libbsd v2 2/2] rtemsbsd: Present all ZynqMP interfaces by default

2021-07-09 Thread Kinsey Moore
Now that the issue with false PHY detection on unterminated MII busses has been resolved, present all hardware interfaces for use on ZynqMP. --- rtemsbsd/include/bsp/nexus-devices.h | 9 - testsuite/include/rtems/bsd/test/network-config.h.in | 8 waf_libbsd.py

Re: [PATCH rtems-libbsd 1/3] dev/mii: Handle PHY read timeouts

2021-07-09 Thread Kinsey Moore
On 7/9/2021 00:32, Chris Johns wrote: On 9/7/21 3:28 pm, Sebastian Huber wrote: On 09/07/2021 03:14, Kinsey Moore wrote: PHY read timeouts return 0x and bypass the current bad/no PHY checks. This adds a check specifically for that read timeout to avoid probing PHYs that don't exist.

Re: [PATCH rtems-libbsd] rtemsbsd: Use a separate header for test devices

2021-07-09 Thread Chris Johns
On 9/7/21 3:39 pm, Sebastian Huber wrote: > On 08/07/2021 03:11, Kinsey Moore wrote: >> I wonder why this never came up with Zynq or QorIQ. Maybe no one wanted to >> run >> network tests on the alternate interfaces because dev boards with those >> interfaces configured didn't exist? It's possible

Re: [PATCH v3] bsps: Move optfdt* files to shared parent directory

2021-07-09 Thread Pranav Dangi
ping. (Apart from moving the files in a shared directory, a part of this patch also gets the RTEMS master branch to work on all the Pi's except 4.) On Fri, 2 Jul 2021, 09:35 Pranav Dangi, wrote: > yes, I've built all of them > > On Thu, Jul 1, 2021 at 10:01 PM Gedare Bloom wrote: > >> Did you

Re: typical RTEMS system HW?

2021-07-09 Thread Joel Sherrill
On Thu, Jul 8, 2021 at 3:11 AM Shiro wrote: > > Hello, > > I’m new to RTEMS but very much like its features. I’m wonder what HW > (MCU/MPU and memory size) RTEMS is typical used on. Anyone care to share a > bit of details? > Well I held back hoping more people on the using side would answer.

Re: Throughput/Goodput analysis on RTEMS

2021-07-09 Thread Chris Johns
On 2/7/21 4:40 am, Vijay Kumar Banerjee wrote: > I'm planning to do a throughput analysis on the RTEMS network stacks > and I'm looking for some suggestions on the tools/applications for > that if anyone has done something like that before. This is a great project. > If such application has not

Re: Throughput/Goodput analysis on RTEMS

2021-07-09 Thread Vijay Kumar Banerjee
On Fri, Jul 9, 2021 at 8:25 PM Chris Johns wrote: > > On 2/7/21 4:40 am, Vijay Kumar Banerjee wrote: > > I'm planning to do a throughput analysis on the RTEMS network stacks > > and I'm looking for some suggestions on the tools/applications for > > that if anyone has done something like that

Re: GSoC - Code Formatting and Style Checking for RTEMS score

2021-07-09 Thread Ida Delphine
Hello everyone, I added the functionality for my script to ignore certain directories like /bsps/, /testsuites/, '/cpukit/zlib', '/cpukit/mghttpd'. https://github.com/Idadelveloper/rtems/blob/master/hooks/pre-commit Are there any extra directories I should exclude? Also open to more suggestions