Skip to content
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

nsim_sem_mpu_stack_guard board can't run #38019

Closed
IRISZZW opened this issue Aug 26, 2021 · 1 comment · Fixed by #38020
Closed

nsim_sem_mpu_stack_guard board can't run #38019

IRISZZW opened this issue Aug 26, 2021 · 1 comment · Fixed by #38020
Assignees
Labels
area: ARC ARC Architecture bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Milestone

Comments

@IRISZZW
Copy link
Contributor

IRISZZW commented Aug 26, 2021

Describe the bug
nsim_sem_mpu_stack_guard board can't run:
ERROR:Could not read properties file zephyr/boards/arc/nsim/support/nsim_sem_mpu_stack_guard.props

To Reproduce
Steps to reproduce the behavior:

  1. west build -b nsim_sem_mpu_stack_guard -d build tests/kernel/common/
  2. west -v flash
  3. See error

Logs and console output

west -v flash
ZEPHYR_BASE=/SCRATCH2/Watson/zephyrproject/zephyr (origin: env)
-- west flash: rebuilding
cmake version 3.20.2 is OK; minimum version is 3.13.1
Running CMake: /u/svc-arcoss_auto/tools/cmake-3.20.2/bin/cmake --build /SCRATCH2/Watson/zephyrproject/zephyr/build
ninja: no work to do.
-- west flash: using runner arc-nsim
runners.arc-nsim: nsimdrv -propsfile /SCRATCH2/Watson/zephyrproject/zephyr/boards/arc/nsim/support/nsim_sem_mpu_stack_guard.props /SCRATCH2/Watson/zephyrproject/zephyr/build/zephyr/zephyr.elf
14:12:57.772352 ERROR:Could not read properties file /SCRATCH2/Watson/zephyrproject/zephyr/boards/arc/nsim/support/nsim_sem_mpu_stack_guard.props
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
FATAL ERROR: command exited with status -6: nsimdrv -propsfile /SCRATCH2/Watson/zephyrproject/zephyr/boards/arc/nsim/support/nsim_sem_mpu_stack_guard.props /SCRATCH2/Watson/zephyrproject/zephyr/build/zephyr/zephyr.elf

Environment (please complete the following information):

  • OS: (Linux)
  • Toolchain (Zephyr SDK)
  • Commit SHA (52b2d39)

Additional context
I use git bisect found these failures were introduced by this PR: #36619

@IRISZZW IRISZZW added bug The issue is a bug, or the PR is fixing a bug area: ARC ARC Architecture labels Aug 26, 2021
@IRISZZW IRISZZW added this to the v2.7.0 milestone Aug 26, 2021
@IRISZZW
Copy link
Contributor Author

IRISZZW commented Aug 26, 2021

nsim_sem_mpu_stack_guard board use nism_sem board's config file nsim_sme.props, so we can't use BOARD name for nsim_sem_mpu_stack_guard board to get the right config file.

set(NSIM_PROPS "${BOARD}.props")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARC ARC Architecture bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants