Re: importing selected (dual license) linux modules

2017-10-30 Thread Chris Johns
On 27/10/2017 22:07, Sebastian Huber wrote: > > what is now the consensus? > > 1. We keep the Linux submodule and the scripting support private to EB. > I think this is best solution for the project. Transparent source integration like we have for FreeBSD is the best technical solution however

Re: [PATCH 1/4] cpukit: RISC-V - make riscv32 code work for riscv64

2017-10-30 Thread Chris Johns
On 29/10/2017 16:59, Hesham Almatary wrote: > On Fri, Oct 27, 2017 at 8:49 PM, Hesham Almatary > wrote: >> * Use #ifdefs for 32/64 bit code >> * Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 >> (register size) >> * Move the code to a new shared riscv folder to be shared with

Re: Pre-processor magic or test library?

2017-10-30 Thread Chris Johns
On 28/10/2017 22:42, Sebastian Huber wrote: > > we have currently some pre-processor magic to map the standard output > functions to the RTEMS test printer. This works only if you include > in every test file in the right spot. An alternative would be to > use a separate library for all tests,

Re: [PATCH 1/4] cpukit: RISC-V - make riscv32 code work for riscv64

2017-10-30 Thread Chris Johns
On 29/10/2017 16:59, Hesham Almatary wrote: > On Fri, Oct 27, 2017 at 8:49 PM, Hesham Almatary > wrote: >> * Use #ifdefs for 32/64 bit code >> * Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 >> (register size) >> * Move the code to a new shared riscv folder to be shared with

Re: RTEMS Tier Allocations.

2017-10-30 Thread Chris Johns
On 28/10/2017 00:21, Sebastian Huber wrote: > Hello Chris, > > thanks for your hints. This ser2net and the IO via telnet is really nice. I am > now able to run the tests on a board with U-Boot. > Excellent. I am looking forward to see results if you can post them. :) With a Raspberry Pi powered

Re: [PATCH 1/4] cpukit: RISC-V - make riscv32 code work for riscv64

2017-10-30 Thread Hesham Almatary
On Mon, Oct 30, 2017 at 9:32 AM, Chris Johns wrote: > On 29/10/2017 16:59, Hesham Almatary wrote: >> On Fri, Oct 27, 2017 at 8:49 PM, Hesham Almatary >> wrote: >>> * Use #ifdefs for 32/64 bit code >>> * Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 >>> (register size) >>> *

Re: Pre-processor magic or test library?

2017-10-30 Thread Joel Sherrill
On Oct 30, 2017 8:43 AM, "Chris Johns" wrote: On 28/10/2017 22:42, Sebastian Huber wrote: > > we have currently some pre-processor magic to map the standard output functions to the RTEMS test printer. This works only if you include in every test file in the right spot. An alternative would be to

Re: [PATCH 1/4] cpukit: RISC-V - make riscv32 code work for riscv64

2017-10-30 Thread Hesham Almatary
On Mon, Oct 30, 2017 at 3:48 PM, Chris Johns wrote: > On 29/10/2017 16:59, Hesham Almatary wrote: >> On Fri, Oct 27, 2017 at 8:49 PM, Hesham Almatary >> wrote: >>> * Use #ifdefs for 32/64 bit code >>> * Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 >>> (register size) >>> *

Re: [PATCH 1/4] cpukit: RISC-V - make riscv32 code work for riscv64

2017-10-30 Thread Joel Sherrill
On Oct 30, 2017 10:16 AM, "Hesham Almatary" wrote: On Mon, Oct 30, 2017 at 3:48 PM, Chris Johns wrote: > On 29/10/2017 16:59, Hesham Almatary wrote: >> On Fri, Oct 27, 2017 at 8:49 PM, Hesham Almatary >> wrote: >>> * Use #ifdefs for 32/64 bit code >>> * Use unsigned long which is 32-bit on risc

Re: Pre-processor magic or test library?

2017-10-30 Thread Chris Johns
On 31/10/2017 01:21, Joel Sherrill wrote: > On Oct 30, 2017 8:43 AM, "Chris Johns" > wrote: > On 28/10/2017 22:42, Sebastian Huber wrote: > > we have currently some pre-processor magic to map the standard output > functions to the RTEMS test printer. This works

[PATCH 2/2] bsp: Make riscv_generic work for both riscv32 and riscv64

2017-10-30 Thread Hesham Almatary
Update #3109 --- c/src/aclocal/canonical-target-name.m4 | 2 + c/src/lib/libbsp/riscv/Makefile.am | 14 + c/src/lib/libbsp/riscv/acinclude.m4| 10 + c/src/lib/libbsp/riscv/configure.ac| 19 ++ c/src/lib/libbsp/riscv/preinstall.am

Re: [PATCH 1/4] cpukit: RISC-V - make riscv32 code work for riscv64

2017-10-30 Thread Hesham Almatary
On Tue, Oct 31, 2017 at 2:32 AM, Joel Sherrill wrote: > > > On Oct 30, 2017 10:16 AM, "Hesham Almatary" > wrote: > > On Mon, Oct 30, 2017 at 3:48 PM, Chris Johns wrote: >> On 29/10/2017 16:59, Hesham Almatary wrote: >>> On Fri, Oct 27, 2017 at 8:49 PM, Hesham Almatary >>> wrote: * Use #ifd

[PATCH 2/2] bsp: Make riscv_generic work for both riscv32 and riscv64 - v2

2017-10-30 Thread Hesham Almatary
Update #3109 --- c/src/aclocal/canonical-target-name.m4 | 2 + c/src/lib/libbsp/riscv/Makefile.am | 14 + c/src/lib/libbsp/riscv/acinclude.m4| 10 + c/src/lib/libbsp/riscv/configure.ac| 19 ++ c/src/lib/libbsp/riscv/preinstall.am