Commit Graph

303 Commits

Author SHA1 Message Date
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
Chris Johns
98d6792376 arm: Select the TLB invalidate based on the core's Id variant.
Closes #3760
2019-07-31 08:33:05 +10:00
Sebastian Huber
c5fd79cd47 arm/raspberrypi: Fix linker map
Add NULL-pointer protection.  Make MMU table read-only.  Move vector
table to start section.

Close #3774.
2019-07-30 07:25:13 +02: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
Sebastian Huber
0f5c1d5344 bsps/arm: Remove register init for ARMv7-M
There are no known ARMv7-M chips with a dual lockstep mode.

Update #3773.
2019-07-26 08:00:39 +02:00
Christian Mauderer
b89d6cc5e4 bsp/beagle: Partial re-write of I2C driver.
The old driver worked well for EEPROMS with the RTEMS EEPROM driver. But
it had problems with a lot of other situations. Although it's not a
direct port, the new driver is heavily modeled after the FreeBSD ti_i2c
driver.

Closes #3764.
2019-06-29 09:37:24 +02:00
Chris Johns
c43071f523 arm: Return the current handler from arm_cp15_set_exception_handler
Closes #3762
2019-06-28 09:01:27 +10:00
Sebastian Huber
dc581f29ab bsp/atsam: Enable configuration of SDRAMC_LPR 2019-06-21 06:58:48 +02:00
Sebastian Huber
a67b9b06a1 atsam: Add ATSAM_POWER_WAIT_MODE 2019-06-18 12:52:53 +02:00
Sebastian Huber
522cde4281 atsam: Enable fast startup via RTC alarm 2019-06-18 11:31:48 +02:00
Sebastian Huber
bb24892ad4 bsp/atsam: Use proper API 2019-06-18 11:10:55 +02:00
Sebastian Huber
d7d0bba8cc bsp/atsam: Do not disable the WDT
The watchdog timer (WDT) can be configure only once.  Do not touch it in
the BSP since the application may want to use it.
2019-06-13 08:48:53 +02:00
Sebastian Huber
ee36616804 bsp/atsam: Improve RTC power driver
Accept a time interval up to 24h.
2019-06-13 08:48:50 +02:00
Sebastian Huber
5d4a81f501 bsp/atsam: Fix RTC_SetTimeAlarm()
Set the alarm time according to the note in the datasheet.
2019-06-12 13:50:19 +02:00
Sebastian Huber
98fc60145c bsp/lpc24xx: Fix LPC24XX_IO_PORT_COUNT 2019-06-04 12:04:55 +02:00
Sebastian Huber
7fdf48aaf2 score: Add _SMP_Othercast_action() 2019-05-20 08:49:39 +02:00
Sebastian Huber
658700449d score: Add _SMP_Broadcast_action() 2019-05-20 08:49:39 +02:00
Sebastian Huber
b446457f1c bsps/arm: Adjust machine flags for ARMv7-M
Update machine flags for Cortex-M3 and Cortex-M4 based BSPs to account
for Cortex-M3 Errata 602117 which required GCC multilib changes.

Update #3747.
2019-05-14 09:09:02 +02:00
Andreas Dachsberger
0cdcb27c42 Removed entry from Related Pages
SAM V71 Xplained Ultra - Board explanation now in Modules->BSPs->ARM
Update #3706.
2019-05-13 07:42:03 +02:00
Sebastian Huber
cf5d5d8093 bsp/lpc24xx: Fix dynamic EMC configurations 2019-05-09 12:32:08 +02:00
Sebastian Huber
50d8d32b66 bsp/lpc24xx: Use fast slew rate for EMC pins 2019-05-09 09:55:27 +02:00
Sebastian Huber
0a6b81ad1c bsp/lpc24xx: Add LPC17XX_PIN_TYPE_FAST_SLEW_RATE 2019-05-09 09:55:26 +02:00
Sebastian Huber
6cad529ccb bsp/lpc24xx: Add SDRAM mode settings comment 2019-05-09 09:55:26 +02:00
Sebastian Huber
0b74d8f0fe bsp/lpc24xx: Fix LPC24XX_EMC_MT48LC4M16A2 MPU cfg 2019-05-08 13:37:06 +02:00
Sebastian Huber
2ffbc4d53c bsp/lpc24xx: Flexible LPC24XX_EMC_MT48LC4M16A2 cfg 2019-05-08 13:05:26 +02:00
Sebastian Huber
d49ff3e360 bsp/lpc24xx: LPC24XX_EMC_MT48LC4M16A2 MPU support 2019-05-08 13:05:23 +02:00
Sebastian Huber
a6c08e8d70 bsp/lpc24xx: Support LPC24XX_EMC_SST39VF3201 pins 2019-05-08 13:01:07 +02:00
Sebastian Huber
8bd4f61c30 bsps: Remove bogus config declaration
Replace it with a proper struct rtems_bsdnet_ifconfig forward
declaration.

Close #3742.
2019-05-06 07:57:34 +02:00
Sebastian Huber
ad40d05eba score: Remove _SMP_Before_multitasking_action()
Use _SMP_Multicast_action() instead.
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
Jeff Kubascik
b0c420b92f bsp/zynq-uart: Remove zynq_uart_instances from header
This variable is BSP specific and should be removed from the driver
header file.

Update #3682.
2019-04-11 07:28:50 +02:00
Sebastian Huber
f1eedbde52 bsp/xilinx-zynq: Relicense to BSD-2-Clause
Relicense contributions from Chris Johns, Christian Mauderer,
embedded brains GmbH, Joel Sherrill, OAR, Pavel Pisa, Ralf Kirchner, and
Sebastian Huber.

Update #3053.
2019-04-10 09:50:08 +02:00
Sebastian Huber
222570a61b bsps/arm: Optimize ARMv7-M CPU counter
Update #3456.
2019-04-09 08:06:46 +02:00
Sebastian Huber
b8a0a49672 bsps/arm: Fix ARMv7-M CPU counter
Read the current counter value again after we know that we had an
underflow.

Update #3456.
2019-04-09 07:31:25 +02:00
Sebastian Huber
a5f84c6a8a bsp/atsam: Fix SPI driver DMA support 2019-03-19 11:29:24 +01:00
Sebastian Huber
5f813694f6 bsp/atsam: Simplify XDMAD_Handler()
Remove the channel status evaluation from XDMAD_Handler() and simply
hand over the status to the callbacks.
2019-03-19 11:29:24 +01: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
3fe215502a Remove superfluous <rtems/system.h> includes 2019-03-14 13:13:27 +01:00
Sebastian Huber
51d11dd28e bsp/lm3s69xx: Fix typo in test configuration 2019-03-13 08:13:15 +01:00
Joel Sherrill
d929c48395 tms570ls3137_hdk_with_loader-testsuite.tcfg: Update to account for static allocation and BSP small memory 2019-03-12 11:01:23 -05:00
Joel Sherrill
0186e39a08 tms570ls3137_hdk_intram-testsuite.tcfg: Update to account for static allocation and BSP small memory 2019-03-12 11:01:22 -05:00
Joel Sherrill
8ff85c6d5e tms570ls3137_hdk-testsuite.tcfg: Update to account for static allocation and BSP small memory 2019-03-12 11:01:22 -05:00
Joel Sherrill
c5dca3b7d1 stm32f4-testsuite.tcfg: Update to account for static allocation and BSP small memory 2019-03-12 11:01:22 -05:00
Joel Sherrill
4f67dbda3d stm32f105rc-testsuite.tcfg: Update to account for static allocation and BSP small memory 2019-03-12 11:01:22 -05:00
Joel Sherrill
0abfdc3d7d lpc32xx_mzx_stage_1-testsuite.tcfg: Update to account for static allocation and BSP small memory 2019-03-12 11:01:21 -05:00
Joel Sherrill
5f07bdac96 lpc23xx_tli800-testsuite.tcfg: Update to account for static allocation and BSP small memory 2019-03-12 11:01:21 -05:00
Joel Sherrill
dc632e02e8 lpc2362-testsuite.tcfg: Update to account for static allocation and BSP small memory 2019-03-12 11:01:21 -05:00