From b3d589f4be8d2816d8c5a33e31be6a75f489bd9b Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 18 Oct 2018 20:59:37 -0400 Subject: Create T60 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 T60 Coreboot ROMs can now be built with './libreboot build coreboot t60 corebootfb' or './libreboot build coreboot t60 textmode', respectively. --- projects/coreboot/configs/t60/textmode/config | 1 + 1 file changed, 1 insertion(+) create mode 100644 projects/coreboot/configs/t60/textmode/config (limited to 'projects/coreboot/configs/t60/textmode') diff --git a/projects/coreboot/configs/t60/textmode/config b/projects/coreboot/configs/t60/textmode/config new file mode 100644 index 00000000..5d8cce57 --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/config @@ -0,0 +1 @@ +CONFIG_VGA_TEXT_FRAMEBUFFER=y -- cgit v1.2.3-70-g09d2 From 366ddde0053a2e7cfb1e4a5a938a4d0eeb0f2153 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 18 Oct 2018 21:07:24 -0400 Subject: Create 2mb,16mb Coreboot configs/targets for T60 The 16mb target is included as an example. T60 Coreboot ROMs can be built with, e.g.: './libreboot build coreboot t60 corebootfb 2mb' --- projects/coreboot/configs/t60/corebootfb/16mb/config | 5 +++++ projects/coreboot/configs/t60/corebootfb/2mb/config | 4 ++++ projects/coreboot/configs/t60/corebootfb/targets | 2 ++ projects/coreboot/configs/t60/textmode/16mb/config | 5 +++++ projects/coreboot/configs/t60/textmode/2mb/config | 4 ++++ projects/coreboot/configs/t60/textmode/targets | 2 ++ 6 files changed, 22 insertions(+) create mode 100644 projects/coreboot/configs/t60/corebootfb/16mb/config create mode 100644 projects/coreboot/configs/t60/corebootfb/2mb/config create mode 100644 projects/coreboot/configs/t60/corebootfb/targets create mode 100644 projects/coreboot/configs/t60/textmode/16mb/config create mode 100644 projects/coreboot/configs/t60/textmode/2mb/config create mode 100644 projects/coreboot/configs/t60/textmode/targets (limited to 'projects/coreboot/configs/t60/textmode') diff --git a/projects/coreboot/configs/t60/corebootfb/16mb/config b/projects/coreboot/configs/t60/corebootfb/16mb/config new file mode 100644 index 00000000..a4cf5cf7 --- /dev/null +++ b/projects/coreboot/configs/t60/corebootfb/16mb/config @@ -0,0 +1,5 @@ +CONFIG_CBFS_SIZE=0x1000000 +CONFIG_COREBOOT_ROMSIZE_KB_2048=n +CONFIG_COREBOOT_ROMSIZE_KB_16384=y +CONFIG_COREBOOT_ROMSIZE_KB=16384 +CONFIG_ROM_SIZE=0x1000000 diff --git a/projects/coreboot/configs/t60/corebootfb/2mb/config b/projects/coreboot/configs/t60/corebootfb/2mb/config new file mode 100644 index 00000000..adffe7ae --- /dev/null +++ b/projects/coreboot/configs/t60/corebootfb/2mb/config @@ -0,0 +1,4 @@ +CONFIG_CBFS_SIZE=0x200000 +CONFIG_COREBOOT_ROMSIZE_KB_2048=y +CONFIG_COREBOOT_ROMSIZE_KB=2048 +CONFIG_ROM_SIZE=0x200000 diff --git a/projects/coreboot/configs/t60/corebootfb/targets b/projects/coreboot/configs/t60/corebootfb/targets new file mode 100644 index 00000000..b22e49ab --- /dev/null +++ b/projects/coreboot/configs/t60/corebootfb/targets @@ -0,0 +1,2 @@ +16mb +2mb diff --git a/projects/coreboot/configs/t60/textmode/16mb/config b/projects/coreboot/configs/t60/textmode/16mb/config new file mode 100644 index 00000000..a4cf5cf7 --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/16mb/config @@ -0,0 +1,5 @@ +CONFIG_CBFS_SIZE=0x1000000 +CONFIG_COREBOOT_ROMSIZE_KB_2048=n +CONFIG_COREBOOT_ROMSIZE_KB_16384=y +CONFIG_COREBOOT_ROMSIZE_KB=16384 +CONFIG_ROM_SIZE=0x1000000 diff --git a/projects/coreboot/configs/t60/textmode/2mb/config b/projects/coreboot/configs/t60/textmode/2mb/config new file mode 100644 index 00000000..adffe7ae --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/2mb/config @@ -0,0 +1,4 @@ +CONFIG_CBFS_SIZE=0x200000 +CONFIG_COREBOOT_ROMSIZE_KB_2048=y +CONFIG_COREBOOT_ROMSIZE_KB=2048 +CONFIG_ROM_SIZE=0x200000 diff --git a/projects/coreboot/configs/t60/textmode/targets b/projects/coreboot/configs/t60/textmode/targets new file mode 100644 index 00000000..b22e49ab --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/targets @@ -0,0 +1,2 @@ +16mb +2mb -- cgit v1.2.3-70-g09d2 From 6d394f73e7b6137e7166cd99180b65086fb13149 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 18 Oct 2018 21:15:50 -0400 Subject: Create SeaBIOS/GRUB targets for T60 Coreboot T60 ROM can now be built with either SeaBIOS or GRUB as a default payload, e.g.: './libreboot build coreboot t60 textmode 2mb seabios' --- projects/coreboot/configs/t60/corebootfb/16mb/grub/config | 1 + projects/coreboot/configs/t60/corebootfb/16mb/seabios/config | 1 + projects/coreboot/configs/t60/corebootfb/16mb/targets | 2 ++ projects/coreboot/configs/t60/corebootfb/2mb/grub/config | 1 + projects/coreboot/configs/t60/corebootfb/2mb/seabios/config | 1 + projects/coreboot/configs/t60/corebootfb/2mb/targets | 2 ++ projects/coreboot/configs/t60/textmode/16mb/grub/config | 1 + projects/coreboot/configs/t60/textmode/16mb/seabios/config | 1 + projects/coreboot/configs/t60/textmode/16mb/targets | 2 ++ projects/coreboot/configs/t60/textmode/2mb/grub/config | 1 + projects/coreboot/configs/t60/textmode/2mb/seabios/config | 1 + projects/coreboot/configs/t60/textmode/2mb/targets | 2 ++ 12 files changed, 16 insertions(+) create mode 100644 projects/coreboot/configs/t60/corebootfb/16mb/grub/config create mode 100644 projects/coreboot/configs/t60/corebootfb/16mb/seabios/config create mode 100644 projects/coreboot/configs/t60/corebootfb/16mb/targets create mode 100644 projects/coreboot/configs/t60/corebootfb/2mb/grub/config create mode 100644 projects/coreboot/configs/t60/corebootfb/2mb/seabios/config create mode 100644 projects/coreboot/configs/t60/corebootfb/2mb/targets create mode 100644 projects/coreboot/configs/t60/textmode/16mb/grub/config create mode 100644 projects/coreboot/configs/t60/textmode/16mb/seabios/config create mode 100644 projects/coreboot/configs/t60/textmode/16mb/targets create mode 100644 projects/coreboot/configs/t60/textmode/2mb/grub/config create mode 100644 projects/coreboot/configs/t60/textmode/2mb/seabios/config create mode 100644 projects/coreboot/configs/t60/textmode/2mb/targets (limited to 'projects/coreboot/configs/t60/textmode') diff --git a/projects/coreboot/configs/t60/corebootfb/16mb/grub/config b/projects/coreboot/configs/t60/corebootfb/16mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/t60/corebootfb/16mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/t60/corebootfb/16mb/seabios/config b/projects/coreboot/configs/t60/corebootfb/16mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/t60/corebootfb/16mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/t60/corebootfb/16mb/targets b/projects/coreboot/configs/t60/corebootfb/16mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/t60/corebootfb/16mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/t60/corebootfb/2mb/grub/config b/projects/coreboot/configs/t60/corebootfb/2mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/t60/corebootfb/2mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/t60/corebootfb/2mb/seabios/config b/projects/coreboot/configs/t60/corebootfb/2mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/t60/corebootfb/2mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/t60/corebootfb/2mb/targets b/projects/coreboot/configs/t60/corebootfb/2mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/t60/corebootfb/2mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/t60/textmode/16mb/grub/config b/projects/coreboot/configs/t60/textmode/16mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/16mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/t60/textmode/16mb/seabios/config b/projects/coreboot/configs/t60/textmode/16mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/16mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/t60/textmode/16mb/targets b/projects/coreboot/configs/t60/textmode/16mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/16mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/t60/textmode/2mb/grub/config b/projects/coreboot/configs/t60/textmode/2mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/2mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/t60/textmode/2mb/seabios/config b/projects/coreboot/configs/t60/textmode/2mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/2mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/t60/textmode/2mb/targets b/projects/coreboot/configs/t60/textmode/2mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/t60/textmode/2mb/targets @@ -0,0 +1,2 @@ +grub +seabios -- cgit v1.2.3-70-g09d2