the-m3chanic
a54f06b678
arm: modified linkcmds.base to add new section for gdb-inlined script
2024-08-05 21:29:58 +00:00
Sebastian Huber
7427caa1ae
bsps/arm: Use shared empty bsp_start_hook_0()
...
Update #4982 .
2024-01-15 10:32:23 +01:00
Sebastian Huber
ba89aae89d
bsps/arm: BSP_START_VECTOR_ADDRESS_TABLE_ALIGNMENT
...
Add the BSP option BSP_START_VECTOR_ADDRESS_TABLE_ALIGNMENT to
optionally define an alignment of the vector address table begin.
2023-12-06 13:35:37 +01:00
Sebastian Huber
da2b49e7b7
bsps/arm: Use interrupt entry for IPI
...
Avoid a dynamic memory allocation for the inter-processor interrupt.
2023-05-26 06:56:11 +02:00
Sebastian Huber
bcef89f236
Update company name
...
The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.
2023-05-20 11:05:26 +02:00
Sebastian Huber
a60b816fa7
bsps/arm: Fix wording
2023-03-17 07:25:34 +01:00
Sebastian Huber
f6e7c62705
bsps/arm: Mark functions in start.S
...
Add the function type to _start() and bsp_start_hook_0_done() so that
the linker can generate ARM/Thumb interworking code.
Update #4202 .
2022-09-22 08:05:06 +02:00
Sebastian Huber
80be0de40e
bsps/arm: Add comment about banked FIQ registers
2022-09-22 07:59:04 +02:00
Sebastian Huber
21a36ed19b
bsps: Fix .data.rel.ro placement
...
The .data.rel.ro* linker input section pattern accidentally matches with
writeable data those symbol name starts with "ro".
Close #4701 .
2022-08-12 10:10:17 +02:00
Sebastian Huber
5ed0035377
bsps: Sort .noinit* sections
...
Sort the .noinit* input sections by name first, then by alignment if two
sections have the same name. This allows the placement of begin/end symbols to
initialize some areas with a special value.
Update #4678 .
2022-07-15 10:46:02 +02:00
Joel Sherrill
8ca4b5c8bb
bsps/arm/shared: Change license to BSD-2
...
Updates #3053 .
2022-07-08 08:42:42 -05:00
Karel Gardas
635cd68aa7
bsp/arm: allocate .rtemsstack on REGION_STACK instead of on REGION_WORK
...
REGION_WORK may be backed by external RAM which may not be initialized
in a time we need stack to work well. E.g. code loaded in flash,
stack allocated on in-cpu SRAM and data (REGION_WORK) on external SDRAM.
Sponsored-By: Precidata
2022-05-23 08:36:41 +02:00
Sebastian Huber
e7a2470d06
bsps/arm: Fix bsp_start_memcpy() for ARMv7-AR
...
Synchronize data and instruction streams.
2022-03-14 09:23:54 +01:00
Joel Sherrill
ba619b7f36
bsps/arm/: Scripted embedded brains header file clean up
...
Updates #4625 .
2022-03-10 08:43:50 +01:00
Sebastian Huber
59472042ec
bsps/arm: More robust SMP start
...
Do not continue execution on processors which are not configured to prevent the
use of arbitrary memory for the initialization stack.
2021-08-12 10:04:11 +02:00
Sebastian Huber
a398909dc2
bsps/arm: Fix SMP start
...
Skip the data cache initialization if we are a secondary processor.
The bug was introduced by e164df5e33 and
did not show up in tests using Qemu since the data cache behaviour is
not emulated.
2021-07-09 10:43:10 +02:00
Pranav Dangi
8b0e333487
bsps/arm: Add start up support for ARMv6 RPi Models
2021-07-07 20:09:47 +02:00
Sebastian Huber
3fee662093
bsps/irq: Use BSP_INTERRUPT_VECTOR_COUNT
...
Use BSP_INTERRUPT_VECTOR_COUNT instead of BSP_INTERRUPT_VECTOR_MAX.
Update #3269 .
2021-06-24 11:36:25 +02:00
Sebastian Huber
e10dec0fe7
bsps: Support RTEMS_NOINIT in linkcmds
...
Update #3866 .
2021-05-02 18:41:21 +02:00
Sebastian Huber
2a24f99d11
bsps/arm: Set MSP in ARMv7-M start code
...
Set the Main Stack Pointer (MSP) to the ISR stack area end just in case
we run using the Process Stack Pointer (PSP). This helps if
applications are started by a boot loader.
2021-04-21 07:04:53 +02:00
Sebastian Huber
9eb9813dc1
bsps: Add missing DWARF 5 sections
...
Sort alphabetically.
2021-01-26 15:29:36 +01:00
Sebastian Huber
33c12d5f92
bsps: Support DWARF 5 sections
...
GCC 11 uses DWARF 5 by default.
2021-01-25 12:56:00 +01:00
Sebastian Huber
23d9223ad3
bsps/arm: Invalidate TLB in start.S
...
Update #4202 .
2020-12-23 09:24:47 +01:00
Sebastian Huber
e164df5e33
bsps/arm: Clear SCTLR[M, I, A, C] in start.S
...
Initialize the data and unified cache levels. Invalidate the
instruction cache levels.
Update #4202 .
2020-12-23 09:19:28 +01:00
Sebastian Huber
46a3c0446f
bsps/arm: Remove optional start hook arguments
...
The start hook arguments are not used by a BSP. Removing them avoids
the need for a stack during the very early system initialization.
Update #4202 .
2020-12-23 09:19:28 +01:00
Sebastian Huber
76a1a53780
bsps/arm: Invalidate branch predictors earlier
...
Make sure the branch predictors are invalidated before the first branch
is executed.
Update #4202 .
2020-12-23 09:19:28 +01:00
Sebastian Huber
272534eb72
bsps/arm: Set VBAR in start.S
...
Set the VBAR to the vector table in the start section before
bsp_start_hook_0() is called to earlier handle exceptions in RTEMS.
Set the VBAR to the normal vector table in start.S for the main
processor. Secondary processors set it in bsp_start_hook_0().
Update #4202 .
2020-12-23 09:19:17 +01:00
Sebastian Huber
105e52032e
bsps: Remove ARM GIC SGI target filter
...
Remove the target filter for software-generated interrupts since this
feature is not supported by the affinity routing in GICv3.
Update #4202 .
2020-12-10 09:42:50 +01:00
Sebastian Huber
b6925e10c8
bsps: Fix GICv3 arm_gic_trigger_sgi()
...
Use the targets parameter to determine the targets of the SGI. Change
targets parameter type to 32-bit to ease the parameter passing. GICv3
supports up to 16 targets.
Update #4202 .
2020-12-10 09:42:49 +01:00
Sebastian Huber
273613f1a8
bsps/arm: Sort fast text/data sections
2020-10-21 07:58:38 +02:00
Sebastian Huber
3fccdc956c
bsps/arm: Add support for MPU region alignment
...
Update #3910 .
2020-10-21 07:58:34 +02:00
Sebastian Huber
95d37b6307
bsps/arm: Use _Assert()
2020-08-20 14:54:18 +02:00
Sebastian Huber
51307919b4
arm: ARMv7-M statically initialized vector table
...
Statically initialize the ARMv7-M vector table to allow a placement in
ROM with read-only MPU settings.
Change licence to BSD-2-Clause in some files.
2020-04-03 09:12:44 +02:00
Sebastian Huber
32991495b4
score: Statically allocate idle/MPCI stacks
...
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 .
2020-02-12 09:08:36 +01:00
Sebastian Huber
ffa1153170
bsps: Add RamEnd to linker command files
...
Update #3838 .
2020-02-04 05:52:28 +01:00
Sebastian Huber
2497da06de
bsps/arm: Export bsp_start_hook_0_done
...
Close #3789 .
2019-12-19 10:59:20 +01:00
Jeff Kubascik
001cd9bd5c
bsps/arm: Add zImage boot header
...
Xen currently only supports the zImage loader for 32 bit guests on ARM
targets.
2019-12-05 07:25:52 +01:00
Sebastian Huber
1e6380baf2
bsps/arm: Move HYP to SVC change to start.S
...
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 .
2019-07-26 08:12:20 +02:00
Sebastian Huber
0ee2125a92
bsps/arm: Move register init to start.S
...
This makes it easier to review changes in start.S.
Update #3773 .
2019-07-26 08:00:48 +02:00
Sebastian Huber
0f5c1d5344
bsps/arm: Remove register init for ARMv7-M
...
There are no known ARMv7-M chips with a dual lockstep mode.
Update #3773 .
2019-07-26 08:00:39 +02:00
Sebastian Huber
3fe215502a
Remove superfluous <rtems/system.h> includes
2019-03-14 13:13:27 +01:00
Sebastian Huber
feea03b625
Remove explicit file names from @file
...
This makes the @file documentation independent of the actual file name.
Update #3707 .
2019-02-28 11:47:33 +01:00
Sebastian Huber
bdec62c4d5
bsps/arm: Move device tree copy
...
Move device tree copy operation after the mode initialization so that
bsp_fdt_copy() uses the initialization stack and not the stack provided
up by the boot loader.
2019-02-18 09:01:27 +01:00
Sebastian Huber
95c19211d1
bsps/arm: Remove unused bsp_stack_irq_size
...
Update #3459 .
2019-01-21 09:17:51 +01:00
Sebastian Huber
e0caabe08d
bsps/arm: Avoid short range branch in start.S
2018-11-21 07:48:23 +01:00
Sebastian Huber
faafc22928
bsps/arm: Use local labels in start.S
2018-11-21 07:48:23 +01:00
Sebastian Huber
945291312c
bsps/arm: Simplify start.S
...
The boot_card() function does not return.
2018-11-21 07:48:23 +01:00
Sebastian Huber
ff081aee72
score: Rename interrupt stack symbols
...
Rename
* _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin,
* _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and
* _Configuration_Interrupt_stack_size in _ISR_Stack_size.
Move definitions to <rtems/score/isr.h>. The new names are considerable
shorter and in the right namespace.
Update #3459 .
2018-11-08 08:09:20 +01:00
Sebastian Huber
186a0b1dc0
bsps/arm: Recognize .tm_clone_table input section
2018-10-15 10:40:31 +02:00
Sebastian Huber
511ef83ce4
bsps/arm: Fix ctor/dtor invocation order
...
Remove obsolete .ctor and .dtor output sections.
2018-10-09 12:01:27 +02:00