Commit Graph

315 Commits

Author SHA1 Message Date
Sergey Isakov
36e7d8340b Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-12-31 12:13:32 +03:00
Sergey Isakov
34b8946dc1 comments
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-31 12:13:16 +03:00
vectorsigma72
12d559aef6 Log audio devices
Parsing the boot-log will help Clover.app finding startup audio settings.
2019-12-28 23:34:11 +01:00
Florin9doi
9c2995d211 Revert MKextV1 patcher 2019-12-28 12:30:36 +02:00
Sergey
86ac98e9b9
Merge pull request #66 from Florin9doi/p4_mkextV1_patcher_p2
Clean-up MKext patcher a little
2019-12-28 08:15:06 +03:00
Florin9doi
d74fc41df0 Clean-up MKext patcher a little 2019-12-27 19:42:56 +02:00
jief
9d99cb049d Fix pointer of type 'void *' used in arithmetic (cast priority) 2019-12-27 18:21:10 +01:00
jief
a79acfcd24 Fix void* cast and enum cast (prepa C++) 2019-12-27 18:09:07 +01:00
Sergey
6f04c95981
Merge pull request #65 from Florin9doi/p4_mkextV1_patcher
MKextV1 (Tiger🐯/Leopard🐆) patcher
2019-12-27 19:27:47 +03:00
jief
2d4a9a77c5 Fix CONST warnings (prepa C++) 2019-12-27 17:12:28 +01:00
jief
5e650e92cf Add cast to return value of GetNvramVariable (prepa C++) 2019-12-27 16:10:42 +01:00
jief
9b01a6fe58 Add cast to return value of memory allocation functions (prepa c++) 2019-12-27 15:21:40 +01:00
jief
6dc3c956d6 Break declaration line (prepa c++) 2019-12-27 15:21:39 +01:00
jief
ea2408cada add CONST to parameter fmt in PoolPrint and _PoolCatPrint 2019-12-27 15:21:38 +01:00
Florin9doi
7b6f0afd5d MKextV1 (Tiger/Leopard) patcher
Kext injection was not possible on Tiger/Leopard:
-KLDBootstrap::readBooterExtensions() doesn't exist to be patched
-Tiger gray discs were model specific and didn't had all the kexts in S/L/E to boot without cache

This patch append a kext file to the MKextV1 structure which is
loaded in memory by boot.efi, then repair the structure.

The existing kext isn't removed, so the injected kext needs to be a
higher version.
2019-12-27 15:24:30 +02:00
Sergey Isakov
89c8fd2a69 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-12-27 11:14:53 +03:00
Sergey Isakov
ba2c47ce54 exclude one more case of DSDT fix false
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-27 11:14:49 +03:00
Sergey
2bf7bca6ac
Merge pull request #63 from Florin9doi/p12_32gb_ram
Try to fix the issues with 32GB modules; 3rd try
2019-12-24 15:35:29 +03:00
Florin9doi
e90fa3274b Try to fix the issues with 32GB modules; 3rd try 2019-12-24 00:03:26 +02:00
Sergey
d058be8f04
Merge pull request #62 from Florin9doi/p11_kexts_path
Fix kext injection for minor versions
2019-12-23 15:48:50 +03:00
Sergey
db13dba629
Merge pull request #61 from Florin9doi/p10_tiger_leo
Kernel patcher and FakeCPUID for Tiger and Leopard
2019-12-23 15:45:28 +03:00
Florin9doi
447bf80f73 Fix kext injection for minor versions
eg: oemPath/kexts/10.5.6.0 to oemPath/kexts/10.5.6
2019-12-23 13:38:02 +02:00
Florin9doi
da3f447b2e Kernel patcher and FakeCPUID for Tiger and Leopard 2019-12-22 13:46:48 +02:00
Sergey
4c3655d954
Merge pull request #60 from Florin9doi/p9
Delete user memory (gRam) when a new config is selected
2019-12-22 08:14:28 +03:00
Florin9doi
bd8d5466b0 Delete user memory (gRam) when a new config is selected
Allow more then 4 memory channels: MacPro7,1 has 6 channels, but 8
channels systems exists too
2019-12-21 12:34:38 +02:00
jief
7a0295e366 Move clover boot volume info to bottom right corner. 2019-12-20 18:18:55 +01:00
jief
2edf37ec84 Switch from CHAR8 to UINT8 to avoid signedness problems. 2019-12-20 16:33:11 +01:00
jief
91793ca5ba Remove unused includes for C++ 2019-12-20 16:03:49 +01:00
jief
926ecc8d9b Update 2 typedef struct to make them compatible C and C++ 2019-12-20 15:55:39 +01:00
jief
38204b0b4c Rename 'class' parameter because it's reserved in C++ 2019-12-20 15:54:11 +01:00
jief
28886d3b6f Fix prototype. 2019-12-20 15:52:56 +01:00
Sergey Isakov
553c3c338d change string to char
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-20 15:35:29 +03:00
Sergey Isakov
ad0eb1988d dont show Clover boot volume if it commented out
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-20 14:47:02 +03:00
SergeySlice
43e6e3b3bb dont produce _SUN for graphics
don attach CsmVideo to Intel
exclude EFIVersion from table 11

Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-20 08:49:28 +03:00
SergeySlice
070db047fb reduce stack usage by allocating pool
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-19 19:51:21 +03:00
Sergey Isakov
f3c01aa9be check more Scope false search
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-19 14:14:54 +03:00
jief666
83205886bf
Merge pull request #59 from jief666/KextLoadingVersionMode
Put back KEXT_INJECT_DEBUG to 0
2019-12-19 09:49:16 +01:00
jief
24054e93b2 Put back KEXT_INJECT_DEBUG to 0
Restore Eric's modification to check OSBundleRequired
2019-12-19 09:48:27 +01:00
jief666
af35dcccbb
Merge pull request #57 from jief666/BootAndVolumeInfo
Display Cover boot volume, Use .VolumeLabel.txt
2019-12-18 23:45:55 +01:00
SergeySlice
49380a97ec adopt to new DeviceTree declarstions
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-18 21:41:07 +03:00
SergeySlice
56ec54a919 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-12-18 20:36:20 +03:00
SergeySlice
0979cd808a use unified DeviceTreeLib
Signed-off-by: Сергей Исаков <sergey@Sergejs-iMac.local>
2019-12-18 20:34:26 +03:00
jief666
abc511efaa
Merge pull request #55 from jief666/KextLoadingVersionMode
Rename '10.x' folder
2019-12-17 14:18:36 +01:00
jief
35eedf476a Display CLover boot volume
Use .VolumeLabel.txt to improve menu item label
2019-12-16 15:28:22 +01:00
jief
ab6e5c2238 Resolve conflict. 2019-12-16 15:22:15 +01:00
Сергей Исаков
6c7ec5f7c5 revert xib to older format
Signed-off-by: Сергей Исаков <sergey@Sergejs-iMac.local>
2019-12-16 07:32:05 +03:00
Sherlocks
b196220366 Update platformdata
from official 10.15.2
2019-12-14 17:17:35 +09:00
Sergey Isakov
f3797c128c exclude unused variable
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-13 15:55:40 +03:00
jief
7ef7e4055d Remove unused var
Rename '10.x' folder just '10' to be more consistent.
2019-12-13 12:56:57 +01:00
Sergey
9fccb22efa
Merge pull request #52 from jief666/KextLoadingVersionMode
Kext loading new structure
2019-12-13 14:28:17 +03:00