OP-TEE / build

Makefiles to use OP-TEE on various platforms
107 stars 209 forks source link

riscv64: Add qemu_riscv64.mk/qemu_riscv.conf to test QEMU riscv64 system #694

Closed gagachang closed 7 months ago

gagachang commented 8 months ago

Add qemu_riscv.conf for additional kernel configs to test OP-TEE on QEMU riscv64 virtual platform. Add qemu_riscv64.mk to build images, including M-mode openSBI firmware, linux kernel, OP-TEE, buildroot, and QEMU.

The "make all" target will build all the images. The "make run-only" target will open two terminals for two worlds, start QEMU to boot openSBI, OP-TEE, and finally enter linux and buildroot CLI.

jforissier commented 8 months ago

@gagachang thanks for the PR! Could you please provide a manifest (https://github.com/OP-TEE/manifest) so that I can test this?

gagachang commented 8 months ago

@gagachang thanks for the PR! Could you please provide a manifest (https://github.com/OP-TEE/manifest) so that I can test this?

My pleasure. But unfortunately, the patches for M-mode openSBI and linux have not been committed to upstream or somewhere yet... I can try to prepare them but it needs much time.

This PR aims to help other people reduce the cost to utilize OP-TEE build system on RISC-V. If you have concerns, we can keep this PR until other repositories are available in public.

jforissier commented 8 months ago

@gagachang let's keep this open until we have a full setup. People interested in this can still get the makefiles from here. Thanks!

gagachang commented 8 months ago

@gagachang let's keep this open until we have a full setup. People interested in this can still get the makefiles from here. Thanks!

Sure! Thanks.

github-actions[bot] commented 7 months ago

This pull request has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 5 days. Note, that you can always re-open a closed pull request at any time.