github.com/linuxboot/fiano@v1.2.0/cmds/fspinfo/README.md (about)

     1  ## fspinfo
     2  
     3  `fspinfo` is a library and command line to parse and present [FSP](https://github.com/IntelFsp/FSP/blob/master/FSP_License.pdf)
     4  information.
     5  
     6  Intel FSP specification 2.0 can be found at
     7  https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/fsp-architecture-spec-v2.pdf
     8  .
     9  
    10  ## Example
    11  
    12  Grab an FSP file at https://github.com/IntelFsp/FSP if you don't have one already.
    13  
    14  NOTE: currently only the FSP 2.0 specification is supported, make sure to use
    15  the right file (e.g. the ApolloLake one).
    16  
    17  ```
    18  $ go run github.com/linuxboot/fiano/cmds/fspinfo/ FSP/ApolloLakeFspBinPkg/FspBin/Fsp.fd
    19  Signature                   : FSPH
    20  Header Length               : 72
    21  Reserved1                   : 0x0000
    22  Spec Version                : 2.0
    23  Header Revision             : 3
    24  Image Revision              : 1.4.3.1
    25  Image ID                    : $APLFSP$
    26  Image Size                  : 0x0002a000 172032
    27  Image Base                  : 0x00200000 2097152
    28  Image Attribute             : 0x01 GraphicsDisplaySupported
    29  Component Attribute         : 0x3003 ReleaseBuild|TestRelease|TypeFSP-S (reserved bits are not zeroed)
    30  Cfg Region Offset           : 0x00000124 292
    31  Cfg Region Size             : 0x000003b0 944
    32  Reserved2                   : 0x00000000
    33  TempRAMInit Entry Offset    : 0x00000000 0
    34  Reserved3                   : 0x00000000
    35  NotifyPhase Entry Offset    : 0x00000580 1408
    36  FSPMemoryInit Entry Offset  : 0x00000000 0
    37  TempRAMExit Entry Offset    : 0x00000000 0
    38  FSPSiliconInit Entry Offset : 0x0000058a 1418
    39  ```
    40  
    41  You can also specify `-j` to obtain JSON output instead.
    42  
    43  ## Limitations
    44  
    45  * Only the FSP 2.0 specification is currently implemented. Previous versions are
    46    not supported yet.
    47  * The `FSP_INFO_EXTENDED_HEADER` is not implemented yet.