-
Notifications
You must be signed in to change notification settings - Fork 895
riscv : add riscv qemu virt support and fix fs bit error in mstatus #416
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
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 @fdesbiens, there seems to be a problem with this. I'was testing this and I found a bug, please see the details below. The task 1,2 which are using see logs: See the return value in Moreover, as per the logs we can also see the thread 1,2 only came ones which means they got exited in first iter as this condition let me know if someone is interested to debug this further or please assign this to me I'll look into this. PS: I think the expected output should be like this #492 |
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 andmakeis installed , andqemu-system-riscv64is also requiredcd into example_build work
cd ports/risc-v64/gnu/example_build/qemu_virtuse 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