From 5a861e383f27c5879648db941c75a08497cb36d0 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Thu, 18 Oct 2018 22:46:03 -0400 Subject: Create SeaBIOS/GRUB targets for Macbook2,1 Coreboot Macbook2,1 ROM can now be built with either SeaBIOS or GRUB as a default payload, e.g.: './libreboot build coreboot macbook21 textmode 2mb seabios' --- projects/coreboot/configs/macbook21/corebootfb/16mb/grub/config | 1 + projects/coreboot/configs/macbook21/corebootfb/16mb/seabios/config | 1 + projects/coreboot/configs/macbook21/corebootfb/16mb/targets | 2 ++ projects/coreboot/configs/macbook21/corebootfb/2mb/grub/config | 1 + projects/coreboot/configs/macbook21/corebootfb/2mb/seabios/config | 1 + projects/coreboot/configs/macbook21/corebootfb/2mb/targets | 2 ++ projects/coreboot/configs/macbook21/textmode/16mb/grub/config | 1 + projects/coreboot/configs/macbook21/textmode/16mb/seabios/config | 1 + projects/coreboot/configs/macbook21/textmode/16mb/targets | 2 ++ projects/coreboot/configs/macbook21/textmode/2mb/grub/config | 1 + projects/coreboot/configs/macbook21/textmode/2mb/seabios/config | 1 + projects/coreboot/configs/macbook21/textmode/2mb/targets | 2 ++ 12 files changed, 16 insertions(+) create mode 100644 projects/coreboot/configs/macbook21/corebootfb/16mb/grub/config create mode 100644 projects/coreboot/configs/macbook21/corebootfb/16mb/seabios/config create mode 100644 projects/coreboot/configs/macbook21/corebootfb/16mb/targets create mode 100644 projects/coreboot/configs/macbook21/corebootfb/2mb/grub/config create mode 100644 projects/coreboot/configs/macbook21/corebootfb/2mb/seabios/config create mode 100644 projects/coreboot/configs/macbook21/corebootfb/2mb/targets create mode 100644 projects/coreboot/configs/macbook21/textmode/16mb/grub/config create mode 100644 projects/coreboot/configs/macbook21/textmode/16mb/seabios/config create mode 100644 projects/coreboot/configs/macbook21/textmode/16mb/targets create mode 100644 projects/coreboot/configs/macbook21/textmode/2mb/grub/config create mode 100644 projects/coreboot/configs/macbook21/textmode/2mb/seabios/config create mode 100644 projects/coreboot/configs/macbook21/textmode/2mb/targets diff --git a/projects/coreboot/configs/macbook21/corebootfb/16mb/grub/config b/projects/coreboot/configs/macbook21/corebootfb/16mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/macbook21/corebootfb/16mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/macbook21/corebootfb/16mb/seabios/config b/projects/coreboot/configs/macbook21/corebootfb/16mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/macbook21/corebootfb/16mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/macbook21/corebootfb/16mb/targets b/projects/coreboot/configs/macbook21/corebootfb/16mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/macbook21/corebootfb/16mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/macbook21/corebootfb/2mb/grub/config b/projects/coreboot/configs/macbook21/corebootfb/2mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/macbook21/corebootfb/2mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/macbook21/corebootfb/2mb/seabios/config b/projects/coreboot/configs/macbook21/corebootfb/2mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/macbook21/corebootfb/2mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/macbook21/corebootfb/2mb/targets b/projects/coreboot/configs/macbook21/corebootfb/2mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/macbook21/corebootfb/2mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/macbook21/textmode/16mb/grub/config b/projects/coreboot/configs/macbook21/textmode/16mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/macbook21/textmode/16mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/macbook21/textmode/16mb/seabios/config b/projects/coreboot/configs/macbook21/textmode/16mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/macbook21/textmode/16mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/macbook21/textmode/16mb/targets b/projects/coreboot/configs/macbook21/textmode/16mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/macbook21/textmode/16mb/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/macbook21/textmode/2mb/grub/config b/projects/coreboot/configs/macbook21/textmode/2mb/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/macbook21/textmode/2mb/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/macbook21/textmode/2mb/seabios/config b/projects/coreboot/configs/macbook21/textmode/2mb/seabios/config new file mode 100644 index 00000000..b1e08f99 --- /dev/null +++ b/projects/coreboot/configs/macbook21/textmode/2mb/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios-bios/bios.bin.elf" diff --git a/projects/coreboot/configs/macbook21/textmode/2mb/targets b/projects/coreboot/configs/macbook21/textmode/2mb/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/macbook21/textmode/2mb/targets @@ -0,0 +1,2 @@ +grub +seabios -- cgit v1.2.3-70-g09d2