-
Notifications
You must be signed in to change notification settings - Fork 494
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
Update ARM/AARCH64 Platforms to Use New ArmMmuLib Instances #235
base: master
Are you sure you want to change the base?
Conversation
The changes for Mt. Jade cause a crash. I'm unsure if you have any idea while I need to get more time to dig into it
|
edk2 at:
edk2-platforms at:
System (QemuSbsa) crashed:
I try to run code before review. |
@os-d you may find this post useful: https://marcin.juszkiewicz.com.pl/2024/03/25/running-sbsa-reference-platform/ |
@hrw , using your blog + the build steps here, neither my edk2 PR + edk2-platforms PR nor master + master boots sbsa-qemu for me:
Something else I need to do? This is using the top of tree precompiled TF-A bins in edk2-non-osi. |
@os-d what you got is due to use of old edk2-non-osi binaries as tianocore/edk2-non-osi@17c42d6 was pushed to add that SIP_SVC_GET_CPU_TOPOLOGY call. |
Tested on Arm Juno. No issues encountered on my end. |
@hrw , I did a fresh clone of edk2-non-osi for this and it is at 889f9c90de53e7c8729d1f449b8781a5477f0df4, from Oct 17, and I see the commit you are referencing in I also tried building a fresh clone of TF-A (commit dddded141458fe1ff8fcbf8f3080dbf20953e7a4 from Nov 1) and added a custom print to make sure that my TF-A was getting loaded and it is: NOTICE: Booting os-d Firmware But I still get the same error. I'm still probably doing something wrong, but I don't know what it is :) |
e5978b0
to
3311256
Compare
@hrw , I was able to repro the issue by commenting out the call to TF-A to get the cpu topology. I fixed the issue, I was linking ArmMmuPeiLib into your platform (and most of the others) when previously they were using ArmMmuBaseLib. I fixed the linkage. Can you and @nhivp please confirm this fixes your issue? QemuSbsa boots to shell for me now. |
edk2 PR tianocore/edk2#6286 is updating ArmMmuLib instances to a SEC, PEI, and BASE version to support pre-allocating page table memory. This commit makes the necessary changes in edk2-platforms to resolve the breaking change. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Oliver Smith-Denny <[email protected]>
3311256
to
2fe20eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with booting to Linux. Looks good to me. Thanks for fixing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SbsaQemu works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this patch.
For Platform/ARM/*
edk2 PR tianocore/edk2#6286 is updating ArmMmuLib instances to a SEC, PEI, and BASE version to support pre-allocating page table memory.
This commit makes the necessary changes in edk2-platforms to resolve the breaking change. This needs to be checked in after the edk2 PR is checked in.
Continuous-integration-options: PatchCheck.ignore-multi-package