Re: #4328: New APIs added to POSIX Standard (2021)

2021-03-27 Thread Eshan Dhawan
> On 27-Mar-2021, at 1:49 AM, Matthew Joyce wrote: > > Hi Dr. Joel, > > I finally built rtems-libbsd and see that pselect and sockatmark are > both defined there. I went ahead and added a "In rtems-libbsd" column > in the spreadsheet to reflect that. > > With those two defined, it looks like

Re: Fw: Re: ticket #3889

2021-03-27 Thread zack_on_the_speed_chanel
with the -rtems-test=Yes when you build the bsp? Sent with [ProtonMail](https://protonmail.com) Secure Email. ‐‐‐ Original Message ‐‐‐ On Sunday, March 28, 2021 12:37 AM, Joel Sherrill wrote: > Did you enable all the tests and try to run it before you made modifications? > > On Sat,

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/21 7:26 pm, Christian MAUDERER wrote: > Hello Chris,

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.

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

Fw: Re: ticket #3889

2021-03-27 Thread zack_on_the_speed_chanel
I found a part of the assembly that says that the path is not called. if ( ( flags & POSIX_CONDITION_VARIABLES_CLOCK_MONOTONIC ) != 0 ) { 40005594: 12 80 00 39 bne 40005678 <_POSIX_Condition_variables_Wait_support+0x118> <== NEVER TAKEN 40005598: f4 27 bf e8 st %i2, [ %fp + -24 ]

ticket #3889

2021-03-27 Thread zack_on_the_speed_chanel
Hello, Last year I tried to do work and help to contribute to RTEMS. I didn't get too far but now I think I now I have a better shot at it! I was able to complete the BSP and tools build, and run the hello world examples. I want to work on small tickets first and work my way into the source

Re: Fw: Re: ticket #3889

2021-03-27 Thread Joel Sherrill
On Sat, Mar 27, 2021, 3:52 PM zack_on_the_speed_chanel < zack_on_the_speed_cha...@protonmail.ch> wrote: > > I found a part of the assembly that says that the path is not called. > > if ( ( flags & POSIX_CONDITION_VARIABLES_CLOCK_MONOTONIC ) != 0 ) { > > 40005594: 12 80 00 39 bne 40005678

psim failure - dl06

2021-03-27 Thread Joel Sherrill
Hi 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. === *** BEGIN OF TEST libdl (RTL) 6 *** *** TEST VERSION: 6.0.0.1e62e15f46283a3affb1e6dcceead0c382482287 *** TEST

psim failure - psx12

2021-03-27 Thread Joel Sherrill
Hi While the "multiple resource leaks" thread continues, I thought I would start threads for other failures that are not resource leaks. psx12 fails as follows. This could be as simple as the decrementer counts instructions and it needs to allow more between clock ticks. But that would require

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: ticket #3889

2021-03-27 Thread Joel Sherrill
On Sat, Mar 27, 2021 at 2:33 PM zack_on_the_speed_chanel < zack_on_the_speed_cha...@protonmail.ch> wrote: > Hello, > Last year I tried to do work and help to contribute to RTEMS. I didn't get > too far but now I think I now I have a better shot at it! I was able to > complete the BSP and tools

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

2021-03-27 Thread Ahamed Husni
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.img 3. Device Tree Blob (am335x-boneblack.dtb) I want

Re: Two Resource Leaks

2021-03-27 Thread Joel Sherrill
On Sat, Mar 27, 2021, 1:38 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 27/03/2021 17:20, Joel Sherrill wrote: > > > > > > > On Sat, Mar 27, 2021, 11:07 AM Sebastian Huber > > > > wrote: > > > > On 27/03/2021 16:08, Joel

Re: Two Resource Leaks

2021-03-27 Thread Sebastian Huber
On 27/03/2021 17:20, Joel Sherrill wrote: On Sat, Mar 27, 2021, 11:07 AM Sebastian Huber > wrote: On 27/03/2021 16:08, Joel Sherrill wrote: >     The issue I found is different and won't happen on every target or >     bsp. >

Re: Two Resource Leaks

2021-03-27 Thread Joel Sherrill
On Sat, Mar 27, 2021, 11:07 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 27/03/2021 16:08, Joel Sherrill wrote: > > > The issue I found is different and won't happen on every target or > > bsp. > > > > Psim has 6-9 failures even after freeing the right stack

Re: Two Resource Leaks

2021-03-27 Thread Sebastian Huber
On 26/03/2021 22:51, Joel Sherrill wrote: Jennifer has been working on a network driver and had some odd failures in libbsd. I suggested turning on rtems debug and that caused a number of libbsd tests to fail. You can also enable the FreeBSD invariants support. In rtems-bsd-kernel-space.h:

Re: Two Resource Leaks

2021-03-27 Thread Sebastian Huber
On 27/03/2021 16:08, Joel Sherrill wrote: The issue I found is different and won't happen on every target or bsp. Psim has 6-9 failures even after freeing the right stack address. The stack address and now (I think) size saved for later use are wrong and this leads to multiple

Re: Two Resource Leaks

2021-03-27 Thread Joel Sherrill
On Sat, Mar 27, 2021 at 8:53 AM Joel Sherrill wrote: > > > On Sat, Mar 27, 2021, 12:04 AM Richi Dubey wrote: > >> I believe that cause of the recent commits in the last two months, these >> are the tests that have started failing on master: >> dl09.exe >> psxpasswd02.exe >> pwdgrp01.exe >>

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

2021-03-27 Thread Gedare Bloom
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/tester/rtems/testing/coverage/symbol-sets.ini > b/tester/rtems/testing/coverage/symbol-sets.ini > index

Re: [PATCH] coverage: Fix option processing on FreeBSD

2021-03-27 Thread Gedare Bloom
ok, but add a comment about the fragility of this ordering in the code On Fri, Mar 12, 2021 at 10:18 AM Alex White wrote: > > Covoar uses getopt() to process the command line options. If getopt() is > POSIX-compliant, it will return -1 when it encounters the first > non-option command line

Re: [PATCH] tester: Limit branch coverage percentage precision

2021-03-27 Thread Gedare Bloom
ok On Fri, Mar 12, 2021 at 10:19 AM Alex White wrote: > > --- > tester/rt/coverage.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tester/rt/coverage.py b/tester/rt/coverage.py > index 77e5b69..3de0bb5 100644 > --- a/tester/rt/coverage.py > +++

Re: [PATCH v4] covoar: Handle periods in symbols from objdump

2021-03-27 Thread Gedare Bloom
this one looks fine to me. On Fri, Mar 26, 2021 at 3:21 PM Alex White wrote: > > ping > > > -Original Message- > > From: Alex White > > Sent: Friday, March 19, 2021 2:10 PM > > To: devel@rtems.org > > Cc: Alex White > > Subject: [PATCH v4] covoar: Handle periods in symbols from objdump

Re: About scheduler entry point add_processor

2021-03-27 Thread Gedare Bloom
On Thu, Mar 25, 2021 at 11:11 PM Richi Dubey wrote: > > Hi, > > I remember reading somewhere that the add_processor function is only used > when a processor is explicitly added during runtime of an application :p, Is > that correct?Please let me know which test tests/uses this function. > cd

Re: Two Resource Leaks

2021-03-27 Thread Joel Sherrill
On Sat, Mar 27, 2021, 12:04 AM Richi Dubey wrote: > I believe that cause of the recent commits in the last two months, these > are the tests that have started failing on master: > dl09.exe > psxpasswd02.exe > pwdgrp01.exe > shell01.exe > sptimecounter02.exe > ttest02.exe > > and a timeout: >

Re: GSOC project: #4334 Replace Mongoose with Civetweb

2021-03-27 Thread Ayushman Mishra
Greetings to all the respected mentors, 1. I saw there has been a lot of discussion regarding replacing mongoose with civetweb ( https://lists.rtems.org/pipermail/devel/2016-April/014661.html ). I think the basic outline of the project is like this a. Completely removing mongoose and replace it

Re: GSoC project: Memory protection (Ticket no: 2904)

2021-03-27 Thread Hesham Almatary
Hello Rajiv, The project is a bit advanced. To be able to use MMU, RTEMS has to be ported to RISC-V's S-Mode. I created a ticket for that a few years ago [1]. This needs a decent understanding of RISC-V and non-trivial efforts to refactor RTEMS and its exception/interrupt handling,

Re: GSoC Project- BSP Executable Conversion

2021-03-27 Thread Daman Bir Singh
Hello, Another project I am interested in is ticket #3302 , Build System conversion of BSP Config (.cfg) files to pkg-config (.pc) files. Please guide me which one is more relevant for GSOC'21 and how to start working on it. On Fri, Mar 19, 2021 at 7:52 AM