-
Notifications
You must be signed in to change notification settings - Fork 7.5k
tests/kernel/mem_protect/mem_protect tests are failing on ARM boards #10473
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
Comments
This was causing an incorrect hash for privileged stack. Fixes: zephyrproject-rtosGH-10473 Fixes: zephyrproject-rtosGH-10474 Fixes: zephyrproject-rtosGH-10475 Fixes: zephyrproject-rtosGH-10476 Signed-off-by: Adithya Baglody <[email protected]>
This was causing an incorrect hash for privileged stack. Fixes: GH-10473 Fixes: GH-10474 Fixes: GH-10475 Fixes: GH-10476 Signed-off-by: Adithya Baglody <[email protected]>
The test suite fails on freedom_k64f with the fix. Execution log:
|
@AdithyaBaglody said that #10542 should fix this. |
looks like it did not, @AdithyaBaglody? Not that the while series introducing linker orphan warning has been removed and need to be submitted cleanly and after verifying that those bugs are not introduced. |
@nashif there were 2 PRs which has the fix for the orphan sections. #10507 (merged) and #10542 (open). when these are combined with the orphan sections changes it works on all ARM platforms. @dcpleung can u please resubmit the orphan section and just apply my patch(#10542 ) on top of it. I have tested this on mps2_an385 and sam_e70 and frdm_k64f and it was working fine on Friday. |
This puts the priviledged stack at the end of RAM. This combines PR zephyrproject-rtos#10507 and zephyrproject-rtos#10542. Fixes zephyrproject-rtos#10473 Fixes zephyrproject-rtos#10474 Fixes zephyrproject-rtos#10515 Signed-off-by: Adithya Baglody <[email protected]> Signed-off-by: Daniel Leung <[email protected]>
(Previous patch set was reverted due to issue with priv_stack. Resubmitting after fixing the faults caused by priv_stack.noinit not at the end of RAM.) This adds a linker flag and necessary changes to linker scripts so that linker will warn about orphan sections. Relates to zephyrproject-rtos#5534. Fixes zephyrproject-rtos#10473, zephyrproject-rtos#10474, zephyrproject-rtos#10515. Signed-off-by: Daniel Leung <[email protected]>
This puts the priviledged stack at the end of RAM. This combines PR #10507 and #10542. Fixes #10473 Fixes #10474 Fixes #10515 Signed-off-by: Adithya Baglody <[email protected]> Signed-off-by: Daniel Leung <[email protected]>
(Previous patch set was reverted due to issue with priv_stack. Resubmitting after fixing the faults caused by priv_stack.noinit not at the end of RAM.) This adds a linker flag and necessary changes to linker scripts so that linker will warn about orphan sections. Relates to #5534. Fixes #10473, #10474, #10515. Signed-off-by: Daniel Leung <[email protected]>
Execution log:
Platforms tested: sam_e70_xplained, nrf52_pca10040, frdm_k64f, nrf52840_pca10056
The text was updated successfully, but these errors were encountered: