<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 8, 2021 at 1:44 PM Daniel Hellstrom <<a href="mailto:daniel@gaisler.com">daniel@gaisler.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This set of patches adds a BSP for the NOEL-V RISC-V processor<br>
IP from Cobham Gaisler:<br>
<a href="https://www.gaisler.com/noelv" rel="noreferrer" target="_blank">https://www.gaisler.com/noelv</a><br>
<br>
The patches are for the RTEMS master branch with the autoconf and<br>
new WAF build system. If accepted another patch set for the<br>
RTEMS-5 branch will follow. Patches for the document repository<br>
will be sent separately.<br></blockquote><div><br></div><div>Thanks for submitting this. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
There is a ticket for more details:<br>
<a href="https://devel.rtems.org/ticket/4225" rel="noreferrer" target="_blank">https://devel.rtems.org/ticket/4225</a><br>
<br>
The patches has been tested on different NOEL-V designs on<br>
FPGA boards. The below test result is collected from the<br>
single-core design of Arty A7: Artix-7 FPGA Development Board<br>
(<a href="https://www.gaisler.com/NOEL-ARTYA7" rel="noreferrer" target="_blank">https://www.gaisler.com/NOEL-ARTYA7</a>) built with waf:<br>
<br>
# Result Test ExecRes ConsoleRes ExitCode1 ExitCode2<br>
# FAIL: ttest01 OK FAIL 0x0000000000000005 0x0000000000000000<br>
# FAIL: ttest02 OK FAIL 0x0000000000000005 0x0000000000000000<br>
# FAIL: psxkey07 OK FAIL 0x0000000000000005 0x0000000000000000<br>
# FAIL: minimum OK N/A 0x0000000000000000 0x0000000000000005<br>
# FAIL: spfatal26 FAIL OK N/A N/A<br>
#<br>
# SUMMARY<br>
# Tests failing: 5<br>
# Tests successful: 552<br>
<br>
We believe the failures are not dependent on the BSP itself.<br></blockquote><div><br></div><div> I think you mentioned in a chat that this BSP would run on Spike.</div><div>Is that correct?</div><div><br></div><div>It would be great to get rtems-tester configuration files for this BSP</div><div>so it can be added to the regular sweep.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The BSP does not integrate GRLIB device drivers at this point,<br>
however it is reusing the APBUART device driver as it is used<br>
by NOEL-V designs. There is a patch that allows auto-detection<br>
of End-of-Memory similar to the LEON BSPs using the same GRLIB<br>
SW ecosystem.<br>
<br>
Thanks,<br>
Martin & Daniel<br>
<br>
<br>
---<br>
<br>
bsps/riscv/noel/console/console-config.c | 182 +++++++++++++++++++++<br>
bsps/riscv/noel/include/bsp.h | 76 +++++++++<br>
bsps/riscv/noel/include/bsp/irq.h | 75 +++++++++<br>
bsps/riscv/noel/include/tm27.h | 1 +<br>
bsps/riscv/noel/start/bsp_fatal_halt.c | 36 ++++<br>
bsps/riscv/shared/start/bspgetworkarea-fromstack.c | 55 +++++++<br>
bsps/riscv/shared/start/start.S | 16 ++<br>
bsps/shared/grlib/uart/apbuart_termios.c | 1 +<br>
spec/build/bsps/riscv/noel/abi.yml | 48 ++++++<br>
spec/build/bsps/riscv/noel/bspnoel32im.yml | 19 +++<br>
spec/build/bsps/riscv/noel/bspnoel32imafd.yml | 19 +++<br>
spec/build/bsps/riscv/noel/bspnoel64imac.yml | 19 +++<br>
spec/build/bsps/riscv/noel/bspnoel64imafd.yml | 19 +++<br>
spec/build/bsps/riscv/noel/bspnoel64imafdc.yml | 19 +++<br>
spec/build/bsps/riscv/noel/grp.yml | 56 +++++++<br>
spec/build/bsps/riscv/noel/obj.yml | 37 +++++<br>
spec/build/bsps/riscv/noel/objsmp.yml | 15 ++<br>
spec/build/bsps/riscv/noel/optconirq.yml | 16 ++<br>
spec/build/bsps/riscv/noel/optextirqmax.yml | 16 ++<br>
spec/build/bsps/riscv/noel/optfdtcpyro.yml | 15 ++<br>
spec/build/bsps/riscv/noel/optfdtmxsz.yml | 16 ++<br>
spec/build/bsps/riscv/noel/optfdtro.yml | 15 ++<br>
spec/build/bsps/riscv/noel/optfdtuboot.yml | 15 ++<br>
spec/build/bsps/riscv/noel/opthtif.yml | 15 ++<br>
spec/build/bsps/riscv/optrambegin.yml | 3 +<br>
spec/build/cpukit/optarchbits.yml | 2 +<br>
spec/build/cpukit/optnet.yml | 1 +<br>
spec/build/cpukit/optsmp.yml | 4 +<br>
28 files changed, 811 insertions(+)<br>
<br>
create mode 100644 bsps/riscv/noel/console/console-config.c<br>
create mode 100644 bsps/riscv/noel/include/bsp.h<br>
create mode 100644 bsps/riscv/noel/include/bsp/irq.h<br>
create mode 100644 bsps/riscv/noel/include/tm27.h<br>
create mode 100644 bsps/riscv/noel/start/bsp_fatal_halt.c<br>
create mode 100644 bsps/riscv/shared/start/bspgetworkarea-fromstack.c<br>
create mode 100644 spec/build/bsps/riscv/noel/abi.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/bspnoel32im.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/bspnoel32imafd.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/bspnoel64imac.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/bspnoel64imafd.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/bspnoel64imafdc.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/grp.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/obj.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/objsmp.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/optconirq.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/optextirqmax.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/optfdtcpyro.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/optfdtmxsz.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/optfdtro.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/optfdtuboot.yml<br>
create mode 100644 spec/build/bsps/riscv/noel/opthtif.yml<br>
28 files changed, 811 insertions(+)<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>