From 4a37f9e9148b7adbcbccb5969f8275783568f5fb Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sat, 20 Oct 2018 23:01:21 -0400 Subject: Create GA-G41M-ES2L 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 GA-G41M-ES2L Coreboot ROMs can now be built with './libreboot build coreboot ga-g41m-es2l corebootfb' or './libreboot build coreboot ga-g41m-es2l textmode', respectively. --- projects/coreboot/configs/ga-g41m-es2l/corebootfb/config | 3 +++ projects/coreboot/configs/ga-g41m-es2l/targets | 2 ++ projects/coreboot/configs/ga-g41m-es2l/textmode/config | 1 + 3 files changed, 6 insertions(+) create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/targets create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/config diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/config b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/config new file mode 100644 index 00000000..c86e2073 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/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/ga-g41m-es2l/targets b/projects/coreboot/configs/ga-g41m-es2l/targets new file mode 100644 index 00000000..f84c583a --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/targets @@ -0,0 +1,2 @@ +corebootfb +textmode diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/config b/projects/coreboot/configs/ga-g41m-es2l/textmode/config new file mode 100644 index 00000000..5d8cce57 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/config @@ -0,0 +1 @@ +CONFIG_VGA_TEXT_FRAMEBUFFER=y -- cgit v1.2.3-70-g09d2 From e392584333dc786c2e841773cf96eba8445c4a06 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sat, 20 Oct 2018 23:38:11 -0400 Subject: Create 1,16MiB Coreboot configs/targets for GA-G41M-ES2L 1MiB flash is the default for this board. A 16MiB config is included for those looking to modify their board with larger flash chips. GA-G41M-ES2L Coreboot ROMs can be built with, e.g.: './libreboot build coreboot ga-g41m-es2l textmode 1mb' --- projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/config | 5 +++++ projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/config | 4 ++++ projects/coreboot/configs/ga-g41m-es2l/corebootfb/targets | 2 ++ projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/config | 5 +++++ projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/config | 4 ++++ projects/coreboot/configs/ga-g41m-es2l/textmode/targets | 2 ++ 6 files changed, 22 insertions(+) create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/targets create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/targets diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/config b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/config new file mode 100644 index 00000000..7ad52279 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/config @@ -0,0 +1,5 @@ +CONFIG_CBFS_SIZE=0x1000000 +CONFIG_COREBOOT_ROMSIZE_KB_1024=n +CONFIG_COREBOOT_ROMSIZE_KB_16384=y +CONFIG_COREBOOT_ROMSIZE_KB=16384 +CONFIG_ROM_SIZE=0x1000000 diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/config b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/config new file mode 100644 index 00000000..52a108b9 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/config @@ -0,0 +1,4 @@ +CONFIG_CBFS_SIZE=0x100000 +CONFIG_COREBOOT_ROMSIZE_KB_1024=y +CONFIG_COREBOOT_ROMSIZE_KB=1024 +CONFIG_ROM_SIZE=0x100000 diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/targets b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/targets new file mode 100644 index 00000000..69a64302 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/targets @@ -0,0 +1,2 @@ +16mb +1mb diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/config b/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/config new file mode 100644 index 00000000..7ad52279 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/config @@ -0,0 +1,5 @@ +CONFIG_CBFS_SIZE=0x1000000 +CONFIG_COREBOOT_ROMSIZE_KB_1024=n +CONFIG_COREBOOT_ROMSIZE_KB_16384=y +CONFIG_COREBOOT_ROMSIZE_KB=16384 +CONFIG_ROM_SIZE=0x1000000 diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/config b/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/config new file mode 100644 index 00000000..52a108b9 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/config @@ -0,0 +1,4 @@ +CONFIG_CBFS_SIZE=0x100000 +CONFIG_COREBOOT_ROMSIZE_KB_1024=y +CONFIG_COREBOOT_ROMSIZE_KB=1024 +CONFIG_ROM_SIZE=0x100000 diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/targets b/projects/coreboot/configs/ga-g41m-es2l/textmode/targets new file mode 100644 index 00000000..69a64302 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/targets @@ -0,0 +1,2 @@ +16mb +1mb -- cgit v1.2.3-70-g09d2 From b62d22d1d4a3f3acd1d7f852498483f3b0f8f439 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sat, 20 Oct 2018 23:27:46 -0400 Subject: Create SeaBIOS/GRUB targets for GA-G41M-ES2L Coreboot GA-G41M-ES2L ROMs can now be built with either SeaBIOS or GRUB as a default payload, e.g.: './libreboot build coreboot ga-g41m-es2l corebootfb 1mb seabios' --- projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/grub/config | 1 + projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/seabios/config | 1 + projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/targets | 2 ++ projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/grub/config | 1 + projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/seabios/config | 1 + projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/targets | 2 ++ projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/grub/config | 1 + projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/seabios/config | 1 + projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/targets | 2 ++ projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/grub/config | 1 + projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/seabios/config | 1 + projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/targets | 2 ++ 12 files changed, 16 insertions(+) create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/grub/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/seabios/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/targets create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/grub/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/seabios/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/targets create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/grub/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/seabios/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/targets create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/grub/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/seabios/config create mode 100644 projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/targets diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/grub/config b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/seabios/config b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/targets b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/16mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/grub/config b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/seabios/config b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/targets b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/corebootfb/1mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/grub/config b/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/seabios/config b/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/targets b/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/16mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/grub/config b/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/seabios/config b/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/targets b/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/ga-g41m-es2l/textmode/1mb/targets @@ -0,0 +1,2 @@ +grub +seabios -- cgit v1.2.3-70-g09d2