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

tests: drivers: mbox: mbox_data: mimxrt11xx_evk: target broken #86377

Open
hakehuang opened this issue Feb 26, 2025 · 1 comment
Open

tests: drivers: mbox: mbox_data: mimxrt11xx_evk: target broken #86377

hakehuang opened this issue Feb 26, 2025 · 1 comment
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP

Comments

@hakehuang
Copy link
Collaborator

hakehuang commented Feb 26, 2025

Describe the bug

the commit

commit aec0355380e20ba5ea4cdf98d476a7113a138673 (HEAD)
Author: Daniel DeGrasse <[email protected]>
Date:   Fri Dec 6 16:56:13 2024 -0600

    boards: nxp: mimxrt11xx: change zephyr,flash node to ocram

    OCRAM region in Cortex-M4 memory map at 0x2020_0000 is simply an alias
    to the M4 TCM at 0x1FFE_0000, which the zephyr,flash node was previously
    set to. Using this base address for OCRAM allows the base address to
    match the one used in the M7 memory map, which simplifies loading the M4
    image from flash into RAM in the M7 init routine

    Signed-off-by: Daniel DeGrasse <[email protected]>

:100644 100644 a92f93feb8d 475a166e787 M        boards/nxp/mimxrt1160_evk/mimxrt1160_evk_mimxrt1166_cm4.dts
:100644 100644 cbef2377dab 5cd416c9c73 M        boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm4.dts

makes the tests/drivers/mbox/mbox_data fail, console has no output.
if revert above commit and config the board(M4) with

CONFIG_BUILD_OUTPUT_HEX_GAP_FILL=y

the test can pass

Please also mention any information which could help others to understand
the problem you're facing:

  • What target platform are you using?
  • mimxrt1170_evk and mimxrt1160_evk
  • What have you tried to diagnose or workaround this issue?
  • git bisect
  • Is this a regression? If yes, have you been able to "git bisect" it to a
    specific commit?
  • aec0355

To Reproduce

west build -b mimxrt1160_evk/mimxrt1166/cm7 -p always --sysbuild tests/drivers/mbox/mbox_data/
west -vvvv flash --runner=jlink --id="721119608"

Expected behavior

Test can run and pass

Impact

real multi-core application

Logs and console output

when this happen, there is no console output

Environment (please complete the following information):

  • OS: (e.g. Linux, MacOS, Windows)
  • Toolchain (e.g Zephyr SDK, ...)
  • Commit SHA or Version used: v4.1.0-rc2-85-g8081008a08d

Additional context

This case is failed due to #82841 , but if we do the fix mentioned in above, we find a new issue caused by aec0355

and need to note, put m4 in tcm is not good for linkserver, as it does not support ram download.

@hakehuang hakehuang added bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP labels Feb 26, 2025
@hakehuang
Copy link
Collaborator Author

@danieldegrasse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP
Projects
None yet
Development

No branches or pull requests

3 participants