Re: [PATCH 0/5] NOEL-V BSP

2022-07-14 Thread Sebastian Huber

On 14/07/2022 09:59, Daniel Cederman wrote:

Currently there is a problem linking the ts-validation-cache.exe test
for 64-bit configurations. It fails with the following error message:

bsps/riscv/shared/start/start.S:100:(.bsp_start_text+0x70): relocation
truncated to fit: R_RISCV_GPREL_I against symbol `bsp_section_bss_size'
defined in*ABS*  section

Anyone have an idea of what could be causing this?


This is:

http://devel.rtems.org/ticket/4658

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[PATCH 0/5] NOEL-V BSP

2022-07-14 Thread Daniel Cederman
Hello,

This patch set adds support for the NOEL-V RISC-V processors.

Currently there is a problem linking the ts-validation-cache.exe test
for 64-bit configurations. It fails with the following error message:

bsps/riscv/shared/start/start.S:100:(.bsp_start_text+0x70): relocation
truncated to fit: R_RISCV_GPREL_I against symbol `bsp_section_bss_size'
defined in *ABS* section

Anyone have an idea of what could be causing this?

Test results for the noel64imafd configuration in QEMU:

Failures:
 smpipi01.exe
 exit03.exe
 rtmonuse.exe
 cdtest.exe
 minimum.exe
 smpload01.exe
 smpschededf02.exe
 ts-validation-one-cpu-0.exe
 ts-validation-intr.exe
 ts-validation-smp-only-2.exe
User Input:
 capture.exe
 fileio.exe
 monitor.exe
 termios.exe
 top.exe
Timeouts:
 sprbtree01.exe
 ts-unit-no-clock-0.exe
 ts-performance-no-clock-0.exe
 ts-validation-no-clock-0.exe
 ts-validation-smp-only-0.exe
Invalid:
 spextensions01.exe
Benchmark:
 linpack.exe
 dhrystone.exe
 whetstone.exe

Is there an official list of tests that are expected to pass on RISC-V?

Martin Aberg (5):
  apbuart_termios: use bsp/irq.h
  bsp/riscv: Add NOEL-V BSP
  bsp/riscv: Work area size based on stack pointer
  bsp/riscv: Add NOEL-V BSP build specification
  bsp/riscv: Add NOEL-V configuration files

 bsps/riscv/include/bsp/start.h|  65 ++
 bsps/riscv/noel/config/noel32im.cfg   |   9 +
 bsps/riscv/noel/config/noel32imafd.cfg|   9 +
 bsps/riscv/noel/config/noel64imac.cfg |   9 +
 bsps/riscv/noel/config/noel64imafd.cfg|   9 +
 bsps/riscv/noel/config/noel64imafdc.cfg   |   9 +
 bsps/riscv/noel/console/console-config.c  | 209 ++
 bsps/riscv/noel/include/bsp.h |  76 +++
 bsps/riscv/noel/include/bsp/irq.h |  75 +++
 bsps/riscv/noel/include/tm27.h|   1 +
 bsps/riscv/noel/start/bsp_fatal_halt.c|  46 
 .../shared/start/bspgetworkarea-fromstack.c   |  53 +
 bsps/riscv/shared/start/start.S   |  25 +++
 bsps/shared/grlib/uart/apbuart_termios.c  |   1 +
 spec/build/bsps/riscv/noel/abi.yml|  48 
 spec/build/bsps/riscv/noel/bspnoel32im.yml|  19 ++
 spec/build/bsps/riscv/noel/bspnoel32imafd.yml |  19 ++
 spec/build/bsps/riscv/noel/bspnoel64imac.yml  |  19 ++
 spec/build/bsps/riscv/noel/bspnoel64imafd.yml |  19 ++
 .../build/bsps/riscv/noel/bspnoel64imafdc.yml |  19 ++
 spec/build/bsps/riscv/noel/grp.yml|  59 +
 spec/build/bsps/riscv/noel/obj.yml|  38 
 spec/build/bsps/riscv/noel/objsmp.yml |  15 ++
 spec/build/bsps/riscv/noel/optconirq.yml  |  16 ++
 spec/build/bsps/riscv/noel/optextirqmax.yml   |  16 ++
 spec/build/bsps/riscv/optrambegin.yml |   3 +
 spec/build/cpukit/optarchbits.yml |   2 +
 spec/build/cpukit/optsmp.yml  |   4 +
 28 files changed, 892 insertions(+)
 create mode 100644 bsps/riscv/include/bsp/start.h
 create mode 100644 bsps/riscv/noel/config/noel32im.cfg
 create mode 100644 bsps/riscv/noel/config/noel32imafd.cfg
 create mode 100644 bsps/riscv/noel/config/noel64imac.cfg
 create mode 100644 bsps/riscv/noel/config/noel64imafd.cfg
 create mode 100644 bsps/riscv/noel/config/noel64imafdc.cfg
 create mode 100644 bsps/riscv/noel/console/console-config.c
 create mode 100644 bsps/riscv/noel/include/bsp.h
 create mode 100644 bsps/riscv/noel/include/bsp/irq.h
 create mode 100644 bsps/riscv/noel/include/tm27.h
 create mode 100644 bsps/riscv/noel/start/bsp_fatal_halt.c
 create mode 100644 bsps/riscv/shared/start/bspgetworkarea-fromstack.c
 create mode 100644 spec/build/bsps/riscv/noel/abi.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel32im.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel32imafd.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel64imac.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel64imafd.yml
 create mode 100644 spec/build/bsps/riscv/noel/bspnoel64imafdc.yml
 create mode 100644 spec/build/bsps/riscv/noel/grp.yml
 create mode 100644 spec/build/bsps/riscv/noel/obj.yml
 create mode 100644 spec/build/bsps/riscv/noel/objsmp.yml
 create mode 100644 spec/build/bsps/riscv/noel/optconirq.yml
 create mode 100644 spec/build/bsps/riscv/noel/optextirqmax.yml

-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel