You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/automotive/zenacssdebug/config.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,19 +46,27 @@ Debug configurations are stored in a configuration database. Create a local data
46
46
- Open the same wizard (**File > New > Other**), then choose **Configuration Database > Model Configuration**.
47
47
- Click **Next**, select the **Configuration Database** you created, then click **Next**.
48
48
- For **Model Interface**, choose **Iris**, then click **Next**.
49
-
- Choose **Browse for model running on local host**. The debugger detects and interrogates the FVP.
49
+
- Choose **Browse for model running on local host**. Select your FVP and click **Finish**. The debugger detects and interrogates the FVP.
50
50
- If connecting remotely, choose **Connect to model running on either local or remote host** and provide the host and port.
51
51
52
+
{{% notice Tip %}}
53
+
The name of the FVP may be displayed as `RD_ASD` or other.
54
+
55
+
If unsure, use the port number to identify the correct FVP.
56
+
{{% /notice %}}
57
+
52
58
Arm Development Studio generates a `model.mdf` file that enumerates all CPUs in the FVP.
53
59
54
-
Optionally, update **Manufacturer Name** (for example, `Arm`) and **Platform Name** (for example, `Zena_CSS_FVP`). Then **Save** and **Import** the model into the configuration database.
60
+
Optionally, update **Manufacturer Name** (for example, `Arm`) and **Platform Name** (for example, `Zena_CSS_FVP`).
61
+
62
+
**Save** and **Import** the model into the configuration database.
55
63
56
64
{{% notice Tip %}}
57
-
If the FVP is not detected, verify the Iris server is running on the expected port (`7100` by default) and that your firewall allows local connections. For remote connections, confirm the host is reachable and the port is open.
65
+
If the FVP is not detected, verify the Iris server is running on the expected port (`7100` by default) and that your firewall allows local connections.
66
+
67
+
For remote connections, confirm the host is reachable and the port is open.
58
68
{{% /notice %}}
59
69
60
70
A `model.mdf` file will be created that identifies all CPUs within the FVP.
61
71
62
-
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.
63
-
64
72
The debugger is now aware of the FVP and you are ready to debug.
@@ -41,12 +42,20 @@ Symbol loading is Exception Level–aware. If execution changes Exception Level,
41
42
42
43
## Debug the Linux kernel with OS awareness (symmetric multiprocessing)
43
44
44
-
Switch to the `Primary_Linux.launch` connection you created earlier to enable Arm Development Studio OS awareness for the Linux kernel. Load the kernel symbols and set source mapping if your kernel sources are located outside the default paths:
45
+
{{% notice Note %}}
46
+
OS awareness for Linux Kernel 6.12 (as used with Reference Software Stack 2.1) is not currently supported as of Arm Development Studio 2025.0.
47
+
48
+
It will be supported in a future Development Studio version.
49
+
{{% /notice %}}
50
+
51
+
Disconnect `Primary_init.launch` and use the `Primary_Linux.launch` connection you created earlier to enable Arm Development Studio OS awareness for the Linux kernel.
52
+
53
+
Load the kernel symbols and set source mapping if your kernel sources are located outside the default paths:
set substitute-path "/usr/src/kernel/" "/arm-auto-solutions/build/tmp_baremetal/work-shared/fvp-rd-aspen/kernel-source/"
50
59
```
51
60
52
61
Run the FVP until the OS prompt appears.
@@ -73,7 +82,7 @@ You might see a warning like:
73
82
```text
74
83
WARNING(ROS60): Could not enable OS support as the OS does not appear to be initialized. This might be caused by a mismatch between the loaded symbols and the code on the target or because the OS is not up and running. Enabling OS support will be re-attempted when the target next stops.
75
84
```
76
-
This occurs if the OS has not completed boot when you connect; it is safe to ignore and will clear after the next target stop.
85
+
This occurs if the OS has not completed boot when you connect; it is safe to ignore and will clear when stopping target after the OS has booted.
77
86
{{% /notice %}}
78
87
79
88
You have successfully learnt how to use Arm Development Studio to explore and debug the Arm Zena CSS Reference Software Stack.
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/
set substitute-path "/usr/src/debug/trusted-firmware-m/2.2.1+git/" "/arm-auto-solutions/build/tmp_baremetal/work/fvp_rd_aspen-poky-linux/trusted-firmware-m/2.2.1+git/git/tfm/"
83
83
stepi
84
84
```
85
85
86
+
{{% notice Note %}}
87
+
Use the `Commands` or `History` pane to see and copy the equivalent debugger commands of the GUI actions.
88
+
{{% /notice %}}
89
+
86
90

set substitute-path "/usr/src/debug/scp-firmware/2.16.0+git/" "/arm-auto-solutions/build/tmp_baremetal/work/fvp_rd_aspen-poky-linux/scp-firmware/2.16.0+git/git/"
34
34
b arch_exception_reset
35
35
```
36
36
@@ -53,10 +53,7 @@ When RSE enables Safety Island, you will see a log message like:
53
53
The full output log is shown here for your reference:
54
54
55
55
```output
56
-
Trying ::1...
57
-
Trying 127.0.0.1...
58
-
Connected to localhost.
59
-
Escape character is '^]'.
56
+
[INF] [CC3XX] Init OK PIDR0: 0xc1
60
57
[INF] Starting TF-M BL1_1
61
58
[INF] Jumping to BL1_2
62
59
[INF] Starting TF-M BL1_2
@@ -65,12 +62,23 @@ Escape character is '^]'.
65
62
[INF] BL2 image validated successfully
66
63
[INF] Jumping to BL2
67
64
[INF] Starting bootloader
65
+
[INF] [CC3XX] Init OK PIDR0: 0xc1
68
66
[INF] PSA Crypto init done, sig_type: EC-P256
67
+
[INF] BL2: SI CL1 not present, skip loading
69
68
[INF] BL2: SI CL0 pre load start
70
69
[INF] BL2: SI CL0 pre load complete
71
70
[INF] Primary slot: version=0.0.7+0
72
-
[INF] Secondary slot: version=0.0.7+0
71
+
[INF] Image 3 Secondary slot: Image not found
73
72
[INF] Image 3 RAM loading to 0x70083c00 is succeeded.
73
+
[INF] Key 0 hash found for image 3
74
74
[INF] Image 3 loaded from the primary slot
75
75
[INF] BL2: SI CL0 post load start
76
+
[INF] BL2: SI ATU region 0: [0x80000000 - 0xbfffffff]->[0x1_00000000 - 0x1_3fffffff]
77
+
[INF] BL2: SI ATU region 1: [0xc0000000 - 0xcfffffff]->[0x1_40000000 - 0x1_4fffffff]
78
+
[INF] BL2: SI ATU region 2: [0xd0000000 - 0xd001ffff]->[0x20000_d8000000 - 0x20000_d801ffff]
79
+
[INF] BL2: SI ATU region 3: [0xd0020000 - 0xd002ffff]->[0x20000_d0200000 - 0x20000_d020ffff]
80
+
[INF] BL2: SI ATU region 4: [0xd0030000 - 0xd003ffff]->[0x20000_d0400000 - 0x20000_d040ffff]
81
+
[INF] BL2: SI ATU region 5: [0xd0040000 - 0xd006ffff]->[0x20000_d0100000 - 0x20000_d012ffff]
82
+
[INF] BL2: SI ATU region 6: [0xe0030000 - 0xe0031fff]->[0x0_00000000 - 0x0_00001fff]
83
+
[INF] BL2: SI ATU region 7: [0xe0130000 - 0xe0135fff]->[0x0_00100000 - 0x0_00105fff]
Copy file name to clipboardExpand all lines: content/learning-paths/automotive/zenacssdebug/zena.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,16 @@ For more information, see [Arm Zena Compute Subsystem (CSS)](https://developer.a
20
20
21
21
## Build the software stack
22
22
23
-
Follow the steps to download and build the software stack in the [Arm Zena CSS User Guide](https://arm-auto-solutions.docs.arm.com/en/v2.0/rd-aspen/user_guide/reproduce.html).
23
+
Follow the steps to download and build the software stack in the [Arm Automotive Solutions Software Reference Stack User Guide](https://arm-auto-solutions.docs.arm.com/en/latest/rd-aspen/user_guide/reproduce.html).
24
24
25
-
Here the default **Arm Automotive Solutions Demo** build is used.
25
+
The default **Cfg1, Arm Automotive Solutions Demo, Bare Metal** build is used in this learning path.
26
+
27
+
Software build will usually take at least one hour to complete, depending on host machine.
26
28
27
29
{{% notice Note %}}
28
30
The primary focus of this Learning Path is to demonstrate how to debug the software stack.
31
+
32
+
The latest version of software tested at time of writing is `2.1`. Screenshots show previous versions.
The system runs through the boot process until a Linux prompt is available (in `terminal_ns_uart0`).
40
44
41
-
Press **Ctrl+C** in the command terminal to terminate the process.
45
+
Press **Ctrl+C** in the command terminal (use `Ctrl+B` > `0` to swap to that terminal) to terminate the process.
42
46
43
47
## Install FVP (optional)
44
48
45
49
The FVP is downloaded and installed as part of the build process.
46
50
47
-
You can also separately download Arm-Zena-CSS-FVP from the Arm Developer [website](https://developer.arm.com/Tools%20and%20Software/Fixed%20Virtual%20Platforms/Automotive%20FVPs).
51
+
You can also separately download either `Arm-Zena-CSS-FVP` (`Cfg1` or `Cfg2`) from the Arm Developer [website](https://developer.arm.com/Tools%20and%20Software/Fixed%20Virtual%20Platforms/Automotive%20FVPs).
48
52
49
53
See also the Arm Ecosystem FVPs and Architecture Envelope Models [Install Guide](/install-guides/fm_fvp/eco_fvp/).
50
54
51
55
{{% notice Note %}}
52
-
For legacy reasons, the FVP is named `FVP_RD_Aspen`.
56
+
For legacy reasons, the FVP was previously named `FVP_RD_Aspen`.
0 commit comments