Commit Graph
14889 Commits
Author SHA1 Message Date
Sebastian Huber f9648baf65 bsps/arm: Add support for small pages MMU
The small page MMU support reduces the granularity for memory settings
through the MMU from 1MiB sections to 4KiB small pages.

Enable it by default on the realview_pbx_a9_qemu BSP.
2019-10-31 09:48:05 +01:00
Sebastian Huber 37e9aa69e5 bsp/xilinx-zynqmp: Fix linkcmds config
Bug was introduced by commit 1e1afa3779.
2019-10-28 10:00:31 +01:00
Hesham Almatary f462bcbb0a riscv: Address differences in the linkerscript between GNU LD and LLVM/LLD
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-27 10:45:00 +00:00
Hesham Almatary ca82ded785 riscv: Generate linkcmds.base from the shared linkcmds.base.in
This commit moves the existing linkcmds.base to linkcmds.base.in
in order to make it configurable by autotools.
2019-10-27 10:44:52 +00:00
Sebastian Huber d2efc968e2 bsp/xilinx-zynq: Simplify linkcmds config
Use NULL-pointer protection also for Qemu variant.

Do all calculations in the linker command file.  This is a preparation
for the new build system.
2019-10-23 14:19:47 +02:00
Sebastian Huber 8c66f1aa06 bsp/xilinx-zynq: Simplify configure.ac 2019-10-23 14:19:47 +02:00
Sebastian Huber 1e1afa3779 bsp/xilinx-zynqmp: Simplify linkcmds config
Do all calculations in the linker command file.  This is a preparation
for the new build system.
2019-10-23 14:19:47 +02:00
Sebastian Huber 4ecab5865e bsp/xilinx-zynqmp: Simplify configure.ac
Use NULL-pointer protection also for Qemu variant.
2019-10-23 14:19:47 +02:00
Pragnesh Patel a7f5e42cc5 riscv: add freedom E310 Arty A7 bsp
Added support for Sifive Freedom FE310 soc on Arty A7 FPGA board.
Update #3785.

Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
2019-10-23 08:11:50 +02:00
Sebastian Huber be3d697450 bsp/erc32: Improve pseudo-SMP support
Add support for _SMP_Send_message() to the own processor.  This is
required by the smpmulticast01 test program.
2019-10-01 09:55:07 +02:00
Chris Johns a4d7e4cee7 arm/raspberry: Set the workspace based on the mailbox version.
- Update the linkcmd file to support configure settings

- Set the workspace size based on the revision value
2019-08-12 08:49:33 +10:00
Chris Johns 7d4f74e968 arm/beagle: Add libdebugger support.
- Port the jbang code from C++ to C to enable DBGEN.
- Hook the libdebugger ARM backend support to return the base address
  of the debug register set.
2019-07-31 08:33:05 +10:00
Sebastian Huber 1e6380baf2 bsps/arm: Move HYP to SVC change to start.S
This fixes the corruption of r3 by the call to
bsp_start_arm_drop_hyp_mode().

Moving the code makes it easier to review changes in start.S.

Close #3773.
2019-07-26 08:12:20 +02:00
Sebastian Huber 0ee2125a92 bsps/arm: Move register init to start.S
This makes it easier to review changes in start.S.

Update #3773.
2019-07-26 08:00:48 +02:00
Chris Johns 270c5df5db Makefile.inc: Add support for staged builds.
- Allow the RTEMS_ROOT to be conditionally supplied. This
  can be a staging area before being moved to the final
  install prefix location.

- Update the default.cfg to use RTEMS_ROOT and to not rely on
  the exec_prefix so it's paths can be staged.

- Fix and add the needed configure subs.

Closes #3768
2019-07-19 17:50:05 +10:00
Sebastian Huber a67b9b06a1 atsam: Add ATSAM_POWER_WAIT_MODE 2019-06-18 12:52:53 +02:00
Sebastian Huber 45d06591f1 bsps: Always build generic interrupt support
This makes it possible to write tests for the generic interrupt
controller support.

Update #3269.
2019-05-16 07:29:24 +02:00
Sebastian Huber 271b8a61c1 bsp/lpc24xx: Remove obsolete BSP optinons
Update #3725.
2019-05-08 13:09:05 +02:00
Sebastian Huber 5cc313bf08 bsp/imx: CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR
Remove this BSP option.
2019-04-12 09:44:48 +02:00
Jeff Kubascik 77f9a1be47 bsp/xilinx-zynqmp: Implement Ultra96 target
Modifications to get xilinx-zynqmp BSP working on an Ultra96 board.

Update #3682.
2019-04-11 07:29:10 +02:00
Jeff Kubascik 677d5167ba bsp/xilinx-zynqmp: Stub out Xilinx MPSoC BSP
Source files were copied from xilinx-zynq.

Update #3682.
2019-04-11 07:29:08 +02:00
Jeff Kubascik b0044305a6 bsp/zynq-uart: Move Zynq UART driver to shared directory
This driver will be shared with the xilinx-zynqmp BSP.

Update #3682.
2019-04-11 07:29:06 +02:00
Sebastian Huber 007d4e1297 bsp/lpc24xx: Convert I2C driver to Linux API
Change license to BSD-2-Clause.

Close #3725.
2019-03-15 16:02:22 +01:00
Sebastian Huber 262cb53462 bsp/altera-cyclone-v: Move header file
This gets rid of a special include path.
2019-02-27 11:45:17 +01:00
Pierre-Louis Garnier ecf62845d4 arm/beagle: SPI driver 2019-02-27 07:45:12 +01:00
Sebastian Huber af80b0a340 bsp/altera-cyclone-v: Use FDT for clock frequency 2019-02-18 08:33:27 +01:00
Sebastian Huber 43fbb50ff0 bsp/altera-cyclone-v: Make FDT support optional 2019-02-18 08:33:27 +01:00
Jiri Gaisler d3d4e77c42 riscv: add griscv bsp
Update #3678.
2019-01-22 12:50:09 +01:00
Sebastian Huber 7eb606d393 grlib: Move source files
Update #3678.
2019-01-22 12:46:33 +01:00
Sebastian Huber 41a557bc2f bsps/arm: Add ARMv7-AR disable data cache
Close #3667.
2018-12-21 10:32:41 +01:00
Sebastian Huber 6b0a729bfd build: Remove ampolish3
Update #3254.
2018-12-14 07:03:33 +01:00
Sebastian Huber 0a1f5df98e Simplify _CPU_Counter_difference()
In order to simplify the use of CPU counter values it is beneficial to
have monotonic increasing values within the range of the CPU counter
ticks data type, e.g. 32-bit unsigned integer.  This eases the use of
CPU counter timestamps in external tools which do not know the details
of the CPU counter hardware.  The CPU counter is the fastest way to get
a time on an RTEMS system.

Such a CPU counter may be also used as the timecounter.  Use it on SPARC
for this purpose to simplify the clock drivers.

Update #3456.
2018-12-07 14:22:01 +01:00
Sebastian Huber 5f5bbd10fb bsps/x86_64: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber 84e59b7c04 bsps/powerpc: Use interrupt stack for init stack
Move start.o to separate file.

Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber bfcf1473cf m32c: Remove this target
Update #3599.
2018-11-12 07:01:16 +01:00
Sebastian Huber 2faea99ac2 bsp/realview-pbx-a9: Fix printk() support
Avoid dependencies on the Termios support in case only printk() is used
by the application.
2018-11-07 11:09:51 +01:00
Sebastian Huber 01595a4f32 bsp/imx: Adjust workspace according to device tree 2018-10-24 10:19:14 +02:00
Joel Sherrill b4043ead0b check-networking.m4: Disable legacy stack for x86_64 and epiphany
x86_64 is 64-bits and too new for the legacy stack to support.
epiphany is a small target and cannot compile the legacy (or new) stack.
2018-10-18 12:05:41 -05:00
Sebastian Huber fb12215c29 build: Remove specialized CPPFLAGS
Close #3375.
2018-10-15 07:28:29 +02:00
Sebastian Huber 477bca2d61 build: Remove local.am 2018-10-10 07:57:47 +02:00
Javier Jalle 6dc0b5f4c5 leon, spwtdp: Initial driver commit 2018-10-09 12:36:41 +02:00
Sebastian Huber 2d17e8827e bsps/mips: Remove unused command line defines
Update #3375.
2018-10-04 08:02:28 +02:00
Sebastian Huber 69a24c3cb0 bsp/imx: Add imx_ccm_sdhci_hz()
Update #3525.
2018-09-27 07:22:41 +02:00
Jacob Hansen 5cbc9c5922 clang: Keep -qrtems and -B for compilers without -specs support
This is needed for building rtems correctly with Clang.

Note that this change does not mean rtems can build correctly with
mainline clang. However the change allows building rtems with a
Clang toolchain that has a rtems frontend similar that of GCC's
builtin rtems specs.
2018-09-20 12:48:32 +02:00
Sebastian Huber 62cb39d7fe bsp/tqm8xx: Remove unused files
Close #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber d22147e072 bsp/tqm8xx: Convert console to new Termios API
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber fad3f79b88 bsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN
Remove the BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN hack.  The interrupt
stacks are now allocated by the linker.

Update #3459.
2018-09-03 07:03:09 +02:00
Joel Sherrill 66e788547e Remove bsps/sparc64/shared/helenos/boot/generic/string.c 2018-08-29 12:52:12 -05:00
Amaan Cheval bc7313134f bsps/x86_64: Add APIC timer based clock driver
The APIC timer is calibrated by running the i8254 PIT for a fraction of a
second (determined by PIT_CALIBRATE_DIVIDER) and counting how many times the
APIC counter has ticked. The calibration can be run multiple times (determined
by APIC_TIMER_NUM_CALIBRATIONS) and averaged out.

Updates #2898.
2018-08-13 10:48:20 -05:00
Amaan Cheval 686932125d bsps/x86_64: Add support for RTEMS interrupts
Updates #2898.
2018-08-13 10:48:20 -05:00