summaryrefslogtreecommitdiffstats
path: root/bsps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsp/pc386: Fix interrupt enable to make debug option work againJan Sommer2020-02-271-1/+1
|
* bsp/mpc5643l_*: Exclude some testsSebastian Huber2020-02-272-0/+4
| | | | These tests do not fit into the available memory.
* bsps/clock: Use _SMP_Get_processor_maximum()Sebastian Huber2020-02-251-1/+1
| | | | | | | Use a specific test to enable the fast idle mode instead of using the rtems_configuration_is_smp_enabled() workaround. Update #3876.
* bsps/arm: Initialize priorities of PPIsSebastian Huber2020-02-241-0/+6
| | | | | | At least on GICv1 the interrupts 0 up to including 31 are so called Peripheral Private Interrupts (PPIs). We have to initialize the priority of the PPIs on secondary processors.
* drvmgr: Fix determination of prefix in grlib uart driverDennis Pfau2020-02-201-1/+1
| | | | | drvmgr_get_dev_prefix returns 0 if a prefix was found. Therefore the if condition needs to check for 0, i.e. DRVMGR_OK.
* bsp/raspberrypi: Mini UART driverG S Niteesh2020-02-162-9/+110
| | | | | | | | This patch adds driver for Mini UART present in Raspberry Pi 3 and above, this UART is currently used as the primary UART in these models. The Mini UART is similar to ns16550, this driver is built upon libchip/ns16550.
* libchip/ns16550: Allow user calculate baud divisorG S Niteesh2020-02-162-2/+9
| | | | | | | | This patch will allow the user to pass a function to calculate the baud divisor. This will allow for more flexibility, since for some BSPs like raspberrypi, the calculation of baud divisor is different from what is in the current driver.
* score: Statically allocate idle/MPCI stacksSebastian Huber2020-02-125-3/+23
| | | | | | | Place idle and MPCI stacks into extra linker sections. This can be optionally used by applications to control the placement of the stacks. Update #3835.
* arm/xilinx-zynq: Split console driver filesSebastian Huber2020-02-124-185/+242
| | | | | This avoids to pull in via printk() the Termios support which pulls in the file system support. This fixes a spconfig02 test failure.
* bsp/imx: Parse fdt pinctrl values and setup iomuxChristian Mauderer2020-02-111-0/+44
| | | | Update #3869.
* bsp/imx: Support imx6ul iomux.Christian Mauderer2020-02-111-0/+4
| | | | Update #3869.
* bsp/imx: Allow gapless SPI transfers.Christian Mauderer2020-02-111-1/+6
| | | | | | This uses the tx-threshold to reduce gaps in SPI transmissions. Update #3869.
* bsp/imx: Use muxed mode for serials.Christian Mauderer2020-02-111-0/+1
| | | | Update #3869.
* bsp/imx: Increase device memory areaSebastian Huber2020-02-111-1/+1
| | | | | | The new area is used by the i.MX 6UltraLite for example. Update #3869.
* bsp/imx: Allow GIC in different device tree node.Christian Mauderer2020-02-111-0/+3
| | | | Update #3869.
* bsp/imx: Avoid hard-coded GIC base addressSebastian Huber2020-02-112-2/+15
| | | | Update #3869.
* config: Add CONFIGURE_DIRTY_MEMORYSebastian Huber2020-02-061-13/+0
| | | | | | | Replace the BSP_DIRTY_MEMORY BSP option with a CONFIGURE_DIRTY_MEMORY configuration option. Update #3843.
* Use RTEMS_SYSINIT_ORDER_LAST_BUT_5Sebastian Huber2020-02-0414-14/+14
| | | | | | | | Use RTEMS_SYSINIT_ORDER_LAST_BUT_5 instead of RTEMS_SYSINIT_ORDER_LAST to allow applications and support functions to place system initialization handlers behind the standard handlers. Update #3838.
* bsps: Rework work area initializationSebastian Huber2020-02-0413-197/+311
| | | | | | | | | | | | | | | | | | | | The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
* bsps: Remove uses of BSP_GET_WORK_AREA_DEBUGSebastian Huber2020-02-043-65/+0
| | | | | | | | | The code covered by BSP_GET_WORK_AREA_DEBUG was basically dead code since there was no normal way to activate it (e.g. via a BSP configuration option). A follow up patch will bring back this feature through a CONFIGURE_VERBOSE_SYSTEM_INITIALIZATION configuration option. Update #3838.
* bsps: Add RTEMS_SYSINIT_BSP_EARLYSebastian Huber2020-02-045-38/+48
| | | | | | | Add new BSP system initialization step for work to be performed before the work areas are initialized. Update #3838.
* bsps: Add RamEnd to linker command filesSebastian Huber2020-02-0456-1/+56
| | | | Update #3838.
* bsps/arm/shared: Add GICv3 implementationKinsey Moore2020-01-174-9/+427
| | | | | | | | | This adds support for the GICv3 interrupt controller along with the redistributor to control SGIs and PPIs which wasn't present in GICv2 implementations. GICv3 implementations only optionally support memory-mapped GICC interface interaction and require system register access be implemented, so the GICC interface is accessed only through system registers.
* bsp/raspberrypi: Updated the console API.G S Niteesh2020-01-079-400/+196
| | | | | | 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-071-0/+4
| | | | This commit adds FDT support to the BSP.
* bsp/raspberrypi: Fix size of work area.Christian Mauderer2020-01-074-185/+80
| | | | | | | | | | 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.
* bsps/arm: Define index of the workspace entry.Christian Mauderer2020-01-072-5/+6
| | | | | | The imx BSP contained a hack to change the workspace entry of the MMU table. This makes the used define visible for other BSPs too so that the same hack can be used for example in raspberry pi too.
* bsps/irq: fix resource leak in irq-server.cGedare Bloom2020-01-031-0/+1
| | | | | | Resource leak identified by Coverity (CID 1456675). The value of instances is leaked in case some but not all irq servers are created. It should be stored in bsp_interrupt_server_instances.
* bsps/powerpc: Fix warningSebastian Huber2020-01-021-3/+1
| | | | Update #3834.
* bsps/powerpc: Support constructors with prioritySebastian Huber2019-12-196-115/+59
| | | | Close #3339.
* bsps/arm: Export bsp_start_hook_0_doneSebastian Huber2019-12-191-5/+8
| | | | Close #3789.
* config: Add _MPCI_ConfigurationSebastian Huber2019-12-131-1/+1
| | | | | | | Replace the user MPCI configuration table with a system provided _MPCI_Configuration. Update #3735.
* rtems: Add and use rtems_object_get_local_node()Sebastian Huber2019-12-134-4/+4
| | | | Update #3841.
* mpci: Simplify MPCI configurationSebastian Huber2019-12-112-18/+26
| | | | Use watchdog for shared memory driver instead of a Classic API Timer.
* clock: Simplify driver initializationSebastian Huber2019-12-1119-187/+20
| | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834.
* clock: Remove Clock_exit() from APISebastian Huber2019-12-1116-38/+16
| | | | | | | This function is no longer supported by the standard clock driver implementation (clockimpl.h). Update #3436.
* bsp/xen: Use BSP options for all linkcmds varsSebastian Huber2019-12-051-3/+3
| | | | Update #3818.
* bsp/xen: Create BSPJeff Kubascik2019-12-0511-0/+521
| | | | Create the Xen BSP for Xen on ARM.
* bsps/arm: Unmask generic timer in interrupt handlerJeff Kubascik2019-12-051-0/+3
| | | | | Xen will mask the virtual timer before injecting the interrupt to the guest.
* bsps/arm: Add zImage boot headerJeff Kubascik2019-12-051-0/+11
| | | | | Xen currently only supports the zImage loader for 32 bit guests on ARM targets.
* Regenerate headers.amSebastian Huber2019-11-291-0/+1
|
* bsp/mpc55xxevb: Remove obsolete linker cmd fileSebastian Huber2019-11-251-1/+0
| | | | Update #3818.
* bsp/gen83xx: Remove obsolete linker command fileSebastian Huber2019-11-251-19/+0
| | | | Update #3818.
* bsp/lpc32xx: Fix linker command fileSebastian Huber2019-11-191-1/+4
|
* bsp/imx7: Rename linker command fileSebastian Huber2019-11-191-0/+0
| | | | | | | 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-0/+0
| | | | | | | This BSP family uses only one linker command file. Use the standard name. Update #3818.
* bsp/atsamv: Fix warningSebastian Huber2019-11-181-1/+0
|
* bsp/t32mppc: Rename linker command fileSebastian Huber2019-11-141-0/+0
| | | | | | | This BSP family uses only one linker command file. Use the standard name. Update #3818.
* bsp/beagle: Rename linker command fileSebastian Huber2019-11-141-0/+0
| | | | | | | This BSP family uses only one linker command file. Use the standard name. Update #3818.
* bsp/riscv: Fix format and warningsSebastian Huber2019-11-142-45/+27
| | | | Update #3785.