aboutsummaryrefslogtreecommitdiff
path: root/projects/grub/configs/config/extra
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-07-27 02:34:00 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-07-27 02:52:51 -0400
commit04f219bc6d0b15e42f77aa1edb803bf848a96bff (patch)
tree303b74bf9db3103aa38ff203c236407d8ea524cc /projects/grub/configs/config/extra
parentb55ab260b26968bf1f1288831c4012735c1c58e7 (diff)
downloadlibrebootfr-04f219bc6d0b15e42f77aa1edb803bf848a96bff.tar.gz
librebootfr-04f219bc6d0b15e42f77aa1edb803bf848a96bff.zip
Reorganize contents of projects/grub/
Diffstat (limited to 'projects/grub/configs/config/extra')
-rw-r--r--projects/grub/configs/config/extra/common.cfg28
-rw-r--r--projects/grub/configs/config/extra/txtmode.cfg1
-rw-r--r--projects/grub/configs/config/extra/vesafb.cfg5
3 files changed, 34 insertions, 0 deletions
diff --git a/projects/grub/configs/config/extra/common.cfg b/projects/grub/configs/config/extra/common.cfg
new file mode 100644
index 00000000..1d3ddcc7
--- /dev/null
+++ b/projects/grub/configs/config/extra/common.cfg
@@ -0,0 +1,28 @@
+set prefix=(memdisk)/boot/grub
+
+insmod nativedisk
+insmod ehci
+insmod ohci
+insmod uhci
+insmod usb
+insmod usbms
+insmod usbserial_pl2303
+insmod usbserial_ftdi
+insmod usbserial_usbdebug
+
+# Serial and keyboard configuration, very important.
+serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
+terminal_input --append serial
+terminal_output --append serial
+terminal_input --append at_keyboard
+terminal_output --append cbmemc
+
+gfxpayload=keep
+terminal_output --append gfxterm
+
+# Default to first option, automatically boot after 1 second
+set default="0"
+set timeout=1
+
+# This is useful when using 'cat' on long files on GRUB terminal
+set pager=1
diff --git a/projects/grub/configs/config/extra/txtmode.cfg b/projects/grub/configs/config/extra/txtmode.cfg
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/projects/grub/configs/config/extra/txtmode.cfg
@@ -0,0 +1 @@
+
diff --git a/projects/grub/configs/config/extra/vesafb.cfg b/projects/grub/configs/config/extra/vesafb.cfg
new file mode 100644
index 00000000..e1285088
--- /dev/null
+++ b/projects/grub/configs/config/extra/vesafb.cfg
@@ -0,0 +1,5 @@
+insmod png
+
+background_image (cbfsdisk)/background.png
+loadfont (memdisk)/dejavusansmono.pf2
+