From patchwork Wed Oct 1 13:01:08 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: 71349 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 5675BCAC5BB for ; Wed, 1 Oct 2025 13:03:12 +0000 (UTC) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mx.groups.io with SMTP id smtpd.web11.17049.1759323678398628033 for ; Wed, 01 Oct 2025 06:01:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m254p6dU; spf=pass (domain: gmail.com, ip: 209.85.128.44, mailfrom: joao.raul.434@gmail.com) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-46e42fa08e4so46322635e9.3 for ; Wed, 01 Oct 2025 06:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759323677; x=1759928477; 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=m254p6dUbsXELQIdhVbAebeuxC1kZAptekZ5X0/P3hTCE8NJnK4in6irn6rJJm657/ Zoej4CuIPrmLVeIN+XZ1qLY/rBCEcGYl/tcskgciNcMC3ML3JN4gwqBMdlWbgvpnM+2b qLEAQGVQD2XTtuRH7wlixaEFOmUeYIoIm2pOqYFYTdcwy1xyYWj+l5Tu6MI8EiU4lKuU xcsoJMseYanoAGmyY+MbP3UI0o43AEmhYSe8dabZ6hQdWC9eDJLLDL+aWucOyieqIOP2 RVvrVT3BJ+s3b4oHRjSYzBXeF7uRGH7S0sC0fKWnM6lee27H2Qm80kKzELn2MulIdvgA +NGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759323677; x=1759928477; 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=WEGkKsx7bcAF7VgPTtsFMskcukvRpV0dyl8r3LxF730Edk0Y7179dKenn7Vs2kPQaL nBT+Ddl2QXSErFqXglZOjwGPEs1mqiBI8aMYS723G7Yk6qzOxV6doBKncdfYQ0E+e5dj 8pR14amSGDtuZApaVxUOGaVZcoJmx+qlAtJhjlNy5d2RZcm7gGlMqsZqQ521YBFSy/ZS TCLvBzkPLzCuztrZSabx7nAriM+oXVwLaq5+CWoy532svUFXnhu84m8hwmQO/jwsEx4Y j8cxal3RNNMzpURHYovqHjoAeqAaoMGtA8w5wUty1KoAuENnw6GdJZjHScNcLvxZYUQr uWqQ== X-Forwarded-Encrypted: i=1; AJvYcCW7lPLKOXYMEeil1mOL0qbPmTGoJc9wYXyAf8+Oi7ucxk9eVEZSpp7rAz3+XTo9AlFZNOpprDDM1e4+rf5cJ5e46XQ=@lists.openembedded.org X-Gm-Message-State: AOJu0YyBVFgwmBDuId/3p3SKNve1zQ4RvrLhlN94NLZmTzE1LywXB8c2 OaGZu3okVxZ4/cW2+0XUMZEYT4fAqbVEWjnU40x7LI6VeAcb3CMUJplt X-Gm-Gg: ASbGnctRZJvyOWF6sUJvP2S4BrgpKcoh7E5WEHAuYA9XfVIQ+igVW9hBr64y5iChBpB A4uEhL3Po1KKZNCvI+z0/TUsyyfzRlTcwkRqf/N93WJGI30LNN1NIbbbjEh8RrMB2MQzntXD1QT NMPF2Sw8ni3mJjOmfMDznhNL71sUHso38RB1kovC7InI8R4EVYTRfBOCsltpkzngAJCr4WPOXRC dMyjtDZzx4kK+lTQSMHgFl7OosCzfI/h4V939fS/pzhY5I+8VFXSwdu6va9TZv2flxhOqMDhC0x CAliA7B7bgKtb93u4PS4YBuMc1oZe5a33z+FpeKNGzs0N2Kq1BHb/F8dUdiZCuJ7ccp4RxFqUIn PwUm4L1rLXd5vVN1zMMFQEY79XDL9jB/xcKLWGhcgs++Tn5lVtx+VupvQYFM3ON/jLtMX6lvmXi KCnQHHx1x9PxdKySwtG6iFxoZQ/B8haz9zl9D0xW/bN2qssg== X-Google-Smtp-Source: AGHT+IEaVY/FvNv+gd/5MP9u36fHMTDt2JZ3Y65MQu78PG2ZcN9z3EkikNr6xI35dOIYbpiiGYicxg== X-Received: by 2002:a05:6000:288d:b0:3e9:a1cb:ea93 with SMTP id ffacd0b85a97d-425577f35d2mr2538886f8f.21.1759323676334; Wed, 01 Oct 2025 06:01:16 -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-40fb72fbb27sm26660994f8f.4.2025.10.01.06.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Oct 2025 06:01:15 -0700 (PDT) From: " =?utf-8?b?TGltYSwgSm/Do28=?= " X-Google-Original-From: =?utf-8?b?TGltYSwgSm/Do28=?= To: 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 14:01:08 +0100 Message-ID: <20251001130108.78-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 13:03:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120104 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 13:01:29 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: 71351 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 5AC37CCA470 for ; Wed, 1 Oct 2025 13:03:12 +0000 (UTC) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mx.groups.io with SMTP id smtpd.web11.17053.1759323698248670013 for ; Wed, 01 Oct 2025 06:01:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=h1IQ1LfA; spf=pass (domain: gmail.com, ip: 209.85.128.53, mailfrom: joao.raul.434@gmail.com) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-46e2e363118so69042775e9.0 for ; Wed, 01 Oct 2025 06:01:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759323697; x=1759928497; 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=h1IQ1LfAZi3oQHIGiZTWdO0c2UbPackDfw3OrpLgUMfSSlBxvUfbE7ypdpPU2ieQ9S dfUjrvw3HodxtFDwNyzA0OQQIBHXii51SySMoAJoqHsZBXR0QmqgkinNO73UhGdlTu6d zuzDGggf6eP0TBi6x/E57pVfrXw9BgkWfoy02PtRqzi5yl8Kna937mS18wsFwDhbci3l N9cfZdMxfUz1/M6NmTTqX8qIIIADXllhLpN5+xPqQFBYqurz3LT65RejxyvAxRmN8FHa P/PKpmpYM4vZ8QgWFgPKVOvKRqrJiluFkjNFQojxwAdC6wQ0iKeu/259xJpb/wVch+tB O6lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759323697; x=1759928497; 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=BaUeq3QKL9FlnqNKTVDUvXHKnISP4mQtoMF5P+dOk/x9dYFBAWU0qweT6Nn/jyzEJT cDDU+9TX2cbtJv3Vy26B4kHG60veEzAdbQ7yGpuKx0nxvf5U8JUG7+kxamrpHMBZeSnP h+Dee3ggPUclxQx7Vj8jIxH0lxTWZSsjrQuGQmm/+7mQnSYefJDb0bU60pPAEQm6YZQ4 KZed+B73isS0Ec/9DbKnhiwzMiJ/xMgGVQMhWpcHP57s8Cp4yRi90NRPkDvuU2E29JAR WTJmXRQ8Of5o1DRVKtZffmuVwxQDrryfwb0uu5zU53K6sethbtGNEQEZM8FYDF8kVVCG ojbQ== X-Forwarded-Encrypted: i=1; AJvYcCW/DzLyt42Lq88Q3XCM7MsrNtq4Vo77HMDSEhresye6UUzr0qq4Glfkje+BxBJp6PSFtulkWxiqzsCpOaXoMV3JgrY=@lists.openembedded.org X-Gm-Message-State: AOJu0YwQHvLlKHAReiUQBLzam+BBNnbQELbZz556zk3VlFvIwxD6f+Ux yQDxaBDKa2Qnem9PWmZVm559JrAzWWbhAcowyk8V71e1t/JneTKUbVcJ X-Gm-Gg: ASbGncsykLoGR43/gKMVBo4S7ASNG/Fqka6QjTSI0957KuahGjXonG7eilGg/TaOBvu 9nB3Y4AbBveh8hzAiHL5Lb1SsDqqDpj9tJ8GjPTc1O1NgNrGMoTyGFbWk8GZb/hGre/jk7mchwp J2HZ66+FbD4aebKXDmcaaIexwiyVmbjmmVy8iXVGQRnYWobsXA2rR/qNKDyb3RepB7jtJZ/Pzhl jmvsTVNRdSk1o5LuZroKSXN2aEbps+JLIpR3aNKMnz2erq1lTbhKnwi4g502OQ6aNG8jyEAksQC AA6v4qJ1Q+6NgQTxwrEHBb7bXFaXkIeEVqK76JaBeLnSYzUp+4Lngxe/WKMnQHq7fXixk3mIh2o 9kf2LGtRqTgHfsMwW7jHIQa+lsXbIP9Lrgb3uyhYMi4mch6AVILtVgGymoDYwJ4kcX0Qu2DtFnr xaMzwogkxbsZO/bXgib6fPGbgZKxb154PPi0S4E/blPLlsVw== X-Google-Smtp-Source: AGHT+IHmcErybvyTLQbBpiFkqjp4I4Kdl+7HIVbQJ7XyPXMxvoocTm45eoeXg7gucxiDoTopb2lKIg== X-Received: by 2002:a05:600c:a118:b0:46e:3f75:da49 with SMTP id 5b1f17b1804b1-46e613dd423mr20566945e9.37.1759323694750; Wed, 01 Oct 2025 06:01:34 -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-46e5b633afdsm35865545e9.2.2025.10.01.06.01.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Oct 2025 06:01:33 -0700 (PDT) From: " =?utf-8?b?TGltYSwgSm/Do28=?= " X-Google-Original-From: =?utf-8?b?TGltYSwgSm/Do28=?= To: joao.lima@hbkworld.com, openembedded-devel@lists.openembedded.org Cc: raj.khem@gmail.com Subject: [meta-oe][PATCH 2/3] openocd: add dmem support to am64xx and j784s4 platforms Date: Wed, 1 Oct 2025 14:01:29 +0100 Message-ID: <20251001130129.1638-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 13:03:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120105 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 13:01:41 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: 71350 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 63E83CCA476 for ; Wed, 1 Oct 2025 13:03:12 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web11.17059.1759323707733491663 for ; Wed, 01 Oct 2025 06:01:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fjzcuaNS; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: joao.raul.434@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-46e3ea0445fso31347875e9.1 for ; Wed, 01 Oct 2025 06:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759323706; x=1759928506; 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=fjzcuaNSybX8qosp6wyG97/2HEv+3BiPBYyL7TEL0PCyzn7n9wSQCnnHtB6Y1LYZEz 3IqQLaymHdqZfbHI8mR6cSahEy3FimHt3ZfliRjG0RuWf8/3CVJZ3Ht6zOrirvFa2eU2 3HG+N8LjD3igr8UNawNJfBzHDKkoiTCmF+6VMbharPaoaDiBWGCLV9lvb2nriqOyci9V KQHv5rqUSmWBLqjy1rHzKATjXLccGfFH+0ZWEekRZsMPeMm7si/5g9pKF2IM1n60u0Hg cSi0hSWo6XDdyb7W4r/q5SOWUrDhmUZvGXHX3zWMgfiLKb9zMk9kfVIfkoSs0gcUNKzQ 5AuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759323706; x=1759928506; 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=RU9aHwryKbJeOa6i4RbPQwKpLk/mWbaNI0sctQ6NzG+PeI9ZVhqefJwgk1KXADItlN S0is9FWrk+INjd7zUAUsuhpOtPnGJBysINF2flcBB3BJdHsEwMx/xPqhBkQ+A23oJ+qU XmzalNH5mvdD53VmskSfsfrmlqm9IBJwvUrNsSn+eQH11Mwi8zu7BCkYGW8y7B4j1Zzl yUrxYacSp2z2tBXpE32qoZKbY1fsvsIu3JUgmBiPfEeBn60vjwqJ4PGAy4O8vK62ViFC 38WExXgfQ3bPxxOmYZ2KoFu6jooMYpq+1w1CbU4cKU6bnvy+4LCXMApr1Qe6heAdkF6F BXaw== X-Forwarded-Encrypted: i=1; AJvYcCW1WfVrqZAQyk3nZoskpEHOFcFwm6UPZ5c1erFOc1V/UsJOfeoGbGQ0dKAq8ICvr1ANjmgSj4t3b2V8nxYKtF+guSo=@lists.openembedded.org X-Gm-Message-State: AOJu0YxXUY0KCsTFOQwTMfgrEZQwhUUKyA5yf1N8F1jPhWhBy1fL66Jd qrZT+3FEHH4W9bPYFsCkfOBQqXCbWaWLvO2alN47vod4Bk8xJ0LMlt6gEyKGtrH8 X-Gm-Gg: ASbGnctesccRPID6qr3jXLeOqkLJyFBrQFegeLza1XAX7caipO36jyo35dfkPAgnFs8 wDvOvTNekuo48qpWUCZkKEAWNKAyKoVfpFh0zU9ZM/fHaP7aA3FN6mtOTOlttg4o5bpltUn0edH 79Y1x4sBWiwS//vYo1oqkAgUVL8d7TMpCwda5PBaiPfzr1Sg5GglpZmFPNLHHdbHyzp1bNDCoQw +rrooVjXAqthmGzP9sT7t1Jg4FAZiTCX0aMhkrSYBqWTDa9YWVEWWUO3UgjlOaPFMmoClMmMLU/ +asi2KxPdYOAif3Mz/nxafXo/XMmRZ6VE5iH+n1C/MQOHjAYOPahGB1XuZMpQveyYv9BPXoioVo xue8hKstPisi1EsBrPmYn4to7C1YQebGXT+JI9WcS0Gdopl6SCI/n/tAyzrQY6iLhuu1cMRflFo eUDgIxt1bVpDWhK7HvFrvdO05Zjaqrdtqal1lfp7PxW8fuXuysVsbI6f5Y X-Google-Smtp-Source: AGHT+IEdPAI1c3yJ4pDMUwwomcAqs56zjfPvEHFytcATxSfRcCn8ApZMu4Ow+mCIqRQJbOBjuMZvhw== X-Received: by 2002:a05:600c:1908:b0:45b:7ce0:fb98 with SMTP id 5b1f17b1804b1-46e61202a91mr32936455e9.5.1759323705183; Wed, 01 Oct 2025 06:01:45 -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-46e5b622f37sm36787325e9.1.2025.10.01.06.01.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Oct 2025 06:01:44 -0700 (PDT) From: " =?utf-8?b?TGltYSwgSm/Do28=?= " X-Google-Original-From: =?utf-8?b?TGltYSwgSm/Do28=?= To: joao.lima@hbkworld.com, openembedded-devel@lists.openembedded.org Cc: raj.khem@gmail.com Subject: [meta-oe][PATCH 3/3] openocd: enable dmem and jimtcl Date: Wed, 1 Oct 2025 14:01:41 +0100 Message-ID: <20251001130141.1768-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 13:03:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120106 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"