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

Fix: Avoid a hang in scanning Cortex-A of STM32MP15x #1628

Merged
merged 9 commits into from
Sep 23, 2023

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    36d544a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5287249 View commit details
    Browse the repository at this point in the history
  3. cortexa: Implement logging of DBG_DSCR bitfields decoded into names

    Example output:
    
    cortexa_attach: DBGOSLSR = 0x00000008
    cortexa_attach: DBGDSCR = 0x02000002 (1)
    Bits set in reg DBGDSCR: RESTARTED PipeAdv
    cortexa_attach: DBGDSCR = 0x02006002 (2)
    Bits set in reg DBGDSCR: RESTARTED ITRen HDBGen PipeAdv
    cortexa_halt_poll: DBGDSCR = 0x03086003
    ALTracer committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    f0d49ef View commit details
    Browse the repository at this point in the history
  4. cortexa: Check and clear OS Lock

    * This fixes the BMD hang on scanning STM32MP15x SoCs
    ALTracer committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    845cc11 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d82c2a5 View commit details
    Browse the repository at this point in the history
  6. cortexa: Move OSLock/HDBGen/ITRen writes to run earlier, in cortexa_p…

    …robe()
    
    * Unblock the target_halt in cortexa_probe
    * Move code setting up debug access from cortexa_detach() up to cortexa_probe()
    * Scans of STM32MP15x still work, gdb shows $pc and registers
    ALTracer committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    73e8ab7 View commit details
    Browse the repository at this point in the history
  7. Revert "cortexa: Avoid resuming *not halted* cores"

    This reverts commit fc93f6fa0df5d618c4c2027f52a003cba86ac386.
    ALTracer committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    9cad825 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. cortexa: style fixes

    * Drop extraneous  parentheses
    * Hide the helper behind ENABLE_DEBUG and a dummy implementation
    * Replace one introduced %08X with %08PRIx32 for *firmware* builds
    ALTracer committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    46deb65 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35fdb2b View commit details
    Browse the repository at this point in the history