Re: Chapter/section numbers in document internal references

2019-08-07 Thread Sebastian Huber
On 06/08/2019 10:23, Sebastian Huber wrote: On 06/08/2019 10:05, Chris Johns wrote: On 6/8/19 4:36 pm, Sebastian Huber wrote: Hello, when you use document internal references, e.g. :ref:`RSB` then this is turned into: "Chapter 12 - RTEMS Source Builder" I think this "Chapter 12 - " prefi

Re: GSoC Project | Basic Support for Trace Compass

2019-08-07 Thread Sebastian Huber
On 08/08/2019 08:43, Ravindra Kumar Meena wrote: No, not a typedef. Something like this: diff --git a/misc/record/record-main.c b/misc/record/record-main.c index 314bb78..b5d1a66 100644 --- a/misc/record/record-main.c +++ b/misc/record/record-main.c @@ -422,19 +422,28 @@

Re: GSoC Project | Basic Support for Trace Compass

2019-08-07 Thread Ravindra Kumar Meena
> > No, not a typedef. Something like this: > > diff --git a/misc/record/record-main.c b/misc/record/record-main.c > index 314bb78..b5d1a66 100644 > --- a/misc/record/record-main.c > +++ b/misc/record/record-main.c > @@ -422,19 +422,28 @@ static rtems_record_client_status handler( > return RTEM

Re: GSoC Project | Basic Support for Trace Compass

2019-08-07 Thread Sebastian Huber
On 08/08/2019 06:10, Ravindra Kumar Meena wrote: Could you please move the const metadata content to as few as possible static const metadata_xyz[] = "... ... ..."; variables and write them with fwrite(). Sorry. I didn't get which part of the metadata you want to move. Ar

Re: GSoC Project | Basic Support for Trace Compass

2019-08-07 Thread Ravindra Kumar Meena
> > Could you please move the const metadata content to as few as possible > > static const metadata_xyz[] = "... > ... > ..."; > > variables and write them with fwrite(). > Sorry. I didn't get which part of the metadata you want to move. Are you talking about typedef? > > > > > Is there any codin

Re: sis/gdb on Cygwin

2019-08-07 Thread Chris Johns
On 8/8/19 5:46 am, Joel Sherrill wrote: > On Wed, Aug 7, 2019 at 2:33 PM Jiri Gaisler > wrote: > > > On 8/7/19 8:22 PM, Joel Sherrill wrote: > > Hi > > > > Looks like Cygwin has libncurses but doesn't install the libtermcap. > > compatibility library.

Re: [PATCH] RTEMS BSP Buildset

2019-08-07 Thread Chris Johns
On 8/8/19 6:15 am, Jonathan Brandmeyer wrote: > On Sun, Jul 21, 2019 at 6:13 PM wrote: >> >> This series of patches adds BSP buildset support to the RSB. A top level >> BSP buildset can be added that can include the tools, kernel and 3rd party >> packages, such as libbsd. A single buildset command

Re: littlevGL port to RTEMS

2019-08-07 Thread Chris Johns
On 8/8/19 8:02 am, Vijay Kumar Banerjee wrote: > I have successfully built the littlevGL library and have made a > sample hello world app with it that runs on BBB framebuffer. Fantastic, that is great to hear. > The sample app code is pushed to my github repository here: > https://github.com/thel

[PATCH] user/bsps: Fix typo in beagle

2019-08-07 Thread Vijay Kumar Banerjee
--- user/bsps/arm/beagle.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/bsps/arm/beagle.rst b/user/bsps/arm/beagle.rst index fa7fa05..6c8796b 100644 --- a/user/bsps/arm/beagle.rst +++ b/user/bsps/arm/beagle.rst @@ -26,8 +26,8 @@ To boot via uboot, the ELF must be

littlevGL port to RTEMS

2019-08-07 Thread Vijay Kumar Banerjee
Hello all, I have successfully built the littlevGL library and have made a sample hello world app with it that runs on BBB framebuffer. The sample app code is pushed to my github repository here: https://github.com/thelunatic/rtems-bbb/tree/master/apps/lvgl-sample I had to use my own open_framebu

Re: [PATCH] RTEMS BSP Buildset

2019-08-07 Thread Jonathan Brandmeyer
On Sun, Jul 21, 2019 at 6:13 PM wrote: > > This series of patches adds BSP buildset support to the RSB. A top level > BSP buildset can be added that can include the tools, kernel and 3rd party > packages, such as libbsd. A single buildset command will build and install > a complete BSP development

Re: [PATCH] RTEMS BSP Buildset

2019-08-07 Thread Gedare Bloom
On Sun, Jul 21, 2019 at 6:13 PM wrote: > > This series of patches adds BSP buildset support to the RSB. A top level > BSP buildset can be added that can include the tools, kernel and 3rd party > packages, such as libbsd. A single buildset command will build and install > a complete BSP development

Re: sis/gdb on Cygwin

2019-08-07 Thread Joel Sherrill
On Wed, Aug 7, 2019 at 2:33 PM Jiri Gaisler wrote: > > On 8/7/19 8:22 PM, Joel Sherrill wrote: > > Hi > > > > Looks like Cygwin has libncurses but doesn't install the libtermcap. > > compatibility library. > > > > https://cygwin.com/ml/cygwin/2010-10/msg00018.html says to link > > against ncurse

Re: Design method of RTEMS?

2019-08-07 Thread Joel Sherrill
On Wed, Aug 7, 2019 at 7:17 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I am currently busy working through the ECSS standard documents (that is > real fun work). They want to know what design method was used to develop > the software product (RTEMS in our case). D

Re: sis/gdb on Cygwin

2019-08-07 Thread Jiri Gaisler
On 8/7/19 8:22 PM, Joel Sherrill wrote: > Hi > > Looks like Cygwin has libncurses but doesn't install the libtermcap. > compatibility library. > > https://cygwin.com/ml/cygwin/2010-10/msg00018.html  says to link > against ncurses. > >  gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//

Re: [PATCH v5] user/exe: Add Device Tree section

2019-08-07 Thread Christian Mauderer
The last changes from Gedare are integrated and the patch builds fine. So I pushed it. Thanks for the work. I'll wait with the libbsd patches till weekend so that someone could still add an opinion (besides Chris and me). Best regards Christian On 07/08/2019 18:02, Vijay Kumar Banerjee wrote: >

Re: [PATCH] bsp/beagle: Add nocache section

2019-08-07 Thread Christian Mauderer
Hello Gedare, I'll create a ticket and push the patch. I planned that for the weekend anyway (if no one objected till then). Best regards Christian On 07/08/2019 17:58, Gedare Bloom wrote: > Actually, this could probably use a ticket associated with it... > > On Wed, Aug 7, 2019 at 9:58 AM Ged

sis/gdb on Cygwin

2019-08-07 Thread Joel Sherrill
Hi Looks like Cygwin has libncurses but doesn't install the libtermcap. compatibility library. https://cygwin.com/ml/cygwin/2010-10/msg00018.html says to link against ncurses. gdb-8.2.1/sim/sis/../.. `echo -Dsparc-rtems5 | sed s/-rtems.//` -I. -I../../../gdb-8.2.1/sim/sis -I../common -I../..

Re: Tabs in Source Files [C, H]

2019-08-07 Thread Sebastian Huber
- Am 7. Aug 2019 um 17:43 schrieb Gedare Bloom ged...@rtems.org: > On Wed, Aug 7, 2019 at 8:31 AM Sebastian Huber > wrote: >> >> - Am 7. Aug 2019 um 16:24 schrieb joel j...@rtems.org: >> >> > On Wed, Aug 7, 2019 at 8:59 AM Sebastian Huber < >> > sebastian.hu...@embedded-brains.de> wrote:

Re: GSoC Project | Basic Support for Trace Compass

2019-08-07 Thread Sebastian Huber
- Am 7. Aug 2019 um 17:53 schrieb Ravindra Kumar Meena rmeena...@gmail.com: > Metadata cleanup: > https://github.com/rmeena840/rtems-tools/commit/6eb069cbf6639653a7df3b183a86a58f4da8cdbd > > Generated metadata in client-side: > https://github.com/rmeena840/rtems-tools/commit/1e07b1ea3bb334ee5

Re: [PATCH v5] user/exe: Add Device Tree section

2019-08-07 Thread Vijay Kumar Banerjee
Ping :) On Sun, Aug 4, 2019 at 2:01 AM Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > --- > user/bsps/arm/beagle.rst | 21 + > user/exe/device-tree.rst | 92 > user/exe/index.rst | 1 + > 3 files changed, 95 insertions(+), 19 del

Re: [PATCH] bsp/beagle: Add nocache section

2019-08-07 Thread Gedare Bloom
Actually, this could probably use a ticket associated with it... On Wed, Aug 7, 2019 at 9:58 AM Gedare Bloom wrote: > > This looks good to me, Christian please push it if happy. > > On Fri, Aug 2, 2019 at 2:57 PM Vijay Kumar Banerjee > wrote: > > > > --- > > bsps/arm/beagle/start/bspstart.c

Re: [PATCH] bsp/beagle: Add nocache section

2019-08-07 Thread Gedare Bloom
This looks good to me, Christian please push it if happy. On Fri, Aug 2, 2019 at 2:57 PM Vijay Kumar Banerjee wrote: > > --- > bsps/arm/beagle/start/bspstart.c | 5 + > bsps/arm/beagle/start/linkcmds.beagle | 7 --- > 2 files changed, 9 insertions(+), 3 deletions(-) > > diff --git a

Re: Assembly Language Style

2019-08-07 Thread Gedare Bloom
On Wed, Aug 7, 2019 at 7:50 AM Sebastian Huber wrote: > > - Am 7. Aug 2019 um 15:40 schrieb joel j...@rtems.org: > > > On Wed, Aug 7, 2019 at 8:29 AM Sebastian Huber < > > sebastian.hu...@embedded-brains.de> wrote: > > > >> - Am 7. Aug 2019 um 15:20 schrieb joel j...@rtems.org: > >> > >> >

Re: GSoC Project | Basic Support for Trace Compass

2019-08-07 Thread Ravindra Kumar Meena
Metadata cleanup: https://github.com/rmeena840/rtems-tools/commit/6eb069cbf6639653a7df3b183a86a58f4da8cdbd Generated metadata in client-side: https://github.com/rmeena840/rtems-tools/commit/1e07b1ea3bb334ee56b142f08659869576e76db8 Have a look. Is there any coding style guideline mentioned somewh

Re: Which Python version for new tool code?

2019-08-07 Thread Gedare Bloom
On Tue, Aug 6, 2019 at 5:26 PM Chris Johns wrote: > > On 7/8/19 8:46 am, Joel Sherrill wrote: > > This situation seems to have changed with the release of RHEL 7.7. It now > > includes Python 3.7 without having an addition repository per the > > announcement. > > > > https://www.zdnet.com/article

Re: Tabs in Source Files [C, H]

2019-08-07 Thread Gedare Bloom
On Wed, Aug 7, 2019 at 8:31 AM Sebastian Huber wrote: > > - Am 7. Aug 2019 um 16:24 schrieb joel j...@rtems.org: > > > On Wed, Aug 7, 2019 at 8:59 AM Sebastian Huber < > > sebastian.hu...@embedded-brains.de> wrote: > > > >> - Am 7. Aug 2019 um 15:41 schrieb joel j...@rtems.org: > >> > >> >

Re: Tabs in Source Files [C, H]

2019-08-07 Thread Sebastian Huber
- Am 7. Aug 2019 um 16:24 schrieb joel j...@rtems.org: > On Wed, Aug 7, 2019 at 8:59 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> - Am 7. Aug 2019 um 15:41 schrieb joel j...@rtems.org: >> >> > Hi >> > >> > While looking at assembly language formatting, I decided

Re: Tabs in Source Files [C, H]

2019-08-07 Thread Joel Sherrill
On Wed, Aug 7, 2019 at 8:59 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > - Am 7. Aug 2019 um 15:41 schrieb joel j...@rtems.org: > > > Hi > > > > While looking at assembly language formatting, I decided to grep for tabs > > in source > > files. In cpukit and testsuites, the

Re: Tabs in Source Files [C, H]

2019-08-07 Thread Sebastian Huber
- Am 7. Aug 2019 um 15:41 schrieb joel j...@rtems.org: > Hi > > While looking at assembly language formatting, I decided to grep for tabs > in source > files. In cpukit and testsuites, there are a LOT of files with tabs. > > $ find cpukit testsuites/ -name "*.[ch]" | xargs -e grep -rlP "\t"

Re: Assembly Language Style

2019-08-07 Thread Sebastian Huber
- Am 7. Aug 2019 um 15:40 schrieb joel j...@rtems.org: > On Wed, Aug 7, 2019 at 8:29 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> - Am 7. Aug 2019 um 15:20 schrieb joel j...@rtems.org: >> >> > Hi >> > >> > Most times I teach a class, I end up walking though initi

Tabs in Source Files [C, H]

2019-08-07 Thread Joel Sherrill
Hi While looking at assembly language formatting, I decided to grep for tabs in source files. In cpukit and testsuites, there are a LOT of files with tabs. $ find cpukit testsuites/ -name "*.[ch]" | xargs -e grep -rlP "\t" | grep -v libnetworking | grep -v pppd | grep -v contrib | wc -l 530 That

Re: Assembly Language Style

2019-08-07 Thread Joel Sherrill
On Wed, Aug 7, 2019 at 8:29 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > - Am 7. Aug 2019 um 15:20 schrieb joel j...@rtems.org: > > > Hi > > > > Most times I teach a class, I end up walking though initialization of > some > > SPARC > > BSP and thus the SPARC shared start.S

Re: Assembly Language Style

2019-08-07 Thread Sebastian Huber
- Am 7. Aug 2019 um 15:20 schrieb joel j...@rtems.org: > Hi > > Most times I teach a class, I end up walking though initialization of some > SPARC > BSP and thus the SPARC shared start.S. This file is internally inconsistent > and I > didn't remember us having a defined style for assembly lan

[PATCH 1/2] states*.h: Fix naming inconsistency and formatting

2019-08-07 Thread Joel Sherrill
--- cpukit/include/rtems/score/states.h | 2 +- cpukit/include/rtems/score/statesimpl.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cpukit/include/rtems/score/states.h b/cpukit/include/rtems/score/states.h index 6dcfaaf..2aeee37 100644 --- a/cpukit/include/rtems/score

Assembly Language Style

2019-08-07 Thread Joel Sherrill
Hi Most times I teach a class, I end up walking though initialization of some SPARC BSP and thus the SPARC shared start.S. This file is internally inconsistent and I didn't remember us having a defined style for assembly language files. Specific issues in this file: + tabs vs spaces to separate l

Design method of RTEMS?

2019-08-07 Thread Sebastian Huber
Hello, I am currently busy working through the ECSS standard documents (that is real fun work). They want to know what design method was used to develop the software product (RTEMS in our case). Do you have an idea what the design method was to develop RTEMS? What about Extreme Programming alth

Re: GSoC Project | Basic Support for Trace Compass

2019-08-07 Thread Ravindra Kumar Meena
Code Cleanup: https://github.com/rmeena840/rtems-tools/commit/f19ec63810347f6e532e13b1fb27002554344d3f -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian School of Mines) , Dhanbad _

Re: GSoC PRU: AM35xx Clock driver

2019-08-07 Thread Nils Hölscher
Hi, I was able to confirm that the current libBSD implementation scans the fdt only once. caller: https://github.com/RTEMS/rtems-libbsd/blob/f60ac53420f36060c13104f9a555f39ebc619b09/freebsd/sys/kern/subr_bus.c#L5100 callee: https://github.com/RTEMS/rtems-libbsd/blob/f60ac53420f36060c13104f9a555f39