Feature #328
openAdd RAM disk/filesystem in SPI flash for tianocore
0%
Description
Add RAM disk/filesystem in SPI flash for tianocore
Updated by Paul Menzel almost 3 years ago
What would TianoCore use it for? Does TianoCore already have the necessary drivers?
Updated by King Sumo almost 3 years ago
Paul Menzel wrote in #note-1:
What would TianoCore use it for? Does TianoCore already have the necessary drivers?
Looks like they added a SpiFlashLib which supports the Intel SPI hardware sequencing stuff, I guess this is common for all Intel CPU targets. But looks like this lib is supported only by SBL due to a missing HOB which defines the base address for the SPI HW. They have implemented SMM's for accessing the Firmware Volume block so the SMMSTORE driver is not needed... But I guess all this stuff was tested only using SBL and maybe also using the new UniversalPayload mode which is not supported by coreboot right? Probably using UniversalPayload mode is a requirement...
Could coreboot create HOB's like SBL or this must be implement in a sort of compability mode inside UefiPayloadPkg? Below is the structure of the missing HOB:
typedef struct {
UINT8 Revision;
UINT8 Reserved;
UINT16 Flags;
PLD_GENERIC_ADDRESS SpiAddress;
} SPI_FLASH_INFO;
kind regards