x86 Board Development
Board development requires System-on-a-Chip (SoC) support.
The combined steps are listed
here.
The development steps for the board are listed below:
- Required Files
Create the board directory as src/mainboard/<Vendor>/<Board>.
The following files are required to build a new board:
- Kconfig.name - Defines the Kconfig value for the board
- Kconfig
- Selects the SoC for the board and specifies the SPI flash size
- BOARD_ROMSIZE_KB_<Size>
- SOC_<Vendor>_<Chip Family>
- Declare the Kconfig values for:
- MAINBOARD_DIR
- MAINBOARD_PART_NUMBER
- MAINBOARD_VENDOR
- devicetree.cb - Enable root bridge and serial port
- The first line must be "chip soc/Intel/<soc family>";
this path is used by the generated static.c to include the chip.h
header file
- romstage.c
- Add routine mainboard_romstage_entry which calls romstage_common
- Configure coreboot build:
- Set LOCALVERSION
- FLASHMAP_OFFSET = 0x00700000
- Select vendor for the board
- Select the board
- CBFS_SIZE = 0x00100000
- Set the CPU_MICROCODE_CBFS_LEN
- Set the CPU_MICROCODE_CBFS_LOC
- Set the FSP_IMAGE_ID_STRING
- Set the FSP_LOC
- Disable GOP_SUPPORT
- No payload
- Choose the default value for all other options
Modified: 31 January 2016