| Message ID | 20251001130452.542-1-joao.lima@hbkworld.com |
|---|---|
| Headers | show |
| Series | openocd: Add dmem support and update dependencies | expand |
On 10/1/25 6:04 AM, Lima, João wrote: > From: Joao Lima <joao.lima@hbkworld.com> > > 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 > 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.
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
Hi João João Lima via lists.openembedded.org <joao.lima= hbkworld.com@lists.openembedded.org> 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 <raj.khem@gmail.com> > *Sent:* Wednesday, October 1, 2025 5:22 PM > *To:* Lima, João <joao.raul.434@gmail.com>; > openembedded-devel@lists.openembedded.org < > openembedded-devel@lists.openembedded.org>; João Lima < > joao.lima@hbkworld.com> > *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. > > On 10/1/25 6:04 AM, Lima, João wrote: > > From: Joao Lima <joao.lima@hbkworld.com> > > > > 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 > > > > ...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. > > -=-=-=-=-=-=-=-=-=-=-=- > 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: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ > quaresma.jose@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
If a change is needed in the version in master branch then it goes there first and then back ported to releases On Thu, Oct 2, 2025 at 12:17 AM João Lima <joao.lima@hbkworld.com> wrote: > 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 <raj.khem@gmail.com> > *Sent:* Wednesday, October 1, 2025 5:22 PM > *To:* Lima, João <joao.raul.434@gmail.com>; > openembedded-devel@lists.openembedded.org < > openembedded-devel@lists.openembedded.org>; João Lima < > joao.lima@hbkworld.com> > *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. > > On 10/1/25 6:04 AM, Lima, João wrote: > > From: Joao Lima <joao.lima@hbkworld.com> > > > > 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 > > > > ...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 > <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. >
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: Joao Lima <joao.lima@hbkworld.com> 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