mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 18:14:24 +00:00

The Raspberry Pi 5 is a single-board computer based on BCM2712 that contains four Arm Cortex-A76 cores. This change introduces minimal BL31 support with PSCI that has been validated to boot Linux and a private EDK2 build. It's a drop-in replacement for the custom TF-A armstub now included in the EEPROM images. Change-Id: Id72a0370f54e71ac97c3daa1bacedacb7dec148f Signed-off-by: Mario Bălănică <mariobalanica02@gmail.com>
23 lines
624 B
ArmAsm
23 lines
624 B
ArmAsm
/*
|
|
* Copyright (c) 2019-2024, Arm Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
* Stub linker script to provide the armstub8.bin header before the actual
|
|
* code. If the GPU firmware finds a magic value at offset 240 in
|
|
* armstub8.bin, it will put the DTB and kernel load address in subsequent
|
|
* words. We can then read those values to find the proper NS entry point
|
|
* and find our DTB more flexibly.
|
|
*/
|
|
|
|
MEMORY {
|
|
PRERAM (rwx): ORIGIN = 0, LENGTH = 4096
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.armstub8 . : {
|
|
*armstub8_header.o(.text*)
|
|
KEEP(*(.armstub8))
|
|
} >PRERAM
|
|
}
|