-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API #3470
Conversation
PR to update RTX to v4.80 for Cortex-A. In the latest CI test, three tests result in an error. The cause is mainly three points - Unsupport RTX v4.80 for Cortex-A - Insufficient stack size of thread defined in test - A few Lack of Malloc API in GCC Therefore, I supported to these. For the stack size for test, @russ already supported in PR #3362. Reference for issue of test error is here. #3273 Reference for PR to update RTX for Cortex-M. #1702
@TomoYamanaka Can you update the commit to correct the nickname? :-) Shouldn't version align (cortex a and m) ? The other one is still v4.79 , this one updates to v4.80? btw, there's a feature developmet to update to RTX2 - https://github.com/ARMmbed/mbed-os/tree/feature_cmsis5. We should probably focus on this update. |
Hi @TomoYamanaka, the changes look good to me. I saw the malloc is now protected for GCC. I also saw you added the new functions for stack information - svcThreadGetInfo, osThreadGetState, _osThreadGetInfo, _osThreadsEnumStart, _osThreadEnumNext, _osThreadEnumFree. @bridadan mentions there is a crash when heap stats are turned on. If you rebuild with the options he mentions, then you should be able to reproduce this problem. |
Thank you for your comments.
Where does this nickname mean?
I don't have RTX v4.80 code for Cortex-M, so unfortunately I can not update it.
Are the materials of CMSIS ver.5 below? Does Cortex-M of mbed support CMSIS ver.5? |
This reverts commit e71f79a.
PR to update RTX to v4.80 for Cortex-A. In the latest CI test, three tests result in an error. The cause is mainly three points - Unsupport RTX v4.80 for Cortex-A - Insufficient stack size of thread defined in test - A few Lack of Malloc API in GCC Therefore, I supported to these. For the stack size for test, @c1728p9 already supported in PR #3362. Reference for issue of test error is here. #3273 Reference for PR to update RTX for Cortex-M. #1702
That's the official code base yes. Work in progress mbed port can be found here https://github.com/ARMmbed/mbed-os/tree/feature_cmsis5 |
The earliest CMSISv5 would be integrated is February 2017 to release in March. If we miss in February then it should land in March or April. Todo:
|
Thank you for your commnets.
Can I think that Renesas doesn't need to support CMSIS 5 (Cortex-A part) and ARM mbed team supports it ? |
We shall discuss this with the RTX team as well. Let's talk in January about this. Can you provide test results for this patch ? |
Sorry for this late reply.
Thank you for your comments. It is okay.
I show test results to the following in GCC_ARM. I got similar the test result in ARMCC and IAR. tests-mbed_drivers-race_test
tests-mbedmicro-rtos-mbed-malloc
tests-mbedmicro-rtos-mbed-threads
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, looks good.
/morph test-nightly |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
…3470) * [RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API PR to update RTX to v4.80 for Cortex-A. In the latest CI test, three tests result in an error. The cause is mainly three points - Unsupport RTX v4.80 for Cortex-A - Insufficient stack size of thread defined in test - A few Lack of Malloc API in GCC Therefore, I supported to these. For the stack size for test, @russ already supported in PR ARMmbed#3362. Reference for issue of test error is here. ARMmbed#3273 Reference for PR to update RTX for Cortex-M. ARMmbed#1702 * Revert "[RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API" This reverts commit e71f79a. * [RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API PR to update RTX to v4.80 for Cortex-A. In the latest CI test, three tests result in an error. The cause is mainly three points - Unsupport RTX v4.80 for Cortex-A - Insufficient stack size of thread defined in test - A few Lack of Malloc API in GCC Therefore, I supported to these. For the stack size for test, @c1728p9 already supported in PR ARMmbed#3362. Reference for issue of test error is here. ARMmbed#3273 Reference for PR to update RTX for Cortex-M. ARMmbed#1702
* [RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API PR to update RTX to v4.80 for Cortex-A. In the latest CI test, three tests result in an error. The cause is mainly three points - Unsupport RTX v4.80 for Cortex-A - Insufficient stack size of thread defined in test - A few Lack of Malloc API in GCC Therefore, I supported to these. For the stack size for test, @russ already supported in PR #3362. Reference for issue of test error is here. #3273 Reference for PR to update RTX for Cortex-M. #1702 * Revert "[RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API" This reverts commit e71f79a. * [RZ/A1H]Support RTX v4.80 for Cortex-A and a few Malloc API PR to update RTX to v4.80 for Cortex-A. In the latest CI test, three tests result in an error. The cause is mainly three points - Unsupport RTX v4.80 for Cortex-A - Insufficient stack size of thread defined in test - A few Lack of Malloc API in GCC Therefore, I supported to these. For the stack size for test, @c1728p9 already supported in PR #3362. Reference for issue of test error is here. #3273 Reference for PR to update RTX for Cortex-M. #1702
PR to update RTX to v4.80 for Cortex-A.
In the latest CI test, three tests result in an error. The cause is mainly three points
Therefore, I supported to these. For the stack size for test, @c1728p9 already supported in PR Increase stack size in malloc test for Cortex-A #3362.
Reference for issue of test error is here.
#3273
Reference for PR to update RTX for Cortex-M.
#1702