aboutsummaryrefslogtreecommitdiffstats
path: root/meta-arm-bsp/recipes-bsp/boot-wrapper-aarch64/boot-wrapper-aarch64-fvp-baser-aemv8r64.inc
AgeCommit message (Collapse)Author
2022-04-22arm-bsp/boot-wrapper-aarch64: Add fvp-baser support for EL2 SMP payloadsPeter Hoyes
Add additional fvp-baser-aemv8r64-specific patches for boot-wrapper-aarch64. These patches add a "function call" entry point for the PSCI services, so that payloads starting at S-EL2 (e.g. Xen) can boot the secondary cores. Issue-ID: SCM-4386 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I961c78352987f711664e06ab39b00f6eb97a81de Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17arm-bsp/u-boot: Add U-Boot for fvp-baser-aemv8r64Peter Hoyes
This patch introduces U-Boot into the fvp-baser-aemv8r64 boot flow, providing EFI services. The fvp-baser-aemv8r64 does not have an EL3, so the system starts at S-EL2. For now, U-Boot is running at S-EL2, alongside boot-wrapper. Enable the --enable-keep-el option in boot-wrapper-aarch64 so that it boots the next stage (U-Boot) at S-EL2. Additionally, tell boot-wrapper-aarch64 to bundle U-Boot instead of the kernel. Linux only supports booting from S-EL1 on the fvp-baser-aemv8r64, so U-Boot is configured with CONFIG_SWITCH_TO_EL1, so that booti or bootefi switch to S-EL1 before booting the EFI payload (unless an enviornment variable - armv8_switch_to_el1 - is set to 'n'). Add patches to U-Boot, which: * Add board support for the fvp-baser-aemv8r64 (with a memory map which is inverted from the fvp-base). * Enable the configuration of U-Boot using the device tree passed from boot-wrapper-aarch64. * Enable virtio-net. * Disable setting the exception vectors at S-EL2 so that the PSCI vectors pass through to Linux. * Set up system registers at S-EL2 for Linux. * Configure the S-EL2 MPU for the EFI services. * Allows bootefi to switch to EL1 before booting Linux. Issue-Id: SCM-3871 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I229d14b0717df412c1fe33772230ca779f79b32d Signed-off-by: Jon Mason <jon.mason@arm.com>
2022-02-17arm-bsp/boot-wrapper-aarch64: Update patches for fvp-baser-aemv8r64Peter Hoyes
Update the machine-specific patches, which makes the following changes: * Add PSCI services to /memreserve/ in the device tree using libfdt. * Add --enable-keep-el option, which allows boot-wrapper-aarch64 to boot the next stage at the same exception level. * Update the counter frequency to 100 MHz. Issue-Id: SCM-3871 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I41843e958cf629d69de644bb57b660fb542fc8b7 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-08-04meta-arm: Convert to new override syntaxJon Mason
Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-08arm-bsp/boot-wrapper-aarch64: Enable SMP support for fvp-baser-aemv8r64Huifeng Zhang
Downstream patch "Allow --enable-psci to choose between smc and hvc" from boot-wrapper-aarch64. With this patch, kernel can bring up secondary core successfully through hvc call. Issue-Id: SCM-2949 Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com> Change-Id: Iecc99d925317ab7981284671cb8cc4ef1894e6d6 Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-07-02arm-bsp/arch-armv8r64: Introduce armv8r64 compiler flagsPeter Hoyes
Introduce the proper compiler flags for armv8r64, and also disable -march=armv8-r for boot-wrapper-aarch64 Issue-Id: SCM-2342 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Change-Id: I3d2fac232139b057a5d1a3a8c6f5b825f95d709a Signed-off-by: Jon Mason <jon.mason@arm.com>
2021-03-31arm-bsp/machine: Introduce fvp-baser-aemv8r64 machine and its BSPDiego Sueiro
This patch adds the fvp-baser-aemv8r64.conf machine definition for the FVP BaseR AEMv8r64 Platform alongside the following BSP components: * boot-wrapper-aarch64 * Kernel: linux-yocto-5.10 * Devicetree for bootstrapping * wic image Issue-Id: SCM-2121 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Change-Id: Ia9e400db8c78e5e57a6fa2241b81fdd42a00dd53 Signed-off-by: Jon Mason <jon.mason@arm.com>