[PATCH] freebsd: Fix GDB building on some 12 and higher versions

2020-01-20 Thread chrisj
From: Chris Johns --- source-builder/config/gdb-common-1.cfg | 10 ++ source-builder/sb/freebsd.py | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/source-builder/config/gdb-common-1.cfg b/source-builder/config/gdb-common-1.cfg index 40cba4b..5847f11 1

Re: Raspberry Pi test report

2020-01-20 Thread Alan Cudmore
I don't really have a debug setup.. I'm just using printk for now. But I have a pretty efficient setup where I can add a few printk statements, rebuild and copy the smp01.exe sample over to the SD card. I use this board: https://www.adafruit.com/product/3589 It lets me connect the serial port using

Re: Raspberry Pi test report

2020-01-20 Thread Niteesh
What is your debugging setup? It would be really helpful for my future works on Rpi3. Thanks, Niteesh On Tue, 21 Jan, 2020, 7:23 AM Alan Cudmore, wrote: > A little more information on my Raspberry Pi 2 SMP tests: > > The BSP startup is getting to this loop: > https://git.rtems.org/rtems/tree/cp

Re: Raspberry Pi test report

2020-01-20 Thread Alan Cudmore
A little more information on my Raspberry Pi 2 SMP tests: The BSP startup is getting to this loop: https://git.rtems.org/rtems/tree/cpukit/score/src/percpustatewait.c#n49 (In the function _Per_CPU_State_wait_for_non_initial_state) In the while loop on line 49, the CPU state is PER_CPU_STATE_INITIA

Re: pkg-config

2020-01-20 Thread Chris Johns
On 29/11/19 12:48 am, Sebastian Huber wrote: > > we should think about what variables should be exposed by the pkg-config file. There is a basic set we need then we can add more and directly reference them as variables. I think clean variable naming where we can define some form of namespace woul

Re: [PATCH] RTEMS BSP Buildset

2020-01-20 Thread Chris Johns
On 15/1/20 8:29 am, Gedare Bloom wrote: > > Did you ever get a chance to submit documentation on BSP Buildsets? > No I have not. It is needed but time is not easy to find after a month off. Chris ___ devel mailing list devel@rtems.org http://lists.rte

Re: Cheap Small PC for RTEMS testing

2020-01-20 Thread Chris Johns
On 14/1/20 9:40 am, Joel Sherrill wrote: > I was looking for a recommendation as a cheap test PC option.  > > I was considering the Minnowboard but it looks like minnowboard.org > is dead which makes me a bit vervois. It has 64-bit > BIOS. Did we ever get far enough where

Re: [PATCH v2] Raspberrypi: updated the console interface.

2020-01-20 Thread Chris Johns
On 29/12/19 8:03 pm, Christian Mauderer wrote: > - You can use a real hardware debugger for it. That's what I currently > do - also qemu + gdb could be more powerfull. For that you basically > connect the Alt4 pins (see https://pinout.xyz/pinout/jtag) to a hardware > debugger (something supported b

Re: Raspberry Pi test report

2020-01-20 Thread Chris Johns
On 21/1/20 10:20 am, Alan Cudmore wrote: > As it turns out the latest RTEMS master may need some of the dtb > and/or overlay files in the raspberry pi SD card. But the updated > instructions that Niteesh submitted for the raspberrypi BSP should > still be valid. Great. > Either way, we should be

Re: Raspberry Pi test report

2020-01-20 Thread Alan Cudmore
As it turns out the latest RTEMS master may need some of the dtb and/or overlay files in the raspberry pi SD card. But the updated instructions that Niteesh submitted for the raspberrypi BSP should still be valid. Either way, we should be able to automate it. A firmware release on Github is ~180 m

Re: How does the dynamic loader (libdl) hook in to gdb?

2020-01-20 Thread Chris Johns
Hi Peter, Happy new year. On 17/1/20 9:01 am, Peter Dufault wrote: > I'm trying to hook the SLAC / Til Straumann PowerPC remote debugger stub in > to what's loaded by "libdl" via "dlopen()". *I know* this should be > integrated into "libdebugger", and I do keep my eye on that, but I need to >

Re: Raspberry Pi test report

2020-01-20 Thread Chris Johns
On 6/1/20 9:42 am, Alan Cudmore wrote: > I finally found the time to try the latest RTEMS head on my collection of > Raspberry Pi models. > The last time I tried to run RTEMS on a Pi, I had trouble with the current > version of the Raspberry Pi Firmware, so I had to go back to a specific tag on > t

Re: Raspberry Pi test report

2020-01-20 Thread Chris Johns
On 20/1/20 6:42 am, Alan Cudmore wrote: > I tried the latest RTEMS master on my collection of single core RPis and they > all worked. I used the kernel_address=0x20 option in the config.txt file. > The BSP did not identify the RPi Model B (26 pin GPIO header) or the RPi Model > A+ (1.1) since t

Re: Requirement Document generator tool

2020-01-20 Thread Chris Johns
On 14/1/20 7:18 pm, Christian Mauderer wrote: > On 13/01/2020 18:03, Joel Sherrill wrote: >> >> >> On Mon, Jan 13, 2020 at 10:04 AM Christian Mauderer >> > > wrote: >> >> Hello Jose, >> >> On 10/01/2020 17:33, Jose Valdez wrote: >> > Hello,

Re: RTEMS Project projects?

2020-01-20 Thread Joel Sherrill
On Mon, Jan 20, 2020 at 2:56 PM Chris Johns wrote: > On 21/1/20 4:15 am, Gedare Bloom wrote: > > Maybe just a hierarchical picture could be provided. > I'd be thrilled to hear we have enough organizational structure to need a figure. :) Seriously, it couldn't hurt. We now have a number of separ

Re: RTEMS Project projects?

2020-01-20 Thread Chris Johns
On 21/1/20 4:15 am, Gedare Bloom wrote: > Maybe just a hierarchical picture could be provided. > > I'd also be OK with new "projects" using a different noun, such as "effort" > > As with Chris, I would not change established language (such as for > RTEMS Tools Project). Nice Qualification is stil

Re: [PATCH 1/3] common: Add URLs to manuals

2020-01-20 Thread Chris Johns
> On 21 Jan 2020, at 4:16 am, Gedare Bloom wrote: > > On Sun, Jan 19, 2020 at 10:35 PM Chris Johns wrote: >> >>> On 20/1/20 4:38 pm, Chris Johns wrote: >>> On 3/1/20 11:31 pm, Sebastian Huber wrote: --- common/rtemsdomain.py | 14 +- 1 file changed, 13 insertions(+),

Re: GSOC: Adding FDT infrastructure to RTEMS

2020-01-20 Thread Niteesh
This is what I have understood till now, please correct me if I am wrong All this explanation is in context with FreeBSD. The drivers register themselves using* EARLY_DRIVER_MODULE*, this done with the help of linker sets right? Where all the data structures for the drivers stored things like compa

RE: [PATCH] bsps/arm/shared: Add GICv3 implementation

2020-01-20 Thread Kinsey Moore
Hi, These changes look good. As you said, we want to avoid operating in legacy mode since it's optional and hardware isn't guaranteed to support it. The R52 cores I used to implement and test GICv3 support omitted legacy functionality and I expect most newer cores to do so as well. I suspect tha

Re: [PATCH 1/3] common: Add URLs to manuals

2020-01-20 Thread Gedare Bloom
On Sun, Jan 19, 2020 at 10:35 PM Chris Johns wrote: > > On 20/1/20 4:38 pm, Chris Johns wrote: > > On 3/1/20 11:31 pm, Sebastian Huber wrote: > >> --- > >> common/rtemsdomain.py | 14 +- > >> 1 file changed, 13 insertions(+), 1 deletion(-) > >> > >> diff --git a/common/rtemsdomain.py

Re: RTEMS Project projects?

2020-01-20 Thread Gedare Bloom
Maybe just a hierarchical picture could be provided. I'd also be OK with new "projects" using a different noun, such as "effort" As with Chris, I would not change established language (such as for RTEMS Tools Project). Nice Qualification is still getting off the ground, the language around it cou

Re: Re: Raspberry Pi test report

2020-01-20 Thread Alan Cudmore
One clue for the Raspberry Pi 2 SMP problem: The regular samples work (hello.exe, ticker.exe, unlimited.exe) If I add #define CONFIGURE_MAXIMUM_PROCESSORS 4 to the init.c for hello, it does not work. On Mon, Jan 20, 2020 at 11:52 AM Alan Cudmore wrote: > Sorry for duplicate or incorrectly for

GSOC: Adding FDT infrastructure to RTEMS

2020-01-20 Thread Niteesh
I interested in adding FDT infrastructure similar to FreeBSD and Linux to RTEMS as a GSOC project. I have very little knowledge of how all this works, but I have started learning by digging into FreeBSD code, using online forums and also thanks to Christian for patiently answering all my questions.

Re: [PATCH] bsps/arm/shared: Add GICv3 implementation

2020-01-20 Thread Jeff Kubascik
Hello, My integration work with Xen has identified one potential issue with the gicv3 driver implementation - see comments below. On 1/17/2020 5:20 PM, Joel Sherrill wrote: > On Fri, Jan 17, 2020 at 1:24 PM Jeff Kubascik > wrote: > > Hello, > > Hav

RE: Re: Raspberry Pi test report

2020-01-20 Thread Alan Cudmore
Sorry for duplicate or incorrectly formatted messages. I need to setup an e-mail client to just send plain text. . See my replies below: From: Christian MaudererSent: Sunday, January 19, 2020 2:49 PMTo: Alan Cudmore; Christian Mauderer; gsnb...@gmail.comCc: rtems-de...@rtems.orgSubject: Re: Raspber

RE: Re: Raspberry Pi test report

2020-01-20 Thread Alan Cudmore
  From: Christian MaudererSent: Sunday, January 19, 2020 2:49 PMTo: Alan Cudmore; Christian Mauderer; gsnb...@gmail.comCc: rtems-de...@rtems.orgSubject: Re: Raspberry Pi test report On 19/01/2020 20:42, Alan Cudmore wrote:> I tried the latest RTEMS master on my collection of single core RPis and> t

Re: [PATCH] bsps/arm/shared: Add GICv3 implementation

2020-01-20 Thread Jeff Kubascik
On 1/17/2020 5:20 PM, Joel Sherrill wrote: > On Fri, Jan 17, 2020 at 1:24 PM Jeff Kubascik > wrote: > > Hello, > > Have there been any updates on this patch? I do not see it in mainline. > > > I was hoping someone would comment. :) >   > > >