Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Feature: add some Aarch64 identifiers#2036

Open
ALTracer wants to merge 142 commits intoblackmagic-debug:mainfrom
ALTracer:feature/aarch64-ident
Open

Feature: add some Aarch64 identifiers#2036
ALTracer wants to merge 142 commits intoblackmagic-debug:mainfrom
ALTracer:feature/aarch64-ident

Conversation

@ALTracer
Copy link
Copy Markdown
Contributor

Detailed description

  • This is a minor non-code feature (more LUT entries).
  • The existing problem is BMP practically being able to scan and detect some Aarch64 SoCs but refusing to elaborate further.
  • This PR solves it by registering more known CoreSight and Debug IDs as found on Raspberry/Broadcom RPi3B BCM2837 (JTAG-only) and Rockchip RK3568 (SWD-only).

Actual Aarch64 debug is not possible at this point yet, one of the issues is you can't halt ARMv8-A via the Processor Debug Unit page as on ARMv7-A/R, but the associated CTI may be used instead. So I add the CTI IDs (0x14, 0x1a14) to help that.

BMP flash impact should not be large because Cortex-A is disabled by default. However, arm_component_lut[] is not partially gated on that.

Your checklist for this pull request

Closing issues

gojimmypi and others added 30 commits March 8, 2026 09:20
…p USB, timing, and setting up the correct vector table address
@ALTracer ALTracer force-pushed the feature/aarch64-ident branch from 8159cd1 to 963ae93 Compare March 24, 2026 18:09
ALTracer and others added 22 commits March 25, 2026 19:27
* Any CSR access is only possible on a halted hard
* Violating the order results in 4 (wrong state)
* Tested chips include GD32F103CB, GD32F303CC, GD32E508ZE
…, native and swlink to solve the out of Flash space problems again
* Use small regno in riscv_hostio_request
@ALTracer ALTracer force-pushed the feature/aarch64-ident branch from 963ae93 to 799414a Compare March 29, 2026 22:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants