Skip to contentSkip to conversation

openocd: Add dmem support and update dependencies

PATCH In review Lima, João 4 participants 6 messages Oct 1, 2025 – Oct 3, 2025

lore
Share & tools
lore
#0 lore raw

cover openocd: Add dmem support and update dependencies

From: Joao Lima <[email protected]>

This patch series updates OpenOCD to support direct memory access (dmem) via SWD emulation for Texas Instruments AM64x and J784s4 platforms.

Changes include:
1. Version bumps:
- openocd: 91bd431 -> 66ea461
- jimtcl: fcbb449 -> f160866
- libjaylink: 9aa7a59 -> 0d23921

2. Platform support patches:
- Add SWD native configuration files for AM64x and J784s4 boards
- Configure DMEM access parameters in ti_k3.cfg for direct memory operations
- Set up DAPBUS debugger and emulated AP descriptions

3. Build configuration:
- Enable dmem adapter driver (--enable-dmem)
- Enable internal jimtcl (--enable-internal-jimtcl)
- Add both features to default PACKAGECONFIG

This enables self-hosted debug configurations where OpenOCD runs on one of the CPUs inside the SoC.

Upstream-Status: Submitted
- http://openocd.zylin.com/#/c/9020/
- http://openocd.zylin.com/#/c/9021/

Joao Lima (3):
openocd: bump the openocd, jimtcl versions
openocd: add dmem support to am64xx and j784s4 platforms
openocd: enable dmem and jimtcl

 ...wd_native.cfg-Add-support-for-direct.patch | 77 +++++++++++++++++++
 ....cfg-Add-support-for-direct-memory-a.patch | 65 ++++++++++++++++
 .../recipes-devtools/openocd/openocd_git.bb   | 13 +++-
 3 files changed, 151 insertions(+), 4 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/openocd/openocd/0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch
 create mode 100644 meta-oe/recipes-devtools/openocd/openocd/0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch
#1 lore raw
Quoted 33 lines · João

From: Joao Lima <[email protected]>

This patch series updates OpenOCD to support direct memory access (dmem) via SWD emulation for Texas Instruments AM64x and J784s4 platforms.

Changes include:
1. Version bumps:
- openocd: 91bd431 -> 66ea461
- jimtcl: fcbb449 -> f160866
- libjaylink: 9aa7a59 -> 0d23921

2. Platform support patches:
- Add SWD native configuration files for AM64x and J784s4 boards
- Configure DMEM access parameters in ti_k3.cfg for direct memory operations
- Set up DAPBUS debugger and emulated AP descriptions

3. Build configuration:
- Enable dmem adapter driver (--enable-dmem)
- Enable internal jimtcl (--enable-internal-jimtcl)
- Add both features to default PACKAGECONFIG

This enables self-hosted debug configurations where OpenOCD runs on one of the CPUs inside the SoC.

Upstream-Status: Submitted
- http://openocd.zylin.com/#/c/9020/
- http://openocd.zylin.com/#/c/9021/

Joao Lima (3):
openocd: bump the openocd, jimtcl versions
openocd: add dmem support to am64xx and j784s4 platforms
openocd: enable dmem and jimtcl

Quoted 7 lines
  ...wd_native.cfg-Add-support-for-direct.patch | 77 +++++++++++++++++++
  ....cfg-Add-support-for-direct-memory-a.patch | 65 ++++++++++++++++
  .../recipes-devtools/openocd/openocd_git.bb   | 13 +++-
  3 files changed, 151 insertions(+), 4 deletions(-)

create mode 100644 meta-oe/recipes-devtools/openocd/openocd/0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch create mode 100644 meta-oe/recipes-devtools/openocd/openocd/0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch

Thanks for the patchset, Please rebase it on latest master branch or master-next branch and resend. While resending send the whole series together with git send-email *.patch or something so tools like patchwork and lore can record this as a series.

#2 lore raw

Thanks for the feedback.

I'm currently working on top of:

URI:    https://git.openembedded.org/meta-openembedded
Branch: scarthgap
Commit: e8fd97d86af86cdcc5a6eb3f301cbaf6a2084943

Should I rebase my patch series on top of the latest master (or master-next) branch, even though I'm targeting the scarthgap branch? As this is my first submission to the project, I want to ensure I'm following the correct process.

Thanks for the submission tip.

Cumprimentos /Kind regards

João Lima

Embedded Software Developer, Genesis High Speed

UNRESTRICTED
________________________________
From: Khem Raj <[email protected]>
Sent: Wednesday, October 1, 2025 5:22 PM
To: Lima, João <[email protected]>; [email protected] <[email protected]>; João Lima <[email protected]>
Subject: EXTERNAL: Re: [meta-oe][PATCH 0/3] openocd: Add dmem support and update dependencies

CAUTION! External Email. Do not click links or open attachments unless you recognize the sender and are sure the content is safe. If you think this is a phishing email, please report it by using the "Phish Alert Report" button in Outlook.

Quoted 33 lines · João

From: Joao Lima <[email protected]>

This patch series updates OpenOCD to support direct memory access (dmem) via SWD emulation for Texas Instruments AM64x and J784s4 platforms.

Changes include:
1. Version bumps:
- openocd: 91bd431 -> 66ea461
- jimtcl: fcbb449 -> f160866
- libjaylink: 9aa7a59 -> 0d23921

2. Platform support patches:
- Add SWD native configuration files for AM64x and J784s4 boards
- Configure DMEM access parameters in ti_k3.cfg for direct memory operations
- Set up DAPBUS debugger and emulated AP descriptions

3. Build configuration:
- Enable dmem adapter driver (--enable-dmem)
- Enable internal jimtcl (--enable-internal-jimtcl)
- Add both features to default PACKAGECONFIG

This enables self-hosted debug configurations where OpenOCD runs on one of the CPUs inside the SoC.

Upstream-Status: Submitted
- https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenocd.zylin.com%2F%23%2Fc%2F9020%2F&data=05%7C02%7Cjoao.lima%40hbkworld.com%7C0be1393f749b4b3a254d08de0106cb07%7C6cce74a3397545e09893b072988b30b6%7C0%7C0%7C638949326829662188%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=mr0knEMNTixqKo20WB6sAP3w0Os3PC%2FHaEMGG%2F3SDjw%3D&reserved=0<http://openocd.zylin.com/#/c/9020/>
- https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenocd.zylin.com%2F%23%2Fc%2F9021%2F&data=05%7C02%7Cjoao.lima%40hbkworld.com%7C0be1393f749b4b3a254d08de0106cb07%7C6cce74a3397545e09893b072988b30b6%7C0%7C0%7C638949326829712748%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=%2F%2Fc%2BmSu3HrA%2F2IWn9jqFAo4x2bNR54ABpO0mSZEZ%2FCM%3D&reserved=0<http://openocd.zylin.com/#/c/9021/>

Joao Lima (3):
openocd: bump the openocd, jimtcl versions
openocd: add dmem support to am64xx and j784s4 platforms
openocd: enable dmem and jimtcl

Quoted 7 lines
  ...wd_native.cfg-Add-support-for-direct.patch | 77 +++++++++++++++++++
  ....cfg-Add-support-for-direct-memory-a.patch | 65 ++++++++++++++++
  .../recipes-devtools/openocd/openocd_git.bb   | 13 +++-
  3 files changed, 151 insertions(+), 4 deletions(-)

create mode 100644 meta-oe/recipes-devtools/openocd/openocd/0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch create mode 100644 meta-oe/recipes-devtools/openocd/openocd/0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch

Thanks for the patchset, Please rebase it on latest master branch or master-next branch and resend. While resending send the whole series together with git send-email *.patch or something so tools like patchwork and lore can record this as a series.

HBK FiberSensing S.A. NIF: 506807312 Registered office: Via José Régio, 256, 4485-860, Vilar do Pinheiro, Portugal. Esta mensagem e eventuais anexos são confidenciais e destinados exclusivamente ao(s) destinatário(s) indicado(s). Se recebeu esta mensagem por engano, por favor notifique o remetente e elimine-a de imediato. É proibida a divulgação, cópia ou utilização não autorizada do seu conteúdo. This message and any attachments are confidential and intended solely for the designated recipient(s). If you have received this message in error, please notify the sender and delete it immediately. Unauthorized disclosure, copying, or use of its contents is prohibited.

#3 lore raw

Hi João

João Lima via lists.openembedded.org <joao.lima= [email protected]> escreveu (quinta, 2/10/2025 à(s) 12:50):

Quoted 12 lines

Thanks for the feedback.

I'm currently working on top of:

URI:    https://git.openembedded.org/meta-openembedded
Branch: scarthgap
Commit: e8fd97d86af86cdcc5a6eb3f301cbaf6a2084943

Should I rebase my patch series on top of the latest master (or master-next) branch, even though I'm targeting the scarthgap branch? As this is my first submission to the project, I want to ensure I'm following the correct process.

Yes you are right and should send on top of master or even master-next.

If the patchset does not include breaking changes they can be backported to the stable branch,
this last criterion will be the responsibility of the maintainer. For example, major bumps in the version are generally not accepted to be backported.

Jose

Quoted 105 lines

Thanks for the submission tip.

Cumprimentos */*Kind regards

*João Lima*

Embedded Software Developer, Genesis High Speed

UNRESTRICTED
------------------------------
*From:* Khem Raj <[email protected]>
*Sent:* Wednesday, October 1, 2025 5:22 PM
*To:* Lima, João <[email protected]>; [email protected] < [email protected]>; João Lima < [email protected]>
*Subject:* EXTERNAL: Re: [meta-oe][PATCH 0/3] openocd: Add dmem support and update dependencies

CAUTION! External Email. Do not click links or open attachments unless you recognize the sender and are sure the content is safe.
If you think this is a phishing email, please report it by using the "Phish Alert Report" button in Outlook.

Quoted 11 lines · João

From: Joao Lima <[email protected]>

This patch series updates OpenOCD to support direct memory access (dmem) via SWD emulation for Texas Instruments AM64x and J784s4 platforms.

Changes include:
1. Version bumps:
- openocd: 91bd431 -> 66ea461
- jimtcl: fcbb449 -> f160866
- libjaylink: 9aa7a59 -> 0d23921

Quoted 3 lines

2. Platform support patches:
- Add SWD native configuration files for AM64x and J784s4 boards
- Configure DMEM access parameters in ti_k3.cfg for direct memory

operations

Quoted 8 lines

- Set up DAPBUS debugger and emulated AP descriptions

3. Build configuration:
- Enable dmem adapter driver (--enable-dmem)
- Enable internal jimtcl (--enable-internal-jimtcl)
- Add both features to default PACKAGECONFIG

This enables self-hosted debug configurations where OpenOCD runs on one

of

Quoted 4 lines

the CPUs inside the SoC.

Upstream-Status: Submitted
-

https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenocd.zylin.com%2F%23%2Fc%2F9020%2F&data=05%7C02%7Cjoao.lima%40hbkworld.com%7C0be1393f749b4b3a254d08de0106cb07%7C6cce74a3397545e09893b072988b30b6%7C0%7C0%7C638949326829662188%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=mr0knEMNTixqKo20WB6sAP3w0Os3PC%2FHaEMGG%2F3SDjw%3D&reserved=0
<http://openocd.zylin.com/#/c/9020/>

Quoted 1 line

-

https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenocd.zylin.com%2F%23%2Fc%2F9021%2F&data=05%7C02%7Cjoao.lima%40hbkworld.com%7C0be1393f749b4b3a254d08de0106cb07%7C6cce74a3397545e09893b072988b30b6%7C0%7C0%7C638949326829712748%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=%2F%2Fc%2BmSu3HrA%2F2IWn9jqFAo4x2bNR54ABpO0mSZEZ%2FCM%3D&reserved=0
<http://openocd.zylin.com/#/c/9021/>

Quoted 11 lines

Joao Lima (3):
openocd: bump the openocd, jimtcl versions
openocd: add dmem support to am64xx and j784s4 platforms
openocd: enable dmem and jimtcl

  ...wd_native.cfg-Add-support-for-direct.patch | 77 +++++++++++++++++++
  ....cfg-Add-support-for-direct-memory-a.patch | 65 ++++++++++++++++
  .../recipes-devtools/openocd/openocd_git.bb   | 13 +++-
  3 files changed, 151 insertions(+), 4 deletions(-)

create mode 100644

meta-oe/recipes-devtools/openocd/openocd/0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch

Quoted 1 line

create mode 100644

meta-oe/recipes-devtools/openocd/openocd/0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch

Quoted 1 line

Thanks for the patchset, Please rebase it on latest master branch or master-next branch and resend. While resending send the whole series together with git send-email *.patch or something so tools like patchwork and lore can record this as a series.

HBK FiberSensing S.A. NIF: 506807312 Registered office: Via José Régio, 256, 4485-860, Vilar do Pinheiro, Portugal. Esta mensagem e eventuais anexos são confidenciais e destinados exclusivamente ao(s) destinatário(s) indicado(s). Se recebeu esta mensagem por engano, por favor notifique o remetente e elimine-a de imediato. É proibida a divulgação, cópia ou utilização não autorizada do seu conteúdo. This message and any attachments are confidential and intended solely for the designated recipient(s). If you have received this message in error, please notify the sender and delete it immediately. Unauthorized disclosure, copying, or use of its contents is prohibited.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#120168):
https://lists.openembedded.org/g/openembedded-devel/message/120168
Mute This Topic: https://lists.openembedded.org/mt/115529554/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma
#4 lore raw

Hello Khem and Jose,

Thanks for the reply.

I have already rebased my patch series on top of the latest master and committed the latest changes.
---
Khem, I submitted the series as intended.
However, I submitted it twice, because the first time, for some reason, it took longer than expected to appear in the meta openembedded layers patch list (https://patchwork.yoctoproject.org/project/oe/list/?submitter=1534).
Only the last series should be considered.

Thanks for your help.

Cumprimentos /Kind regards

João Lima

Embedded Software Developer, Genesis High Speed

UNRESTRICTED
________________________________
From: Jose Quaresma <[email protected]>
Sent: Thursday, October 2, 2025 3:05 PM
To: João Lima <[email protected]>
Cc: Khem Raj <[email protected]>; Lima, João <[email protected]>; [email protected] <[email protected]>
Subject: Re: [oe] [meta-oe][PATCH 0/3] openocd: Add dmem support and update dependencies

Hi João

João Lima via lists.openembedded.org<http://lists.openembedded.org/> <[email protected]<mailto:[email protected]>> escreveu (quinta, 2/10/2025 à(s) 12:50):
Thanks for the feedback.

I'm currently working on top of:

URI:    https://git.openembedded.org/meta-openembedded
Branch: scarthgap
Commit: e8fd97d86af86cdcc5a6eb3f301cbaf6a2084943

Should I rebase my patch series on top of the latest master (or master-next) branch, even though I'm targeting the scarthgap branch? As this is my first submission to the project, I want to ensure I'm following the correct process.

Yes you are right and should send on top of master or even master-next.

If the patchset does not include breaking changes they can be backported to the stable branch, this last criterion will be the responsibility of the maintainer.
For example, major bumps in the version are generally not accepted to be backported.

Jose

Thanks for the submission tip.

Cumprimentos /Kind regards

João Lima

Embedded Software Developer, Genesis High Speed

UNRESTRICTED
________________________________
From: Khem Raj <[email protected]<mailto:[email protected]>>
Sent: Wednesday, October 1, 2025 5:22 PM
To: Lima, João <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>; João Lima <[email protected]<mailto:[email protected]>>
Subject: EXTERNAL: Re: [meta-oe][PATCH 0/3] openocd: Add dmem support and update dependencies

CAUTION! External Email. Do not click links or open attachments unless you recognize the sender and are sure the content is safe. If you think this is a phishing email, please report it by using the "Phish Alert Report" button in Outlook.

Quoted 33 lines · João

From: Joao Lima <[email protected]<mailto:[email protected]>>

This patch series updates OpenOCD to support direct memory access (dmem) via SWD emulation for Texas Instruments AM64x and J784s4 platforms.

Changes include:
1. Version bumps:
- openocd: 91bd431 -> 66ea461
- jimtcl: fcbb449 -> f160866
- libjaylink: 9aa7a59 -> 0d23921

2. Platform support patches:
- Add SWD native configuration files for AM64x and J784s4 boards
- Configure DMEM access parameters in ti_k3.cfg for direct memory operations
- Set up DAPBUS debugger and emulated AP descriptions

3. Build configuration:
- Enable dmem adapter driver (--enable-dmem)
- Enable internal jimtcl (--enable-internal-jimtcl)
- Add both features to default PACKAGECONFIG

This enables self-hosted debug configurations where OpenOCD runs on one of the CPUs inside the SoC.

Upstream-Status: Submitted
- https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenocd.zylin.com%2F%23%2Fc%2F9020%2F&data=05%7C02%7Cjoao.lima%40hbkworld.com%7C0be1393f749b4b3a254d08de0106cb07%7C6cce74a3397545e09893b072988b30b6%7C0%7C0%7C638949326829662188%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=mr0knEMNTixqKo20WB6sAP3w0Os3PC%2FHaEMGG%2F3SDjw%3D&reserved=0<http://openocd.zylin.com/#/c/9020/>
- https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenocd.zylin.com%2F%23%2Fc%2F9021%2F&data=05%7C02%7Cjoao.lima%40hbkworld.com%7C0be1393f749b4b3a254d08de0106cb07%7C6cce74a3397545e09893b072988b30b6%7C0%7C0%7C638949326829712748%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=%2F%2Fc%2BmSu3HrA%2F2IWn9jqFAo4x2bNR54ABpO0mSZEZ%2FCM%3D&reserved=0<http://openocd.zylin.com/#/c/9021/>

Joao Lima (3):
openocd: bump the openocd, jimtcl versions
openocd: add dmem support to am64xx and j784s4 platforms
openocd: enable dmem and jimtcl

Quoted 7 lines
  ...wd_native.cfg-Add-support-for-direct.patch | 77 +++++++++++++++++++
  ....cfg-Add-support-for-direct-memory-a.patch | 65 ++++++++++++++++
  .../recipes-devtools/openocd/openocd_git.bb<http://openocd_git.bb/>   | 13 +++-
  3 files changed, 151 insertions(+), 4 deletions(-)

create mode 100644 meta-oe/recipes-devtools/openocd/openocd/0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch create mode 100644 meta-oe/recipes-devtools/openocd/openocd/0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch

Thanks for the patchset, Please rebase it on latest master branch or master-next branch and resend. While resending send the whole series together with git send-email *.patch or something so tools like patchwork and lore can record this as a series.

HBK FiberSensing S.A. NIF: 506807312 Registered office: Via José Régio, 256, 4485-860, Vilar do Pinheiro, Portugal. Esta mensagem e eventuais anexos são confidenciais e destinados exclusivamente ao(s) destinatário(s) indicado(s). Se recebeu esta mensagem por engano, por favor notifique o remetente e elimine-a de imediato. É proibida a divulgação, cópia ou utilização não autorizada do seu conteúdo. This message and any attachments are confidential and intended solely for the designated recipient(s). If you have received this message in error, please notify the sender and delete it immediately. Unauthorized disclosure, copying, or use of its contents is prohibited.

--
Best regards,

José Quaresma

HBK FiberSensing S.A. NIF: 506807312 Registered office: Via José Régio, 256, 4485-860, Vilar do Pinheiro, Portugal. Esta mensagem e eventuais anexos são confidenciais e destinados exclusivamente ao(s) destinatário(s) indicado(s). Se recebeu esta mensagem por engano, por favor notifique o remetente e elimine-a de imediato. É proibida a divulgação, cópia ou utilização não autorizada do seu conteúdo. This message and any attachments are confidential and intended solely for the designated recipient(s). If you have received this message in error, please notify the sender and delete it immediately. Unauthorized disclosure, copying, or use of its contents is prohibited.

#5 lore raw

Re: EXTERNAL: Re: [meta-oe][PATCH 0/3] openocd: Add dmem support and update dependencies

In reply to João Lima

If a change is needed in the version in master branch then it goes there first and then back ported to releases

Quoted 106 lines · João Lima

Thanks for the feedback.

I'm currently working on top of:

URI:    https://git.openembedded.org/meta-openembedded
Branch: scarthgap
Commit: e8fd97d86af86cdcc5a6eb3f301cbaf6a2084943

Should I rebase my patch series on top of the latest master (or master-next) branch, even though I'm targeting the scarthgap branch? As this is my first submission to the project, I want to ensure I'm following the correct process.

Thanks for the submission tip.

Cumprimentos */*Kind regards

*João Lima*

Embedded Software Developer, Genesis High Speed

UNRESTRICTED
------------------------------
*From:* Khem Raj <[email protected]>
*Sent:* Wednesday, October 1, 2025 5:22 PM
*To:* Lima, João <[email protected]>; [email protected] < [email protected]>; João Lima < [email protected]>
*Subject:* EXTERNAL: Re: [meta-oe][PATCH 0/3] openocd: Add dmem support and update dependencies

CAUTION! External Email. Do not click links or open attachments unless you recognize the sender and are sure the content is safe.
If you think this is a phishing email, please report it by using the "Phish Alert Report" button in Outlook.

Quoted 11 lines · João

From: Joao Lima <[email protected]>

This patch series updates OpenOCD to support direct memory access (dmem) via SWD emulation for Texas Instruments AM64x and J784s4 platforms.

Changes include:
1. Version bumps:
- openocd: 91bd431 -> 66ea461
- jimtcl: fcbb449 -> f160866
- libjaylink: 9aa7a59 -> 0d23921

Quoted 3 lines

2. Platform support patches:
- Add SWD native configuration files for AM64x and J784s4 boards
- Configure DMEM access parameters in ti_k3.cfg for direct memory

operations

Quoted 8 lines

- Set up DAPBUS debugger and emulated AP descriptions

3. Build configuration:
- Enable dmem adapter driver (--enable-dmem)
- Enable internal jimtcl (--enable-internal-jimtcl)
- Add both features to default PACKAGECONFIG

This enables self-hosted debug configurations where OpenOCD runs on one

of

Quoted 4 lines

the CPUs inside the SoC.

Upstream-Status: Submitted
-

https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenocd.zylin.com%2F%23%2Fc%2F9020%2F&data=05%7C02%7Cjoao.lima%40hbkworld.com%7C0be1393f749b4b3a254d08de0106cb07%7C6cce74a3397545e09893b072988b30b6%7C0%7C0%7C638949326829662188%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=mr0knEMNTixqKo20WB6sAP3w0Os3PC%2FHaEMGG%2F3SDjw%3D&reserved=0
<http://openocd.zylin.com/#/c/9020/>

Quoted 1 line

-

https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenocd.zylin.com%2F%23%2Fc%2F9021%2F&data=05%7C02%7Cjoao.lima%40hbkworld.com%7C0be1393f749b4b3a254d08de0106cb07%7C6cce74a3397545e09893b072988b30b6%7C0%7C0%7C638949326829712748%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=%2F%2Fc%2BmSu3HrA%2F2IWn9jqFAo4x2bNR54ABpO0mSZEZ%2FCM%3D&reserved=0
<http://openocd.zylin.com/#/c/9021/>

Quoted 11 lines

Joao Lima (3):
openocd: bump the openocd, jimtcl versions
openocd: add dmem support to am64xx and j784s4 platforms
openocd: enable dmem and jimtcl

  ...wd_native.cfg-Add-support-for-direct.patch | 77 +++++++++++++++++++
  ....cfg-Add-support-for-direct-memory-a.patch | 65 ++++++++++++++++
  .../recipes-devtools/openocd/openocd_git.bb   | 13 +++-
  3 files changed, 151 insertions(+), 4 deletions(-)

create mode 100644

meta-oe/recipes-devtools/openocd/openocd/0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch

Quoted 1 line

create mode 100644

meta-oe/recipes-devtools/openocd/openocd/0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch

Quoted 1 line

Thanks for the patchset, Please rebase it on latest master branch or master-next branch and resend. While resending send the whole series together with git send-email *.patch or something so tools like patchwork and lore can record this as a series.

HBK FiberSensing S.A. NIF: 506807312 Registered office: Via José Régio, 256, 4485-860, Vilar do Pinheiro, Portugal
<https://www.google.com/maps/search/Via+Jos%C3%A9+R%C3%A9gio,+256,+4485-860,+Vilar+do+Pinheiro,+Portugal?entry=gmail&source=g>.
Esta mensagem e eventuais anexos são confidenciais e destinados exclusivamente ao(s) destinatário(s) indicado(s). Se recebeu esta mensagem por engano, por favor notifique o remetente e elimine-a de imediato. É proibida a divulgação, cópia ou utilização não autorizada do seu conteúdo. This message and any attachments are confidential and intended solely for the designated recipient(s). If you have received this message in error, please notify the sender and delete it immediately. Unauthorized disclosure, copying, or use of its contents is prohibited.