-
Notifications
You must be signed in to change notification settings - Fork 7.5k
mpu_stack_guard_test fails on many arm platforms, including qemu #5735
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
Do not build for some unsupported architecture and exclude ARM qemu platform due to bug zephyrproject-rtos#5735. STACK_ALIGN 0x8 MPU STACK GUARD Test Canary Initial Value = 0xf0cacc1a threads 0x200010e0 Canary = 0x20000240 Test not passed. ***** BUS FAULT ***** Executing thread ID (thread): 0x200010e0 Faulting instruction address: 0x209c Imprecise data bus error Fatal fault in thread 0x200010e0! Aborting. ***** HARD FAULT ***** Fault escalation (see below) ***** BUS FAULT ***** Executing thread ID (thread): 0x200010e0 Faulting instruction address: 0x1f4 Imprecise data bus error Fatal fault in ISR! Spinning... Signed-off-by: Anas Nashif <[email protected]>
Do not build for some unsupported architecture and exclude ARM qemu platform due to bug #5735. STACK_ALIGN 0x8 MPU STACK GUARD Test Canary Initial Value = 0xf0cacc1a threads 0x200010e0 Canary = 0x20000240 Test not passed. ***** BUS FAULT ***** Executing thread ID (thread): 0x200010e0 Faulting instruction address: 0x209c Imprecise data bus error Fatal fault in thread 0x200010e0! Aborting. ***** HARD FAULT ***** Fault escalation (see below) ***** BUS FAULT ***** Executing thread ID (thread): 0x200010e0 Faulting instruction address: 0x1f4 Imprecise data bus error Fatal fault in ISR! Spinning... Signed-off-by: Anas Nashif <[email protected]>
Just double checked this. The expected case when using the default prj file is to fail. The output given above indicates the prj.conf was used. If the prf_stack_guard.prj is used, the error's will be correctly determined to be stacking errors. |
It should be noted that qemu (current version in zephyr) does not support MPU. And not all boards have MPUs. So perhaps we need to adjust the whitelist. |
AFAIK should be resolved with the new SDK support MPU on ARM. |
sample samples/mpu/mpu_stack_guard_test fails on frdm_k64f:
The text was updated successfully, but these errors were encountered: