Re: Guidance on constructing an RTEMS6 BSP

2021-08-09 Thread Sebastian Huber
On 10/08/2021 08:31, gro...@chichak.ca wrote: ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 --target=arm-rtems6 --with-rtems-bsp=stm32f4 --with-rtems-tests=yes 6/rtems-kernel I usually build the tools with the RSB and then separately build the BSP from a Git clone. --

Re: Guidance on constructing an RTEMS6 BSP

2021-08-09 Thread groups
Hi Sebastian, So far there is no code. The BSP won’t build. The only code is: ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 --target=arm-rtems6 --with-rtems-bsp=stm32f4 --with-rtems-tests=yes 6/rtems-kernel Andrei > On 2021-August-10, at 00:20, Sebastian Huber >

Having a problem with an out of the box setup for STM32F4

2021-08-09 Thread Mr . Andrei Chichak
In an attempt to make some progress, I’ve gone back to trying to install RTEMS6 built for STM32F4. Should be straight forward. To make things clean, I don’t do any modifications to any of the code being pulled out of git. I followed the Quick Start section of the RTEMS User Manual, Release 6 ef

Re: [PATCH rtems-libbsd v3 1/3] rtemsbsd/bus: Add PCI support to the nexus bus

2021-08-09 Thread Chris Johns
On 10/8/21 1:43 am, Gedare Bloom wrote: > On Sun, Aug 8, 2021 at 7:22 PM Chris Johns wrote: >> >> - Add PCI IO region support >> >> - Add support map buffers to PCI address space >> >> - Add BSP conditional IO space support. Some PC implementations >> have PCI IO space mapped differently to memo

Having a problem with an out of the box setup for STM32F4

2021-08-09 Thread Mr. Andrei Chichak
In an attempt to make some progress, I’ve gone back to trying to install RTEMS6 built for STM32F4. Should be straight forward. To make things clean, I don’t do any modifications to any of the code being pulled out of git. I followed the Quick Start section of the RTEMS User Manual, Release 6 ef

Re: [PATCH v2] rtems-utils: Change data type definition

2021-08-09 Thread Chris Johns
On 9/8/21 10:48 pm, Ryan Long wrote: > Without the global namespace prefix, it results in the following error > > ../linkers/rtems-exeinfo.cpp: In member function ‘void > rld::exeinfo::image::output_compilation_unit(bool, bool)’: > ../linkers/rtems-exeinfo.cpp:370:14: error: ‘rld::rtems::utils’ h

Re: [PATCH rtems-libbsd v3 2/3] rtemsbsd: Add interface support routines

2021-08-09 Thread Chris Johns
On 10/8/21 1:50 am, Gedare Bloom wrote: > On Sun, Aug 8, 2021 at 7:22 PM Chris Johns wrote: >> >> - Add the ability to check if an interface is up >> --- >> libbsd.py | 1 + >> rtemsbsd/include/rtems/bsd/iface.h | 62 >> rtemsbsd/rtems/rtems-bsd-iface.c

Re: [PATCH v7] Test needed for timer_create with CLOCK_MONOTONI

2021-08-09 Thread Gedare Bloom
Joel: This looks fine to me. On Mon, Aug 9, 2021 at 3:58 PM Zacchaeus Leung wrote: > > Closes #3889 > --- > cpukit/include/rtems/posix/timer.h| 1 + > cpukit/posix/src/psxtimercreate.c | 3 +- > cpukit/posix/src/timergettime.c | 50 --- > t

[PATCH v6] test needed for timer_create with CLOCK_MONOTONIC

2021-08-09 Thread Zacchaeus Leung
Closes #3889 --- cpukit/include/rtems/posix/timer.h| 1 + cpukit/posix/src/psxtimercreate.c | 3 +- cpukit/posix/src/timergettime.c | 50 --- testsuites/psxtests/psxtimer02/psxtimer.c | 26 ++ testsuites/psxtests/psxtimer02/psxtim

[PATCH v7] Test needed for timer_create with CLOCK_MONOTONI

2021-08-09 Thread Zacchaeus Leung
Closes #3889 --- cpukit/include/rtems/posix/timer.h| 1 + cpukit/posix/src/psxtimercreate.c | 3 +- cpukit/posix/src/timergettime.c | 50 --- testsuites/psxtests/psxtimer02/psxtimer.c | 26 ++ testsuites/psxtests/psxtimer02/psxti

[PATCH v6] Test needed for timer_create with CLOCK_MONOTONIC

2021-08-09 Thread Zacchaeus Leung
Closes #3888 --- cpukit/include/rtems/posix/timer.h| 1 + cpukit/posix/src/psxtimercreate.c | 3 +- cpukit/posix/src/timergettime.c | 50 --- testsuites/psxtests/psxtimer02/psxtimer.c | 26 ++ testsuites/psxtests/psxtimer02/psxtim

Re: [PATCH v5] closes #3889 new defect Test needed for timer_create with CLOCK_MONOTONIC

2021-08-09 Thread Gedare Bloom
Your commit message was a little better before, just needed some reformatting. This commit message you are using is not good, as mentioned previously. On Mon, Aug 9, 2021 at 12:44 PM Zacchaeus Leung wrote: > > Closes #3888 > --- > cpukit/include/rtems/posix/timer.h| 1 + > cpukit/po

[PATCH v5] closes #3889 new defect Test needed for timer_create with CLOCK_MONOTONIC

2021-08-09 Thread Zacchaeus Leung
Closes #3888 --- cpukit/include/rtems/posix/timer.h| 1 + cpukit/posix/src/psxtimercreate.c | 3 +- cpukit/posix/src/timergettime.c | 50 --- testsuites/psxtests/psxtimer02/psxtimer.c | 26 ++ testsuites/psxtests/psxtimer02/psxtim

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

2021-08-09 Thread Joel Sherrill
On Mon, Aug 9, 2021, 10:14 AM Pranav Dangi wrote: > Hi joel, > I had sent you a rebased patch as a direct attachment, I will ping that > thread once again. Did that fail too? > I just pushed a patch you sent me directly. Is it ok on master now? --joel > > Thanks, > pranav > > On Mon, 9 Aug 202

Re: [PATCH rtems-libbsd v4] NFSv4 Patches

2021-08-09 Thread Gedare Bloom
Things look mostly fine to me. But the last patch: kern/sys: Add NFSv4 client * in the buildset configuration, should we use nfsv4 to be explicit? Or you think 'nfs' is fine? * freebsd/sys/fs/nfs/nfs_commonkrpc.c: there are random whitespace changes without guards, and ws changes inside of #ifndef

Re: [PATCH v4] Test needed for timer_create with CLOCK_MONOTONIC

2021-08-09 Thread Gedare Bloom
Hi Zack, Getting really close. I have just a few minor nits for you to fix up. On Sun, Aug 8, 2021 at 7:15 PM Zacchaeus Leung wrote: > > the timer_create() method can use CLOCK_MONOTONIC but there was no test for > this. Also it implements the functionality to Wrap commit message lines before

Re: [PATCH] user: Update rsb-packages to reflect RTEMS 6 changes

2021-08-09 Thread Gedare Bloom
On Mon, Aug 9, 2021 at 9:18 AM Joel Sherrill wrote: > > On Mon, Aug 9, 2021 at 10:07 AM Gedare Bloom wrote: > > > > I have to think about this. The approach taken here just replaces 5.1 > > -> 6, it isn't updating the screengrabs. This means the tutorial isn't > > "real" but that might be fine. >

Re: [PATCH rtems-libbsd v3 2/3] rtemsbsd: Add interface support routines

2021-08-09 Thread Gedare Bloom
On Sun, Aug 8, 2021 at 7:22 PM Chris Johns wrote: > > - Add the ability to check if an interface is up > --- > libbsd.py | 1 + > rtemsbsd/include/rtems/bsd/iface.h | 62 > rtemsbsd/rtems/rtems-bsd-iface.c | 146 + > 3 files c

Re: [PATCH rtems-libbsd v3 1/3] rtemsbsd/bus: Add PCI support to the nexus bus

2021-08-09 Thread Gedare Bloom
On Sun, Aug 8, 2021 at 7:22 PM Chris Johns wrote: > > - Add PCI IO region support > > - Add support map buffers to PCI address space > > - Add BSP conditional IO space support. Some PC implementations > have PCI IO space mapped differently to memory space and this needs > to be reflected in th

Re: [PATCH] user: Update rsb-packages to reflect RTEMS 6 changes

2021-08-09 Thread Joel Sherrill
On Mon, Aug 9, 2021 at 10:07 AM Gedare Bloom wrote: > > I have to think about this. The approach taken here just replaces 5.1 > -> 6, it isn't updating the screengrabs. This means the tutorial isn't > "real" but that might be fine. He can replace the screenshots but that is not worth the trouble

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

2021-08-09 Thread Pranav Dangi
Hi joel, I had sent you a rebased patch as a direct attachment, I will ping that thread once again. Did that fail too? Thanks, pranav On Mon, 9 Aug 2021, 20:40 Joel Sherrill, wrote: > On Mon, Aug 9, 2021 at 10:00 AM Gedare Bloom wrote: > > > > Hi Joel, > > > > On Fri, Jul 16, 2021 at 10:40 AM

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

2021-08-09 Thread Joel Sherrill
On Mon, Aug 9, 2021 at 10:00 AM Gedare Bloom wrote: > > Hi Joel, > > On Fri, Jul 16, 2021 at 10:40 AM Joel Sherrill wrote: > > > > I'm doing a build sweep of all BSPs. When that completes, I plan to > > push this unless there are comments. > > > Did/can you push this? It doesn't apply for me. Co

Re: [PATCH] user: Update rsb-packages to reflect RTEMS 6 changes

2021-08-09 Thread Gedare Bloom
I have to think about this. The approach taken here just replaces 5.1 -> 6, it isn't updating the screengrabs. This means the tutorial isn't "real" but that might be fine. The other issue is that when we release, then this has to become 6 -> 6.1 in the release, and 6 -> 7 in the master. How we man

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

2021-08-09 Thread Gedare Bloom
Hi Joel, On Fri, Jul 16, 2021 at 10:40 AM Joel Sherrill wrote: > > I'm doing a build sweep of all BSPs. When that completes, I plan to > push this unless there are comments. > Did/can you push this? > On Fri, Jul 16, 2021 at 9:51 AM pranav wrote: > > > > --- > > .../arm/altera-cyclone-v/bspalt

RE: [PATCH v2] rtems-utils: Change data type definition

2021-08-09 Thread Ryan Long
Without the global namespace prefix, it results in the following error ../linkers/rtems-exeinfo.cpp: In member function ‘void rld::exeinfo::image::output_compilation_unit(bool, bool)’: ../linkers/rtems-exeinfo.cpp:370:14: error: ‘rld::rtems::utils’ has not been declared rtems::utils::ostr

[PATCH] bsps/raspberrypi: Add SEV Instruction for RPi SMP firmware changes.

2021-08-09 Thread pranav
The Pi firmware added a wfe(wait for event), the cores 1-3 wait for the start address being written to the mailbox register, followed by a SEV poke to the mailbox that acts as a wfe wake-up event. --- bsps/arm/raspberrypi/start/bspsmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bsps/arm/

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-09 Thread Chris Johns
On 9/8/21 5:14 pm, Chris Johns wrote: > On 9/8/21 5:02 pm, Christian MAUDERER wrote: >> Hello Chris, >> >> Am 09.08.21 um 02:34 schrieb Chris Johns: >>> On 1/8/21 9:27 pm, Christian Mauderer wrote: Hello Husni, just tested that and it works fine. With a simple curl I can reach abo

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-09 Thread Chris Johns
On 9/8/21 5:02 pm, Christian MAUDERER wrote: > Hello Chris, > > Am 09.08.21 um 02:34 schrieb Chris Johns: >> On 1/8/21 9:27 pm, Christian Mauderer wrote: >>> Hello Husni, >>> >>> just tested that and it works fine. With a simple curl I can reach about 8.5 >>> MByte/s sending to the beagle and 19.5

Re: [PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-08-09 Thread Christian MAUDERER
Hello Chris, Am 09.08.21 um 02:34 schrieb Chris Johns: On 1/8/21 9:27 pm, Christian Mauderer wrote: Hello Husni, just tested that and it works fine. With a simple curl I can reach about 8.5 MByte/s sending to the beagle and 19.5 MByte/s receiving from it. Please take a look at the points that