29 Commits

Author SHA1 Message Date
Mike Beaton
6bb481ed62 OpenLinuxBoot: Fix booting with TuneD in Fedora 41
In GRUB2+blscfg mode:
 - Allow grub vars in 'initrd' as well as in 'options'
 - Allow multiple initrd files on one 'initrd' line
 - Initialise empty $tuned_params and $tuned_initrd grub vars if no
   values present, on an optional flag enabled by default (since
   we want to make booting major distros easy)

In GRUB2+blscfg mode (seem to be allowed now, not required for fix):
 - Allow multiple 'initrd' lines
 - Allow multiple 'options' lines

Add variant of OcParseVars which can parse as value-only tokens.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2024-11-18 23:28:33 +00:00
Mike Beaton
abe28e829f OcConsoleLib: Add GopBurstMode quirk
OcMemoryLib: Add additional PAT and MTRR caching support
2023-03-28 07:18:14 +01:00
Mike Beaton
01b457fe81 Docs/Comments: Consistent use of Note: instead of NB 2023-01-07 09:46:19 +00:00
MikhailKrichanov
4691be3f47
OpenLinuxBoot: Fixed memory access (#393) 2022-11-07 11:13:00 +03:00
MikeBeaton
14c792ae8b OcStringLib: Use OC_STRING_FORMAT consistently 2022-07-20 19:49:21 +01:00
MikeBeaton
79f0829170 AudioDxe: Add --force-device option 2022-07-09 09:53:43 +01:00
MikeBeaton
d804b31f8d OcStringLib: Add OC_STRING_FORMAT; rename OC_STRING_BUFFER to OC_ASCII_STRING_BUFFER 2022-07-03 07:19:40 +01:00
MikeBeaton
19ef39ecf5 BootEntryProtocol: Add system action and hotkey support; implement Reset NVRAM and Toggle SIP as drivers 2022-05-16 22:23:49 +01:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
MikeBeaton
97c1f841f1 OpenLinuxBoot: Boot from standalone /boot partition 2022-02-27 09:00:41 +00:00
MikeBeaton
fa28cf9226 OpenLinuxBoot: Fix crash if initrd but no vmlinuz files in autodetect dir
https://github.com/acidanthera/bugtracker/issues/1938
2022-02-01 05:43:30 +00:00
MikeBeaton
43137cc277 OpenLinuxBoot: Updates:
- Add support for .contentFlavour and .contentDetails
- Add LINUX_BOOT_ADD_RW flag
- Add flags+= and flags-=
- Fixed entry name disambiguation when LINUX_BOOT_USE_LATEST is unset
2022-01-21 15:54:42 +00:00
MikeBeaton
fec9441dab OpenLinuxBoot: Downgrade 'bootloader is not GRUB?' from WARN to INFO 2021-12-19 11:36:12 +00:00
vit9696
20721dc99f Build: Fix minor typos, thx Slice&Co 2021-11-03 14:16:38 +03:00
MikeBeaton
15bc4003b2 OpenLinuxBoot: Fix null deref when autodetect with no user arguments 2021-10-16 17:39:22 +01:00
MikeBeaton
e8c0c480a9 OpenLinuxBoot: WARN to INFO in one normal operation debug message 2021-10-08 10:48:30 +01:00
MikeBeaton
949071ebfa OpenLinuxBoot: Support ostree layout; improve documentation 2021-10-08 00:47:00 +01:00
MikeBeaton
5a217871de OpenLinuxBoot: Allow vmlinuz and initrd paths in *.conf relative to /boot in addition to /, when loader/entries itself is in /boot.
Such paths should be incorrect (and always be relative to /, regardless), but appears to be required to allow booting Linuces which use ostree.
2021-10-07 13:26:27 +01:00
MikeBeaton
ce13a594c5 OcMain/OpenLinuxBoot: Un-butcher loaded image protocol 2021-10-01 08:38:51 +01:00
vit9696
1ddec326a1 Build: Fix wrong debug library dependency 2021-09-27 18:08:06 +03:00
MikeBeaton
fe09f25070 OpenLinuxBoot: Fix uninit issues 2021-09-17 13:23:32 +01:00
MikeBeaton
31d1523fd2 OpenLinuxBoot: typo 2021-09-14 22:18:03 +01:00
MikeBeaton
91859cec79 OpenLinuxBoot: Non-'+' user options should also override LINUX_BOOT_ADD_RO 2021-09-14 21:56:50 +01:00
MikeBeaton
7532971b23 OpenLinuxBoot: Make user non-'+' options override everything including root=; include autodetect kernel opts lines in selectable verbose output. 2021-09-13 17:10:36 +01:00
MikeBeaton
c20928ff9e OpenLinuxBoot: Fix version compare, add debug verbose 2021-09-11 00:21:01 +01:00
MikeBeaton
aa1e19bebb BootEntryProtocol: Improve logic for detecting default entry when no menu shown 2021-09-05 19:38:45 +01:00
MikeBeaton
39b2b573fc OpenLinuxBoot: Add scan of /boot/loader/entries for when /boot is not separate volume 2021-09-05 12:09:39 +01:00
MikeBeaton
09930f39ee OpenLinuxBoot: Fix Coverity warnings 2021-09-04 17:36:08 +01:00
MikeBeaton
22cfebdf6f Platform: OpenLinuxBoot.efi 2021-09-04 15:48:36 +01:00