1225 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
9c0dbdd4b2 Docs: Add sample ACPI patch demonstrating table-specific replacement
Newly added example demonstrates patching RTC device supporting 2 I/O
ports which are reported as 8 I/O ports in ACPI. The patch fixes
PowerManagement crashes in e.g. 10.6 and newer in OVMF.
2025-08-21 22:29:04 +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
7f8c15afb1 Docs: Add AppleIntel8254XEthernet sample patch for macOS 10.4 in QEMU
Prior to macOS 10.5 the logic used to interpret PHY status was wrong.
AppleIntel8254XEthernet checks PHY Specific Status register for bit 3
(Transmit Pause Enabled) presence instead of bit 10 (Link).

This patch forces PHY Specific Status register 0xac08, which means
always up.
2025-08-09 18:28:17 +03:00
vit9696
d1ebfea100 OcAfterBootCompatLib: Add some more debugging & info on Booter quirks 2025-08-07 01:38:19 +03:00
vit9696
eca9d6b156 OcStorageLib: Increased OC_STORAGE_SAFE_PATH_MAX to 192
This is needed to Force inject longer kexts, e.g. networking:
System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/
AppleIntel8254XEthernet.kext/Contents/MacOS/AppleIntel8254XEthernet
2025-08-07 01:36:34 +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
vit9696
aecd8ec66b Docs: Publish erratum for acidanthera/bugtracker#2507 2025-08-02 23:11:36 +03:00
Andrey1970
e04b9e2292 Bump version 2025-07-13 18:41:18 +03:00
Andrey1970
e8437f7377 DataBase: Updated builtin firmware versions 2025-06-14 20:06:04 +03:00
Andrey1970
9ebc8bfc64 Update Kexts.md 2025-06-14 15:35:30 +03:00
Andrey1970
fd92fe7594 Docs: Disabled patch 2025-04-09 00:01:03 +03:00
vit9696
b68f91c923 Docs: Add Bluetooth disable patch useful to entirely disable bt stack 2025-04-04 21:19:00 +03:00
Savva Mitrofanov
8d3b5f23fb Build: Add drivers for QEMU virtio devices into build
These drivers are required for the devices (PCI, network, etc.) while we
booting OpenDuet inside QEMU emulator with seabios.
2025-03-10 21:26:41 +03:00
Savva Mitrofanov
dc1812a930 Docs: Update samples
Add OpenNetworkBoot driver
2025-03-05 20:35:05 +03:00
Andrey1970
bae9a92b1b Bump version 2025-03-04 16:51:02 +03:00
John Davis
f4e7e29335 AcpiSamples: Adjust Hyper-V SSDTs
Remove SSDT-HV-DEV-WS2022.dsl and remove ACPI0007 objects from SSDH-HV-DEV.dsl
2025-02-25 20:13:01 -06:00
John Davis
ddb0bc71f8 Docs: Rebuild Configuration.pdf 2025-02-23 11:04:00 -06:00
John Davis
c5f89dddee Docs: Update Configuration copyright 2025-02-23 11:00:26 -06:00
John Davis
9b82bc0b29 Docs: Fix broken links to Apple sources in Configuration 2025-02-23 11:00:09 -06:00
John Davis
45f8ba2cd2
Add ClearTaskSwitchBit booter quirk (#573)
This quirk is needed to boot macOS 10.7 and older when using a 32-bit kernel on a 64-bit UEFI firmware that makes uses of FPU or SSE instructions in runtime services (such as Hyper-V).
2025-02-23 10:51:40 -06:00
Andrey1970
5026eb27bb
Update Kexts.md 2024-12-30 22:28:13 +03:00
Andrey1970
a3829649a9
Update Kexts.md 2024-12-30 22:27:05 +03: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
9163821d81 Docs: Add errata entry for sign.command bug 2024-11-30 19:31:39 +00:00
Mike Beaton
cc771bbc7e Docs: Sync docs 2024-11-30 18:42:45 +00:00
Mike Beaton
cde43cd3c1 OpenNetworkBoot: Add PXE and HTTP(S) Boot support 2024-11-30 18:40:21 +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
705673e631 Docs: Fix typo 2024-11-20 08:35:19 +00:00
Emmanuel Ferdman
6723d65d3a
Docs: Update OpenCoreVault.c reference (#567)
* Docs: Update `OpenCoreVault.c` reference

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>

* Docs: Update `OpenCoreVault.c` reference

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>

---------

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-11-19 22:52:06 +03: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
vit9696
22171e0903 Docs: Enable FixupAppleEfiImages in sample configs
While FixupAppleEfiImages is generally not needed, OpenDuet, VMs,
and some other firmware need it for proper macOS booting.
Given that the quirk is generally harmless, enable it in the samples.
2024-10-07 21:36:49 +03:00
Mike Beaton
402b3b1d44 Docs: Build docs 2024-10-06 08:36:17 +01:00
Mike Beaton
3830364e88
OcMainLib: Add UEFI/Unload config option to unload existing firmware drivers (#553) 2024-10-06 10:22:16 +03: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
f4f4e88806 Updated builtin firmware versions 2024-09-18 15:58:24 +03: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
Andrey1970
b83537dde8 Docs: Updated Samples 2024-05-04 20:59:55 +03:00