summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/shared/startup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/arm: Support recent bootloaders starting kernel in HYP modePavel Pisa2016-10-022-1/+85
| | | | | | | | | | | | | | | | | | | | | When HYP mode is detected at startup then setup HYP mode vectors table (for future extensions) clean exceptions switching to HYP mode and switch CPU to ARM SVC mode. BSPs which want to use this support need to include next option in their configure.ac RTEMS_BSPOPTS_SET([BSP_START_IN_HYP_SUPPORT],[*],[1]) RTEMS_BSPOPTS_HELP([BSP_START_IN_HYP_SUPPORT], [Support start of BSP in ARM HYP mode]) AM_CONDITIONAL(BSP_START_IN_HYP_SUPPORT,test "$BSP_START_IN_HYP_SUPPORT" = "1") and need to include next lines in corresponding Makefile.am if BSP_START_IN_HYP_SUPPORT libbsp_a_SOURCES += ../shared/startup/bsp-start-in-hyp-support.S endif Updates #2783
* ARM: Add BSP_START_NEEDS_REGISTER_INITIALIZATIONMartin Galvan2015-02-271-0/+105
| | | | | | | | | | | | | This patch adds the macro BSP_START_NEEDS_REGISTER_INITIALIZATION and three hooks for BSP-specific register init code to arm/shared/start.S. Said hooks are bsp_start_init_registers_core (intended for initializing the ARM core registers), bsp_start_init_registers_banked_fiq (for the FIQ mode banked registers) and bsp_start_init_registers_vfp (for the FPU registers). BSP_START_NEEDS_REGISTER_INITIALIZATION would be defined in a BSP's configure.ac (so that it appears in its bspopts.h). This patch also adds the register init code required by the TMS570. We've tested it with the tms570ls3137_hdk.cfg config and it works fine.
* bsps/arm: Add .nocache sectionSebastian Huber2014-11-271-0/+13
| | | | | This section can be use to provide a cache coherent memory area via rtems_cache_coherent_add_area().
* bsps/arm: Adjust stacks for ARMv4Sebastian Huber2014-11-202-19/+7
| | | | | | | | Reduce non-IRQ stacks to size zero. All non-IRQ stacks overlap now the IRQ stack. This is all right since the SVC stack is used only during startup and here interrupts are disabled. The other exception stacks lead to a system termination by default, so we can here also use the IRQ stack since interrupts are disabled on exception entry.
* bsps/arm: Move abort stackSebastian Huber2014-10-131-4/+4
| | | | | Move abort stack above the other exception stacks to use them just in case.
* bsps: Fix TLS support in linker command filesSebastian Huber2014-04-221-1/+3
| | | | | The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-214-4/+4
|
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-041-0/+8
|
* bsps: Fix barrier section definitionsSebastian Huber2014-01-301-3/+3
|
* bsps/arm: Use ALIGN_WITH_INPUTSebastian Huber2014-01-131-117/+90
| | | | | | | | | | | | | The ALIGN_WITH_INPUT helps to make this linker script more reliable. See also: https://sourceware.org/ml/binutils/2013-06/msg00246.html https://sourceware.org/binutils/docs-2.24/ld/Forced-Output-Alignment.html#Forced-Output-Alignment This reverts commit 4a9e52eefc510d7022ddc61c4ecde8db6b9a0217. This reverts commit 1ab4f76900d012b5a9dbce2851add060f11ce13a.
* Fix the broken conflict from the revert.Chris Johns2013-12-191-12/+6
|
* Revert "bsps/arm: Use ALIGN_WITH_INPUT"Chris Johns2013-12-191-84/+117
| | | | | | | This reverts commit 287bbb65afd24ffc6254ae5f328733213f184205. Conflicts: c/src/lib/libbsp/arm/shared/startup/linkcmds.base
* bsps: Simplify FreeBSD linker setsSebastian Huber2013-12-161-13/+4
|
* bsps/arm: Use ALIGN_WITH_INPUTSebastian Huber2013-12-161-106/+88
| | | | This requires at least Binutils 2.24.
* bsps/arm: Move input sectionsSebastian Huber2013-06-281-6/+6
| | | | Move input sections to preserve order of the default Binutils script.
* bsps/arm: Add SMP supportSebastian Huber2013-05-311-0/+8
|
* bsps/arm: Move .fast_text sectionSebastian Huber2013-05-271-9/+9
| | | | | | | Move the .fast_text section after the .vector section. The .fast_test section is normally not empty in case some functions should execute from an internal SRAM. This would be also the area for the .vector section. The vector table must be the first content of such an area.
* bsps: Update due to linker changesSebastian Huber2013-05-271-81/+99
| | | | | | | In case the VMA and LMA regions differ, the LMA start address is now no longer aligned with the alignment of the input sections: http://sourceware.org/bugzilla/show_bug.cgi?id=15222
* bsps/arm: Move .vector sectionSebastian Huber2013-05-031-38/+38
| | | | | The .vector section contains read-write data (several mode stacks). Move it to the read-write data area.
* bsps/arm: Move implementation to inline functionsSebastian Huber2013-05-031-68/+0
|
* bsps/arm: Add thread-local storage (TLS) sectionsSebastian Huber2013-03-261-1/+7
|
* bsps: Support DWARF extensionSebastian Huber2013-03-181-0/+2
|
* bsps/arm: Rename linkcmds.armv7 to linkcmds.armv7mSebastian Huber2012-06-151-0/+0
|
* bsps: Replace NIRVANA regionSebastian Huber2012-06-121-2/+13
| | | | | Replace the "NIRVANA" region with the more verbose "UNEXPECTED_SECTIONS" region. Move the region definition into the "linkcmds.base" files.
* 2011-11-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-082-0/+215
| | | | | | | | * shared/startup/bsp-start-copy-sections.c, shared/startup/bsp-start-memcpy.S: New files. * shared/include/start.h: Declare bsp_start_copy_sections(). * shared/start/start.S, shared/include/linker-symbols.h: Moved content. Support for ARMv7-M.
* 2011-03-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-281-121/+131
| | | | | | | * shared/start/start.S: Default exception handler will result in bsp_reset(). * shared/startup/linkcmds.base: Move unsupported sections into read-only section. Changed barrier sections.
* 2011-01-26 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-261-46/+2
| | | | | * shared/startup/linkcmds.base: Removed workaround since LD 2.21 is fixed now.
* 2010-12-03 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-031-2/+2
| | | | * shared/startup/linkcmds.base: Split up fast region.
* 2010-12-03 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-033-235/+335
| | | | | | | | | | | | | | * preinstall.am, shared/lpc/include/lpc-i2s.h, shared/startup/linkcmds.armv4, shared/startup/linkcmds.armv7: New files. * Makefile.am: Added header and linker command files intended to be used by every ARM BSP. * shared/startup/linkcmds.base: Support for EABI and ARM ELF standard. * shared/include/linker-symbols.h: Update due to linker command file changes. * shared/start/start.S, shared/include/start.h: Renamed entry symbol from start to _start to avoid namespace conflicts. Update due to linker command file changes.
* 2010-06-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-06-231-6/+6
| | | | | * shared/startup/linkcmds.base: Define bsp_vector_table_size unconditionally. Use bsp_vector_table_in_start_section.
* 2010-06-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-06-211-1/+6
| | | | | | * shared/start/start.S, shared/startup/linkcmds.base, shared/include/linker-symbols.h: Added and use bsp_vector_table_begin, bsp_vector_table_size and bsp_vector_table_end.
* add support for lpc32xxThomas Doerfler2010-01-121-18/+34
|
* Removed symbols and renamed sections.Thomas Doerfler2009-09-181-14/+3
| | | | Added bsp_start_memcpy(). Documentation. Changes for external ROM start.
* remove obsolete filesThomas Doerfler2009-07-171-385/+0
|
* ARM bsp maintenanceThomas Doerfler2009-07-171-125/+157
|
* added missing filesThomas Doerfler2009-02-271-0/+385
|
* *** empty log message ***Thomas Doerfler2008-09-221-0/+385