-
Notifications
You must be signed in to change notification settings - Fork 827
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
riscv : add riscv qemu virt support and fix fs bit error in mstatus #416
Conversation
Hi @Jer6y. Thank you for your contribution! I am the new Eclipse ThreadX project lead. I am still ramping up, so I couldn't comment right away. I appreciate your patience. I lack the knowledge and experience to review the code thoroughly myself, so I will do my best to get someone else to look at it in the upcoming weeks. In the meantime, I am curious about the history of this contribution. What led you to write this port? Feel free to contact me privately if you cannot share those details publicly. |
@eclipse-threadx/iot-threadx-committers, I need a volunteer with porting expertise to review this contribution. |
Hi, |
@rahmanih I think you mentioned you have feedback for the author of this pull request. Can you please share it with them here? |
Hi, |
@eclipse-threadx/iot-threadx-committers @rahmanih Reviewed this contribution and determined it meets our quality standards. I would like all the others to explicitly approve (+1) or reject (-1) this contribution. Please express your opinion by Tuesday, February 11, 2025. I will not vote myself unless there is a tie. If the vote is positive, I will merge the code and this feature will ship with our next release. |
+1 |
This contribution is approved. Thanks for submitting this PR, @Jer6y! |
This feature will ship in ThreadX v6.4.2. We expect to release it by the end of February 2025. |
Hi , I port threadx to qemu-riscv64-virt and run the demo
I also add toolchain cmake scripts , so we can use cmake like arm to generated libthreadx.a
To Test it
First , Maksure
riscv64-unknown-elf-
binutils andmake
is installed , andqemu-system-riscv64
is also requiredcd into example_build work
cd ports/risc-v64/gnu/example_build/qemu_virt
use make to compile the demo (make clean can clean the output)
If done successfully, we will find
A ELF FILE kernel.elf
, use qemu to load itIf success , you will get different thread output the message like this
PR checklist