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

feat(platforms): add support to qemu platforms #31

Merged
merged 6 commits into from
Jun 4, 2024

Conversation

Diogo21Costa
Copy link
Member

PR Description

This PR introduces changes to the test framework to enable the deployment of different QEMU platforms. This allows for the deployment of the following setups:

Architecture QEMU Version Interrupt Controller
aarch64 qemu-aarch64-virt GICv2
aarch64 qemu-aarch64-virt GICv3
risc-v qemu-riscv64-virt IRQC=APLIC, IPIC=IPIC_SBI
risc-v qemu-riscv64-virt IRQC=PLIC, IPIC=IPIC_ACLINT
risc-v qemu-riscv64-virt IRQC=PLIC, IPIC=IPIC_SBI
risc-v qemu-riscv64-virt IRQC=PLIC, IPIC=IPIC_ACLINT

To run the framework with this feature, use the following syntax:

  1. For aarch64:
python3 tests/bao-tests/framework/test_framework.py \
        -recipe <path_to_recipe> \
        -log_level <log_level> \
        -echo <echo> \
        -platform qemu-aarch64-virt \
	-gicv <gic_version>
  1. For risc-v:
	python3 tests/bao-tests/framework/test_framework.py \
        -recipe <path_to_recipe> \
        -log_level <log_level> \
        -echo <echo> \
        -platform qemu-riscv64-virt \
	-irqc <IRQC> \
	-ipic <IPIC>

This PR depends on this PR in bao-nix repository.

Please provide feedback on these changes.

@ESCristiano ESCristiano self-requested a review June 4, 2024 14:58
@miguelafsilva5 miguelafsilva5 self-assigned this Jun 4, 2024
@miguelafsilva5 miguelafsilva5 merged commit 5dd718a into main Jun 4, 2024
5 checks passed
@miguelafsilva5 miguelafsilva5 deleted the feat/add_platforms branch June 4, 2024 15:08
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.

3 participants