From f2f5994884bf5f9f458a2ae382d7b3dbb2b262a1 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sun, 21 Oct 2018 20:10:26 -0400 Subject: Create 512KiB,16MiB Coreboot configs/targets for D945GCLF 512KiB flash is the default for this board. A 16MiB config is included for those looking to modify their board with a larger flash chip. Also, text mode is the only display mode available for this board; as such, inclusion of the textmode subtarget serves only to explicitly indicate the display mode when packaging ROMs upon release. D945GCLF Coreboot ROMs can be built with, e.g.: './libreboot build coreboot d945gclf textmode 512kb' --- projects/coreboot/configs/d945gclf/textmode/16mb/config | 5 +++++ projects/coreboot/configs/d945gclf/textmode/512kb/config | 4 ++++ projects/coreboot/configs/d945gclf/textmode/targets | 2 ++ 3 files changed, 11 insertions(+) create mode 100644 projects/coreboot/configs/d945gclf/textmode/16mb/config create mode 100644 projects/coreboot/configs/d945gclf/textmode/512kb/config create mode 100644 projects/coreboot/configs/d945gclf/textmode/targets diff --git a/projects/coreboot/configs/d945gclf/textmode/16mb/config b/projects/coreboot/configs/d945gclf/textmode/16mb/config new file mode 100644 index 00000000..5b374b0d --- /dev/null +++ b/projects/coreboot/configs/d945gclf/textmode/16mb/config @@ -0,0 +1,5 @@ +CONFIG_CBFS_SIZE=0x1000000 +CONFIG_COREBOOT_ROMSIZE_KB_512=n +CONFIG_COREBOOT_ROMSIZE_KB_16384=y +CONFIG_COREBOOT_ROMSIZE_KB=16384 +CONFIG_ROM_SIZE=0x1000000 diff --git a/projects/coreboot/configs/d945gclf/textmode/512kb/config b/projects/coreboot/configs/d945gclf/textmode/512kb/config new file mode 100644 index 00000000..35587f34 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/textmode/512kb/config @@ -0,0 +1,4 @@ +CONFIG_CBFS_SIZE=0x80000 +CONFIG_COREBOOT_ROMSIZE_KB_512=y +CONFIG_COREBOOT_ROMSIZE_KB=512 +CONFIG_ROM_SIZE=0x80000 diff --git a/projects/coreboot/configs/d945gclf/textmode/targets b/projects/coreboot/configs/d945gclf/textmode/targets new file mode 100644 index 00000000..c01fccf5 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/textmode/targets @@ -0,0 +1,2 @@ +16mb +512kb -- cgit v1.2.3-70-g09d2 From a87359ff5259eef25cc0707f35f36ed622a7a1cb Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sun, 21 Oct 2018 20:15:19 -0400 Subject: Create SeaBIOS/GRUB targets for D945GCLF Coreboot Due to the limited flash space on the board, SeaBIOS is currently the sole payload option when building 512KiB-sized ROMs. D945GCLF ROMs can now be built with either SeaBIOS or GRUB as a default payload, e.g.: './libreboot build coreboot d945gclf textmode 512kb seabios', or './libreboot build coreboot d945gclf textmode 16mb grub' --- projects/coreboot/configs/d945gclf/textmode/16mb/grub/config | 1 + projects/coreboot/configs/d945gclf/textmode/16mb/seabios/config | 1 + projects/coreboot/configs/d945gclf/textmode/16mb/targets | 2 ++ projects/coreboot/configs/d945gclf/textmode/512kb/seabios/config | 1 + projects/coreboot/configs/d945gclf/textmode/512kb/targets | 1 + 5 files changed, 6 insertions(+) create mode 100644 projects/coreboot/configs/d945gclf/textmode/16mb/grub/config create mode 100644 projects/coreboot/configs/d945gclf/textmode/16mb/seabios/config create mode 100644 projects/coreboot/configs/d945gclf/textmode/16mb/targets create mode 100644 projects/coreboot/configs/d945gclf/textmode/512kb/seabios/config create mode 100644 projects/coreboot/configs/d945gclf/textmode/512kb/targets diff --git a/projects/coreboot/configs/d945gclf/textmode/16mb/grub/config b/projects/coreboot/configs/d945gclf/textmode/16mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/d945gclf/textmode/16mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/d945gclf/textmode/16mb/seabios/config b/projects/coreboot/configs/d945gclf/textmode/16mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/textmode/16mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/d945gclf/textmode/16mb/targets b/projects/coreboot/configs/d945gclf/textmode/16mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/textmode/16mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/d945gclf/textmode/512kb/seabios/config b/projects/coreboot/configs/d945gclf/textmode/512kb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/textmode/512kb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/d945gclf/textmode/512kb/targets b/projects/coreboot/configs/d945gclf/textmode/512kb/targets new file mode 100644 index 00000000..41f077c0 --- /dev/null +++ b/projects/coreboot/configs/d945gclf/textmode/512kb/targets @@ -0,0 +1 @@ +seabios -- cgit v1.2.3-70-g09d2