From patchwork Wed Oct 1 08:54:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TGltYSwgSm/Do28=?= X-Patchwork-Id: 71337 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F793CCA476 for ; Wed, 1 Oct 2025 09:36:11 +0000 (UTC) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by mx.groups.io with SMTP id smtpd.web11.12523.1759309362619836258 for ; Wed, 01 Oct 2025 02:02:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aPXMEr6u; spf=pass (domain: gmail.com, ip: 209.85.208.44, mailfrom: joao.raul.434@gmail.com) Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-62fca216e4aso1887949a12.0 for ; Wed, 01 Oct 2025 02:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759309361; x=1759914161; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=COkvJxOZBBMleoDVDJEs4xIzoIx0N8zpbzaAIKB77fY=; b=aPXMEr6uxg49B169BqJCFhdevSHs0tXvf+nvYjol05MDvl6DWMkH66NTUE4hv9fQ3z 2lVzKFO41iyvk1P5vSuwVq9UTnDVUv9v1eqSqau4V7VIo/OW2ZIqCEVylNYAQZ+TCmrw 8wfVhAVtM//4BxZkQPq95/RfWztj4OCO0W6TUUw4crS1/8GYijHrfQBJvTNnuuC1Qs1e Pi+LeaVs3rgnjJZGEz2NlNHL4OcpPguE/GzFfhIa1iDky73O3s2/BKTXqC58yiZT8d68 gzHEDwINKgOuB1YQ6fVmzDG6fHUvygyxmiUxym9u7XkKt75/GLuj5VsnP6UJq/DRt1IC vlIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759309361; x=1759914161; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=COkvJxOZBBMleoDVDJEs4xIzoIx0N8zpbzaAIKB77fY=; b=GcdBIA3Ur6abqtyztL1NrMm6OGLNdUmM0PXFRyL//Og3lI0nZdXG5gDwv/Pdqe4eq6 ZZTBJAVz362yuT/p/umNK/E5pgjIheLue++GI/3Gr41dxo6OK6ZHwVr06tJ1Nej9o3MG 2IqvOZLSynEBxqTuZUTznKCYPxJBnG7bPIKyi1ixx8J0hcTCUSnXLWu/3R4ehlGjuqc0 e64MsGoAZ6BQzF6DfebswPs13oXdme5CyTA/LSSv4BCngKsSg/uD4XrDh4fXlLBlgPMK UYg9C6/m6qXQ5U4yYWqwwIpCtCgsUyVxxLmVUcOKueccSYiu0iFqkFUrc6ZhsMwIajiw 3cyg== X-Forwarded-Encrypted: i=1; AJvYcCV2pNWXLdwOJudD/N9KAPxsqBO4fDppp9RtfzF+Rt/ix50QPSrvjgFqvGm+oITpR4Cml5iQI8rQNQuaF2lfZzcOToM=@lists.openembedded.org X-Gm-Message-State: AOJu0YxVyhJVk/udSpLSVbhk0B6j1q9urtbGPhfVttQi1CSoIvYuN037 bqTpSxnr34CWBIsJ8Of5RZWBLTWAiE/QAMmNSYkcfkHNFadC+MMGldlRPgD4v5ZZ X-Gm-Gg: ASbGnctBBC8h9Ga9/0vmrftk7NmEPkDGsz4/QC3nhv6hm6Myqrng7lV8nj5XUjnuzcv 0fOEbHKtZIQciR6lgRoGbR+lbFDdoc7xeJI3FMkYaTRe1FWtY7y5EkhiGLW5uzCgOp71OjOIEiR Kkoe/KG9mrXChYU6NzYrW8h8+Mv86Fce+uWsMBohG9SzL2Vtz+WKFbi7E3dzfVPzH3Xy2Z0ZB7+ EiEgmQxCEAiMCcwPzrSf9uRVhzZ/nin8rgI0Y7B8NxrWnQ0NM5wxVX2ed2T14OGK0rjdQOwhnfG T2rh3Gc835m4AEGi1MUmhashc0jAd9pDwX9TB1EAaTu/CDaz1Ar6psfwhgm109ZjpWKx7cNRy/9 CAkOHok/jbpuUK4WNT1ARRDClPSVOme0rGkPa0fNkfXlWtD5OMC1lBfdO8NMnEOzCBUW5/8rZ2M rUomD9Q7xb3BxNLyku0WFn4P3W+6BsphtGs2UXIzQWoY+ucQqsunve+bPa X-Google-Smtp-Source: AGHT+IHn8MN7aHPzUri7HQ5PYcVDWMJkL3ACnJ8DWvVuuwFwY2+WGsq0gsSIdcO9gAFpRIffCnG/og== X-Received: by 2002:a05:6000:4387:b0:3e9:b208:f2f1 with SMTP id ffacd0b85a97d-425577b39fcmr2064735f8f.29.1759308879223; Wed, 01 Oct 2025 01:54:39 -0700 (PDT) Received: from RD-8dhlsmLpT3bz.corp.hbkworld.com (89-181-200-223.net.novis.pt. [89.181.200.223]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-40fc5603161sm26546095f8f.35.2025.10.01.01.54.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Oct 2025 01:54:38 -0700 (PDT) From: " =?utf-8?b?TGltYSwgSm/Do28=?= " X-Google-Original-From: =?utf-8?b?TGltYSwgSm/Do28=?= To: randy.macleod@windriver.com, tgamblin@baylibre.com, joao.lima@hbkworld.com, openembedded-devel@lists.openembedded.org Cc: raj.khem@gmail.com Subject: [meta-oe][PATCH 1/3] openocd: bump the openocd, jimtcl versions Date: Wed, 1 Oct 2025 09:54:33 +0100 Message-ID: <20251001085435.117-1-joao.lima@hbkworld.com> X-Mailer: git-send-email 2.51.0.windows.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Oct 2025 09:36:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120100 From: Joao Lima Version bumps: - openocd: 91bd431 -> 66ea461 - jimtcl: fcbb449 -> f160866 - libjaylink: 9aa7a59 -> 0d23921 Signed-off-by: Joao Lima --- meta-oe/recipes-devtools/openocd/openocd_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb index 559fe29ff8..2c07273940 100644 --- a/meta-oe/recipes-devtools/openocd/openocd_git.bb +++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb @@ -12,10 +12,10 @@ SRC_URI = " \ " SRCREV_FORMAT = "openocd" -SRCREV_openocd = "91bd4313444c5a949ce49d88ab487608df7d6c37" +SRCREV_openocd = "66ea461846a3a4a96687c9287c3f61ae8ce0b775" SRCREV_git2cl = "8373c9f74993e218a08819cbcdbab3f3564bbeba" -SRCREV_jimtcl = "fcbb4499a6b46ef69e7a95da53e30796e20817f0" -SRCREV_libjaylink = "9aa7a5957c07bb6e862fc1a6d3153d109c7407e4" +SRCREV_jimtcl = "f160866171457474f7c4d6ccda70f9b77524407e" +SRCREV_libjaylink = "0d23921a05d5d427332a142d154c213d0c306eb1" PV = "0.12+git" S = "${WORKDIR}/git" From patchwork Wed Oct 1 08:56:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TGltYSwgSm/Do28=?= X-Patchwork-Id: 71335 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05998CCA471 for ; Wed, 1 Oct 2025 09:36:11 +0000 (UTC) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.web11.12424.1759309000013964971 for ; Wed, 01 Oct 2025 01:56:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Rywg+dWO; spf=pass (domain: gmail.com, ip: 209.85.221.48, mailfrom: joao.raul.434@gmail.com) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-3fa528f127fso615549f8f.1 for ; Wed, 01 Oct 2025 01:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759308998; x=1759913798; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=GnR/9GLFCMdQv1cUqzM4QFVhxyHwZKCQZ7byKLM7E90=; b=Rywg+dWOyD6uTP9mlTXuVRfzbyc2UOeSmE4ZPWnfl0f/+E0Qk2XCR/v1oI79NUgjdq s7+3etKKcX32I8CSjwnlq6mk7WwTvlj8KEdEXr6lCptvjbehsJi7PycQmVjCrWyt8ztV B3cjDlGZT2+wXNAl0OUm+OBFFPWYCUgoYclAXtntJ9fMIro2fw/xRP6r6ASyDdVl2x/D K4Qm+RNY4zC8VtdfTOgktvVgRDp6k45rgRjIhMF8ol/iRXvfPAfpO998e18jGR//gQSM miWITO4EotyTfMVvhz8PU6kfSiFbqRSnFI6bDYXX5rpRCpOp61bnZNS+qsf6bq2XTOPq oiPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759308998; x=1759913798; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GnR/9GLFCMdQv1cUqzM4QFVhxyHwZKCQZ7byKLM7E90=; b=TyI9q/fCDmk5lmNGHN2mqMIAlQhnE+v7gVumvgiRZOFIYqlsizxalLr//6Q4A2pQun Awss4h085hFwfZMv1r1xi8gtoc28olC7kE/v+p4q2TYnml4qx/WnyRTiYbjwZa0B7BCM HFXsUOUc5qWejBhLaAF0mSWADzsroffsW2TUI3311mivO+9v1YC1frkjCusNPYy7hIlb HVrXbiAfbKuI/VHkxHGU67+v5mCXXHaQtr8iHJEBrRHfxaOtc2ODbO+O3mBEgtmn6fAx XiYFHSqq+QNtGvtNGfzC4k2Sfh+YNHDy/uy3lAonRMAVokypmx99EvISg1QwO5D83a8O MBcg== X-Forwarded-Encrypted: i=1; AJvYcCUhLRDYKLSiXhnG7jVQNhvpV4bogSpRuNXajeAJV/oVaWKviV3FUCx9LrECCnl4nAFrbGhRAVPihZnnX6mSQUONC3c=@lists.openembedded.org X-Gm-Message-State: AOJu0Yx/A7n+wr8BZvKlJPaIVpu09v8oC3srBENQkpeetCBxOg6KeAjD iDFCT/sgjijfgMoxHHIjuUez2zQAruR3P62LciPvzoQrOd1yY4tVUIYV X-Gm-Gg: ASbGnctF5nQYoS8S1j9XfcCp3ZutSgDZvcrPt+kpKr1xWY9GVRQmSeX45XRw0pW4pPc GkHPxO4b8h+cbRUxGtRuZY1XoX0yv0lL2nRr3g7HRetTh85PEiGm+SqmpaOEWH9hp7WI2voZHnu +OgXiU12hoRi+EkOTP3OKUcqYVR0Ul0ytVvbYkKjBqSR5Q7Yzr4DLXM9Iq9QK/AYss0HEdfK37I dRFhKTZU7eGlkOyQ5gDJdNn8SCPp9XVfPzRBGl1GzOQO8CYzXH3Zk9QV9JoA5oypKFWCyKTsTjT /XiPhaQRhH1yw5JqNrvT9+GpmJp9S1A0QN/hvFQEOPz5QEZBZK1Q7idi7qN804hYsZBCbdMQuOk njej4Sk6a5o+l3+OBYYZOGvqtqfR5HTYN9e6uSlxoXNPFfLCDl1otDyhlK3y4Ydy8ezxKlGjSd+ iI3pio8sl0cNXDfLBpDB8bjbl40/wk4ZJ1Luml297mcNaqpA== X-Google-Smtp-Source: AGHT+IFs/iBRzov09L7Zf3fpCWSrfTX6kGLFAAOS2RUmSInQOjRbESa2A05aoW6x6Iif+EIvFzkL5Q== X-Received: by 2002:a05:6000:2203:b0:414:fb6c:e36f with SMTP id ffacd0b85a97d-4240c451990mr6221023f8f.0.1759308998225; Wed, 01 Oct 2025 01:56:38 -0700 (PDT) Received: from RD-8dhlsmLpT3bz.corp.hbkworld.com (89-181-200-223.net.novis.pt. [89.181.200.223]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-46e5b63b407sm33091645e9.2.2025.10.01.01.56.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Oct 2025 01:56:37 -0700 (PDT) From: " =?utf-8?b?TGltYSwgSm/Do28=?= " X-Google-Original-From: =?utf-8?b?TGltYSwgSm/Do28=?= To: ivitro@gmail.com, openembedded-devel@lists.openembedded.org Cc: Joao Lima , raj.khem@gmail.com Subject: [meta-oe][PATCH 2/3] openocd: add dmem support to am64xx and j784s4 platforms Date: Wed, 1 Oct 2025 09:56:33 +0100 Message-ID: <20251001085634.1806-1-joao.lima@hbkworld.com> X-Mailer: git-send-email 2.51.0.windows.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Oct 2025 09:36:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120095 From: Joao Lima 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 Signed-off-by: Joao Lima --- ...wd_native.cfg-Add-support-for-direct.patch | 77 +++++++++++++++++++ ....cfg-Add-support-for-direct-memory-a.patch | 65 ++++++++++++++++ .../recipes-devtools/openocd/openocd_git.bb | 2 + 3 files changed, 144 insertions(+) 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 diff --git a/meta-oe/recipes-devtools/openocd/openocd/0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch b/meta-oe/recipes-devtools/openocd/openocd/0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch new file mode 100644 index 0000000000..8a3b72321f --- /dev/null +++ b/meta-oe/recipes-devtools/openocd/openocd/0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch @@ -0,0 +1,77 @@ +From 5c55d79ecfecc4a1b5a5ebcf649227ca1e1bf38e Mon Sep 17 00:00:00 2001 +From: Joao Lima +Date: Tue, 30 Sep 2025 12:13:04 +0000 +Subject: [PATCH 1/2] tcl/board/ti_*_swd_native.cfg: Add support for direct + memory access via SW + +Add support for SWD emulation as a transport method for +direct memory operations of boards TI AM64x and TI J784s4 + +Upstream-Status: Submitted [http://openocd.zylin.com/#/c/9020/] + +Change-Id: I17fe9b2bef5c58886625bfdb88d92645ba4d7da7 +Signed-off-by: Joao Lima +--- + tcl/board/ti_am64xx_swd_native.cfg | 23 +++++++++++++++++++++++ + tcl/board/ti_j784s4_swd_native.cfg | 22 ++++++++++++++++++++++ + 2 files changed, 45 insertions(+) + create mode 100644 tcl/board/ti_am64xx_swd_native.cfg + create mode 100644 tcl/board/ti_j784s4_swd_native.cfg + +diff --git a/tcl/board/ti_am64xx_swd_native.cfg b/tcl/board/ti_am64xx_swd_native.cfg +new file mode 100644 +index 000000000..d3727149e +--- /dev/null ++++ b/tcl/board/ti_am64xx_swd_native.cfg +@@ -0,0 +1,23 @@ ++# SPDX-License-Identifier: GPL-2.0-or-later ++# Copyright (C) 2022-2023 Texas Instruments Incorporated - http://www.ti.com/ ++# ++# Texas Instruments am642 ++# Link: https://www.ti.com/product/AM642 ++# ++# This configuration file is used as a self hosted debug configuration that ++# works on every AM642 platform based on firewall configuration permitted ++# in the system. ++# ++# In this system openOCD runs on one of the CPUs inside AM625 and provides ++# network ports that can then be used to debug the microcontrollers on the ++# SoC - either self hosted IDE OR remotely. ++ ++# We are using dmem, which uses dapdirect_swd transport ++adapter driver dmem ++transport select swd ++ ++if { ![info exists SOC] } { ++ set SOC am642 ++} ++ ++source [find target/ti_k3.cfg] +diff --git a/tcl/board/ti_j784s4_swd_native.cfg b/tcl/board/ti_j784s4_swd_native.cfg +new file mode 100644 +index 000000000..13b2ac3b8 +--- /dev/null ++++ b/tcl/board/ti_j784s4_swd_native.cfg +@@ -0,0 +1,22 @@ ++# SPDX-License-Identifier: GPL-2.0-or-later ++# Copyright (C) 2022-2023 Texas Instruments Incorporated - http://www.ti.com/ ++# ++# Texas Instruments TDA4VM/J721E ++# Link: https://www.ti.com/product/TDA4VM ++# ++# This configuration file is used as a self hosted debug configuration that ++# works on every TDA4VM platform based on firewall configuration permitted ++# in the system. ++# ++# In this system openOCD runs on one of the CPUs inside TDA4VM and provides ++# network ports that can then be used to debug the microcontrollers on the ++# SoC - either self hosted IDE OR remotely. ++ ++# We are using dmem, which uses dapdirect_swd transport ++adapter driver dmem ++transport select swd ++ ++if { ![info exists SOC] } { ++ set SOC j784s4 ++} ++source [find target/ti_k3.cfg] diff --git a/meta-oe/recipes-devtools/openocd/openocd/0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch b/meta-oe/recipes-devtools/openocd/openocd/0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch new file mode 100644 index 0000000000..c879696ef5 --- /dev/null +++ b/meta-oe/recipes-devtools/openocd/openocd/0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch @@ -0,0 +1,65 @@ +From 39bc4461642eaaf993d0a6cf772d51cdde8c0ae8 Mon Sep 17 00:00:00 2001 +From: Joao Lima +Date: Tue, 30 Sep 2025 12:13:30 +0000 +Subject: [PATCH 2/2] tcl/target/ti_k3.cfg: Add support for direct memory + access via SWD + +Adds support for direct memory access via SWD emulation for AM64x and +J784s4 boards, configuring addresses and parameters required for +direct memory operations. + +Upstream-Status: Submitted [http://openocd.zylin.com/#/c/9021/] + +Change-Id: Iebc16612b3990b2ef19ddc4143b66ab1bcbfe0f3 +Signed-off-by: Joao Lima +--- + tcl/target/ti_k3.cfg | 22 +++++++++++++++++++++- + 1 file changed, 21 insertions(+), 1 deletion(-) + +diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg +index 0dee74e5e..6b0ac2e52 100644 +--- a/tcl/target/ti_k3.cfg ++++ b/tcl/target/ti_k3.cfg +@@ -176,6 +176,16 @@ switch $_soc { + # Uses the same JTAG ID + set _armv8_cores 0 + } ++ ++ # Setup DMEM access descriptions ++ # DAPBUS (Debugger) description ++ set _dmem_base_address 0x740002000 ++ set _dmem_ap_address_offset 0x100 ++ set _dmem_max_aps 10 ++ # Emulated AP description ++ set _dmem_emu_base_address 0x760000000 ++ set _dmem_emu_base_address_map_to 0x1d500000 ++ set _dmem_emu_ap_list 1 + } + am625 { + set _K3_DAP_TAPID 0x0bb7e02f +@@ -333,7 +343,7 @@ switch $_soc { + set ARMV8_CTIBASE {0x90420000 0x90520000 0x90620000 0x90720000 + 0x90820000 0x90920000 0x90a20000 0x90b20000} + +- # J721s2 has 4 clusters of 2 R5 cores each. ++ # J784s4 has 4 clusters of 2 R5 cores each. + set _r5_cores 8 + set R5_DBGBASE {0x9d010000 0x9d012000 + 0x9d410000 0x9d412000 +@@ -348,6 +358,16 @@ switch $_soc { + main1_r5.0 main1_r5.1 + main2_r5.0 main2_r5.1} + ++ # Setup DMEM access descriptions ++ # DAPBUS (Debugger) description ++ set _dmem_base_address 0x4c40002000 ++ set _dmem_ap_address_offset 0x100 ++ set _dmem_max_aps 8 ++ # Emulated AP description ++ set _dmem_emu_base_address 0x4c60000000 ++ set _dmem_emu_base_address_map_to 0x1d600000 ++ set _dmem_emu_ap_list 1 ++ + # sysctrl CTI base + set CM3_CTIBASE {0x20001000} + # Sysctrl power-ap unlock offsets diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb index 2c07273940..846d2f62c5 100644 --- a/meta-oe/recipes-devtools/openocd/openocd_git.bb +++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb @@ -9,6 +9,8 @@ SRC_URI = " \ git://repo.or.cz/r/git2cl.git;protocol=http;destsuffix=tools/git2cl;name=git2cl;branch=master \ git://github.com/msteveb/jimtcl.git;protocol=https;destsuffix=git/jimtcl;name=jimtcl;branch=master \ git://repo.or.cz/r/libjaylink.git;protocol=http;destsuffix=git/src/jtag/drivers/libjaylink;name=libjaylink;branch=master \ + file://0001-tcl-board-ti_-_swd_native.cfg-Add-support-for-direct.patch \ + file://0002-tcl-target-ti_k3.cfg-Add-support-for-direct-memory-a.patch \ " SRCREV_FORMAT = "openocd" From patchwork Wed Oct 1 08:56:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TGltYSwgSm/Do28=?= X-Patchwork-Id: 71334 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04858CCA470 for ; Wed, 1 Oct 2025 09:36:11 +0000 (UTC) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mx.groups.io with SMTP id smtpd.web10.12365.1759308982103288537 for ; Wed, 01 Oct 2025 01:56:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J3QaR/Kz; spf=pass (domain: gmail.com, ip: 209.85.128.46, mailfrom: joao.raul.434@gmail.com) Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-46e37d6c21eso47289995e9.0 for ; Wed, 01 Oct 2025 01:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759308980; x=1759913780; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cUVIxDaxSVLEuZHiy7XE0DLCXKR28V1M/C7syxjPOGw=; b=J3QaR/Kzjjai9NCTb82NdI04n+UlIVWwf/wkSpyhzgegsRlRd7x0/nsnBz27QeujP1 vGrzDUrIVld++KgvwYSYGBl3zelt0pgIlEBi3NXkXXyCUFbUbTk2g7OeU1nXZJCRjIi9 cznvEyqxKrDtuWa4cKtlkbjv1VM7p0n5n81av3bXwhTixCvfCzV+iV0bt2SYlTqFqTGB H7hIG6PUj42fSDjUGXrnyhq9IOIPyKvAWom6O3/Ho5NuZh8RnqVbwwLPaxg/G6G1K3KU 7snZke+8PY4gLWCtU6tYzWpZdjevnetiqhgawdLCYkzna6xRjMs7zRId8Z0LbfIUCK51 O8xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759308980; x=1759913780; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cUVIxDaxSVLEuZHiy7XE0DLCXKR28V1M/C7syxjPOGw=; b=Ue6mmmFtiFOJJzko/0IpvD3qGXK7iPrsmxWkCYFq4HEGUsNKmdSE7ngJtstvKC0ihH RRy+hPfK7pJBTawDeLNJPI7D3LOM9xLi4sHjH9armaHBYbrrdTuB7bNLkD+PnCZw5WQ4 duSSPJ8j6OZBI1eg4QsMdCmC/yFdmP71epTDlmKgcnVgEn6WNVjo4ON+ihFmjqpckMKF 8it159ZAOkMv1UXBFpfFOsi0Ohv7cY8FLm5diHEKtTDdsUmF75IEgPlRxaYm3pCmAPt8 x/wbD5sfStwY9p9Kt4dzguO0DNqjKJrskBmEMsk/uV09QVbxSTpPehEaVJqgmTYxrZmS xn3A== X-Forwarded-Encrypted: i=1; AJvYcCUhOJm99AerFNJ8wmsVOkENs/8oeCEF3G/gJh3TGTEwL6TGb+9GgdQ5GQFg/Yum63jdc97QLH9fjQzpli876jyE7DI=@lists.openembedded.org X-Gm-Message-State: AOJu0Yz35t3mGuqb+LDGkc0CiTN88nlOYa7W/So24dFYql2wmPrQZx/F ikuYBqGxKghClLeFdrKH9F+JyWIr55EdBDh84KRMSm0mikS+UeeQVG38/lMD63jG X-Gm-Gg: ASbGncvcztTnu5c9ZM+61f1ljcvWoXXLiRP6p61SpcESUMKBDieSvUHNhtbeyS+GjXv lJnKOfiUvvoOaZ7iJADhAH9I1NioP8THLXl48WHHpY2RXK5GIOFHLfxTCtXsYNFCMGnCw7uNTZ3 TySsaF0hecUlQR7/BCqutVjsX9qBGnKljoYP+Penp3U6I2AfotU+cwYBtoC7bHvusFEd5IO9NcP tcEe739DrpPl+Um/0HotPxjhaSHafZcdVQSMGa2S2mmKCCSTl1/UlXPax38TMONDHI7GBCDjit/ PgPA8kvhbtZOb1um4AtaJucShutpFXIsluPJFZStoV3tIUwmAJaPlTqpB/6b4VDjmhanyWHPhsF +hRPJ/9O4Goy2xDrXO0fs0yGQrF4e29kyfBh496HaKn0F0ZorSZIppevGaLeUGmyJ3uBsYjywJp tXpY2aMqhCcCUoAS06q2FhSLyzEQjRXpd88LLaGFXaO4PubQ== X-Google-Smtp-Source: AGHT+IFwucxQQ4xF231CEaJOQrIcW8cZPj7/rHtrt0ZFkMB8O+MVGAXKIYlhCnAzYXFJA6oZ/LzHzQ== X-Received: by 2002:a05:600c:4e53:b0:46e:3dcb:d9a3 with SMTP id 5b1f17b1804b1-46e6127dfb8mr24183705e9.12.1759308980454; Wed, 01 Oct 2025 01:56:20 -0700 (PDT) Received: from RD-8dhlsmLpT3bz.corp.hbkworld.com (89-181-200-223.net.novis.pt. [89.181.200.223]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-46e61a25dbcsm30033185e9.19.2025.10.01.01.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Oct 2025 01:56:20 -0700 (PDT) From: " =?utf-8?b?TGltYSwgSm/Do28=?= " X-Google-Original-From: =?utf-8?b?TGltYSwgSm/Do28=?= To: ivitro@gmail.com, openembedded-devel@lists.openembedded.org Cc: Joao Lima , raj.khem@gmail.com Subject: [meta-oe][PATCH 3/3] openocd: enable dmem and jimtcl Date: Wed, 1 Oct 2025 09:56:13 +0100 Message-ID: <20251001085614.1634-1-joao.lima@hbkworld.com> X-Mailer: git-send-email 2.51.0.windows.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Oct 2025 09:36:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120094 From: Joao Lima Build configuration: - Enable dmem adapter driver (--enable-dmem) - Enable internal jimtcl (--enable-internal-jimtcl) - Add both features to default PACKAGECONFIG Signed-off-by: Joao Lima --- meta-oe/recipes-devtools/openocd/openocd_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb index 846d2f62c5..b39ca5c244 100644 --- a/meta-oe/recipes-devtools/openocd/openocd_git.bb +++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb @@ -55,7 +55,10 @@ FILES:${PN} = " \ PACKAGECONFIG[sysfsgpio] = "--enable-sysfsgpio,--disable-sysfsgpio" PACKAGECONFIG[remote-bitbang] = "--enable-remote-bitbang,--disable-remote-bitbang" -PACKAGECONFIG ??= "sysfsgpio remote-bitbang" +PACKAGECONFIG[dmem] = "--enable-dmem" +PACKAGECONFIG[jimtcl] = "--enable-internal-jimtcl" + +PACKAGECONFIG ??= "sysfsgpio remote-bitbang dmem jimtcl" # Can't be built with ccache CCACHE_DISABLE = "1"