- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8.2k
Closed
Closed
Copy link
Labels
area: Kernelarea: TestsIssues related to a particular existing or missing testIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
E: Failed to allocate new MPU region 8
To Reproduce
Steps to reproduce the behavior:
cd tests/arch/arm/arm_ramfunc
- mkdir build; cd build
- cmake -DBOARD=board_xyz
- make
- See error
Expected behavior
test pass
Impact
MPU hardware protect
impacted application: (which is OK in v2.4.0RC3)
- arch.arm.swap.common.fpu_sharing
- arch.arm.ramfunc
- arch.arm.ramfunc.arch.arm.ramfunc
- arch.arm.swap
- arch.arm.swap.common
- arch.arm.swap.common.arch.arm.swap.common
- arch.arm.swap.common.fpu_sharing.arch.arm.swap.common.fpu_sharing
- arch.arm.swap.common.no_optimizations
- arch.arm.swap.common.no_optimizations.arch.arm.swap.common.no_optimizations
- arch.arm.swap.common.fpu_sharing.no_optimizations
- kernel.device
- kernel
- kernel.device.kernel.device
- kernel.device.pm
- kernel.device.pm.kernel.device.pm
- kernel.pipe
- kernel.queue
- kernel.timer
- kernel.memory_protection.userspace
- kernel.memory_protection.userspace.kernel.memory_protection.userspace
- kernel.futex
- kernel.futex.kernel.futex
- kernel.message_queue
- kernel.message_queue.kernel.message_queue
- kernel.mutex
Logs and console output
E: Failed to allocate new MPU region 8
* Booting Zephyr OS version 2.4.99  ***
Running test suite arm_ramfunc
===================================================================
START - test_arm_ramfunc
E: Failed to allocate new MPU region 8
ASSERTION FAIL [0] @ WEST_TOPDIR/zephyr/arch/arm/core/aarch32/cortex_m/mpu/nxp_mpu.c:588
	Configuring 2 dynamic MPU regions failed
E: r0/a1:  0x00000004  r1/a2:  0x0000024c  r2/a3:  0x00800000
E: r3/a4:  0x0000000e r12/ip:  0x00000000 r14/lr:  0x0000252f
E:  xpsr:  0x6100000e
E: Faulting instruction address (r15/pc): 0x0000b4d6
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Fault during interrupt handling
E: Current thread: 0x20000060 (unknown)
E: Halting system
Environment (please complete the following information):
- OS: (e.g. Linux,)
- Toolchain (e.g Zephyr SDK, ...)
- Commit SHA or Version used: 0d04754
Metadata
Metadata
Assignees
Labels
area: Kernelarea: TestsIssues related to a particular existing or missing testIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: mediumMedium impact/importance bugMedium impact/importance bug