coreboot: add pbody board config [chromiumos/overlays/chromiumos-overlay : firmware-glados-7820.B]

8 views
Skip to first unread message

Ted Kuo (Gerrit)

unread,
Sep 9, 2016, 3:05:47 AM9/9/16
to chromium-...@chromium.org
Ted Kuo has uploaded a new change for review. (
https://chromium-review.googlesource.com/383471


Change subject: coreboot: add pbody board config
......................................................................

coreboot: add pbody board config

Cloned from Glados to Pbody with only string changes.

BUG=None
TEST='emerge-pbody coreboot'
BRANCH=firmware-glados-7820.B

Change-Id: I5fc0ee33df12edfd7d9fab8b401885132167e814
---
M sys-boot/coreboot/coreboot-9999.ebuild
A sys-boot/coreboot/files/configs/config.pbody
A sys-boot/coreboot/files/configs/fwserial.pbody
3 files changed, 78 insertions(+), 1 deletion(-)



diff --git a/sys-boot/coreboot/coreboot-9999.ebuild
b/sys-boot/coreboot/coreboot-9999.ebuild
index 87e4021..a53e92c 100644
--- a/sys-boot/coreboot/coreboot-9999.ebuild
+++ b/sys-boot/coreboot/coreboot-9999.ebuild
@@ -35,7 +35,7 @@

PER_BOARD_BOARDS=(
asuka bayleybay beltino bolt butterfly cave chell cyan daisy falco fox
gizmo glados
- kunimitsu lars link lumpy nyan panther parrot peppy rambi samus sentry
sklrvp
+ kunimitsu lars link lumpy nyan panther parrot pbody peppy rambi samus
sentry sklrvp
slippy stout stout32 strago stumpy urara variant-peach-pit
)

diff --git a/sys-boot/coreboot/files/configs/config.pbody
b/sys-boot/coreboot/files/configs/config.pbody
new file mode 100644
index 0000000..4ec33a7
--- /dev/null
+++ b/sys-boot/coreboot/files/configs/config.pbody
@@ -0,0 +1,71 @@
+CONFIG_VENDOR_GOOGLE=y
+CONFIG_BOARD_GOOGLE_PBODY=y
+CONFIG_INCLUDE_NHLT_BLOBS=y
+CONFIG_CBFS_SIZE=0x300000
+
+CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8
+CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=8
+CONFIG_CONSOLE_CBMEM=y
+# CONFIG_CONSOLE_SERIAL is not set
+CONFIG_PAYLOAD_NONE=y
+CONFIG_RESET_ON_INVALID_RAMSTAGE_CACHE=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_SMM=y
+CONFIG_USE_BLOBS=y
+CONFIG_ANY_TOOLCHAIN=y
+
+# Chrome OS
+CONFIG_FLASHMAP_OFFSET=0x00c10000
+CONFIG_CHROMEOS=y
+CONFIG_VBOOT_VERIFY_FIRMWARE=y
+CONFIG_SEPARATE_VERSTAGE=y
+CONFIG_VBOOT_STARTS_IN_BOOTBLOCK=y
+
+CONFIG_COMPILE_IN_DSDT=y
+
+# Event Logging
+CONFIG_CMOS_POST=y
+CONFIG_CMOS_POST_EXTRA=y
+CONFIG_CMOS_POST_OFFSET=0x70
+CONFIG_COLLECT_TIMESTAMPS=y
+CONFIG_ELOG=y
+CONFIG_ELOG_GSMI=y
+CONFIG_ELOG_BOOT_COUNT=y
+CONFIG_ELOG_BOOT_COUNT_CMOS_OFFSET=144
+
+# Microcode
+CONFIG_CPU_MICROCODE_CBFS_LEN=0x62810
+CONFIG_CPU_MICROCODE_CBFS_LOC=0xFFE115A0
+
+# Firmware Support Package
+CONFIG_DISPLAY_FSP_ENTRY_POINTS=y
+CONFIG_FSP_FILE="3rdparty/blobs/mainboard/google/pbody/fsp/FSP.fd"
+CONFIG_FSP_INCLUDE_PATH="3rdparty/blobs/mainboard/google/pbody/fsp"
+CONFIG_FSP_CACHE_SIZE=0x00100000
+CONFIG_FSP_IMAGE_ID_DWORD0=0x4c4b5324
+CONFIG_FSP_IMAGE_ID_DWORD1=0x24505346
+CONFIG_FSP_LOC=0xffee0000
+CONFIG_HAVE_FSP_BIN=y
+CONFIG_PLATFORM_USES_FSP=y
+
+# SPI Descriptor
+CONFIG_HAVE_IFD_BIN=y
+CONFIG_IFD_BIN_PATH="3rdparty/blobs/mainboard/google/pbody/descriptor.bin"
+
+# Management Engine
+CONFIG_HAVE_ME_BIN=y
+CONFIG_ME_BIN_PATH="3rdparty/blobs/mainboard/google/pbody/me.bin"
+# CONFIG_LOCK_MANAGEMENT_ENGINE is not set
+
+# Video
+CONFIG_FRAMEBUFFER_KEEP_VESA_MODE=y
+CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
+CONFIG_FRAMEBUFFER_VESA_MODE_117=y
+CONFIG_GOP_SUPPORT=y
+# CONFIG_VGA_BIOS is not set
+# CONFIG_VGA_BIOS_FILE is not set
+# CONFIG_VGA_BIOS_ID is not set
+# CONFIG_VGA_ROM_RUN is not set
+# CONFIG_PCI_ROM_RUN is not set
+# CONFIG_ON_DEVICE_ROM_RUN is not set
+# CONFIG_S3_VGA_ROM_RUN is not set
diff --git a/sys-boot/coreboot/files/configs/fwserial.pbody
b/sys-boot/coreboot/files/configs/fwserial.pbody
new file mode 100644
index 0000000..8db63a0
--- /dev/null
+++ b/sys-boot/coreboot/files/configs/fwserial.pbody
@@ -0,0 +1,6 @@
+CONFIG_FATAL_ASSERTS=y
+CONFIG_CONSOLE_SERIAL=y
+CONFIG_CONSOLE_SERIAL_115200=y
+# CONFIG_DRIVERS_UART_8250IO is not set
+# Skylake specific setting to auto select all the correct settings.
+CONFIG_UART_DEBUG=y

--
To view, visit https://chromium-review.googlesource.com/383471
To unsubscribe, visit https://chromium-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5fc0ee33df12edfd7d9fab8b401885132167e814
Gerrit-PatchSet: 1
Gerrit-Project: chromiumos/overlays/chromiumos-overlay
Gerrit-Branch: firmware-glados-7820.B
Gerrit-Owner: Ted Kuo <ted...@ami.com.tw>

Shawn N (Gerrit)

unread,
Sep 9, 2016, 12:16:28 PM9/9/16
to Ted Kuo, YH Lin
Shawn N has posted comments on this change. (
https://chromium-review.googlesource.com/383471 )

Change subject: coreboot: add pbody board config
......................................................................


Patch Set 1: Code-Review+2
Gerrit-MessageType: comment
Gerrit-Change-Id: I5fc0ee33df12edfd7d9fab8b401885132167e814
Gerrit-PatchSet: 1
Gerrit-Project: chromiumos/overlays/chromiumos-overlay
Gerrit-Branch: firmware-glados-7820.B
Gerrit-Owner: Ted Kuo <ted...@ami.com.tw>
Gerrit-Reviewer: Shawn N <sha...@chromium.org>
Gerrit-Reviewer: YH Lin <yueh...@chromium.org>
Gerrit-HasComments: No

Ted Kuo (Gerrit)

unread,
Sep 11, 2016, 9:09:26 PM9/11/16
to Shawn N, YH Lin
Ted Kuo has posted comments on this change. (
https://chromium-review.googlesource.com/383471 )

Change subject: coreboot: add pbody board config
......................................................................


Patch Set 1: Verified+1 Commit-Queue+1
Gerrit-MessageType: comment
Gerrit-Change-Id: I5fc0ee33df12edfd7d9fab8b401885132167e814
Gerrit-PatchSet: 1
Gerrit-Project: chromiumos/overlays/chromiumos-overlay
Gerrit-Branch: firmware-glados-7820.B
Gerrit-Owner: Ted Kuo <ted...@ami.com.tw>
Gerrit-Reviewer: Shawn N <sha...@chromium.org>
Gerrit-Reviewer: Ted Kuo <ted...@ami.com.tw>

ChromeOS Commit Bot (Gerrit)

unread,
Sep 11, 2016, 9:11:33 PM9/11/16
to Ted Kuo, Shawn N, YH Lin
ChromeOS Commit Bot has submitted this change and it was merged. (
https://chromium-review.googlesource.com/383471 )

Change subject: coreboot: add pbody board config
......................................................................

coreboot: add pbody board config

Cloned from Glados to Pbody with only string changes.

BUG=None
TEST='emerge-pbody coreboot'
BRANCH=firmware-glados-7820.B

Change-Id: I5fc0ee33df12edfd7d9fab8b401885132167e814
Reviewed-on: https://chromium-review.googlesource.com/383471
Reviewed-by: Shawn N <sha...@chromium.org>
Commit-Queue: Ted Kuo <ted...@ami.com.tw>
Tested-by: Ted Kuo <ted...@ami.com.tw>
---
M sys-boot/coreboot/coreboot-9999.ebuild
A sys-boot/coreboot/files/configs/config.pbody
A sys-boot/coreboot/files/configs/fwserial.pbody
3 files changed, 78 insertions(+), 1 deletion(-)

Approvals:
Shawn N: Looks good to me, approved
Ted Kuo: Ready; Verified
Gerrit-MessageType: merged
Gerrit-Change-Id: I5fc0ee33df12edfd7d9fab8b401885132167e814
Gerrit-PatchSet: 2
Gerrit-Project: chromiumos/overlays/chromiumos-overlay
Gerrit-Branch: firmware-glados-7820.B
Gerrit-Owner: Ted Kuo <ted...@ami.com.tw>
Gerrit-Reviewer: ChromeOS Commit Bot <chromeos-...@chromium.org>
Reply all
Reply to author
Forward
0 new messages