Skip to content
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

U5SeriesPkg/FreedomU540HiFiveUnleashedBoard: Support MMU with SV39/48… #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Xxfore
Copy link

@Xxfore Xxfore commented Sep 26, 2023

By following https://github.com/riscv-admin/riscv-uefi-edk2-docs to build edk2 for riscv qemu(u540).
build -a RISCV64 -p Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc -t GCC5
it will occur build error like :
image

It will build success after add missing library class.
image

…/57 mode

During CpuDxe initialization, MMU will be setup with the highest
mode that HW supports.
Add it for U540.

Signed-off-by: Xu Zhang <xu.zhang@hexintek.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant