Re: Basic RISC-V 32-bit tool chain

2017-09-14 Thread Sebastian Huber
RISC-V support is still not included in GDB 8.0.1. According to the Newlib RISC-V maintainer due to a lack of time. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@e

Re: Basic RISC-V 32-bit tool chain

2017-08-23 Thread Gedare Bloom
Denis, On Wed, Aug 23, 2017 at 1:23 AM, Sebastian Huber wrote: > On 23/08/17 04:16, Chris Johns wrote: > >> On 23/08/2017 11:34, Hesham Almatary wrote: >>> >>> Hi all, >>> >>> I am reporting my efforts on this thread: >>> >>> * RSB/master/vanilla: riscv32 tested and builds just fine with no >>> c

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Sebastian Huber
On 23/08/17 04:16, Chris Johns wrote: On 23/08/2017 11:34, Hesham Almatary wrote: Hi all, I am reporting my efforts on this thread: * RSB/master/vanilla: riscv32 tested and builds just fine with no changes from my side. Hesham, can you please update rtems-all.bset to add RISC-V? The change i

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Chris Johns
On 23/08/2017 11:34, Hesham Almatary wrote: > Hi all, > > I am reporting my efforts on this thread: > > * RSB/master/vanilla: riscv32 tested and builds just fine with no > changes from my side. Hesham, can you please update rtems-all.bset to add RISC-V? The change is OK'ed by me so please just p

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Hesham Almatary
Hi all, I am reporting my efforts on this thread: * RSB/master/vanilla: riscv32 tested and builds just fine with no changes from my side. * RTEMS/riscv32: priv-1.10 branch - rebased with rtems/master, fixed errors, and pushed to GitHub [1]. * RTEMS/Spike: BSP builds sample tests and tested hello/

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Denis Obrezkov
I propose Hesham to rebase his tree so I can rebase my tree against his one and send a pull request till the end of GSoC. 2017-08-23 1:07 GMT+02:00 Joel Sherrill : > Definitely looks like that tree is out of date a bit. > > Looks like Heshams's tree needs to be rebased. Even better would > be mer

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Joel Sherrill
Definitely looks like that tree is out of date a bit. Looks like Heshams's tree needs to be rebased. Even better would be merging it to rtems.org if it is ready now. :) --joel On Tue, Aug 22, 2017 at 6:01 PM, Denis Obrezkov wrote: > 2017-08-23 0:58 GMT+02:00 Joel Sherrill : > >> I would guess

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Denis Obrezkov
2017-08-23 0:58 GMT+02:00 Joel Sherrill : > I would guess that's the case: > > $ cd rtems > [joel@localhost rtems]$ find . -name "_kernel*.h" > ./cpukit/libcsupport/include/machine/_kernel_time.h > ./cpukit/libcsupport/include/machine/_kernel_types.h > ./cpukit/libcsupport/include/machine/_kernel_

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Joel Sherrill
I would guess that's the case: $ cd rtems [joel@localhost rtems]$ find . -name "_kernel*.h" ./cpukit/libcsupport/include/machine/_kernel_time.h ./cpukit/libcsupport/include/machine/_kernel_types.h ./cpukit/libcsupport/include/machine/_kernel_cpuset.h ./cpukit/libcsupport/include/machine/_kernel_pa

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Denis Obrezkov
2017-08-23 0:02 GMT+02:00 Denis Obrezkov : > 2017-08-22 23:49 GMT+02:00 Joel Sherrill : > >> >> >> On Tue, Aug 22, 2017 at 4:25 PM, Denis Obrezkov >> wrote: >> >>> 2017-08-22 22:09 GMT+02:00 Joel Sherrill : >>> Sebastian, Did you consciously not add riscv do rtems-all.bset? Or was

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Denis Obrezkov
2017-08-22 23:49 GMT+02:00 Joel Sherrill : > > > On Tue, Aug 22, 2017 at 4:25 PM, Denis Obrezkov > wrote: > >> 2017-08-22 22:09 GMT+02:00 Joel Sherrill : >> >>> Sebastian, >>> >>> Did you consciously not add riscv do rtems-all.bset? Or was it an >>> oversight? >>> >>> Thanks for doing this. I was

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Joel Sherrill
On Tue, Aug 22, 2017 at 4:25 PM, Denis Obrezkov wrote: > 2017-08-22 22:09 GMT+02:00 Joel Sherrill : > >> Sebastian, >> >> Did you consciously not add riscv do rtems-all.bset? Or was it an >> oversight? >> >> Thanks for doing this. I was building on the master of the tools and >> I haven't checked

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Denis Obrezkov
2017-08-22 22:09 GMT+02:00 Joel Sherrill : > Sebastian, > > Did you consciously not add riscv do rtems-all.bset? Or was it an > oversight? > > Thanks for doing this. I was building on the master of the tools and > I haven't checked gdb for riscv but all targets did build. > > --joel > > On Tue, Au

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Joel Sherrill
Sebastian, Did you consciously not add riscv do rtems-all.bset? Or was it an oversight? Thanks for doing this. I was building on the master of the tools and I haven't checked gdb for riscv but all targets did build. --joel On Tue, Aug 22, 2017 at 9:55 AM, Denis Obrezkov wrote: > Ok, I will tr

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Denis Obrezkov
Ok, I will try today 2017-08-22 16:44 GMT+02:00 Gedare Bloom : > Denis, > > Please confirm if this works for you. > > On Tue, Aug 22, 2017 at 9:17 AM, Sebastian Huber > wrote: > > Hello, > > > > I added a basic RISC-V 32-bit tool chain to the RSB. It is based on the > > latest Newlib snapshot an

Re: Basic RISC-V 32-bit tool chain

2017-08-22 Thread Gedare Bloom
Denis, Please confirm if this works for you. On Tue, Aug 22, 2017 at 9:17 AM, Sebastian Huber wrote: > Hello, > > I added a basic RISC-V 32-bit tool chain to the RSB. It is based on the > latest Newlib snapshot and GCC 7.2. The GDB is not included. I guess for > this we have to update to GDB 8.0