| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Adjust build support files to new directory layout.
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
| |
Updates #3520.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This helps to avoid alignment padding and thus may reduce some memory
waste.
|
|
|
|
| |
Add ability to place data in a non-loadable cache-inhibited area.
|
|
|
|
|
| |
This avoids consumption of a loadable address space for the nocache
heap.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This section can be use to provide a cache coherent memory area via
rtems_cache_coherent_add_area().
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Move abort stack above the other exception stacks to use them just in
case.
|
|
|
|
|
| |
The TLS section symbols had wrong values in case of an empty TLS data
section and a nonempty TLS BSS section.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 287bbb65afd24ffc6254ae5f328733213f184205.
Conflicts:
c/src/lib/libbsp/arm/shared/startup/linkcmds.base
|
| |
|
|
|
|
| |
This requires at least Binutils 2.24.
|
|
|
|
| |
Move input sections to preserve order of the default Binutils script.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
The .vector section contains read-write data (several mode stacks).
Move it to the read-write data area.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Replace the "NIRVANA" region with the more verbose "UNEXPECTED_SECTIONS"
region. Move the region definition into the "linkcmds.base" files.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* shared/startup/linkcmds.base: Removed workaround since LD 2.21 is
fixed now.
|
|
|
|
| |
* shared/startup/linkcmds.base: Split up fast region.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* shared/startup/linkcmds.base: Define bsp_vector_table_size
unconditionally. Use bsp_vector_table_in_start_section.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
Added bsp_start_memcpy(). Documentation. Changes for external ROM start.
|
| |
|
| |
|
| |
|
|
|