Re: [PATCH] RISC-V: GCC: Apply a patch to build rv32 medany multilibs

2022-12-18 Thread Sebastian Huber
On 18.12.22 13:10, heshamelmat...@gmail.com wrote: From: Hesham Almatary Updates #4775 --- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 1 file changed, 4 insertions(+) diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg

[PATCH] RISC-V: Always probe for HTIF and remove RISCV_ENABLE_HTIF_SUPPORT

2022-12-18 Thread heshamelmatary
From: Hesham Almatary Updates #4779 --- bsps/riscv/noel/include/bsp/riscv.h | 2 -- bsps/riscv/riscv/console/console-config.c | 10 ++ bsps/riscv/riscv/console/htif.c | 4 bsps/riscv/riscv/include/bsp/riscv.h | 2 -- bsps/riscv/riscv/irq/irq.c

[PATCH] Docs: RISC-V Update BSPs to medany and 0x80000000 start address

2022-12-18 Thread heshamelmatary
From: Hesham Almatary Closes #4775 --- user/bsps/bsps-riscv.rst | 24 +--- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/user/bsps/bsps-riscv.rst b/user/bsps/bsps-riscv.rst index 2ef8327..c9813e5 100644 --- a/user/bsps/bsps-riscv.rst +++ b/user/bsps/bsps-risc

[PATCH 1/2] RISC-V Default BSPs to medany and 0x80000000 start address

2022-12-18 Thread heshamelmatary
From: Hesham Almatary To run on both QEMU and Spike Updates #4775 --- .../testing/bsps/rv64imac_medany_spike.ini| 38 --- tester/rtems/testing/bsps/rv64imac_spike.ini | 2 +- .../{rv64imafd_medany.ini => rv64imafd.ini} | 4 +- .../testing/bsps/rv64imafd_medany_spike.ini

[PATCH 2/2] RISC-V: Test rv32i and rv32imafdc on QEMU

2022-12-18 Thread heshamelmatary
From: Hesham Almatary Updates #4775 --- tester/rtems/testing/bsps/rv32i.ini | 37 tester/rtems/testing/bsps/rv32imafdc.ini | 37 2 files changed, 74 insertions(+) create mode 100644 tester/rtems/testing/bsps/rv32i.ini create mode 100644 te

[PATCH 2/2] spec/build/riscv: Start all riscv/riscv BSPs at 0x80000000

2022-12-18 Thread heshamelmatary
From: Hesham Almatary To follow other RISC-V-based OSes conventions. Delete generic BSPs that start at 0x7000 as BSPs are now medany by default. Updates #4775 --- spec/build/bsps/riscv/optrambegin.yml | 6 -- 1 file changed, 6 deletions(-) diff --git a/spec/build/bsps/riscv/optrambegin

[PATCH 1/2] spec/build/riscv: Default all BSPs to medany cmodel

2022-12-18 Thread heshamelmatary
From: Hesham Almatary Currently generic RISC-V BSPs (riscv/riscv) that start with rv* and not rv*_medany will start at 0x7000. This adds high maintenance overhead and deviates from almost all other RISC-V-based OSes and baremetal programs that start at 0x8000. Further, testing now has to

[PATCH] RISC-V: GCC: Apply a patch to build rv32 medany multilibs

2022-12-18 Thread heshamelmatary
From: Hesham Almatary Updates #4775 --- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 1 file changed, 4 insertions(+) diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg index 3b9354b..3e40a7f 100644 --- a/rtems/config/tool