summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/xilinx-zynq/configure.ac (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove old build systemSebastian Huber2021-09-211-109/+0
| | | | | Close #3250. Close #4081.
* bsp/xilinx_zynq: Enable support for 4kiB MMU pagesJan Sommer2020-12-111-0/+4
| | | | | | | - Disabled by default - Enable using ARM_MMU_USE_SMALL_PAGES option Close 4192.
* 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
|
* Rework initialization and interrupt stack supportSebastian Huber2018-06-271-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* bsps: Remove AC_CONFIG_SRCDIR()Sebastian Huber2018-04-231-1/+0
| | | | | | | | | | | This AC_CONFIG_SRCDIR() is just a sanity check in this insane build system. Since all content of c/src/lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@ is bound to be moved it makes no sense to keep it. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move startup files to bspsSebastian Huber2018-04-201-1/+1
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove subdir-objects from BSP configure.acSebastian Huber2018-04-121-1/+1
| | | | | | | The subdir-objects do not work currently due to BSP sources in bsps and c and the existing build tree layout. Update #3387.
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-111-1/+1
| | | | | | | | | | | This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-041-7/+0
| | | | | | | | Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs. This patch is a part of the BSP source reorganization. Update #3285.
* Remove make preinstallChris Johns2018-01-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-271-1/+1
| | | | Updates #3250.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-221-1/+1
| | | | | | | | | Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify the BSP configuration and documentation. Change defaults to: BSP_PRESS_KEY_FOR_RESET=0 BSP_RESET_BOARD_AT_EXIT=1 BSP_PRINT_EXCEPTION_CONTEXT=1
* bsp/xilinx-zynq: Add interrupt support to UARTSebastian Huber2017-02-221-0/+3
|
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* bsps/arm: Add .nocache sectionSebastian Huber2014-11-271-0/+4
| | | | | This section can be use to provide a cache coherent memory area via rtems_cache_coherent_add_area().
* bsps/arm: Enable L2C for Cortex-A9 MPCore BSPsSebastian Huber2014-11-201-0/+8
|
* bsp/xilinx-zynq: Add zync_clock_cpu_1x()Sebastian Huber2014-11-201-0/+5
|
* bsp/xilinx-zynq: Rename BSP_ARM_A9MPCORE_UARTCLKSebastian Huber2014-11-201-4/+4
| | | | | Rename BSP_ARM_A9MPCORE_UARTCLK to ZYNQ_CLOCK_UART since this clock has nothing to do with the Cortex-A9 MPCore.
* bsp/xilinx-zynq: Adjust BSP_ARM_A9MPCORE_PERIPHCLKSebastian Huber2014-11-201-1/+1
|
* bsp/zynq: Add BSP_ZYNQ_RAM_LENGTH to allow a user to override the RAM length.Chris Johns2014-05-221-10/+13
| | | | | The Zynq BSPs can be used with varations of hardware such as memory size. This option lets you set a length.
* bsps/zynq: Add BSP_ARM_A9MPCORE_UARTCLK to set the UART clock rate.Chris Johns2014-05-221-0/+5
| | | | | This value can be found the xparameters.h file generated by the Xilinx tools.
* bsp/xilinx_zynq: Support configuraton of memory map. Remove SMP variants.Chris Johns2014-02-021-3/+80
| | | | | | | | | | Generate a linker command file from configure letting the user override the defaults to suite their custom needs. Refer to configure.ac for the details. Remove the SMP variants and let --enable-smp control if a BSP is built for SMP. Make USE_FAST_IDLE 1 only for the realview qemu BSP.
* bsp/xilinx-zynq: Provide BSP variantsRic Claus2013-07-171-0/+2
|
* bsp/xilinx-zynq: Use second UART for consoleSebastian Huber2013-06-181-1/+1
| | | | This is in now line with the evaluation board.
* bsps: Provide simple console selectionSebastian Huber2013-06-171-0/+3
|
* bsps/arm: Add SMP supportSebastian Huber2013-05-311-0/+3
|
* bsps/arm: Add CLOCK_DRIVER_USE_FAST_IDLE optionSebastian Huber2013-05-271-0/+6
|
* bsp/xilinx-zynq: New BSPSebastian Huber2013-05-061-0/+34