The Generic platform is a flattened device tree (FDT) based platform where all platform specific functionality is provided based on FDT passed by previous booting stage. The Generic platform allows us to use same OpenSBI firmware binaries on various emulators, simulators, FPGAs, and boards.
By default, the generic FDT platform makes following assumptions:
The above assumptions (except 1) can be overridden by adding special platform callbacks which will be called based on FDT root node compatible string.
Users of the generic FDT platform will have to ensure that:
To build the platform-specific library and firmware images, provide the PLATFORM=generic parameter to the top level make
command.
For custom FW_TEXT_START, we can build the platform-specific library and firmware images by passing PLATFORM=generic FW_TEXT_START=<custom_text_start> parameter to the top level make
command.
The Generic platform does not have any platform-specific options.