mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 05:28:08 +00:00
2438a0ea24
This modifies the `Makefile.nerf` to create files based on the $(BOARD) variable, which is necessary as we start to support multiple mainboards. The config files must define five variables, all in bytes: * `NERF_SIZE` - for the EFI firmware volume that contains Linux * `PEI_SIZE` - size of the PEI image in the vendor ROM * `PEI_OFFSET` - offset of the PEI image in the vendor ROM * `ME_SIZE` - size of the ME image in the vendor ROM, or 0 if there is no ME image to be extracted. * `ME_OFFSET` - offset of the ME image in the vendor ROM The `ifd.bin` must be created and can be checked in. The default ROM input file is `blobs/$(BOARD)/$(BOARD).rom`, and it *must not* be checked in.
38 lines
678 B
Plaintext
38 lines
678 B
Plaintext
# Configuration for a Dell R630
|
|
# flashrom doesn't work on this mainboard
|
|
# and it is NERF, not coreboot.
|
|
BOARD=r630
|
|
NERF_SIZE=0xB30000
|
|
PEI_OFFSET=0xE40000
|
|
PEI_SIZE=0x1C0000
|
|
ME_OFFSET=0x20000
|
|
ME_SIZE=0x2F0000
|
|
|
|
CONFIG_EDK2=y
|
|
|
|
#CONFIG_CRYPTSETUP=y
|
|
CONFIG_FLASHROM=y
|
|
#CONFIG_GPG=y
|
|
CONFIG_KEXEC=y
|
|
CONFIG_UTIL_LINUX=y
|
|
#CONFIG_LVM2=y
|
|
CONFIG_MBEDTLS=y
|
|
CONFIG_PCIUTILS=y
|
|
CONFIG_POPT=y
|
|
CONFIG_QRENCODE=y
|
|
CONFIG_TPMTOTP=y
|
|
#CONFIG_XEN=y
|
|
CONFIG_DROPBEAR=y
|
|
|
|
CONFIG_LINUX_USB=y
|
|
CONFIG_LINUX_IGB=y
|
|
CONFIG_LINUX_MEGARAID=y
|
|
#CONFIG_LINUX_E1000E=y
|
|
|
|
CONFIG_BOOTSCRIPT=/bin/generic-init
|
|
|
|
CONFIG_BOOT_REQ_HASH=n
|
|
CONFIG_BOOT_REQ_ROLLBACK=n
|
|
CONFIG_BOOT_DEV="/dev/sda1"
|
|
CONFIG_USB_BOOT_DEV="/dev/sdb1"
|