From 766d9cc35cacf6d9ca1dc5a7ad3265c12e1ae248 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 18 Oct 2018 22:37:53 -0400 Subject: Create Macbook2,1 corebootfb/textmode Coreboot targets The corebootfb ROM will use Coreboot's framebuffer for display while the textmode ROM will use the legacy VGA text mode which is necessary for payloads such as Memtest86+. Options (and their values) changed in the new corebootfb config: #CONFIG_VGA_TEXT_FRAMEBUFFER is not set CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y CONFIG_LINEAR_FRAMEBUFFER=y Macbook2,1 Coreboot ROMs can now be built with './libreboot build coreboot macbook21 corebootfb' or './libreboot build coreboot macbook21 textmode', respectively. --- projects/coreboot/configs/macbook21/corebootfb/config | 3 +++ projects/coreboot/configs/macbook21/targets | 2 ++ projects/coreboot/configs/macbook21/textmode/config | 1 + 3 files changed, 6 insertions(+) create mode 100644 projects/coreboot/configs/macbook21/corebootfb/config create mode 100644 projects/coreboot/configs/macbook21/targets create mode 100644 projects/coreboot/configs/macbook21/textmode/config diff --git a/projects/coreboot/configs/macbook21/corebootfb/config b/projects/coreboot/configs/macbook21/corebootfb/config new file mode 100644 index 00000000..c86e2073 --- /dev/null +++ b/projects/coreboot/configs/macbook21/corebootfb/config @@ -0,0 +1,3 @@ +CONFIG_VGA_TEXT_FRAMEBUFFER=n +CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y +CONFIG_LINEAR_FRAMEBUFFER=y diff --git a/projects/coreboot/configs/macbook21/targets b/projects/coreboot/configs/macbook21/targets new file mode 100644 index 00000000..f84c583a --- /dev/null +++ b/projects/coreboot/configs/macbook21/targets @@ -0,0 +1,2 @@ +corebootfb +textmode diff --git a/projects/coreboot/configs/macbook21/textmode/config b/projects/coreboot/configs/macbook21/textmode/config new file mode 100644 index 00000000..5d8cce57 --- /dev/null +++ b/projects/coreboot/configs/macbook21/textmode/config @@ -0,0 +1 @@ +CONFIG_VGA_TEXT_FRAMEBUFFER=y -- cgit v1.2.3-70-g09d2