Hi Nico,
On Wed, 2021-11-10 at 10:54 +0100, Nico Huber wrote:
AIUI, this "hacky way" should be taken, so cbfs_load_and_decompress() would never be called. First, I'd check if the path is tried, i.e. check the .config file if these are set to `y`:
- CONFIG_NO_XIP_EARLY_STAGES
Sorry, this one is inverted in the condition, it should be set to no / unset, of course.
Nico
- CONFIG_BOOT_DEVICE_MEMORY_MAPPED
Both of thise are disabled for qemu platforms (which we use). The Qemu platforms explicitly select BOOT_DEVICE_NOT_SPI_FLASH which in turn disables CONFIG_BOOT_DEVICE_MEMORY_MAPPED.
If they are, it's still possible that something fails and it falls back to cbfs_load_and_decompress(). In that case, further debugging might be needed.
Julian