661 Commits

Author SHA1 Message Date
vit9696
d76d599773 OcAppleUserInterfaceThemeLib: Added background-color NVRAM variable
This allows to have grey OpenCanopy background colour and grey 10.9
EfiBoot boot screen
2025-09-11 11:56:33 +03:00
vit9696
d762689b98 Docs: Fix some typos 2025-08-21 23:02:45 +03:00
vit9696
79ea932f19 Docs: Update documentation for 10.4 and 10.5 2025-08-17 00:02:54 +03:00
vit9696
9afdb676d3 Docs: Explain why RebuildAppleMemoryMap is necessary before 10.7 2025-08-11 03:33:42 +03:00
vit9696
d1ebfea100 OcAfterBootCompatLib: Add some more debugging & info on Booter quirks 2025-08-07 01:38:19 +03:00
Mike Beaton
4891b78f26 Docs: OpenVariableRuntime: Improve wording for what is included in OpenDuet
OpenDuet includes unmodified VariableRuntimeDxe. OpenVariableRuntimeDxe
is a slightly modified variant of that (see comments in header of VariableDxe.c).
2025-08-02 22:25:14 +01:00
Andrey1970
e04b9e2292 Bump version 2025-07-13 18:41:18 +03:00
Andrey1970
bae9a92b1b Bump version 2025-03-04 16:51:02 +03:00
John Davis
ddb0bc71f8 Docs: Rebuild Configuration.pdf 2025-02-23 11:04:00 -06:00
Mike Beaton
f4b7065067 Docs: Document that all available GOP resolutions are listed in debug log when Resolution is set to Max 2024-12-29 04:35:27 +00:00
Mike Beaton
07e61bf975 OpenNetworkBoot: Improve NVRAM handling
- Avoid potentially leaving one boot where BOOTSERVICE_ACCESS variable
   can be written by OS
 - Remove incorrect implication that OpenCore's NVRAM reset will clear
   static4 settings
2024-12-28 14:09:06 +00:00
Mike Beaton
34f286e71b Docs: Fix build 2024-12-23 12:28:29 +00:00
Mike Beaton
575b9eb979 Docs: OpenNetworkBoot doc update 2024-12-23 12:04:25 +00:00
Mike Beaton
411de51112 OcMainLib: Unload drivers most recent first 2024-12-22 14:21:06 +00:00
Mike Beaton
f30d41230d OpenNetworkBoot: Add support for setting static IPv4 address NVRAM variable
Normally only useful for our HttpBootDxe, which supports HTTP
boot from static IP address as long as URI is also pre-specified.

The NVRAM setting should affect normal EDK II derived network stacks
and will configure a static IP on the card, but this will later be
ignored and overridden by DHCP when PXE or HTTP boot is started in the
standard network stack.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2024-12-22 14:09:25 +00:00
Andrey1970AppleLife
44af5a9945 Bump version 2024-12-22 13:36:25 +03:00
Mike Beaton
cc771bbc7e Docs: Sync docs 2024-11-30 18:42:45 +00:00
Mike Beaton
35bcb134f1 CreateVault: Fix sign.command and update signing docs
Fix operation of `sign.command` when printable characters occur
immediately before `=BEGIN OC VAULT=`. `strings` finds the location of
the first printable character in such a sequence. `hexdump` automatically
works on 16 byte boundaries, so still finds the correct offset.

Use `BASE_ALIGNAS` to enforce the required alignment, which will not be
correct on all builds unless enforced (note alignment is required purely
for locating the structure correctly from external script as above, not
for reading in C).

Remove struct packing, since structs had better be naturally packed anyway
(if not, reading from them without arbitrary-alignment-safe code, as we
do, would be undefined behaviour). Add static asserts to confirm expected
size as required by `sign.command`.

Update the docs to refer to `sign.command` rather than to include the
signing commands explicitly - otherwise we have two places that need to
be kept in sync for signing commands, and note that the commands in the
two places were already out of sync.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2024-11-26 22:22:28 +00:00
Mike Beaton
b341356c0e Docs: Build docs 2024-11-20 08:38:31 +00:00
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
Andrey1970
9bdb9839db Bump version 2024-10-10 12:38:03 +03:00
Mike Beaton
402b3b1d44 Docs: Build docs 2024-10-06 08:36:17 +01:00
Mike Beaton
f36983174f Docs: FixupAppleEfiImages additional updates 2024-10-02 22:42:04 +01:00
Mike Beaton
4087300e3f Docs: Update FixupAppleEfiImages wording 2024-09-29 21:17:27 +01:00
Andrey1970
8ee5b37a3f Bump version 2024-08-16 15:33:00 +03:00
Andrey1970AppleLife
10e2878262 Bump version 2024-05-10 15:29:01 +03:00
Mike Beaton
2356f78743 Docs: Build docs 2024-05-03 16:18:07 +01:00
abenraj
41d2e76033
Docs: Fix typos (#535) 2024-04-17 16:08:39 +01:00
vit9696
9ede6067c8 OcAfterBootCompatLib: Add AllowRelocationBlock support for 32-bit OC
This quirk is needed to boot macOS 10.6 (and probably older) with 32-bit
kernel in 32-bit OVMF. Similar to 64-bit mode, hibernation wake is not
compatible with this quirk.

This change also partially fixes compatibility with a few other quirks
(e.g. AvoidRuntimeDefrag), but they are not really tested.
2024-04-08 20:24:56 +03:00
Andrey1970
cafe2fb54e Docs: Fixed legacy OS text 2024-03-13 00:11:07 +03:00
Andrey1970AppleLife
2cbe647045 Bump version 2024-03-12 09:55:02 +03:00
Mike Beaton
5132427afc LogoutHook: Update Launchd.command to support Sonoma 2024-02-27 22:59:50 +00:00
Andrey1970AppleLife
70509375c7 Bump version 2024-02-05 21:27:01 +03:00
Mike Beaton
d748c4a76e Platform: Add Firmware Settings entry driver 2024-01-17 09:52:29 +00:00
Mike Beaton
34da204e97 OpenCanopy: Provide OC_ATTR_REDUCE_MOTION to disable non-needed OpenCanopy animiation 2024-01-04 04:21:23 +00:00
Mike Beaton
d41bb10cd2 Docs: Rebuild 2024-01-01 16:20:12 +00:00
Andrey1970AppleLife
3df90c7315 Bump version 2023-12-11 23:41:54 +03:00
Mike Beaton
750156a155 Docs: Fix typo 2023-11-19 19:17:32 +00:00
Mike Beaton
9a9cede29d Docs: Update FixupAppleEfiImages docs 2023-11-19 18:59:36 +00:00
Mike Beaton
9d05c7f5ae OpenDuet/OcBootManagementLib: Disable W^X auto-fix in Duet, and move fix for all Apple images to FixupAppleEfiImages quirk
Duet then matches behaviour of OVMF, and quirk can be used in both Duet and OVMF to load legacy Apple images.
2023-11-08 07:21:40 +00:00
Andrey1970AppleLife
98e36b87fa Bump version 2023-11-06 21:49:32 +03:00
vit9696
1bc9e74ed1 Docs: Update pdf 2023-11-03 11:08:37 +03:00
Mike Beaton
16f83e58d5 Docs: Clarify relevance of KernelArch=Auto to handling of 10.6 SnowLeopard 32/64 bit mode
Thx @dakanji
2023-10-09 15:33:22 +01:00
PMheart
3cfb0a0f4c Docs: Rebuild pdf 2023-09-27 10:30:26 +02:00
John Davis
791683afd7 Docs: Update requirements for OpenLegacyBoot 2023-09-11 18:30:19 -05:00
Andrey1970AppleLife
176db38154 Bump version 2023-09-11 18:50:48 +03:00
Mike Beaton
91fa234b92 Docs: Fix build 2023-09-10 22:35:10 +01:00
Mike Beaton
1176a8b305 ShimUtils: Rename ShimToCert as ShimUtils; add new tools:
- shim-make.tool
 - sbat-info.tool
 - unsign-efi-sig-list.tool
and update shim-to-cert.tool
2023-09-10 19:25:05 +01:00
John Davis
2b718a2b70 Docs: Update Configuration.pdf and changelog 2023-09-07 20:03:52 -05:00
Mike Beaton
2bbda9de78 OcVariableLib: Add option to set bs-only var ShimLockGuid:ShimRetainProtocol
If set by bootloader chained from shim before further image is loaded, instructs
shim to keep its protocol and its security overrides (if enabled) present for all
image loads, not just the first.
2023-08-31 22:27:01 +01:00