Commit Graph

15062 Commits

Author SHA1 Message Date
Chris Johns
2f56b7375a Update motorola_power to irq-generic interrupt management
- Add support to the BSP to enable irq-generic management

- Update the powerpc shared irq code to support irq-generic. This
  is an opt in option for existing powerpc bsps. This change
  should be simpler now

- Fix a number of issues in ISA IRQ controller handling by porting
  fixes from the i386 (PC) BSP

Closes #4247
Closes #4248
2021-02-16 15:24:33 +11:00
Jan Sommer
208cd6b794 bsps/pc386: Separate smp API functions. Makes smpfatal08 link 2020-06-11 13:29:27 +10:00
Jan Sommer
f99b1f02b0 bsp/pc386: Turn start16.S into a startAP.S
start16.S is now only used for SMP configurations to start the
application processors.

This commit removes all unnecessary parts for this job,
i.e. video conssole initalisation, A20 gate activation
and all non-AP related code.

Update #3335
2020-06-11 13:28:46 +10:00
Jan Sommer
a2b7ab0385 bsp/pc386: Fix Makefile for building with SMP 2020-06-11 13:28:36 +10:00
Christian Mauderer
0121954128 bsp/imx: Add an extra ecspi clock.
Some imx chips or boards don't use the same frequency for ECSPI and IPG.

Update #3869
2020-04-15 16:13:07 +02:00
Joel Sherrill
37e7cc5f4c gdbarmsim: Remove
Closes #3611.
2020-03-19 15:55:26 -05:00
Sebastian Huber
aa2d5d930e bsp/virtex: Remove duplicate include 2020-03-13 15:20:30 +01:00
Sebastian Huber
b900f507cb arm/xilinx-zynq: Split console driver files
This avoids to pull in via printk() the Termios support which pulls in
the file system support.  This fixes a spconfig02 test failure.
2020-02-12 09:08:35 +01:00
Sebastian Huber
2d07ce6d21 config: Add CONFIGURE_DIRTY_MEMORY
Replace the BSP_DIRTY_MEMORY BSP option with a CONFIGURE_DIRTY_MEMORY
configuration option.

Update #3843.
2020-02-06 15:19:36 +01:00
G S Niteesh
362cf319d4 bsp/raspberrypi: Updated the console API.
Replaces the legacy termios API with new termios API (#3034)
Replaces the custom PL011 serial driver with RTEMS arm-pl011.
Update #3034
2020-01-07 18:21:16 +01:00
G S Niteesh
eca25efe27 bsp/raspberrypi: Enable FDT support.
This commit adds FDT support to the BSP.
2020-01-07 17:55:13 +01:00
Christian Mauderer
f1f6cd95c9 bsp/raspberrypi: Fix size of work area.
The BSP tried to get the size of the SDRAM based on the revision code.
Unfortunately the code had some bugs so that the default size has been
used. Beneath that the MMU table hasn't been adapted.

This patch queries the SDRAM size via a special VC Mailbox call instead.
For the MMU adaption a simmilar method to the one in the imx BSP is
used.
2020-01-07 17:55:13 +01:00
Sebastian Huber
1380c822a5 bsp/xen: Use BSP options for all linkcmds vars
Update #3818.
2019-12-05 07:51:46 +01:00
Jeff Kubascik
4c30acf2c8 bsp/xen: Create BSP
Create the Xen BSP for Xen on ARM.
2019-12-05 07:25:52 +01:00
Sebastian Huber
a52d617469 bsp/imx7: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-19 16:05:53 +01:00
Sebastian Huber
af321aaf2b bsp/altcycv_devkit: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-19 16:05:50 +01:00
Sebastian Huber
75d9e79f56 bsp/lpc32xx: Remove unused TESTS_USE_PRINTK
Update #3818.
2019-11-15 07:45:30 +01:00
Sebastian Huber
b882b07e84 Remove BSP_SMALL_MEMORY BSP option
Use the test state configuration instead.

Update #3818.
2019-11-15 07:45:30 +01:00
Sebastian Huber
9c601b00d7 bsp/i386: Remove unused BSP_HAS_SMP
Update #3818.
2019-11-15 07:45:30 +01:00
Sebastian Huber
41ab50e4cd bsp/t32mppc: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-14 15:07:57 +01:00
Sebastian Huber
bc28b65ff4 bsp/beagle: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-14 15:07:53 +01:00
Sebastian Huber
5a1bc17970 bsp/riscv: Remove bogus Automake conditional
Update #3785.
2019-11-14 11:48:32 +01:00
Sebastian Huber
984d7443bf bsp/gumstix: Remove ON_SKYEYE Automake conditional
It is fine to build the drivers always.

Update #3818.
2019-11-14 11:47:45 +01:00
Sebastian Huber
90d6a094b5 arm/stm32f4: Fix typo 2019-11-14 09:37:51 +01:00
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