1196 Commits

Author SHA1 Message Date
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
Mike Beaton
2356f78743 Docs: Build docs 2024-05-03 16:18:07 +01:00
leon9078
b4d9dd0f19 Docs: Fix alphabetical order on some entries in the Configuration file. 2024-05-03 16:16:55 +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
Lorys89
1644a6aa5a
Docs: FORUMS.md - fix wrong link (#529) 2024-03-25 22:57:01 +00:00
Andrey1970
58f57a32d5 DataBase: Updated builtin firmware versions 2024-03-13 20:25:06 +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
Mike Beaton
f61841445b Docs: Fix additional typo 2024-02-08 12:33:55 +00:00
Mike Beaton
e98da99655 Docs: Wording 2024-02-08 10:39:31 +00:00
Mike Beaton
3ade8af6a4 Docs: typo 2024-02-08 10:35:45 +00:00
Mike Beaton
c90c3f68d2 Docs: Sync errata 2024-02-08 09:59:35 +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
Mike Beaton
2b66a703a0 BootPickers: Swap positions of Shutdown and Restart buttons
to better match newer macOS.
Add OC_ATTR_USE_REVERSED_UI bit to use old layout.
2024-01-01 16:00:30 +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
Andrey1970
9215e5c28a DataBase: Updated builtin firmware versions 2023-11-12 01:43:11 +03: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
5f15e839f8
OcPeCoffExtLib: Add support for FixupAppleEfiImages quirk (#498) 2023-11-03 11:06:56 +03:00
John Davis
dd5b954f0c Docs: Enable serial debug patches on IA32 and x64 2023-11-01 19:35:52 -05: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
Andrey1970AppleLife
0989cb2015 Update MaxKernel for AirportBrcmFixup and NVMeFix 2023-10-01 00:43:55 +03:00