summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* arm/xilinx-zynq: Split console driver filesSebastian Huber2020-02-122-0/+3
| | | | | This avoids to pull in via printk() the Termios support which pulls in the file system support. This fixes a spconfig02 test failure.
* bsp/raspberrypi: Updated the console API.G S Niteesh2020-01-071-4/+2
| | | | | | Replaces the legacy termios API with new termios API (#3034) Replaces the custom PL011 serial driver with RTEMS arm-pl011. Update #3034
* bsp/raspberrypi: Enable FDT support.G S Niteesh2020-01-072-0/+13
| | | | This commit adds FDT support to the BSP.
* bsp/raspberrypi: Fix size of work area.Christian Mauderer2020-01-071-4/+0
| | | | | | | | | | 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.
* bsp/xen: Use BSP options for all linkcmds varsSebastian Huber2019-12-051-9/+14
| | | | Update #3818.
* bsp/xen: Create BSPJeff Kubascik2019-12-053-0/+109
| | | | Create the Xen BSP for Xen on ARM.
* bsp/imx7: Rename linker command fileSebastian Huber2019-11-191-1/+1
| | | | | | | This BSP family uses only one linker command file. Use the standard name. Update #3818.
* bsp/altcycv_devkit: Rename linker command fileSebastian Huber2019-11-191-1/+1
| | | | | | | This BSP family uses only one linker command file. Use the standard name. Update #3818.
* bsp/lpc32xx: Remove unused TESTS_USE_PRINTKSebastian Huber2019-11-151-3/+0
| | | | Update #3818.
* Remove BSP_SMALL_MEMORY BSP optionSebastian Huber2019-11-151-4/+0
| | | | | | Use the test state configuration instead. Update #3818.
* bsp/beagle: Rename linker command fileSebastian Huber2019-11-141-1/+0
| | | | | | | This BSP family uses only one linker command file. Use the standard name. Update #3818.
* bsp/gumstix: Remove ON_SKYEYE Automake conditionalSebastian Huber2019-11-141-2/+0
| | | | | | It is fine to build the drivers always. Update #3818.
* arm/stm32f4: Fix typoSebastian Huber2019-11-141-1/+1
|
* bsps/arm: Add support for small pages MMUSebastian Huber2019-10-311-0/+2
| | | | | | | 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.
* bsp/xilinx-zynqmp: Fix linkcmds configSebastian Huber2019-10-281-1/+1
| | | | Bug was introduced by commit 1e1afa3779e594e09387fba1812d3028fb00cd9e.
* bsp/xilinx-zynq: Simplify linkcmds configSebastian Huber2019-10-231-26/+3
| | | | | | | 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.
* bsp/xilinx-zynq: Simplify configure.acSebastian Huber2019-10-231-24/+10
|
* bsp/xilinx-zynqmp: Simplify linkcmds configSebastian Huber2019-10-231-6/+0
| | | | | Do all calculations in the linker command file. This is a preparation for the new build system.
* bsp/xilinx-zynqmp: Simplify configure.acSebastian Huber2019-10-231-21/+9
| | | | Use NULL-pointer protection also for Qemu variant.
* arm/raspberry: Set the workspace based on the mailbox version.Chris Johns2019-08-121-4/+16
| | | | | | - Update the linkcmd file to support configure settings - Set the workspace size based on the revision value
* arm/beagle: Add libdebugger support.Chris Johns2019-07-311-0/+1
| | | | | | - 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.
* bsps/arm: Move HYP to SVC change to start.SSebastian Huber2019-07-261-3/+0
| | | | | | | | | 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.
* bsps/arm: Move register init to start.SSebastian Huber2019-07-261-1/+0
| | | | | | This makes it easier to review changes in start.S. Update #3773.
* atsam: Add ATSAM_POWER_WAIT_MODESebastian Huber2019-06-181-0/+1
|
* bsp/lpc24xx: Remove obsolete BSP optinonsSebastian Huber2019-05-081-9/+0
| | | | Update #3725.
* bsp/imx: CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSORSebastian Huber2019-04-121-5/+0
| | | | Remove this BSP option.
* bsp/xilinx-zynqmp: Implement Ultra96 targetJeff Kubascik2019-04-113-98/+66
| | | | | | Modifications to get xilinx-zynqmp BSP working on an Ultra96 board. Update #3682.
* bsp/xilinx-zynqmp: Stub out Xilinx MPSoC BSPJeff Kubascik2019-04-112-0/+228
| | | | | | Source files were copied from xilinx-zynq. Update #3682.
* bsp/zynq-uart: Move Zynq UART driver to shared directoryJeff Kubascik2019-04-111-1/+1
| | | | | | This driver will be shared with the xilinx-zynqmp BSP. Update #3682.
* bsp/lpc24xx: Convert I2C driver to Linux APISebastian Huber2019-03-151-1/+0
| | | | | | Change license to BSD-2-Clause. Close #3725.
* bsp/altera-cyclone-v: Move header fileSebastian Huber2019-02-271-2/+0
| | | | This gets rid of a special include path.
* arm/beagle: SPI driverPierre-Louis Garnier2019-02-271-0/+3
|
* bsp/altera-cyclone-v: Use FDT for clock frequencySebastian Huber2019-02-181-3/+2
|
* bsp/altera-cyclone-v: Make FDT support optionalSebastian Huber2019-02-181-0/+3
|
* bsps/arm: Add ARMv7-AR disable data cacheSebastian Huber2018-12-214-0/+4
| | | | Close #3667.
* bsp/realview-pbx-a9: Fix printk() supportSebastian Huber2018-11-071-0/+1
| | | | | Avoid dependencies on the Termios support in case only printk() is used by the application.
* bsp/imx: Adjust workspace according to device treeSebastian Huber2018-10-241-1/+0
|
* build: Remove local.amSebastian Huber2018-10-1021-21/+0
|
* bsp/imx: Add imx_ccm_sdhci_hz()Sebastian Huber2018-09-271-0/+2
| | | | Update #3525.
* Rework initialization and interrupt stack supportSebastian Huber2018-06-274-22/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Statically initialize the interrupt stack area (_Configuration_Interrupt_stack_area_begin, _Configuration_Interrupt_stack_area_end, and _Configuration_Interrupt_stack_size) via <rtems/confdefs.h>. Place the interrupt stack area in a special section ".rtemsstack.interrupt". Let BSPs define the optimal placement of this section in their linker command files (e.g. in a fast on-chip memory). This change makes makes the CPU_HAS_SOFTWARE_INTERRUPT_STACK and CPU_HAS_HARDWARE_INTERRUPT_STACK CPU port defines superfluous, since the low level initialization code has all information available via global symbols. This change makes the CPU_ALLOCATE_INTERRUPT_STACK CPU port define superfluous, since the interrupt stacks are allocated by confdefs.h for all architectures. There is no need for BSP-specific linker command file magic (except the section placement), see previous ARM linker command file as a bad example. Remove _CPU_Install_interrupt_stack(). Initialize the hardware interrupt stack in _CPU_Initialize() if necessary (e.g. m68k_install_interrupt_stack()). The optional _CPU_Interrupt_stack_setup() is still useful to customize the registration of the interrupt stack area in the per-CPU information. The initialization stack can reuse the interrupt stack, since * interrupts are disabled during the sequential system initialization, and * the boot_card() function does not return. This stack resuse saves memory. Changes per architecture: arm: * Mostly replace the linker symbol based configuration of stacks with the standard <rtems/confdefs.h> configuration via CONFIGURE_INTERRUPT_STACK_SIZE. The size of the FIQ, ABT and UND mode stack is still defined via linker symbols. These modes are rarely used in applications and the default values provided by the BSP should be sufficient in most cases. * Remove the bsp_processor_count linker symbol hack used for the SMP support. This is possible since the interrupt stack area is now allocated by the linker and not allocated from the heap. This makes some configure.ac stuff obsolete. Remove the now superfluous BSP variants altcycv_devkit_smp and realview_pbx_a9_qemu_smp. bfin: * Remove unused magic linker command file allocation of initialization stack. Maybe a previous linker command file copy and paste problem? In the start.S the initialization stack is set to a hard coded value. lm32, m32c, mips, nios2, riscv, sh, v850: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. m68k: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. powerpc: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. * Used dedicated memory region (REGION_RTEMSSTACK) for the interrupt stack on BSPs using the shared linkcmds.base (replacement for REGION_RWEXTRA). sparc: * Remove the hard coded initialization stack. Use the interrupt stack for the initialization stack on the boot processor. This saves 16KiB of RAM. Update #3459.
* arm: Simplify CPU counter supportSebastian Huber2018-06-1519-19/+0
| | | | | | | | | | Use the standard ARMv7-M systick module for the ARMv7-M CPU counter instead of DWT counter since the DWT counter is affected by power saving states. Use an inline function for _CPU_Counter_difference() for all ARM BSPs. Update #3456.
* Add _CPU_Counter_frequency()Sebastian Huber2018-06-1511-0/+11
| | | | | | | | | | Add rtems_counter_frequency() API function. Use it to initialize the counter value converter via the new system initialization step (RTEMS_SYSINIT_CPU_COUNTER). This decouples the counter implementation and the counter converter. It avoids an unnecessary pull in of the 64-bit integer division from libgcc. Update #3456.
* smdk2410: Move define of CPU_S3C2410 to bspopts.hJoel Sherrill2018-05-091-2/+5
| | | | Updates #3425.
* bsps: Move documentation, etc. files to bspsSebastian Huber2018-04-2631-1485/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/arm: Remove unused filesSebastian Huber2018-04-2513-17990/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/beagle: Move source files to bspsSebastian Huber2018-04-255-1621/+4
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/gumstix: Move fb.c to bspsSebastian Huber2018-04-252-240/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/lm3s69xx: Move ssi.c to bspsSebastian Huber2018-04-252-171/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/lpc176x: Move source files to bspsSebastian Huber2018-04-2513-2426/+13
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/lpc24xx: Move source files to bspsSebastian Huber2018-04-2510-1963/+9
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.