From 4015113327740a9d436cee24dcdbea5d1d7a590b Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Mon, 22 Oct 2018 21:17:12 -0400 Subject: Create 1,16MiB Coreboot configs/targets for D510MO 1MiB 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. D510MO Coreboot ROMs can be built with, e.g.: './libreboot build coreboot d510mo textmode 1mb' --- projects/coreboot/configs/d510mo/targets | 1 + projects/coreboot/configs/d510mo/textmode/16mb/config | 5 +++++ projects/coreboot/configs/d510mo/textmode/1mb/config | 4 ++++ projects/coreboot/configs/d510mo/textmode/targets | 2 ++ 4 files changed, 12 insertions(+) create mode 100644 projects/coreboot/configs/d510mo/targets create mode 100644 projects/coreboot/configs/d510mo/textmode/16mb/config create mode 100644 projects/coreboot/configs/d510mo/textmode/1mb/config create mode 100644 projects/coreboot/configs/d510mo/textmode/targets diff --git a/projects/coreboot/configs/d510mo/targets b/projects/coreboot/configs/d510mo/targets new file mode 100644 index 00000000..3ee846a9 --- /dev/null +++ b/projects/coreboot/configs/d510mo/targets @@ -0,0 +1 @@ +textmode diff --git a/projects/coreboot/configs/d510mo/textmode/16mb/config b/projects/coreboot/configs/d510mo/textmode/16mb/config new file mode 100644 index 00000000..7ad52279 --- /dev/null +++ b/projects/coreboot/configs/d510mo/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/d510mo/textmode/1mb/config b/projects/coreboot/configs/d510mo/textmode/1mb/config new file mode 100644 index 00000000..52a108b9 --- /dev/null +++ b/projects/coreboot/configs/d510mo/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/d510mo/textmode/targets b/projects/coreboot/configs/d510mo/textmode/targets new file mode 100644 index 00000000..69a64302 --- /dev/null +++ b/projects/coreboot/configs/d510mo/textmode/targets @@ -0,0 +1,2 @@ +16mb +1mb -- cgit v1.2.3-70-g09d2 From f5f0c8076b48a15afb245e2acfc394f513e45912 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Mon, 22 Oct 2018 21:05:44 -0400 Subject: Create SeaBIOS/GRUB targets for D510MO Coreboot D510MO ROMs can now be built with either SeaBIOS or GRUB as a default payload, e.g.: './libreboot build coreboot d510mo textmode 1mb seabios' --- projects/coreboot/configs/d510mo/textmode/16mb/grub/config | 1 + projects/coreboot/configs/d510mo/textmode/16mb/seabios/config | 1 + projects/coreboot/configs/d510mo/textmode/16mb/targets | 2 ++ projects/coreboot/configs/d510mo/textmode/1mb/grub/config | 1 + projects/coreboot/configs/d510mo/textmode/1mb/seabios/config | 1 + projects/coreboot/configs/d510mo/textmode/1mb/targets | 2 ++ 6 files changed, 8 insertions(+) create mode 100644 projects/coreboot/configs/d510mo/textmode/16mb/grub/config create mode 100644 projects/coreboot/configs/d510mo/textmode/16mb/seabios/config create mode 100644 projects/coreboot/configs/d510mo/textmode/16mb/targets create mode 100644 projects/coreboot/configs/d510mo/textmode/1mb/grub/config create mode 100644 projects/coreboot/configs/d510mo/textmode/1mb/seabios/config create mode 100644 projects/coreboot/configs/d510mo/textmode/1mb/targets diff --git a/projects/coreboot/configs/d510mo/textmode/16mb/grub/config b/projects/coreboot/configs/d510mo/textmode/16mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/d510mo/textmode/16mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/d510mo/textmode/16mb/seabios/config b/projects/coreboot/configs/d510mo/textmode/16mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/d510mo/textmode/16mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/d510mo/textmode/16mb/targets b/projects/coreboot/configs/d510mo/textmode/16mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/d510mo/textmode/16mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/d510mo/textmode/1mb/grub/config b/projects/coreboot/configs/d510mo/textmode/1mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/d510mo/textmode/1mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/d510mo/textmode/1mb/seabios/config b/projects/coreboot/configs/d510mo/textmode/1mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/d510mo/textmode/1mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/d510mo/textmode/1mb/targets b/projects/coreboot/configs/d510mo/textmode/1mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/d510mo/textmode/1mb/targets @@ -0,0 +1,2 @@ +grub +seabios -- cgit v1.2.3-70-g09d2