[PATCH v2] c-user: Add RTEID and ORKID references

2019-06-20 Thread Sebastian Huber
--- c-user/preface.rst | 17 + common/refs.bib| 18 ++ 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/c-user/preface.rst b/c-user/preface.rst index 47b030a..d7d2728 100644 --- a/c-user/preface.rst +++ b/c-user/preface.rst @@ -27,14 +27,15 @@

Re: Fwd: Build Linux: FAILED 6/rtems-sparc.bset on x86_64-linux-gnu (sparc-rtems6-gdb-6f5601c4d0-x86_64-linux-gnu-1)

2019-06-20 Thread Joel Sherrill
On Thu, Jun 20, 2019, 6:03 PM Chris Johns wrote: > On 20/6/19 10:45 pm, Joel Sherrill wrote: > > It looks like gdb is now using something that the gcc shipped with > CentOS 7 > > doesn't like. I reported this to the gdb community. > > GDB's CI found this and from what I can see it was fixed

Re: Fwd: Build Linux: FAILED 6/rtems-sparc.bset on x86_64-linux-gnu (sparc-rtems6-gdb-6f5601c4d0-x86_64-linux-gnu-1)

2019-06-20 Thread Chris Johns
On 20/6/19 10:45 pm, Joel Sherrill wrote: > It looks like gdb is now using something that the gcc shipped with CentOS 7 > doesn't like. I reported this to the gdb community. GDB's CI found this and from what I can see it was fixed yesterday. Chris ___

Re: [PATCH v1] port newlib ndbm patch to rtems rsb 01

2019-06-20 Thread Chris Johns
On 21/6/19 6:29 am, Vaibhav Gupta wrote: > --- > rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg > b/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg > index

Re: Add newlib patch to RTEMS RSB

2019-06-20 Thread Chris Johns
On 21/6/19 4:43 am, Gedare Bloom wrote: > On Thu, Jun 20, 2019 at 11:32 AM Vaibhav Gupta > wrote: >> + /bin/cat >> /home/varodek/development/rtems/rsb/rtems/patches/0001-Port-ndbm.patch >> + /usr/bin/patch -p3 > > This is the problem, the -p3 is wrong. I don't know where this is > coming from

Re: [PATCH] c-user: Add RTEID and ORKID references

2019-06-20 Thread Chris Johns
On 21/6/19 6:54 am, Joel Sherrill wrote: > On Wed, Jun 19, 2019 at 10:44 PM Chris Johns > wrote: > > On 19/6/19 9:17 pm, Sebastian Huber wrote: > > > +  url          = > > {https://ftp.rtems.org/pub/rtems/people/joel/RTEID-ORKID/RTEID-2.1/RTEID-2_1.pdf} >

Re: Add newlib patch to RTEMS RSB

2019-06-20 Thread Joel Sherrill
Chris. can you provide some patch and RSB guidance? Please On Thu, Jun 20, 2019 at 2:07 PM Vaibhav Gupta wrote: > > > On Fri, Jun 21, 2019 at 12:13 AM Gedare Bloom wrote: > >> On Thu, Jun 20, 2019 at 11:32 AM Vaibhav Gupta >> wrote: >> > >> > I checked that erc32 is using rtems-sparc.bset

Re: [PATCH] c-user: Add RTEID and ORKID references

2019-06-20 Thread Joel Sherrill
On Wed, Jun 19, 2019 at 10:44 PM Chris Johns wrote: > On 19/6/19 9:17 pm, Sebastian Huber wrote: > > > + url = { > https://ftp.rtems.org/pub/rtems/people/joel/RTEID-ORKID/RTEID-2.1/RTEID-2_1.pdf > } > > Should these be moved to >

[PATCH v1] port newlib ndbm patch to rtems rsb 01

2019-06-20 Thread Vaibhav Gupta
--- rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg | 6 ++ 1 file changed, 6 insertions(+) diff --git a/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg b/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg index b28a4b1..b8fa829 100644 ---

[PATCH v1] Port ndbm

2019-06-20 Thread Vaibhav Gupta
--- newlib/libc/include/ndbm.h | 84 + newlib/libc/search/Makefile.am | 1 + newlib/libc/search/ndbm.c | 214 + 3 files changed, 299 insertions(+) create mode 100644 newlib/libc/include/ndbm.h create mode 100644 newlib/libc/search/ndbm.c

Re: Add newlib patch to RTEMS RSB

2019-06-20 Thread Vaibhav Gupta
On Fri, Jun 21, 2019 at 12:13 AM Gedare Bloom wrote: > On Thu, Jun 20, 2019 at 11:32 AM Vaibhav Gupta > wrote: > > > > I checked that erc32 is using rtems-sparc.bset file > > Inside it i found, it is using > rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f file > > . > > I

Re: Add newlib patch to RTEMS RSB

2019-06-20 Thread Gedare Bloom
On Thu, Jun 20, 2019 at 11:32 AM Vaibhav Gupta wrote: > > I checked that erc32 is using rtems-sparc.bset file > Inside it i found, it is using > rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f file > . > I added following lines to >

Add newlib patch to RTEMS RSB

2019-06-20 Thread Vaibhav Gupta
I checked that erc32 is using rtems-sparc.bset file Inside it i found, it is using rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f file . I added following lines to rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg %prep %patch setup newlib -p1 . . . %patch add

Re: GSoC PRU: Texas Instruments License

2019-06-20 Thread Joel Sherrill
Agreeing with Gedare. My recollection is that long ago TI included language about only for use with their hardware but that's gone. Holder versus owner shouldn't matter but shows why you should always try to use standard language On Thu, Jun 20, 2019, 9:32 AM Gedare Bloom wrote: > The license

Re: GSoC PRU: Texas Instruments License

2019-06-20 Thread Gedare Bloom
The license is fine. 3-BSD is compatible for us to use. On Thu, Jun 20, 2019, 3:28 AM Christian Mauderer wrote: > On 20/06/2019 11:04, Nils Hölscher wrote: > > Hi, > > > > I would like to discuss the attached TI-license. > > Is it RTEMS compatible? > > As far as I can see It has no copy left,

Re: [PATCH] Write event stream in file

2019-06-20 Thread Sebastian Huber
- Am 20. Jun 2019 um 14:17 schrieb Ravindra Kumar Meena rmeena...@gmail.com: > --- > misc/record/record-main.c | 27 +++ > 1 file changed, 27 insertions(+) > > diff --git a/misc/record/record-main.c b/misc/record/record-main.c > index 742428b..eccf291 100644 > ---

Re: GSoC Project | Basic Support for Trace Compass

2019-06-20 Thread Ravindra Kumar Meena
> > > >> This is very good news. Writing the event stream is the easy part. Just > >> fwrite() the events in the modified print_item(). Your TSDL in the > metadata > >> file must describe this event stream. > >> > > Yes. That's what I am trying today. You suggested that I have to convert > >

[PATCH] Write event stream in file

2019-06-20 Thread Ravindra Meena
--- misc/record/record-main.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/misc/record/record-main.c b/misc/record/record-main.c index 742428b..eccf291 100644 --- a/misc/record/record-main.c +++ b/misc/record/record-main.c @@ -67,6 +67,13 @@ typedef struct

Re: Guidance to make Testsuites

2019-06-20 Thread Vaibhav Gupta
I checked that erc32 is using rtems-sparc.bset file Inside it i found, it is using rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f file . I added following lines to rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg %prep %patch setup newlib -p1 . . . %patch add

Re: GSoC Project | Basic Support for Trace Compass

2019-06-20 Thread Sebastian Huber
- Am 20. Jun 2019 um 11:47 schrieb Ravindra Kumar Meena rmeena...@gmail.com: >> >> This is very good news. Writing the event stream is the easy part. Just >> fwrite() the events in the modified print_item(). Your TSDL in the metadata >> file must describe this event stream. >> > Yes. That's

Re: GSoC Project | Basic Support for Trace Compass

2019-06-20 Thread Ravindra Kumar Meena
> > This is very good news. Writing the event stream is the easy part. Just > fwrite() the events in the modified print_item(). Your TSDL in the metadata > file must describe this event stream. > Yes. That's what I am trying today. You suggested that I have to convert client_item(see below)

Re: GSoC Project | Basic Support for Trace Compass

2019-06-20 Thread Sebastian Huber
- Am 20. Jun 2019 um 10:23 schrieb Ravindra Kumar Meena : > Hi, > I tried babeltrace to test the metadata file I wrote. Babeltrace was reading > the > metadata file without any error or warning. > I intentionally made some error in metadata file and babeltrace was printing > error in

Re: GSoC PRU: Texas Instruments License

2019-06-20 Thread Christian Mauderer
On 20/06/2019 11:04, Nils Hölscher wrote: > Hi, > > I would like to discuss the attached TI-license. > Is it RTEMS compatible? > As far as I can see It has no copy left, but the license has to be > distributed with binarys. > > Best, > Nils > > /* > * prussdrv.c > * > * User space driver for

GSoC PRU: Texas Instruments License

2019-06-20 Thread Nils Hölscher
Hi, I would like to discuss the attached TI-license. Is it RTEMS compatible? As far as I can see It has no copy left, but the license has to be distributed with binarys. Best, Nils /* * prussdrv.c * * User space driver for PRUSS * * Copyright (C) 2012 Texas Instruments Incorporated -

Re: GSoC Project | Basic Support for Trace Compass

2019-06-20 Thread Ravindra Kumar Meena
Hi, I tried babeltrace to test the metadata file I wrote. Babeltrace was reading the metadata file without any error or warning. I intentionally made some error in metadata file and babeltrace was printing error in metadata file. This means that metadata file that we have wrote is error proof

Re: GSoC Project | Basic Support for Trace Compass

2019-06-20 Thread Ravindra Kumar Meena
Hi Sebastian, We wanted to figure out how babeltrace reads the CTF session(CTF+event stream). I asked the same to the community. They suggested that babeltrace traverses the tree and look for files named "metadata". All files at the same depth of a metadata file are considered CTF streams. Here

Re: Guidance to make Testsuites

2019-06-20 Thread Vaibhav Gupta
I checked that erc32 is using rtems-sparc.bset file Inside it i found, it is using rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f file . I added following lines to rsb/rtems/config/tools/rtems-gcc-7.4.0-newlib-1d35a003f.cfg %prep %patch setup newlib -p1 . . . %patch add