aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Humphreys <j-humphreys@ti.com>2023-08-22 13:49:03 -0500
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-08-23 08:03:00 +0200
commit975103f1ac92b0702e42e314c9dd556f71008035 (patch)
tree2bbb39cea2ef7b78a150776f328e72a8be7548c1
parent4e4f344e7d68b350dbb2ff27d992c66d54deeffb (diff)
downloadu-boot-975103f1ac92b0702e42e314c9dd556f71008035.zip
u-boot-975103f1ac92b0702e42e314c9dd556f71008035.tar.gz
u-boot-975103f1ac92b0702e42e314c9dd556f71008035.tar.bz2
doc: board: ti: k3: Fix up OpenOCD references and debug info
Fix minor path and config macro name updates to sync with latest OpenOCD and U-Boot configurations. Fixes: effe50854a69 ("doc: board: ti: k3: Add a guide to debugging with OpenOCD") Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--doc/board/ti/k3.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/board/ti/k3.rst b/doc/board/ti/k3.rst
index 2b7a22a..1175b77 100644
--- a/doc/board/ti/k3.rst
+++ b/doc/board/ti/k3.rst
@@ -600,7 +600,7 @@ correctly to ensure a sane system.
$ cd openocd
# Copy the udev rules to the correct system location
$ sudo cp ./contrib/60-openocd.rules \
- ./src/JTAG/drivers/libjaylink/contrib/99-libjaylink.rules \
+ ./src/jtag/drivers/libjaylink/contrib/99-libjaylink.rules \
/etc/udev/rules.d/
# Get Udev to load the new rules up
$ sudo udevadm control --reload-rules
@@ -791,7 +791,7 @@ Code modification
In this example, we will debug ``board_init_f`` inside
``arch/arm/mach-k3/{soc}_init.c``. Since some sections of U-Boot
will be executed multiple times during the bootup process of K3
- devices, we will need to include either ``CONFIG_CPU_ARM64`` or
+ devices, we will need to include either ``CONFIG_ARM64`` or
``CONFIG_CPU_V7R`` to catch the CPU at the desired place during the
bootup process (Main or Wakeup domains). For example, modify the
file as follows (depending on need):
@@ -809,7 +809,7 @@ Code modification
}
...
/* Code to run on the ARMV8 (Main Domain) */
- if (IS_ENABLED(CONFIG_CPU_ARM64)) {
+ if (IS_ENABLED(CONFIG_ARM64)) {
volatile int x = 1;
while(x) {};
}