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

2021-02-04 Thread Niteesh G. S.
On Thu, Feb 4, 2021 at 1:21 AM Gedare Bloom wrote: > > > On Wed, Feb 3, 2021 at 2:48 AM G S Niteesh Babu > wrote: > >> Fixed use after free and null pointer dereference defects >> >> FIXES: >> 1) CID 1472601 (NULL_RETURNS) >> 2) CID 1472600 (USE_AFTER_FREE) >> 3) CID 1472599 (USE_AFTER_FREE) >>

Re: [PATCH] Basic lwIP for STM32H7 BSP

2021-02-04 Thread Robin Müller
I think the DMA descriptors need to be 32 byte (0x20) aligned. That's the reason the example application was set up like this. Kind Regards Robin On Wed, 3 Feb 2021 at 15:32, Joel Sherrill wrote: > > > On Wed, Feb 3, 2021, 8:26 AM Robin Müller > wrote: > >> Also, Andrei Chichak provided a very

Re: [PATCH] Basic lwIP for STM32H7 BSP

2021-02-04 Thread Joel Sherrill
On Thu, Feb 4, 2021, 6:18 AM Robin Müller wrote: > I think the DMA descriptors need to be 32 byte (0x20) aligned. That's the > reason the example application was set up like this. > But you can just as easily turn them into pointers which point to 32 byte aligned areas in a nocache region. Just

Re: [PATCH] Basic lwIP for STM32H7 BSP

2021-02-04 Thread Sebastian Huber
On 04/02/2021 14:39, Joel Sherrill wrote: On Thu, Feb 4, 2021, 6:18 AM Robin Müller > wrote: I think the DMA descriptors need to be 32 byte (0x20) aligned. That's the reason the example application was set up like this. But you can just as easily turn

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

2021-02-04 Thread Gedare Bloom
On Thu, Feb 4, 2021 at 1:58 AM Niteesh G. S. wrote: > > > On Thu, Feb 4, 2021 at 1:21 AM Gedare Bloom wrote: > >> >> >> On Wed, Feb 3, 2021 at 2:48 AM G S Niteesh Babu >> wrote: >> >>> Fixed use after free and null pointer dereference defects >>> >>> FIXES: >>> 1) CID 1472601 (NULL_RETURNS) >>>

psim autoconf build w/C++ enabled fails oddly

2021-02-04 Thread Joel Sherrill
Hi I will have to doublecheck waf but based on build list posts, autoconf w/o C++ built OK yesterday. The cdtest.exe fails to link like this: gmake[5]: Entering directory `/home/joel/rtems-work/b-psim/powerpc-rtems6/c/psim/testsuites/samples' powerpc-rtems6-g++ -meabi -mcpu=603e -msdata=sysv -fn

Re: [PATCH] Basic lwIP for STM32H7 BSP

2021-02-04 Thread Robin Müller
Could you look into this, based on the existing patch? I don't really have the time to look (deeply) into it in the next few weeks, and the changes are probably easier for you to implement. I can offer to test it though :-) Kind Regards Robin Müller On Thu, 4 Feb 2021 at 14:41, Sebastian Huber <

Re: [PATCH] Basic lwIP for STM32H7 BSP

2021-02-04 Thread Sebastian Huber
On 04/02/2021 18:45, Robin Müller wrote: Could you look into this, based on the existing patch? I don't really have the time to look (deeply) into it in the next few weeks, and the changes are probably easier  for you to implement. I can offer to test it though :-) Ok, please remind me in a we

Re: psim autoconf build w/C++ enabled fails oddly

2021-02-04 Thread Sebastian Huber
On 04/02/2021 18:15, Joel Sherrill wrote: I will have to doublecheck waf but based on build list posts, autoconf w/o C++ built OK yesterday. Is this with the latest tools? One of the recent RSB commits was bad. There is also this issue: https://lists.rtems.org/pipermail/devel/2021-February/

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

2021-02-04 Thread Christian Mauderer
On 04/02/2021 19:52, Christian Mauderer wrote: On 04/02/2021 17:34, Gedare Bloom wrote: On Thu, Feb 4, 2021 at 1:58 AM Niteesh G. S. > wrote:     On Thu, Feb 4, 2021 at 1:21 AM Gedare Bloom mailto:ged...@rtems.org>> wrote:     On Wed, Feb 3, 2021 at

spcontext01 failure

2021-02-04 Thread Richi Dubey
Hi, When I try to run spcontext01.exe with the master as the source and the latest build, it fails. I built a realview_pbx_a9_qemu bsp and ran the program using gdb and qemu system arm. Can someone please verify that it is actually failing on the current master? Thanks, Richi. _

Re: spcontext01 failure

2021-02-04 Thread Richi Dubey
Also, I forgot to mention that I ran the qemu system arm like this: :~/quick-start/CurrentMaster/rtems/6/bin$ qemu-system-arm -net none -nographic -M realview-pbx-a9 -m 256M -kernel ~/quick-start/CurrentMaster/build/bsp/arm-rtems6/c/realview_pbx_a9_qemu/testsuites/samples/unlimited.exe -smp 4 -s

Re: spcontext01 failure

2021-02-04 Thread Sebastian Huber
On 05/02/2021 06:26, Richi Dubey wrote: Also, I forgot to mention that I ran the qemu system arm like this: :~/quick-start/CurrentMaster/rtems/6/bin$ qemu-system-arm -net none -nographic -M realview-pbx-a9 -m 256M -kernel ~/quick-start/CurrentMaster/build/bsp/arm-rtems6/c/realview_pbx_a9_qemu