Skip to content

Commit 29fb7a3

Browse files
Updates based on JT feedback
1 parent 405daa0 commit 29fb7a3

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

content/learning-paths/automotive/zenacssdebug/config.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ As per previous section, launch FVP with the Iris server enabled:
2323
```command
2424
kas shell -c "../layers/meta-arm/scripts/runfvp -t tmux --verbose -- --iris-server --iris-port 7100"
2525
```
26+
or if connecting to the FVP remotely:
27+
28+
```command
29+
kas shell -c "../layers/meta-arm/scripts/runfvp -t tmux --verbose -- --iris-server --iris-port 7100 -A"
30+
```
31+
{{% notice Note %}}
32+
A local connection is assumed for the remainder of this learning path.
33+
{{% /notice %}}
2634

2735
## Configuration Database
2836

@@ -44,6 +52,10 @@ You will then be prompted to locate the model to connect to.
4452

4553
Select `Browse for model running on local host`. The FVP will be detected and interrogated by the debugger.
4654

55+
{{% notice Note %}}
56+
Use `Connect to model running on either local or remote host` if connecting remotely.
57+
{{% /notice %}}
58+
4759
A `model.mdf` file will be created that identifies all CPUs within the FVP.
4860

4961
You can change the `Manufacturer Name` and `Platform Name` to something more meaningful (such as `Arm` and `Zena_CSS_FVP`), then `Save`, and `Import` into the configuration database.

content/learning-paths/automotive/zenacssdebug/connect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can also use `File` > `New` > `Other` > `Arm Debugger` > `Model Connection`,
3232
`Create a debug connection...` shortcut in the `Debug Control` pane.
3333
{{% /notice %}}
3434

35-
Specify a connection name (`RSE`), and associate with the above project. Click `Next`.
35+
Specify a connection name (`RSE`), and associate with the above `Connections` project. Click `Next`.
3636

3737
Locate the FVP based on the name you gave it previously (`Zena_CSS_FVP`). The text filter can help locate easily.
3838

content/learning-paths/automotive/zenacssdebug/primarycompute.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ For example the processors start in `EL3` and moves to `EL2N` when the Linux ker
2626

2727
``` text
2828
stop
29-
3029
add-symbol-file /arm-auto-solutions/build/tmp_baremetal/work/fvp_rd_aspen-poky-linux/trusted-firmware-a/2.11.0+git/image/firmware/bl2.elf EL3:0x0
31-
3230
tbreak bl2_entrypoint
3331
```
32+
{{% notice Note %}}
33+
Exact paths may differ for your set up.
34+
{{% /notice %}}
3435

3536
Run the code to the `bl2_entrypoint` and you can debug as expected.
3637

@@ -40,9 +41,7 @@ To make use of the OS awareness, disconnect `Primary_init` and connect to `Prima
4041

4142
``` text
4243
stop
43-
4444
add-symbol-file /arm-auto-solutions/build/tmp_baremetal/work/fvp_rd_aspen-poky-linux/linux-yocto/6.6.54+git/linux-fvp_rd_aspen-standard-build/vmlinux EL2N:0x0
45-
4645
set substitute-path /usr/src/kernel/ /arm-auto-solutions/build/tmp_baremetal/work-shared/fvp-rd-aspen/kernel-source/
4746
```
4847
Run the FVP until the OS prompt appears.

content/learning-paths/automotive/zenacssdebug/rse.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ The FVP will start and emit various informational messages. Once initialized you
3030
```output
3131
...
3232
Info: RD_Aspen: RD_Aspen.css.smb.rse_flashloader: FlashLoader: Saved 64MB to file '~/arm-auto-solutions/build/tmp_baremetal/deploy/images/fvp-rd-aspen/rse-flash-image.img'
33-
3433
Info: RD_Aspen: RD_Aspen.ros.flash_loader: FlashLoader: Saved 128MB to file '~/arm-auto-solutions/build/tmp_baremetal/deploy/images/fvp-rd-aspen/ap-flash-image.img'
3534
```
3635

@@ -40,7 +39,7 @@ Note that execution has not started.
4039

4140
Using the `RSE` connection created in the previous section, connect the debugger to the FVP. Observe that the processor is stopped before the first instruction has been executed.
4241

43-
In fact, the FVP is configured to have the vector table (`VTOR_S`) start at `0x11000000`, and it you inspect memory at that address the vector table will be populated. However no debug information is visible. Debug information must be loaded.
42+
In fact, the FVP is configured to have the vector table (`VTOR_S`) start at `0x11000000`, and if you inspect memory at that address the vector table will be populated. However no debug information is visible. Debug information must be loaded.
4443

4544
In the `Debug Pane`, select `Load...` from the pane menu, and select `Add Symbols file`.
4645

@@ -73,11 +72,8 @@ It is recommended to have an explicit `stop` command as symbols cannot be loaded
7372
7473
``` text
7574
stop
76-
7775
add-symbol-file /arm-auto-solutions/build/tmp_baremetal/work/fvp_rd_aspen-poky-linux/trusted-firmware-m/2.1.0/build/bin/bl1_1.axf
78-
7976
set substitute-path /usr/src/debug/trusted-firmware-m/2.1.0/ /arm-auto-solutions/build/tmp_baremetal/work/fvp_rd_aspen-poky-linux/trusted-firmware-m/2.1.0/git/tfm/
80-
8177
stepi
8278
```
8379
![Debugger pane](debugger_commands.png)

content/learning-paths/automotive/zenacssdebug/safetyisland.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ Set up the `SI` connection in a similar way as the `RSE` connection. Use the fol
2323

2424
``` text
2525
stop
26-
2726
add-symbol-file /arm-auto-solutions/build/tmp_baremetal/deploy/images/fvp-rd-aspen/si0_ramfw.elf
28-
2927
set substitute-path /usr/src/debug/scp-firmware/2.14.0/ /arm-auto-solutions/build/tmp_baremetal/work/fvp_rd_aspen-poky-linux/scp-firmware/2.14.0/git/
30-
3128
b arch_exception_reset
3229
```
3330

31+
{{% notice Note %}}
32+
Exact paths may differ for your set up.
33+
{{% /notice %}}
34+
3435
### Start execution
3536

3637
Select the `RSE` connection in the `Debug Control` pane, and start execution (this will be unavailable in the `SI` connection, as that is currently powered down).

0 commit comments

Comments
 (0)