Home
last modified time | relevance | path

Searched hist:"408 cde8a59080ac2caa11c4d99474b2ef09f90df" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/qemu/qemu_sbsa/include/
H A Dplatform_def.h408cde8a59080ac2caa11c4d99474b2ef09f90df Mon Sep 18 10:47:45 UTC 2023 Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> fix(qemu_sbsa): align FIP base to BL1 size

RME patch series shown that we can build larger BL1 than we can run:

NOTICE: Booting Trusted Firmware
NOTICE: BL1: v2.9(debug):v2.9.0-736-g08548888a
NOTICE: BL1: Built : 12:10:39, Sep 18 2023
INFO: BL1: RAM 0x3ffee000 - 0x3fffb000
INFO: BL1: Loading BL2
WARNING: Firmware Image Package header check failed.

RME pushed debug build BL1 over 0x8000 in size.
This exposed an error where FIP_BASE (supposed to be at BL1_SIZE offset
from start of flash) was actually 0x8000 and not 0x12000.
Make sure we have space for BL1 by deriving FIP_BASE from it.

Note: this is a breaking change for edk2 FD image generation, which had
similarly hardcoded a 0x8000 offset. These images must be updated in
lock-step.

Change-Id: I8a1a85e82319945a4412c424467d818d5b6e4ecd
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>