Skip to content

Conversation

yfliuuu
Copy link
Contributor

@yfliuuu yfliuuu commented Sep 2, 2025

No description provided.

@yfliuuu
Copy link
Contributor Author

yfliuuu commented Sep 2, 2025

Also need approvals from:
Hypervisor: @chejianj @lifeix
Doc: @shiqingg

@yuhuanX
Copy link
Contributor

yuhuanX commented Sep 2, 2025

start to build

@yfliuuu
Copy link
Contributor Author

yfliuuu commented Sep 2, 2025

Updated doc commit. Verified html build on ubuntu 22.04. @shiqingg

@acrnsi-robot
Copy link
Contributor

start to run premerge test

Currently ACRN supports only x86 architecture. And this patch is the
first of a series of patches to enable ACRN on multiple architecture.

This commit does the multi-arch of Makefile: put x86 specific content
into arch/x86/Makefile.

This includes:
- Pre-launched VM ACPI binary generation
- acrn.32.out generation (32 bit ELF was generated towards i386
  architecture)
- Customized modularization (*_MOD). Only one module is created in
  common section: COMMON_MOD
- Architecture specific make targets and pre-build actions are moved to
  architecture specific makefile. Introduce the following variable to
  register arch targets and/or actions:
  - ARCH_PRE_BUILD_TARGETS
  - ARCH_ALL_TARGETS
  - ARCH_INSTALL_TARGETS

Tracked-On: projectacrn#8782
Signed-off-by: Yifan Liu <[email protected]>
Acked-by: Wang, Yu1 <[email protected]>
The common files for now contains x86 specific code and needs
refactoring. To increase parallelism, we temporarily confine the common
files to x86 architecture while we tried to enable riscv architecture.

As we progress, this workaround should be completely reverted in future
milestones when we moved all common files to actual common scope.

Tracked-On: projectacrn#8782
Signed-off-by: Yifan Liu <[email protected]>
Acked-by: Wang, Yu1 <[email protected]>
This commit adds riscv build skeleton and adds some dummy files that
prints out hello world.

To build riscv acrn.out/acrn.bin, simply:

make hypervisor \
    BOARD=<any existing board> \
    SCENARIO=<any existing scenario> \
    ARCH=riscv

We still need to specify board and scenario as those were required by
project level makefile.

Tracked-On: projectacrn#8782
Signed-off-by: Yifan Liu <[email protected]>
Acked-by: Wang, Yu1 <[email protected]>
This commit adds documentation on buildling and running
ACRN hypervisor on top of QEMU RISC-V.

Tracked-On: projectacrn#8782
Signed-off-by: Yifan Liu <[email protected]>
Acked-by: Wang, Yu1 <[email protected]>
@acrnsi-robot acrnsi-robot merged commit 97879f4 into projectacrn:multi-arch-dev Sep 3, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants