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

Can Bao support Raspberry Pi 5 8GB #56

Open
AriSan-XD opened this issue Jun 15, 2024 · 1 comment
Open

Can Bao support Raspberry Pi 5 8GB #56

AriSan-XD opened this issue Jun 15, 2024 · 1 comment

Comments

@AriSan-XD
Copy link

No description provided.

@Diogo21Costa
Copy link
Member

Hi @AriSan-XD ,

Thank you for your interest in using Bao on the Raspberry Pi 5 8GB! Currently, Bao does not officially support the Raspberry Pi 5. However, there is existing support for the Raspberry Pi 4, and given the similarities between the two platforms, porting Bao to the Raspberry Pi 5 might be relatively straightforward.

The process of porting the Bao hypervisor essentially involves two key steps:

  1. Creating a Platform Description Folder: You would need to create a new directory under src/platform to hold the platform definition source and header files. For instance, to port Bao to a new platform named "foo," you would create the directory src/platform/foo.
  2. Adding the Necessary Files: Within this directory, you would include the following four files:
    1. A source file, such as rpi4_desc.c, which contains the platform description structure (struct platform platform definition).
    2. A platform.h header file, which includes platform-specific definitions and headers.
    3. A platform.mk makefile that defines necessary build system parameters, such as the target architecture.
    4. An objects.mk file that lists the platform's target object files.

If you're interested in contributing to this effort, we would appreciate your help. Contributions are always welcome, and we're available to provide any guidance or support you might need.

Feel free to reach out if you have any questions or need assistance getting started.

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

No branches or pull requests

2 participants