qemu version for source builder

2021-05-06 Thread Richi Dubey
Hi, rdubey@hpc1:~/quick-start/src/rsb$ ~/quick-start/rtems/6/bin/qemu-system-ppc64 -machine help Supported machines are: 40p IBM RS/6000 7020 (40p) bamboo bamboo g3beige Heathrow based PowerMAC mac99Mac99 based PowerMAC mpc8544ds

Re: [PATCH v3] bsps/shared/ofw: Fix coverity defects

2021-05-06 Thread Niteesh G. S.
On Fri, May 7, 2021 at 4:16 AM Vijay Kumar Banerjee wrote: > On Thu, May 6, 2021 at 10:57 AM Gedare Bloom wrote: > > > > ok, Vijay please push > > Pushed. Thanks. > Thanks for pushing. > > > > > On Thu, May 6, 2021 at 2:06 AM G S Niteesh Babu > wrote: > > > > > > This patch adds asserts to fix

Re: GSoC Project - Beagle BSP Projects

2021-05-06 Thread Ahamed Husni
Hi, Sorry for not providing detailed explanations and for the late response. On Sun, May 2, 2021 at 5:31 PM Christian Mauderer wrote: > Hello Husni, > > On 01/05/2021 23:38, Ahamed Husni wrote: > > Hi all, > > > > My project proposal > > > https://docs.google.com/document/d/1CN3ri7g6NJeFPb5h8y4

Re: [PATCH v3] bsps/shared/ofw: Fix coverity defects

2021-05-06 Thread Vijay Kumar Banerjee
On Thu, May 6, 2021 at 10:57 AM Gedare Bloom wrote: > > ok, Vijay please push Pushed. Thanks. > > On Thu, May 6, 2021 at 2:06 AM G S Niteesh Babu wrote: > > > > This patch adds asserts to fix coverity defects > > 1) CID 1474437 (Out-of-bounds access) > > 2) CID 1474436 (Out-of-bounds access) >

[PATCH v2 5/5] Change filesystem utime_h handler to utimens_h

2021-05-06 Thread Ryan Long
Also updated licenses. Closes #4400 --- bsps/arm/csb337/umon/tfsDriver.c| 2 +- cpukit/Makefile.am | 4 +-- cpukit/include/rtems/confdefs/libio.h | 4 +-- cpukit/include/rtems/imfs.h | 7 +++-- cpukit/include/rtems/libio.h

[PATCH v2 4/5] psx13: Added tests for utimensat() and futimens()

2021-05-06 Thread Ryan Long
Improved tests for utime() and utimes() and update license. Close #4399 --- testsuites/psxtests/psx13/main.c | 5 +- testsuites/psxtests/psx13/test.c | 517 +-- 2 files changed, 498 insertions(+), 24 deletions(-) diff --git a/testsuites/psxtests/psx13/main.c

[PATCH v2 3/5] libcsupport: Implement utimes() in terms of utimensat()

2021-05-06 Thread Ryan Long
utimes() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4398 --- cpukit/libcsupport/src/utimes.c | 51 ++--- 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/cpukit/libcsupport/src/utimes.c b/cp

[PATCH v2 2/5] libcsupport: Implement utime() in terms of utimensat()

2021-05-06 Thread Ryan Long
utime() now calls utimensat() to update file access and modification timestamps. Updated license. Closes #4397 --- cpukit/libcsupport/src/utime.c | 75 +++--- 1 file changed, 41 insertions(+), 34 deletions(-) diff --git a/cpukit/libcsupport/src/utime.c b/cpuk

[PATCH v2 1/5] libcsupport: Added futimens() and utimensat()

2021-05-06 Thread Ryan Long
Created futimens.c and utimensat.c to add support for the POSIX methods futimens() and utimensat(). utime() and utimes() are considered obsolote by POSIX, but RTEMS will continue to support them. Closes #4396 --- cpukit/Makefile.am | 2 + cpukit/include/rtems/libio_.h | 6

[PATCH v2 0/5] Add nanosecond support patch

2021-05-06 Thread Ryan Long
Hi, Here's the patch set with the recommended changes. Joel, Kinsey, and I changed the check for the EACCES and added the EPERM case. We believe that it is correct now. Thanks, Ryan Ryan Long (5): libcsupport: Added futimens() and utimensat() libcsupport: Implement utime() in terms of utimen

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

2021-05-06 Thread Joel Sherrill
On Thu, May 6, 2021 at 12:47 PM Christian Mauderer wrote: > Hello Ida and Gedare, > > On 06/05/2021 06:26, Gedare Bloom wrote: > > hi Ida, > > > > On Wed, May 5, 2021 at 3:21 PM Ida Delphine wrote: > >> > >> Hello everyone, > >> > >> Regarding this project (https://devel.rtems.org/ticket/3860) I

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

2021-05-06 Thread Christian Mauderer
Hello Ida and Gedare, On 06/05/2021 06:26, Gedare Bloom wrote: hi Ida, On Wed, May 5, 2021 at 3:21 PM Ida Delphine wrote: Hello everyone, Regarding this project (https://devel.rtems.org/ticket/3860) I went with clang-format as we all agreed. I have tested it on some "score" files and it ma

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

2021-05-06 Thread Gedare Bloom
On Thu, May 6, 2021 at 10:13 AM Joel Sherrill wrote: > > > > On Wed, May 5, 2021 at 12:35 AM Gedare Bloom wrote: >> >> On Tue, May 4, 2021 at 1:34 PM Stephen Clark >> wrote: >> > >> > Using 32bit types like uint32_t for pointers creates issues on 64 bit >> > architectures like AArch64. Replaced

Re: [PATCH v3] bsps/shared/ofw: Fix coverity defects

2021-05-06 Thread Gedare Bloom
ok, Vijay please push On Thu, May 6, 2021 at 2:06 AM G S Niteesh Babu wrote: > > This patch adds asserts to fix coverity defects > 1) CID 1474437 (Out-of-bounds access) > 2) CID 1474436 (Out-of-bounds access) > > From manual inspection, out of bounds access cannot occur due to > bounds checking b

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

2021-05-06 Thread Joel Sherrill
On Wed, May 5, 2021 at 12:35 AM Gedare Bloom wrote: > On Tue, May 4, 2021 at 1:34 PM 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

Fwd: PowerPC Disassembler Fails to Compile on CentOS 7

2021-05-06 Thread Joel Sherrill
PowerPC failed to build on rtems7 and the next bump should fix it. -- Forwarded message - From: Joel Sherrill Date: Thu, May 6, 2021, 10:24 AM Subject: Re: PowerPC Disassembler Fails to Compile on CentOS 7 To: H.J. Lu Cc: binutils Thanks. I guess the next bump in our bleeding

Re: [PATCH] bsps/raspberrypi/console: Fix default console device

2021-05-06 Thread Niteesh G. S.
Hi Alan, On Thu, May 6, 2021 at 6:12 PM Alan Cudmore wrote: > Hi Niteesh, > > I was hoping to try this out as soon as I get some time. No later than > weekend. So if nobody else is able to check it out, I will be able to > provide some feedback soon. > > I should be able to bring up the console

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

2021-05-06 Thread Alex White
On Wed, May 5, 2021 at 10:15 PM Chris Johns wrote: > > 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 b

Re: Large compressed patch: posix-compliance: Update to include POSIX 1003.1-2017 (Issue 7).

2021-05-06 Thread Joel Sherrill
On Wed, May 5, 2021, 11:36 PM Gedare Bloom wrote: > Thanks Joel. Is this patch 2/2? Go ahead. > Yeah. I will commit it. Thanks. > On Wed, May 5, 2021 at 3:36 PM Joel Sherrill wrote: > > > > Hi > > > > This was too large to send through uncompressed so I am attaching it. > Gedare's idea of n

RE: [PATCH] bsps/raspberrypi/console: Fix default console device

2021-05-06 Thread Alan Cudmore
Hi Niteesh,I was hoping to try this out as soon as I get some time. No later than weekend. So if nobody else is able to check it out, I will be able to provide some feedback soon.I should be able to bring up the console on a RPi Zero W and RPi3, correct? Thanks,Alan From: Niteesh G. S.Sent: Thursda

Re: [PATCH] bsps/raspberrypi/console: Fix default console device

2021-05-06 Thread Niteesh G. S.
ping. On Sat, May 1, 2021 at 9:47 PM Niteesh G. S. wrote: > On Sat, May 1, 2021 at 8:31 PM Joel Sherrill wrote: > >> >> >> On Sat, May 1, 2021, 8:53 AM Niteesh G. S. wrote: >> >>> Just to provide more context, >>> When the CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER option is used >>> and no --

Re: [PATCH v2] bsps/shared/ofw: Fix coverity defects

2021-05-06 Thread Niteesh G. S.
Hi, I am really sorry for sending the wrong patch, the crash happened because of wrong arguments to memove, bcopy has src first and dest second whereas it is vice versa in memmove. I had fixed this but had sent the old one. I am really sorry for the trouble. I'll make sure this doesn't happen agai

[PATCH v3] bsps/shared/ofw: Fix coverity defects

2021-05-06 Thread G S Niteesh Babu
This patch adds asserts to fix coverity defects 1) CID 1474437 (Out-of-bounds access) 2) CID 1474436 (Out-of-bounds access) >From manual inspection, out of bounds access cannot occur due to bounds checking but coverity fails to detect the checks. We are adding asserts as a secondary check. --- bs