New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCore 0.6.5 #334
OpenCore 0.6.5 #334
Conversation
This pull should create a new branch, I do not understand why wants to go to master.... |
Sorry, I didn't see the pull request. |
No problem, this is nothing urgent or important, during my research to understand how bigsur boot i was under impression that the OC upgrade will help, but it is not the case, however, as a proof of concept the upgrade branch can be added, just to have an overview about what changes should be done to upgrade, note, both clover bootloader and oc have modifications so both branches should be added |
My plan is to group the modification we made as patches so we can update easily. Although I don't think there is modification in the kernel injection and that's almost all we are using from OC. @serdeliuk : I don't understand what you did. Did you re-import all the modification we made to OC 0.6.1 in OC 0.6.5 ? |
Indeed, I have ported all clover/refit and all opencore modifications, plus added missing variables in some places, i think actually only in rEFIt_UEFI/refit/main.cpp , but i think all modifications can be easily seen in diff as well as exported to patches. |
I definitely want to follow OC updates. |
Yes, i think so, also there were some minor modifications to refit if i recall right, some new functions in OC have new/extra parameters |
Maybe will help if i give you patches created along the steps to upgrade? I think you can extract them from the pull itself too |
How did you proceed to get Clover modification to OC ? You create patch files ? |
Yes, created diff files and applied them for each next version and modified/repositioned by hand all erroneous hunks. |
By the way, i stopped at OC 0.6.5 because they changed a lot in 0.6.6... the main thing was |
Working to port Clover to ARM ? Which platform ? |
Well... right now i am analyzing the options, in edk2/oc/clover exists a lot of x86 asm code that, if used, should be ported if possible or excluded at build time if not. I didn't dig yet too much as i was kept busy to see how i can use uefi on my qualcomm sdm660 phone, the firmware already has an uefi implementation but i am not allowed to modify (proprietary) boot partition/code, so right now i am seeking info on how to bring minimal efi implementation to be able to boot with uefi and reuse the proprietary efi drivers, i am a bit stuck so probably the best option will be to get a device on which the uefi implementation is mature enough and restart from zero. So, i am far from getting into clover port at this point.... |
|
i didn't dig yet to see where it is used, there are 202 asm code S files plus 107 C files which contains ASM without OpenCorePkg in place, but i think probably mostly in legacy efi, in boot code and cloverefi, however, because clover rely on opencore now probably there are some things there too, will see..... |
Ok, but where are these S files. If they are in MdePkg inside some X64, it means that we already have the arm version, even if it's not in CLover repo. |
Yup, should be fun... :) |
By default Clover has the SecureBootModel disabled. This upgrade seems to be mandatory in order to properly use SecureBootModel. The patched Clover with OpenCore 0.6.5 boot perfectly with SecureBootModel enabled any OS Since 5127 version are a lot of new mods to Clover, probably i need to start all over again to reach 5139... |
Upgraded to OC 0.6.5