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

Rv64 universal payload review #5

Open
wants to merge 14 commits into
base: RiscV64QemuVirt
Choose a base branch
from

Conversation

dhaval-rivos
Copy link
Owner

POC patchset to enable RV64 support in UniversalPayload. P.S. some patches are WIP and require more discussions but kept here for sake of flow completeness.

Until more optimized extensions are available Use
generic library functions

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Create separate build files for RV64 as current implemenation
is specific to X86 to make it more readable and manageable.

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Removed all IA related code and hooks from the build files

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Implemented necessary hooks in UniversalPayload to ensure it can
support RV64 DxeCore entry.

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
These patches are WIP patches to statically add required HOBs
and change some boot flow logic to be able to boot payload till
UEFI shell

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Remove unnecessary bootloader related modules which are not
required in the current flow

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Align with ABI implementation to ensure Payload receives FDT data
and hart id correctly

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Create FDT HOB as per Uni Payload Requirement

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
1. Move BL specific HOB creation outsider Universal Payload UefiPayload
2. Add FDT based HOB creation as a POC

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Since we are on simulation model right now we do not need to have
this functionality

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Some early debug prints (Apriori) are enabled with this functionality

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Add required modules to enumerate virt qemu devices listed in fdt

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Adding supoprt for device tree enumeration. This protocol is required
to trigger enumeration of devices.

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
There was some runtime support missing which was causing exception
when OS was calling EFI. Added required modules.

Cc: Sunil V L <[email protected]>
Signed-off-by: Dhaval <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant