aboutsummaryrefslogtreecommitdiff
path: root/projects/grub
Commit message (Collapse)AuthorAgeFilesLines
* Set prefix in GRUB BIOS image configAndrew Robbins2018-11-271-0/+2
|
* Modify modules to include and load in GRUB imagesAndrew Robbins2018-11-276-1/+10
| | | | | | | | | | | | | | | The cbfs module must be loaded before trying to source grub.cfg from CBFS, for obvious reasons. The test module is bundled into all images in order to avoid the situation where grub gets stuck in a loop trying to locate the module during parsing of grub.cfg. This could happen if a user removes the module or moves it, so it's best to avoid a brick by just bundling it into the image. For the bios target, biosdisk has been removed as it doesn't seem to provide any benefit and memdisk has been added to eliminate an error printed by GRUB upon load.
* Move organized patches to project directory for newbuildJohn M. Harris, Jr2018-06-253-0/+171
| | | | | The new build system just applies all patches in the directory, so we can't have a properly organized structure.
* Add overlooked GRUB modules to modules-minimalAndrew Robbins2018-04-073-0/+8
|
* Be specific about size limit for floppy GRUB imageAndrew Robbins2018-04-071-1/+1
|
* Include modules from modules-minimal in GRUB imageAndrew Robbins2018-04-073-2/+12
|
* Remove braces from parameter expansionsAndrew Robbins2017-09-212-114/+114
| | | | | | | * projects/grub/grub * projects/grub/grub-helper ditto
* Add GRUB module 'cbmemc' to each GRUB targetAndrew Robbins2017-09-173-0/+3
| | | | | Dumps CBMEM console log to stdout; this is useful for development/troubleshooting purposes.
* Add grubenv var i_want_a_brickAndrew Robbins2017-09-171-1/+2
| | | | | As of right now setting/unsetting the variable does nothing as this functionality will be added later.
* Delete old, unused GRUB config and modules-* filesAndrew Robbins2017-09-163-206/+0
| | | | | | | | | The grub.cfg to be included in the GRUB image is located in each target's directory in 'projecs/grub/configs' now, which means 'projects/grub/configs/grub.cfg' no longer has any use. Ditto with 'projects/grub/configs/modules-install' and 'projects/grub/configs/modules-preload'
* Make a few minor tweaks to the grub-helper scriptAndrew Robbins2017-09-141-2/+9
| | | | | | The check for an existing, non-directory file as $keymap_out_path was added to prevent the (unlikely) scenario of attempting writing a file to a file as if it were a directory.
* Cook the GRUB image before misc. trimmingsAndrew Robbins2017-09-141-4/+4
| | | | | | Out of: the image itself, keylayouts, and font, the image takes the longest to build so it would be best to attempt its build first to avoid wasted time and resources, however little, if the build fails.
* Use GNU Make's '-C' flagAndrew Robbins2017-09-141-6/+1
| | | | Forgot about that flag when that was written. Somehow.
* Remove unnecessary code duplication in GRUB buildAndrew Robbins2017-09-141-12/+9
|
* Insert GRUB PF2-format font into GRUB install fileAndrew Robbins2017-09-071-0/+1
|
* Integrate grub_build_font into GRUB action scriptAndrew Robbins2017-09-071-0/+2
|
* Create GRUB config files font-file, font-projectAndrew Robbins2017-09-062-0/+2
| | | | | | | | | | | 'font-file' contains the filename (not path) of the font to use when making a PF2-format GRUB font. 'font-project' contains the name of the project which built the original font file. These files are necessary to avoid hard-coding the font and/or the path to the font as an argument to grub-mkfont.
* Delete directory projects/grub/configs/fontAndrew Robbins2017-09-0618-9129/+0
| | | | | A more flexible way of handling font files will be introduced in later commits.
* Create grub-helper function grub_build_fontAndrew Robbins2017-09-061-0/+26
| | | | | | The idea is to build a font from source and then make a PF2 format file from it using grub-mkfont. This cuts down on the number of binary files committed to history in the repository.
* Rename GRUB subtarget 'txtmode' to 'textmode'Andrew Robbins2017-09-045-2/+2
| | | | | Saving typing on one letter isn't really worth the trade-off in readability.
* Add entries for GRUB backgrounds to install fileAndrew Robbins2017-09-041-0/+2
|
* Move GRUB background dir to install/corebootfbAndrew Robbins2017-09-044-0/+0
| | | | | | | Since backgrounds aren't included in the GRUB image it would make more sense to move them to the GRUB install directory at projects/grub/install/corebootfb instead (textmode ROMs won't have a background image included, for obvious reasons).
* Rename GRUB keymap directory and a reference to itAndrew Robbins2017-09-0212-1/+1
| | | | Plurality is nice, sometimes.
* Add keylayouts to the GRUB install fileAndrew Robbins2017-09-021-0/+11
|
* Rebind raw_keymap_path in projects/grub/grubAndrew Robbins2017-09-021-1/+1
|
* Move raw keymap files into parent directoryAndrew Robbins2017-09-0211-0/+0
|
* Delete binary GRUB keylayoutsAndrew Robbins2017-09-0210-0/+0
| | | | | Keylayouts are now compiled as part of the build process--keeping binary keylayouts in the repo is unnecessary as a result.
* Rename Swedish keymap using a proper ISO 639-1 codeAndrew Robbins2017-09-021-0/+0
|
* Add Japanese keymap (jaqwerty) to GRUB keymap dirAndrew Robbins2017-09-021-0/+131
|
* Conditionally create dir to store compiled keymapsAndrew Robbins2017-09-021-1/+6
|
* Use grub-mklayout instead of grub-kbdcompAndrew Robbins2017-09-021-2/+2
| | | | | | grub-mklayout was the intended program to use for generating compiled GRUB keylayouts. Somewhere along the way grub-kbdcomp was erroneously substituted in its place.
* Build GRUB keymaps with targets, not as targetAndrew Robbins2017-09-021-6/+5
| | | | | | | By building keymaps whenever a GRUB image is produced, there will be a significant reduction in total time spent compiling Libreboot ROMs. The previous build process for keymaps was hugely inefficient.
* Add UEFI to the GRUB 'targets' fileAndrew Robbins2017-08-311-0/+1
|
* Consolidate GRUB UEFI target modules into 'install'Andrew Robbins2017-08-313-202/+196
| | | | | | | | | | | | | | | As with the BIOS/Coreboot targets, the modules listed in this file will later be added to CBFS in order to avoid issues inherent to bundling modules into the GRUB image. Several modules have been excluded from the install list for reasons of non-applicability to UEFI GRUB; namely: * cmosdump * cmostest * efiemu * mda_text * pci
* Create GRUB UEFI target file 'modules-minimal'Andrew Robbins2017-08-301-0/+10
| | | | | | | As with the BIOS/Coreboot targets' modules-minimal files, this file lists the minimum necessary to complement a working, bootable image so that it can read from other devices in addition to halting/rebooting the machine.
* Copy GRUB module lists to UEFI target dirAndrew Robbins2017-08-302-0/+202
| | | | | | Since GRUB images will be produced on a target-specific basis, the target will need its own copy of the modules to include in either the GRUB image itself or CBFS.
* Add configuration files to GRUB UEFI target dirAndrew Robbins2017-08-304-0/+7
| | | | | | | | | The added files (and, later, module lists) are mostly the same as their BIOS/Coreboot targets counterparts because the base configuration for each GRUB image produced is intended to be quite similar (for greater malleability down the line). The purpose of each file remains the same.
* Insert ahci/ehci/pata/usbms into 'modules-minimal'Andrew Robbins2017-08-301-0/+4
| | | | | Without these modules, the GRUB Coreboot target image can't access devices other than cbfsdisk. Adds support for HDD/USB drives.
* Add Coreboot to the GRUB 'targets' fileAndrew Robbins2017-08-291-0/+1
|
* Consolidate GRUB Coreboot target modules into 'install'Andrew Robbins2017-08-293-202/+201
| | | | | | As with the BIOS target, the modules listed in this file will later be added to CBFS in order to avoid issues inherent to bundling modules into the GRUB image.
* Create GRUB Coreboot target file 'modules-minimal'Andrew Robbins2017-08-291-0/+6
| | | | | | | As with the BIOS target's modules-minimal file, this file lists the minimum necessary to complement a working, bootable image so that it can read from other devices in addition to halting/rebooting the machine.
* Copy GRUB module lists to Coreboot target dirAndrew Robbins2017-08-292-0/+202
| | | | | | Since GRUB images will be produced on a target-specific basis the target will need its own copy of the modules to include in either the GRUB image itself or CBFS.
* Add configuration files to GRUB Coreboot target dirAndrew Robbins2017-08-294-0/+7
| | | | | | | | The added files are mostly the same as their BIOS target counterparts because the base configuration for each GRUB image produced is intended to be quite similar (for greater malleability down the line). The purpose of each file remains the same.
* Alter GRUB image name in its default 'install' fileAndrew Robbins2017-08-291-1/+1
| | | | | | The produced GRUB image now has a more generalized name for applicability to disparate platform builds (e.g. EFI vs. bootable floppy image).
* Create GRUB 'targets' fileAndrew Robbins2017-08-291-0/+1
| | | | | 'keymap' isn't included as a target yet due to it needing further work done to it.
* Rewrite GRUB 'build' action, integrating grub-helperAndrew Robbins2017-08-291-27/+23
| | | | | | | | The previous build function definition only allowed for a one-size-fits-all build process for any given target. The function was rewritten to allow for different build processes based on the target passed to it (e.g. building GRUB keylayouts is very different from building GRUB images).
* Add GRUB module 'biosdisk' to BIOS target installAndrew Robbins2017-08-291-0/+1
| | | | | Without this module the GRUB can't find devices--as in, 'ls' literally lists nothing, not even the device GRUB booted from.
* Consolidate GRUB BIOS target modules into 'install'Andrew Robbins2017-08-293-202/+201
| | | | | | | | Since the majority of GRUB modules will be placed into CBFS instead of the GRUB image itself, the modules-install and modules-preload files no longer have any use as-is. However, they serve as a useful reference to which modules should be retained for later processing (thus the addition to the new install file).
* Create GRUB BIOS target file 'modules-minimal'Andrew Robbins2017-08-291-0/+7
| | | | | | | | | | | | This file should only contain the minimum of modules necessary to create a working, bootable image able to source other modules and files from CBFS and/or a separate device. (module dependencies are installed automatically) By including as few modules as possible into the GRUB image, selective addition/removal of modules to/from CBFS is now possible. In addition, modules can be reloaded without issue (modules included in the GRUB image can't be reloaded).
* Copy GRUB module lists to BIOS target dirAndrew Robbins2017-08-292-0/+202
| | | | | | A GRUB image will be produced on a target-specific basis so the target will need its own copy of the modules to include in either the GRUB image itself or CBFS.