From e18a57d9a95a47883e0e68eb513aaec863361927 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sat, 20 Oct 2018 15:41:47 -0400 Subject: Create KFSN4-DRE 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 KFSN4-DRE Coreboot ROMs can now be built with './libreboot build coreboot kfsn4-dre corebootfb' or './libreboot build coreboot kfsn4-dre textmode', respectively. --- projects/coreboot/configs/kfsn4-dre/corebootfb/config | 3 +++ projects/coreboot/configs/kfsn4-dre/targets | 2 ++ projects/coreboot/configs/kfsn4-dre/textmode/config | 1 + 3 files changed, 6 insertions(+) create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/config create mode 100644 projects/coreboot/configs/kfsn4-dre/targets create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/config diff --git a/projects/coreboot/configs/kfsn4-dre/corebootfb/config b/projects/coreboot/configs/kfsn4-dre/corebootfb/config new file mode 100644 index 00000000..c86e2073 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/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/kfsn4-dre/targets b/projects/coreboot/configs/kfsn4-dre/targets new file mode 100644 index 00000000..f84c583a --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/targets @@ -0,0 +1,2 @@ +corebootfb +textmode diff --git a/projects/coreboot/configs/kfsn4-dre/textmode/config b/projects/coreboot/configs/kfsn4-dre/textmode/config new file mode 100644 index 00000000..5d8cce57 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/textmode/config @@ -0,0 +1 @@ +CONFIG_VGA_TEXT_FRAMEBUFFER=y -- cgit v1.2.3-70-g09d2 From b4b4fca86012ccb37719a59568dc6462e8fee4fc Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sat, 20 Oct 2018 15:55:56 -0400 Subject: Create 1,2mb Coreboot configs/targets for KFSN4-DRE 1MiB flash is the default for this board but can be upgraded to 2MiB, thus the inclusion of the 2MiB config. KFSN4-DRE Coreboot ROMs can be built with, e.g.: './libreboot build coreboot kfsn4-dre textmode 2mb' --- projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/config | 4 ++++ projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/config | 5 +++++ projects/coreboot/configs/kfsn4-dre/corebootfb/targets | 2 ++ projects/coreboot/configs/kfsn4-dre/textmode/1mb/config | 4 ++++ projects/coreboot/configs/kfsn4-dre/textmode/2mb/config | 5 +++++ projects/coreboot/configs/kfsn4-dre/textmode/targets | 2 ++ 6 files changed, 22 insertions(+) create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/config create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/config create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/targets create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/1mb/config create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/2mb/config create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/targets diff --git a/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/config b/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/config new file mode 100644 index 00000000..52a108b9 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/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/kfsn4-dre/corebootfb/2mb/config b/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/config new file mode 100644 index 00000000..8076c750 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/config @@ -0,0 +1,5 @@ +CONFIG_CBFS_SIZE=0x200000 +CONFIG_COREBOOT_ROMSIZE_KB_1024=n +CONFIG_COREBOOT_ROMSIZE_KB_2048=y +CONFIG_COREBOOT_ROMSIZE_KB=2048 +CONFIG_ROM_SIZE=0x200000 diff --git a/projects/coreboot/configs/kfsn4-dre/corebootfb/targets b/projects/coreboot/configs/kfsn4-dre/corebootfb/targets new file mode 100644 index 00000000..3677010e --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/corebootfb/targets @@ -0,0 +1,2 @@ +1mb +2mb diff --git a/projects/coreboot/configs/kfsn4-dre/textmode/1mb/config b/projects/coreboot/configs/kfsn4-dre/textmode/1mb/config new file mode 100644 index 00000000..52a108b9 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/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/kfsn4-dre/textmode/2mb/config b/projects/coreboot/configs/kfsn4-dre/textmode/2mb/config new file mode 100644 index 00000000..8076c750 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/textmode/2mb/config @@ -0,0 +1,5 @@ +CONFIG_CBFS_SIZE=0x200000 +CONFIG_COREBOOT_ROMSIZE_KB_1024=n +CONFIG_COREBOOT_ROMSIZE_KB_2048=y +CONFIG_COREBOOT_ROMSIZE_KB=2048 +CONFIG_ROM_SIZE=0x200000 diff --git a/projects/coreboot/configs/kfsn4-dre/textmode/targets b/projects/coreboot/configs/kfsn4-dre/textmode/targets new file mode 100644 index 00000000..3677010e --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/textmode/targets @@ -0,0 +1,2 @@ +1mb +2mb -- cgit v1.2.3-70-g09d2 From 92710d54907d607e6532dd99651e6c9b529c3e12 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sat, 20 Oct 2018 16:01:44 -0400 Subject: Create SeaBIOS/GRUB targets for KFSN4-DRE Coreboot KFSN4-DRE ROMs can now be built with either SeaBIOS or GRUB as a default payload, e.g.: './libreboot build coreboot kfsn4-dre textmode 2mb seabios' --- projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/grub/config | 1 + projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/seabios/config | 1 + projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/targets | 2 ++ projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/grub/config | 1 + projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/seabios/config | 1 + projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/targets | 2 ++ projects/coreboot/configs/kfsn4-dre/textmode/1mb/grub/config | 1 + projects/coreboot/configs/kfsn4-dre/textmode/1mb/seabios/config | 1 + projects/coreboot/configs/kfsn4-dre/textmode/1mb/targets | 2 ++ projects/coreboot/configs/kfsn4-dre/textmode/2mb/grub/config | 1 + projects/coreboot/configs/kfsn4-dre/textmode/2mb/seabios/config | 1 + projects/coreboot/configs/kfsn4-dre/textmode/2mb/targets | 2 ++ 12 files changed, 16 insertions(+) create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/grub/config create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/seabios/config create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/targets create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/grub/config create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/seabios/config create mode 100644 projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/targets create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/1mb/grub/config create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/1mb/seabios/config create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/1mb/targets create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/2mb/grub/config create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/2mb/seabios/config create mode 100644 projects/coreboot/configs/kfsn4-dre/textmode/2mb/targets diff --git a/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/grub/config b/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/seabios/config b/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/targets b/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/corebootfb/1mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/grub/config b/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/seabios/config b/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/targets b/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/corebootfb/2mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/kfsn4-dre/textmode/1mb/grub/config b/projects/coreboot/configs/kfsn4-dre/textmode/1mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/textmode/1mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/kfsn4-dre/textmode/1mb/seabios/config b/projects/coreboot/configs/kfsn4-dre/textmode/1mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/textmode/1mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/kfsn4-dre/textmode/1mb/targets b/projects/coreboot/configs/kfsn4-dre/textmode/1mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/textmode/1mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/kfsn4-dre/textmode/2mb/grub/config b/projects/coreboot/configs/kfsn4-dre/textmode/2mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/textmode/2mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/kfsn4-dre/textmode/2mb/seabios/config b/projects/coreboot/configs/kfsn4-dre/textmode/2mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/textmode/2mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/kfsn4-dre/textmode/2mb/targets b/projects/coreboot/configs/kfsn4-dre/textmode/2mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/kfsn4-dre/textmode/2mb/targets @@ -0,0 +1,2 @@ +grub +seabios -- cgit v1.2.3-70-g09d2