Re: RISC-V tool chain

2018-06-06 Thread Sebastian Huber
On 06/06/18 09:34, Chris Johns wrote: We could use an unofficial mirror on Github, e.g. https://codeload.github.com/bminor/binutils-gdb/tar.gz/c61b06a19a34baab66e3809c7b41b0c31009ed9f My main concern with using all these different download sources is that this will likely not work if we want t

Re: [PATCH 3/6] shgen: Import from RTEMS

2018-06-06 Thread Sebastian Huber
On 07/06/18 07:53, Chris Johns wrote: On 07/06/2018 15:39, Sebastian Huber wrote: Corresponding RTEMS commit is 75933d5d25cd50f80162b7a0d2f66a5534e1763f. Update #3443. --- misc/shgen/AUTHORS | 3 + misc/shgen/COPYING | 340 + misc/shgen/

Re: [PATCH 3/6] shgen: Import from RTEMS

2018-06-06 Thread Chris Johns
On 07/06/2018 15:39, Sebastian Huber wrote: > Corresponding RTEMS commit is 75933d5d25cd50f80162b7a0d2f66a5534e1763f. > > Update #3443. > --- > misc/shgen/AUTHORS | 3 + > misc/shgen/COPYING | 340 > + > misc/shgen/TODO| 13 ++ > misc/sh

[PATCH] packhex: Import from RTEMS

2018-06-06 Thread Sebastian Huber
Corresponding RTEMS commit is 75933d5d25cd50f80162b7a0d2f66a5534e1763f. Update #3379. --- misc/packhex/packhex.c | 541 + misc/wscript | 9 + 2 files changed, 550 insertions(+) create mode 100644 misc/packhex/packhex.c diff --git a/mis

[PATCH 1/6] nios2gen: Import from RTEMS

2018-06-06 Thread Sebastian Huber
Corresponding RTEMS commit is 75933d5d25cd50f80162b7a0d2f66a5534e1763f. Update #3444. --- misc/nios2gen/LICENSE| 20 ++ misc/nios2gen/README | 146 misc/nios2gen/bridges.c | 112 +++ misc/nios2gen/bridges.h | 29 ++ misc/nios2gen/clocks.c | 75 + misc/nios2gen/cloc

[PATCH 3/6] shgen: Import from RTEMS

2018-06-06 Thread Sebastian Huber
Corresponding RTEMS commit is 75933d5d25cd50f80162b7a0d2f66a5534e1763f. Update #3443. --- misc/shgen/AUTHORS | 3 + misc/shgen/COPYING | 340 + misc/shgen/TODO| 13 ++ misc/shgen/sci.c | 177 misc/shgen/sci.

[PATCH 2/6] nios2gen: Fix warnings

2018-06-06 Thread Sebastian Huber
Update #3444. --- misc/nios2gen/bridges.c | 5 ++--- misc/nios2gen/clocks.c | 5 ++--- misc/nios2gen/devices.c | 4 ++-- misc/nios2gen/linkcmds.c | 14 ++ misc/nios2gen/memory.c | 4 +--- misc/nios2gen/nios2gen.c | 12 ++-- misc/nios2gen/output.c | 6 +++--- misc/n

[PATCH 6/6] bin2c: Fix warnings

2018-06-06 Thread Sebastian Huber
Update #3380. --- misc/bin2c/rtems-bin2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/bin2c/rtems-bin2c.c b/misc/bin2c/rtems-bin2c.c index 53caf27..6381766 100644 --- a/misc/bin2c/rtems-bin2c.c +++ b/misc/bin2c/rtems-bin2c.c @@ -59,7 +59,6 @@ void process(const char *ifname, const cha

[PATCH 4/6] shgen: Fix warnings

2018-06-06 Thread Sebastian Huber
Update #3443. --- misc/shgen/sci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/shgen/sci.c b/misc/shgen/sci.c index 2b68612..3a093c0 100644 --- a/misc/shgen/sci.c +++ b/misc/shgen/sci.c @@ -138,7 +138,7 @@ int shgen_gensci( if ( i > 0 ) fprintf( file, ",\

[PATCH 5/6] bin2c: Import from RTEMS

2018-06-06 Thread Sebastian Huber
Corresponding RTEMS commit is 75933d5d25cd50f80162b7a0d2f66a5534e1763f. Update #3380. --- misc/bin2c/compat.c | 44 +++ misc/bin2c/rtems-bin2c.c | 330 +++ misc/wscript | 12 ++ 3 files changed, 386 insertions(+) create mode 1006

Re: (release notes generator) How to convert python dictionary to release notes using sphinx?

2018-06-06 Thread Dannie Huang
Hi Chris, Code is pushed on my github (link is attached below), it would be great if you can review it for me! https://github.com/dh0072/ReleaseNotesGenerator I would go to check how Markdown works, thank you! -Dannie On Wed, Jun 6, 2018 at 10:46 PM, Chris Johns wrote: > On 07/06/2018 13:40,

Re: (release notes generator) How to convert python dictionary to release notes using sphinx?

2018-06-06 Thread Chris Johns
On 07/06/2018 13:40, Dannie Huang wrote: > > Currently data from milestone page and ticket page is stored in python > dictionary, This is great. Where is the code so it can be reviewed? > how can I convert python dictionary to release notes using sphinx? I > have checked sphinx documentation bu

(release notes generator) How to convert python dictionary to release notes using sphinx?

2018-06-06 Thread Dannie Huang
Hi, Currently data from milestone page and ticket page is stored in python dictionary, how can I convert python dictionary to release notes using sphinx? I have checked sphinx documentation but not exactly sure how to do it. Best, Dannie ___ devel maili

Re: configure/make with multiple jobs error?

2018-06-06 Thread Chris Johns
On 07/06/2018 03:55, Gedare Bloom wrote: > On Tue, Jun 5, 2018 at 9:02 PM, Chris Johns wrote: >> On 31/5/18 2:56 am, Gedare Bloom wrote: >> >> Is this still only with a concurrent build? >> > > I think this was without concurrent build. > Then I suspect this is the space in the path. >>> make[

Re: [Tracing] Deciding the Yaml configuration for barectf input

2018-06-06 Thread Vidushi Vashishth
Hey Guillaume! >I am wondering what tools are currently used for visualizing the resulting RTEMS trace, if any. And what are your plan on this aspect once you can output CTF traces with >RTEMS? RTEMS wiki pages do suggest using trace compass for the purpose of visualization of traces [1]. It seem

Re: error while building leon3 with gcov flags

2018-06-06 Thread Vijay Kumar Banerjee
On Thu, 7 Jun 2018, 02:39 Joel Sherrill, wrote: > > > On Wed, Jun 6, 2018, 3:56 PM Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> On 7 June 2018 at 01:48, Joel Sherrill wrote: >> >>> >>> >>> On Wed, Jun 6, 2018, 2:07 PM Vijay Kumar Banerjee < >>> vijaykumar9...@gmail.com> wrote:

Re: error while building leon3 with gcov flags

2018-06-06 Thread Joel Sherrill
On Wed, Jun 6, 2018, 3:56 PM Vijay Kumar Banerjee wrote: > On 7 June 2018 at 01:48, Joel Sherrill wrote: > >> >> >> On Wed, Jun 6, 2018, 2:07 PM Vijay Kumar Banerjee < >> vijaykumar9...@gmail.com> wrote: >> >>> On 6 June 2018 at 20:49, Joel Sherrill wrote: >>> I can't duplicate this. My co

Re: error while building leon3 with gcov flags

2018-06-06 Thread Vijay Kumar Banerjee
On 7 June 2018 at 01:48, Joel Sherrill wrote: > > > On Wed, Jun 6, 2018, 2:07 PM Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> On 6 June 2018 at 20:49, Joel Sherrill wrote: >> >>> I can't duplicate this. My configure command was: >>> >>> ../rtems/configure --target=sparc-rtems5

Re: error while building leon3 with gcov flags

2018-06-06 Thread Joel Sherrill
On Wed, Jun 6, 2018, 2:07 PM Vijay Kumar Banerjee wrote: > On 6 June 2018 at 20:49, Joel Sherrill wrote: > >> I can't duplicate this. My configure command was: >> >> ../rtems/configure --target=sparc-rtems5 --enable-rtemsbsp=leon3 >> --prefix=/home/joel/rtems-work/tools/5 \ >>--disable-netwo

Re: error while building leon3 with gcov flags

2018-06-06 Thread Vijay Kumar Banerjee
On 6 June 2018 at 20:49, Joel Sherrill wrote: > I can't duplicate this. My configure command was: > > ../rtems/configure --target=sparc-rtems5 --enable-rtemsbsp=leon3 > --prefix=/home/joel/rtems-work/tools/5 \ >--disable-networking --enable-posix --disable-smp > --disable-multiprocessing \ >

Re: configure/make with multiple jobs error?

2018-06-06 Thread Gedare Bloom
On Tue, Jun 5, 2018 at 9:02 PM, Chris Johns wrote: > On 31/5/18 2:56 am, Gedare Bloom wrote: >> On Wed, May 30, 2018 at 12:15 PM, Gedare Bloom wrote: >>> On Wed, May 30, 2018 at 12:10 PM, Gedare Bloom wrote: Hello all, I got a strange error just now with a fresh toolchain and curr

[Tracing] Deciding the Yaml configuration for barectf input

2018-06-06 Thread Vidushi Vashishth
Hi! I have written a blog post (https://vidushivashishth.github.io/sixthpost/) summarizing two approaches to CTF generation that I can employ at this point. I prefer on working with the barectf approach. The only blocker that exists with this approach is deciding on a YAML configuration [1] for d

Thoughts on Reusing FreeBSD msun tests

2018-06-06 Thread Joel Sherrill
Hi I can't find this on FreeBSD head but it looks like a decent set of tests for fenv and other libm functionality. http://web.mit.edu/freebsd/head/tools/regression/lib/msun/ Thoughts on incorporating this into our tests? --joel ___ devel mailing list

Re: (release notes generator) Do we need to worry about attachment?

2018-06-06 Thread Dannie Huang
The attachment problem has been solved, thank you so much! -Dannie On Tue, Jun 5, 2018 at 8:43 PM, Chris Johns wrote: > Hi, > > For the record this topic was resolved in our meeting. > > Attachments will not be inlined in the release notes and a link where > possible > will be provided. Expansi

Re: error while building leon3 with gcov flags

2018-06-06 Thread Joel Sherrill
I can't duplicate this. My configure command was: ../rtems/configure --target=sparc-rtems5 --enable-rtemsbsp=leon3 --prefix=/home/joel/rtems-work/tools/5 \ --disable-networking --enable-posix --disable-smp --disable-multiprocessing \ --enable-tests --enable-cxx --enable-maintainer-mode What

error while building leon3 with gcov flags

2018-06-06 Thread Vijay Kumar Banerjee
Hello, I have added the following changes in the bsps/sparc/leon3/config/leon3.cfg -- CFLAGS_OPTIMIZE_V = -Os -g CFLAGS_OPTIMIZE_V += -ftest-coverage --- While trying to build with these flags, I got a bunch of the following errors: == {standard input}: Assembler messages: {

Re: [GSoC - x86_64 BSP] Using fPIC to compile RTEMS as a shared library

2018-06-06 Thread Amaan Cheval
Chris, I've blogged a summary of the 2 approaches we can take in integrating gnu-efi in case you missed the discussions earlier, btw. The FreeBSD approach isn't as fleshed out, but I'll let you all know what I find there. https://blog.whatthedude.com/post/gnu-efi-kernel-so/ On Wed, Jun 6, 2018 at

Re: [PATCH v3] tester: Add script to generate html coverage report from covoar output

2018-06-06 Thread Vijay Kumar Banerjee
On 6 June 2018 at 17:48, Joel Sherrill wrote: > > > On Wed, Jun 6, 2018, 1:16 AM Cillian O'Donnell > wrote: > >> >> >> On Wed, 6 Jun 2018, 01:52 Joel Sherrill, wrote: >> >>> >>> >>> On Tue, Jun 5, 2018, 7:22 PM Vijay Kumar Banerjee < >>> vijaykumar9...@gmail.com> wrote: >>> On 6 June 2018

Re: [PATCH v3] tester: Add script to generate html coverage report from covoar output

2018-06-06 Thread Joel Sherrill
On Wed, Jun 6, 2018, 1:16 AM Cillian O'Donnell wrote: > > > On Wed, 6 Jun 2018, 01:52 Joel Sherrill, wrote: > >> >> >> On Tue, Jun 5, 2018, 7:22 PM Vijay Kumar Banerjee < >> vijaykumar9...@gmail.com> wrote: >> >>> On 6 June 2018 at 03:57, Joel Sherrill wrote: >>> I think everything is push

Re: RISC-V tool chain

2018-06-06 Thread Sebastian Huber
On 06/06/18 07:16, Sebastian Huber wrote: We could use an unofficial mirror on Github, e.g. https://codeload.github.com/bminor/binutils-gdb/tar.gz/c61b06a19a34baab66e3809c7b41b0c31009ed9f My main concern with using all these different download sources is that this will likely not work if we

[PATCH 4/4] 5: Add GDB for RISC-V

2018-06-06 Thread Sebastian Huber
Mainline GDB support for RISC-V is not yet in a released GDB version. --- rtems/config/5/rtems-riscv32.bset | 1 + rtems/config/5/rtems-riscv64.bset | 1 + .../rtems-gdb-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg | 14 ++ 3 files ch

[PATCH 3/4] 5: Update RISC-V Binutils

2018-06-06 Thread Sebastian Huber
This includes the following bug fix: https://sourceware.org/bugzilla/show_bug.cgi?id=23244 --- rtems/config/5/rtems-riscv32.bset | 2 +- rtems/config/5/rtems-riscv64.bset | 2 +- ...ls-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg | 29 ++ 3

[PATCH 1/4] Build only the Binutils

2018-06-06 Thread Sebastian Huber
The Binutils and GDB share a repository. In order to build the Binutils from a repository snapshot some components must be disabled. --- source-builder/config/binutils-2-1.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/source-builder/config/binutils-2-1.cfg b/source-builder/config/binut

[PATCH 2/4] Build only the GDB

2018-06-06 Thread Sebastian Huber
The Binutils and GDB share a repository. In order to build the GDB from a repository snapshot some components must be disabled. --- source-builder/config/gdb-7-1.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/source-builder/config/gdb-7-1.cfg b/source-builder/config/gdb-7-1.cfg index a0

Re: RISC-V tool chain

2018-06-06 Thread Hesham Almatary
If pulling from external GitHub repos (i.e. not GNU) is an option, then [1, 2] are very well-maintained and have any cutting-edge changes that are supposed to be merged with GNU repos. SiFive's SDK, FreeBSD and seL4 rely on riscv-tools and I always use it. [1] https://github.com/riscv/riscv-gnu-

Re: [PATCH] Adding tracing documentation in user manual

2018-06-06 Thread Vidushi Vashishth
I am just sending a revised version with incorporations of your >> suggestions. I will create a fresh version 2 patch after everyone has >> reviewed. >> > > If you send revised version, then please send them as a separate patch > with a new version. You can mention in the commit message what you ch

Re: [GSoC - x86_64 BSP] Using fPIC to compile RTEMS as a shared library

2018-06-06 Thread Amaan Cheval
I don't know yet, but I'll look into it. I'll pause the "hello.efi" approach work until we settle on a direction, yes? For now, primarily improving the stub, looking into the FreeBSD ld-elf.so, etc. Sound good? On Wed, Jun 6, 2018, 1:01 PM Chris Johns wrote: > On 6/6/18 5:22 pm, Amaan Cheval wro

[PATCH] Fix --show-commands.

2018-06-06 Thread Christian Mauderer
In the current version of libbsd, if the --show-commands option is used, the cwd is passed as a Nod3. Popen does not work with that. Therefore create a string from cwd if it isn't already. --- rtems.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtems.py b/rtems.py index 6907709..a88c679

Re: RISC-V tool chain

2018-06-06 Thread Chris Johns
On 6/6/18 5:30 pm, Sebastian Huber wrote: > On 06/06/18 07:16, Sebastian Huber wrote: >> >> We could use an unofficial mirror on Github, e.g. >> >> https://codeload.github.com/bminor/binutils-gdb/tar.gz/c61b06a19a34baab66e3809c7b41b0c31009ed9f >> >> >> My main concern with using all these different

Re: RISC-V tool chain

2018-06-06 Thread Chris Johns
On 6/6/18 3:16 pm, Sebastian Huber wrote: > > The Git checkouts have the problem that you need an internet connection during > the build (as far as I remember). Yes you cannot take a repo offline like an archive. I suppose I could change the way we handle git repos with an archive configuration

Re: [GSoC - x86_64 BSP] Using fPIC to compile RTEMS as a shared library

2018-06-06 Thread Chris Johns
On 6/6/18 5:22 pm, Amaan Cheval wrote: > On Wed, Jun 6, 2018 at 12:45 PM, Chris Johns wrote: >> On 6/6/18 5:06 pm, Amaan Cheval wrote: >>> On Wed, Jun 6, 2018 at 6:55 AM, Chris Johns wrote: On 4/6/18 7:49 pm, Amaan Cheval wrote: > Please let me know if that approach doesn't make sense -

Re: RISC-V tool chain

2018-06-06 Thread Sebastian Huber
On 06/06/18 07:16, Sebastian Huber wrote: We could use an unofficial mirror on Github, e.g. https://codeload.github.com/bminor/binutils-gdb/tar.gz/c61b06a19a34baab66e3809c7b41b0c31009ed9f My main concern with using all these different download sources is that this will likely not work if w

Re: [GSoC - x86_64 BSP] Using fPIC to compile RTEMS as a shared library

2018-06-06 Thread Amaan Cheval
On Wed, Jun 6, 2018 at 12:45 PM, Chris Johns wrote: > On 6/6/18 5:06 pm, Amaan Cheval wrote: >> On Wed, Jun 6, 2018 at 6:55 AM, Chris Johns wrote: >>> On 4/6/18 7:49 pm, Amaan Cheval wrote: Please let me know if that approach doesn't make sense - given that there is no dynamic loader in

Re: [GSoC - x86_64 BSP] Using fPIC to compile RTEMS as a shared library

2018-06-06 Thread Chris Johns
On 6/6/18 5:06 pm, Amaan Cheval wrote: > On Wed, Jun 6, 2018 at 6:55 AM, Chris Johns wrote: >> On 4/6/18 7:49 pm, Amaan Cheval wrote: >>> Please let me know if that approach doesn't make sense - given that >>> there is no dynamic loader in the RTEMS kernel as far as I know, >> >> There is a dynami

Re: [PATCH] Adding tracing documentation in user manual

2018-06-06 Thread Sebastian Huber
On 05/06/18 22:39, Vidushi Vashishth wrote: I am just sending a revised version with incorporations of your suggestions. I will create a fresh version 2 patch after everyone has reviewed. If you send revised version, then please send them as a separate patch with a new version. You can ment

Re: [GSoC - x86_64 BSP] Using fPIC to compile RTEMS as a shared library

2018-06-06 Thread Amaan Cheval
On Wed, Jun 6, 2018 at 6:55 AM, Chris Johns wrote: > On 4/6/18 7:49 pm, Amaan Cheval wrote: >> Please let me know if that approach doesn't make sense - given that >> there is no dynamic loader in the RTEMS kernel as far as I know, > > There is a dynamic loader in RTEMS called libdl. It is not base