summaryrefslogtreecommitdiff
path: root/config/data/grub
diff options
context:
space:
mode:
Diffstat (limited to 'config/data/grub')
-rw-r--r--config/data/grub/background/COPYING4
-rw-r--r--config/data/grub/background/background1024x768.pngbin0 -> 4935 bytes
-rw-r--r--config/data/grub/background/background1280x800.pngbin0 -> 3451 bytes
-rw-r--r--config/data/grub/bootorder1
-rw-r--r--config/data/grub/build.list1
-rw-r--r--config/data/grub/keymap/colemak.gkbbin0 -> 488 bytes
-rw-r--r--config/data/grub/keymap/deqwertz.gkbbin0 -> 508 bytes
-rw-r--r--config/data/grub/keymap/esqwerty.gkbbin0 -> 492 bytes
-rw-r--r--config/data/grub/keymap/frazerty.gkbbin0 -> 496 bytes
-rw-r--r--config/data/grub/keymap/frdvbepo.gkbbin0 -> 516 bytes
-rw-r--r--config/data/grub/keymap/itqwerty.gkbbin0 -> 488 bytes
-rw-r--r--config/data/grub/keymap/ptqwerty.gkbbin0 -> 492 bytes
-rw-r--r--config/data/grub/keymap/svenska.gkbbin0 -> 488 bytes
-rw-r--r--config/data/grub/keymap/trqwerty.gkbbin0 -> 476 bytes
-rw-r--r--config/data/grub/keymap/ukdvorak.gkbbin0 -> 372 bytes
-rw-r--r--config/data/grub/keymap/ukqwerty.gkbbin0 -> 488 bytes
-rw-r--r--config/data/grub/keymap/usdvorak.gkbbin0 -> 364 bytes
-rw-r--r--config/data/grub/keymap/usqwerty.gkbbin0 -> 344 bytes
-rw-r--r--config/data/grub/memdisk.cfg10
-rw-r--r--config/data/grub/mkhelper.cfg7
-rwxr-xr-xconfig/data/grub/module/default155
-rwxr-xr-xconfig/data/grub/module/nvme156
-rwxr-xr-xconfig/data/grub/module/xhci157
23 files changed, 491 insertions, 0 deletions
diff --git a/config/data/grub/background/COPYING b/config/data/grub/background/COPYING
new file mode 100644
index 00000000..ba07806d
--- /dev/null
+++ b/config/data/grub/background/COPYING
@@ -0,0 +1,4 @@
+The deer logo for Libreboot is copyright 2014 Marcus Moeller and released under
+CC-0 1.0: https://creativecommons.org/publicdomain/zero/1.0/legalcode
+The grey backgrounds with it were made by Leah Rowe in 2016, also CC-0 1.0; the
+same applies to the purple version which was made in 2023.
diff --git a/config/data/grub/background/background1024x768.png b/config/data/grub/background/background1024x768.png
new file mode 100644
index 00000000..181909db
--- /dev/null
+++ b/config/data/grub/background/background1024x768.png
Binary files differ
diff --git a/config/data/grub/background/background1280x800.png b/config/data/grub/background/background1280x800.png
new file mode 100644
index 00000000..f563ea63
--- /dev/null
+++ b/config/data/grub/background/background1280x800.png
Binary files differ
diff --git a/config/data/grub/bootorder b/config/data/grub/bootorder
new file mode 100644
index 00000000..b33e1295
--- /dev/null
+++ b/config/data/grub/bootorder
@@ -0,0 +1 @@
+/rom@img/grub2
diff --git a/config/data/grub/build.list b/config/data/grub/build.list
new file mode 100644
index 00000000..5b891e5a
--- /dev/null
+++ b/config/data/grub/build.list
@@ -0,0 +1 @@
+grub.elf
diff --git a/config/data/grub/keymap/colemak.gkb b/config/data/grub/keymap/colemak.gkb
new file mode 100644
index 00000000..d357816b
--- /dev/null
+++ b/config/data/grub/keymap/colemak.gkb
Binary files differ
diff --git a/config/data/grub/keymap/deqwertz.gkb b/config/data/grub/keymap/deqwertz.gkb
new file mode 100644
index 00000000..4928d026
--- /dev/null
+++ b/config/data/grub/keymap/deqwertz.gkb
Binary files differ
diff --git a/config/data/grub/keymap/esqwerty.gkb b/config/data/grub/keymap/esqwerty.gkb
new file mode 100644
index 00000000..6ce76330
--- /dev/null
+++ b/config/data/grub/keymap/esqwerty.gkb
Binary files differ
diff --git a/config/data/grub/keymap/frazerty.gkb b/config/data/grub/keymap/frazerty.gkb
new file mode 100644
index 00000000..f8455154
--- /dev/null
+++ b/config/data/grub/keymap/frazerty.gkb
Binary files differ
diff --git a/config/data/grub/keymap/frdvbepo.gkb b/config/data/grub/keymap/frdvbepo.gkb
new file mode 100644
index 00000000..20702607
--- /dev/null
+++ b/config/data/grub/keymap/frdvbepo.gkb
Binary files differ
diff --git a/config/data/grub/keymap/itqwerty.gkb b/config/data/grub/keymap/itqwerty.gkb
new file mode 100644
index 00000000..db10a54c
--- /dev/null
+++ b/config/data/grub/keymap/itqwerty.gkb
Binary files differ
diff --git a/config/data/grub/keymap/ptqwerty.gkb b/config/data/grub/keymap/ptqwerty.gkb
new file mode 100644
index 00000000..5d9b453e
--- /dev/null
+++ b/config/data/grub/keymap/ptqwerty.gkb
Binary files differ
diff --git a/config/data/grub/keymap/svenska.gkb b/config/data/grub/keymap/svenska.gkb
new file mode 100644
index 00000000..75ca762d
--- /dev/null
+++ b/config/data/grub/keymap/svenska.gkb
Binary files differ
diff --git a/config/data/grub/keymap/trqwerty.gkb b/config/data/grub/keymap/trqwerty.gkb
new file mode 100644
index 00000000..452100d5
--- /dev/null
+++ b/config/data/grub/keymap/trqwerty.gkb
Binary files differ
diff --git a/config/data/grub/keymap/ukdvorak.gkb b/config/data/grub/keymap/ukdvorak.gkb
new file mode 100644
index 00000000..76b9e380
--- /dev/null
+++ b/config/data/grub/keymap/ukdvorak.gkb
Binary files differ
diff --git a/config/data/grub/keymap/ukqwerty.gkb b/config/data/grub/keymap/ukqwerty.gkb
new file mode 100644
index 00000000..5f513d85
--- /dev/null
+++ b/config/data/grub/keymap/ukqwerty.gkb
Binary files differ
diff --git a/config/data/grub/keymap/usdvorak.gkb b/config/data/grub/keymap/usdvorak.gkb
new file mode 100644
index 00000000..ef88232c
--- /dev/null
+++ b/config/data/grub/keymap/usdvorak.gkb
Binary files differ
diff --git a/config/data/grub/keymap/usqwerty.gkb b/config/data/grub/keymap/usqwerty.gkb
new file mode 100644
index 00000000..0ea130f2
--- /dev/null
+++ b/config/data/grub/keymap/usqwerty.gkb
Binary files differ
diff --git a/config/data/grub/memdisk.cfg b/config/data/grub/memdisk.cfg
new file mode 100644
index 00000000..543e421d
--- /dev/null
+++ b/config/data/grub/memdisk.cfg
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+# Copyright (C) 2023 Leah Rowe <leah@libreboot.org>
+
+set prefix=(memdisk)/boot/grub
+
+if [ -f (cbfsdisk)/grub.cfg ]; then
+ source (cbfsdisk)/grub.cfg
+else
+ source (memdisk)/boot/grub/grub_default.cfg
+fi
diff --git a/config/data/grub/mkhelper.cfg b/config/data/grub/mkhelper.cfg
new file mode 100644
index 00000000..b75cf9d7
--- /dev/null
+++ b/config/data/grub/mkhelper.cfg
@@ -0,0 +1,7 @@
+. "include/rom.sh"
+
+bootstrapargs="--gnulib-srcdir=gnulib/ --no-git"
+autoconfargs="--with-platform=coreboot --disable-werror"
+makeargs="FS_PAYLOAD_MODULES=\"\""
+btype="autohell"
+mkhelper="mkpayload_grub"
diff --git a/config/data/grub/module/default b/config/data/grub/module/default
new file mode 100755
index 00000000..3555ad11
--- /dev/null
+++ b/config/data/grub/module/default
@@ -0,0 +1,155 @@
+# Install modules (installed, but not automatically loaded)
+grub_install_modules=" \
+hexdump \
+newc \
+odc \
+usbserial_common \
+usbserial_ftdi \
+usbserial_pl2303 \
+usbserial_usbdebug \
+video_colors \
+"
+# Modules (and always loaded)
+grub_modules=" \
+acpi \
+ahci \
+at_keyboard \
+all_video \
+ata \
+bitmap \
+bitmap_scale \
+boot \
+bsd \
+btrfs \
+cat \
+cbfs \
+cbls \
+cbmemc \
+cbtime \
+chain \
+configfile \
+cpio \
+cpio_be \
+crc64 \
+crypto \
+cryptodisk \
+diskfilter \
+echo \
+ehci \
+eval \
+exfat \
+elf \
+ext2 \
+fat \
+f2fs \
+gcry_arcfour \
+gcry_blowfish \
+gcry_camellia \
+gcry_cast5 \
+gcry_crc \
+gcry_des \
+gcry_dsa \
+gcry_idea \
+gcry_md4 \
+gcry_md5 \
+gcry_rfc2268 \
+gcry_rijndael \
+gcry_rmd160 \
+gcry_rsa \
+gcry_seed \
+gcry_serpent \
+gcry_sha1 \
+gcry_sha256 \
+gcry_sha512 \
+gcry_tiger \
+gcry_twofish \
+gcry_whirlpool \
+geli \
+gfxmenu \
+gfxterm_background \
+gfxterm_menu \
+gzio \
+hashsum \
+halt \
+help \
+iorw \
+iso9660 \
+jpeg \
+json \
+keylayouts \
+keystatus \
+linux \
+linux16 \
+loadenv \
+loopback \
+ls \
+lsacpi \
+lsmmap \
+lspci \
+luks \
+luks2 \
+argon2 \
+lvm \
+lzopio \
+mdraid09 \
+mdraid09_be \
+mdraid1x \
+memdisk \
+memrw \
+minicmd \
+mmap \
+multiboot \
+multiboot2 \
+nativedisk \
+normal \
+ntfs \
+ohci \
+part_bsd \
+part_dfly \
+part_gpt \
+part_msdos \
+password \
+password_pbkdf2 \
+pata \
+pbkdf2 \
+pcidump \
+pgp \
+play \
+png \
+procfs \
+raid5rec \
+raid6rec \
+read \
+reboot \
+regexp \
+romfs \
+scsi \
+search \
+search_fs_file \
+search_fs_uuid \
+search_label \
+serial \
+syslinuxcfg \
+setjmp \
+setpci \
+spkmodem \
+squash4 \
+sleep \
+tar \
+test \
+true \
+uhci \
+udf \
+ufs1 \
+ufs1_be \
+ufs2 \
+usb \
+usb_keyboard \
+usbms \
+xfs \
+xzio \
+zfs \
+zfscrypt \
+zfsinfo \
+zstd \
+"
diff --git a/config/data/grub/module/nvme b/config/data/grub/module/nvme
new file mode 100755
index 00000000..503c61c8
--- /dev/null
+++ b/config/data/grub/module/nvme
@@ -0,0 +1,156 @@
+# Install modules (installed, but not automatically loaded)
+grub_install_modules=" \
+hexdump \
+newc \
+odc \
+usbserial_common \
+usbserial_ftdi \
+usbserial_pl2303 \
+usbserial_usbdebug \
+video_colors \
+"
+# Modules (and always loaded)
+grub_modules=" \
+acpi \
+ahci \
+at_keyboard \
+all_video \
+ata \
+bitmap \
+bitmap_scale \
+boot \
+bsd \
+btrfs \
+cat \
+cbfs \
+cbls \
+cbmemc \
+cbtime \
+chain \
+configfile \
+cpio \
+cpio_be \
+crc64 \
+crypto \
+cryptodisk \
+diskfilter \
+echo \
+ehci \
+eval \
+exfat \
+elf \
+ext2 \
+fat \
+f2fs \
+gcry_arcfour \
+gcry_blowfish \
+gcry_camellia \
+gcry_cast5 \
+gcry_crc \
+gcry_des \
+gcry_dsa \
+gcry_idea \
+gcry_md4 \
+gcry_md5 \
+gcry_rfc2268 \
+gcry_rijndael \
+gcry_rmd160 \
+gcry_rsa \
+gcry_seed \
+gcry_serpent \
+gcry_sha1 \
+gcry_sha256 \
+gcry_sha512 \
+gcry_tiger \
+gcry_twofish \
+gcry_whirlpool \
+geli \
+gfxmenu \
+gfxterm_background \
+gfxterm_menu \
+gzio \
+hashsum \
+halt \
+help \
+iorw \
+iso9660 \
+jpeg \
+json \
+keylayouts \
+keystatus \
+linux \
+linux16 \
+loadenv \
+loopback \
+ls \
+lsacpi \
+lsmmap \
+lspci \
+luks \
+luks2 \
+argon2 \
+lvm \
+lzopio \
+mdraid09 \
+mdraid09_be \
+mdraid1x \
+memdisk \
+memrw \
+minicmd \
+mmap \
+multiboot \
+multiboot2 \
+nativedisk \
+normal \
+ntfs \
+nvme \
+ohci \
+part_bsd \
+part_dfly \
+part_gpt \
+part_msdos \
+password \
+password_pbkdf2 \
+pata \
+pbkdf2 \
+pcidump \
+pgp \
+play \
+png \
+procfs \
+raid5rec \
+raid6rec \
+read \
+reboot \
+regexp \
+romfs \
+scsi \
+search \
+search_fs_file \
+search_fs_uuid \
+search_label \
+serial \
+syslinuxcfg \
+setjmp \
+setpci \
+spkmodem \
+squash4 \
+sleep \
+tar \
+test \
+true \
+uhci \
+udf \
+ufs1 \
+ufs1_be \
+ufs2 \
+usb \
+usb_keyboard \
+usbms \
+xfs \
+xzio \
+zfs \
+zfscrypt \
+zfsinfo \
+zstd \
+"
diff --git a/config/data/grub/module/xhci b/config/data/grub/module/xhci
new file mode 100755
index 00000000..6235bbad
--- /dev/null
+++ b/config/data/grub/module/xhci
@@ -0,0 +1,157 @@
+# Install modules (installed, but not automatically loaded)
+grub_install_modules=" \
+hexdump \
+newc \
+odc \
+usbserial_common \
+usbserial_ftdi \
+usbserial_pl2303 \
+usbserial_usbdebug \
+video_colors \
+xhci \
+"
+# Modules (and always loaded)
+grub_modules=" \
+acpi \
+ahci \
+at_keyboard \
+all_video \
+ata \
+bitmap \
+bitmap_scale \
+boot \
+bsd \
+btrfs \
+cat \
+cbfs \
+cbls \
+cbmemc \
+cbtime \
+chain \
+configfile \
+cpio \
+cpio_be \
+crc64 \
+crypto \
+cryptodisk \
+diskfilter \
+echo \
+ehci \
+eval \
+exfat \
+elf \
+ext2 \
+fat \
+f2fs \
+gcry_arcfour \
+gcry_blowfish \
+gcry_camellia \
+gcry_cast5 \
+gcry_crc \
+gcry_des \
+gcry_dsa \
+gcry_idea \
+gcry_md4 \
+gcry_md5 \
+gcry_rfc2268 \
+gcry_rijndael \
+gcry_rmd160 \
+gcry_rsa \
+gcry_seed \
+gcry_serpent \
+gcry_sha1 \
+gcry_sha256 \
+gcry_sha512 \
+gcry_tiger \
+gcry_twofish \
+gcry_whirlpool \
+geli \
+gfxmenu \
+gfxterm_background \
+gfxterm_menu \
+gzio \
+hashsum \
+halt \
+help \
+iorw \
+iso9660 \
+jpeg \
+json \
+keylayouts \
+keystatus \
+linux \
+linux16 \
+loadenv \
+loopback \
+ls \
+lsacpi \
+lsmmap \
+lspci \
+luks \
+luks2 \
+argon2 \
+lvm \
+lzopio \
+mdraid09 \
+mdraid09_be \
+mdraid1x \
+memdisk \
+memrw \
+minicmd \
+mmap \
+multiboot \
+multiboot2 \
+nativedisk \
+normal \
+ntfs \
+nvme \
+ohci \
+part_bsd \
+part_dfly \
+part_gpt \
+part_msdos \
+password \
+password_pbkdf2 \
+pata \
+pbkdf2 \
+pcidump \
+pgp \
+play \
+png \
+procfs \
+raid5rec \
+raid6rec \
+read \
+reboot \
+regexp \
+romfs \
+scsi \
+search \
+search_fs_file \
+search_fs_uuid \
+search_label \
+serial \
+syslinuxcfg \
+setjmp \
+setpci \
+spkmodem \
+squash4 \
+sleep \
+tar \
+test \
+true \
+uhci \
+udf \
+ufs1 \
+ufs1_be \
+ufs2 \
+usb \
+usb_keyboard \
+usbms \
+xfs \
+xzio \
+zfs \
+zfscrypt \
+zfsinfo \
+zstd \
+"