summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/riscv (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-14bsp/riscv: Remove bogus Automake conditionalSebastian Huber1-7/+0
Update #3785.
2019-10-27riscv: Address differences in the linkerscript between GNU LD and LLVM/LLDHesham Almatary3-1/+33
LLVM/LLD does not support STARTUP and ALIGN_WITH_INPUT directives that GNU LD support. INPUT and ALIGN(8) are supported by LLVM/LLD and can replace the unsupported STARTUP/ALIGN_WITH_INPUT directives. The commit conditionally adds the supported directive that linkers can understand depending on the toolchain used to compile RTEMS i.e., clang or gcc. Clang is assumed to use LLD by default.
2019-10-27riscv: Generate linkcmds.base from the shared linkcmds.base.inHesham Almatary2-1/+2
This commit moves the existing linkcmds.base to linkcmds.base.in in order to make it configurable by autotools.
2019-10-23riscv: add freedom E310 Arty A7 bspPragnesh Patel2-1/+23
Added support for Sifive Freedom FE310 soc on Arty A7 FPGA board. Update #3785. Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
2019-01-22riscv: add griscv bspJiri Gaisler4-2/+114
Update #3678.
2018-10-10build: Remove local.amSebastian Huber2-2/+0
2018-07-25bsp/riscv: Use CPU counter btimerSebastian Huber1-1/+1
Update #3433.
2018-07-25bsp/riscv: Add basic SMP startupSebastian Huber1-1/+1
Update #3433.
2018-07-25bsps/riscv: Update linker-symbols.hSebastian Huber1-1/+0
Update #3433.
2018-07-25bsp/riscv: Disable HTIF support by defaultSebastian Huber1-2/+2
The HTIF is a legacy machinery. Update #3433.
2018-07-25riscv: Rework exception handlingSebastian Huber2-1/+4
Remove _CPU_ISR_install_raw_handler() and _CPU_ISR_install_vector() functions. Applications can install an exception handler via the fatal error handler to handle synchronous exceptions. Handle interrupt exceptions via _RISCV_Interrupt_dispatch() which must be provided by the BSP. Update #3433.
2018-07-06bsp/riscv: Add console support for NS16550 devicesSebastian Huber1-0/+6
Update #3433.
2018-06-28bsp/riscv: Add device tree support for consoleSebastian Huber2-5/+7
Update #3433.
2018-06-28bsp/riscv: Add device tree supportSebastian Huber2-0/+13
Update #3433.
2018-06-28riscv: Add dummy SMP supportSebastian Huber1-0/+3
Update #3433.
2018-06-27bsp/riscv: Add BSP options to define RAM regionSebastian Huber1-2/+24
Update #3433.
2018-06-27bsp/riscv: Remove unused BSP optionsSebastian Huber1-10/+0
Update #3433.
2018-06-27bsp/riscv_generic: Rename to "riscv"Sebastian Huber3-12/+12
Update #3433.
2018-06-27bsp/riscv_generic: New linker command fileSebastian Huber1-0/+1
This linker command file is based on the "riscv64-rtems5-ld --verbose" output. Update #3433.
2018-04-23bsps: Move interrupt controller support to bspsSebastian Huber2-61/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move make/custom/* files to bspsSebastian Huber2-14/+0
Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Remove AC_CONFIG_SRCDIR()Sebastian Huber2-2/+0
This AC_CONFIG_SRCDIR() is just a sanity check in this insane build system. Since all content of c/src/lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@ is bound to be moved it makes no sense to keep it. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move benchmark timer to bspsSebastian Huber2-71/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move startup files to bspsSebastian Huber4-424/+2
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move start files to bspsSebastian Huber2-121/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move console drivers to bspsSebastian Huber2-179/+2
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move clock drivers to bspsSebastian Huber2-132/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move sbrk.c to bspsSebastian Huber1-2/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move getentropy-cpucounter.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Convert all bsp_predriver_hook()Sebastian Huber1-1/+0
Use RTEMS_SYSINIT_ITEM() instead. Update #2408.
2018-04-20bsps: Move bspgetworkarea.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move bspstart.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move bspreset.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move bspclean.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-16bsps: Move stackalloc.c to bspsSebastian Huber1-1/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-12build: Remove subdir-objects from BSP configure.acSebastian Huber1-1/+1
The subdir-objects do not work currently due to BSP sources in bsps and c and the existing build tree layout. Update #3387.
2018-04-12bsps: Remove empty gnatinstallhandler.cSebastian Huber1-1/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-12bsps: Move bootcard.c to bspsSebastian Huber1-1/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-12bsps: Remove headers from librtemsbsp_a_SOURCESSebastian Huber1-1/+0
This was used by the not supported "make dist". This patch is a part of the BSP source reorganization. Update #3285.
2018-04-12bsps: Avoid line continuation in Makefile.amSebastian Huber1-1/+2
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-11configure: Add subdir-objects to all automake flags.Chris Johns1-1/+1
This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
2018-04-09build: Remove DISTCLEANFILESSebastian Huber1-1/+0
A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
2018-04-09bsps: Move generic IRQ support to bspsSebastian Huber1-3/+2
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-09bsps: Remove librtemsbsp.a wrapupSebastian Huber1-21/+21
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-04bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber1-5/+0
Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-04bsps: Add shared-sources.amSebastian Huber1-0/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-04build: Remove EXTRA_DISTSebastian Huber1-2/+0
A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
2018-03-27bsps/riscv: Fix warningsSebastian Huber2-7/+1
2018-01-31bsps: Rework cache manager implementationSebastian Huber1-3/+1
The previous cache manager support used a single souce file (cache_manager.c) which included an implementation header (cache_.h). This required the use of specialized include paths to find the right header file. Change this to include a generic implementation header (cacheimpl.h) in specialized source files. Use the following directories and files: * bsps/shared/cache * bsps/@RTEMS_CPU@/shared/cache * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c Update #3285.
2018-01-25Remove make preinstallChris Johns12-423/+9
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.