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: Embedded_Software/Feature_Tutorials/01-user_managed_mode/README.md
+33-33Lines changed: 33 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,54 +6,54 @@
6
6
</tr>
7
7
</table>
8
8
9
-
***Version: Vitis 2023.2***
9
+
# User Managed Mode in Vitis Unified Embedded IDE
10
10
11
-
## User Managed Mode in Vitis Unified IDE
11
+
***Version: Vitis 2023.2***
12
12
13
-
This is a new feature with the Vitis Unified Embedded IDE, where users can add a makefile and argument that can be used to create custom builds. This allows the user more control over their project builds instead of letting the tools generate the components.
13
+
This is a new feature with the Vitis Unified Embedded IDE, where users can add a makefile and argument that can be used to create custom builds. This allows the user more control over their project builds instead of letting the tools generate the components.
14
14
15
-
The big advantages of user managed mode are
15
+
The biggest advantages of user managed mode are being able to do the following:
16
16
17
-
1.Allowing user to quickly rebuild a Vitis Unified Workspace in the GUI
18
-
2.Allowing user to quickly call makefile actions
17
+
1.Quickly rebuild a Vitis Unified Workspace in the GUI.
18
+
2.Quickly call makefile actions.
19
19
20
-
In this tutorial, we shall discuss three use cases on how the **User Managed Mode** can be used
20
+
This tutorial describes three use cases for the **User Managed Mode**.
21
21
22
-
# Use Case 1 - Regenerate a previously created Vitis Unified Workspace using a Python Script
22
+
##Use Case 1 - Regenerate a previously created Vitis Unified Workspace using a Python Script
23
23
24
-
##Lets get started
24
+
### Let’s get started
25
25
26
-
Launch Vitis 2023.2 and select open_workspace and navigate to the <i>Vitis-Tutorials/Embedded_Software/Feature_Tutorials/01-user_managed_mode</i> directory
26
+
Launch Vitis 2023.2, select **open_workspace**, and navigate to the `Vitis-Tutorials/Embedded_Software/Feature_Tutorials/01-user_managed_mode` directory
27
27
28
28
Select the User Managed Mode
29
29
30
30

31
31
32
-
## Generating Build Configuration
32
+
###Generating Build Configuration
33
33
34
-
In this use case, we shall be using the Python script introduced in the <i>04-vitis_scripting_flows</i> to build a workspace and with a simple Hello World application template. However, users can also utilize the Python script **logs/builder.py** that gets generated for every Vitis Unified IDE workspace.
34
+
In this use case, we shall be using the Python script introduced in the *04-vitis_scripting_flows* to build a workspace and with a simple Hello World application template. However, users can also utilize the Python script `logs/builder.py` that gets generated for every Vitis Unified IDE workspace.
35
35
36
-
Right click in the **Explorer** view, and select **Edit Build Configurations** and **New Build Configurations** and set as shown below:
36
+
Right click in the **Explorer** view, right-click and select **Edit Build Configurations** and **New Build Configurations** and set as shown below:
37
37
38
38

39
39
40
-
## Running a Build Configuration
40
+
###Running a Build Configuration
41
41
42
-
To launch the build configuration, right click on the **Explorer** view, and select **Build**.
42
+
To launch the build configuration, right click on the **Explorer** view, and then select **Build**.
43
43
44
-
**Note:** If there is only a single build configuration, then this will launch automatically. If there are more than one build configurations, then the user will be presented with a list to choose from.
44
+
**Note:** If there is only a single build configuration, then this will launch automatically. If there is more than one build configuration, a list is shown that you can choose from.
45
45
46
46
This will generate the Vitis Unified IDE workspace based on the XSA.
47
47
48
-
## Deploying the application on the target
48
+
###Deploying the application on the target
49
49
50
50
Next, we can create a **Launch Configuration** to test the application created above on our hardware target.
51
51
52
52
Right click in the **Explorer** view, and select **Edit Launch Configurations** and **New Launch Configurations** and select **Baremetal** and browse to your XSA file used to create the workspace above.
53
53
54
54

55
55
56
-
Here, we can add the FSBL (as this is for a Zynq Ultrascale Device)
56
+
Here, we can add the FSBL (as this is for a Zynq UltraScale Device)
57
57
58
58

59
59
@@ -65,15 +65,15 @@ Once the launch configuration is complete, users can select the **debug** icon t
65
65
66
66

67
67
68
-
The Debug view will be launched and users can debug as normal
68
+
The Debug view will be launched, and users can debug as normal
69
69
70
70

71
71
72
-
# Use Case 2 - Running Platform Creation tutorials
72
+
##Use Case 2 - Running Platform Creation tutorials
73
73
74
74
In this use case, we can build the example given here [here](https://github.com/Xilinx/Vitis-Tutorials/tree/2023.2/Vitis_Platform_Creation/Design_Tutorials). In particular, we will build the **Edge-AI-ZCU104** Platform.
75
75
76
-
## Lets get started
76
+
###Lets get started
77
77
78
78
Launch Vitis 2023.2 and select open_workspace and navigate to the <i>Vitis-Tutorials/Vitis_Embedded_Flows/Embedded_Flows/Next_Steps_Embedded/User_Managed_Mode</i> directory
79
79
@@ -83,17 +83,17 @@ Select the User Managed Mode
83
83
84
84

85
85
86
-
## Generating Build Configuration
86
+
###Generating Build Configuration
87
87
88
88
In this use case, copy the **Makefile**, **export_xsa.tcl** and the **system_step1.tcl** from The Git repository above into the workspace.
89
89
90
90
Right click in the **Explorer** view, and select **Edit Build Configurations** and **New Build Configurations** and set as shown below:
91
91
92
92

93
93
94
-
## Running a Build Configuration
94
+
###Running a Build Configuration
95
95
96
-
To launch the build configuration, right click on the **Explorer** view, and select **Build**.
96
+
To launch the build configuration, right click on the **Explorer** view and select **Build**.
97
97
98
98
**Note:** If there is only a single build configuration, then this will launch automatically. If there are more than one build configurations, then the user will be presented with a list to choose from.
99
99
@@ -102,7 +102,7 @@ This will generate the XSA into the **Build** folder.
102
102
Users can target these newly generated XSA filed in Vitis Unified IDE. Users can switch views **View** → **Vitis Components**, and target the platform for their development.
103
103
104
104
105
-
# Use Case 3 - Generate and deploy u-boot from Git sources
105
+
##Use Case 3 - Generate and deploy u-boot from Git sources
106
106
107
107
In this demo I have a simple makefile to generate and deploy u-boot using the metadata extracted from the XSA file. The script will do the following
108
108
@@ -114,9 +114,9 @@ In this demo I have a simple makefile to generate and deploy u-boot using the me
114
114
* Compile U-boot
115
115
* Generate JTAG boot script
116
116
117
-
Each section above can be built independantly. For example, if users want to make a change to the device-tree, then only the DT needs to be compiled and re-deployed on the board. This allows the users to speed up any u-boot debug or testing.
117
+
Each section above can be built independently. For example, if users want to make a change to the device-tree, then only the DT needs to be compiled and re-deployed on the board. This allows the users to speed up any u-boot debug or testing.
118
118
119
-
## Lets get started
119
+
###Lets get started
120
120
121
121
Launch Vitis 2023.2 and select open_workspace and navigate to the <i>Vitis-Tutorials/Vitis_Embedded_Flows/Embedded_Flows/Next_Steps_Embedded/User_Managed_Mode</i> directory
122
122
@@ -127,7 +127,7 @@ Select the User Managed Mode
127
127

128
128
129
129
130
-
## Creating a Build Configuration
130
+
###Creating a Build Configuration
131
131
132
132
If users want to create a Build Configuration, then right click in Explorer view -> Edit Build Configurations, and select the + icon. Users will be presented with an empty Build Configuration. For example, if we wanted to created a build configuration to run the boot script in XSCT
133
133
@@ -141,24 +141,24 @@ Create the build configuration as follows
141
141

142
142
143
143
144
-
## Running a Build Configuration
144
+
###Running a Build Configuration
145
145
146
146
To run a build configuration, right click in Explorer View and select <i>Build</i> and select your build configuration from the list
147
147
148
148

149
149
150
-
## Running a Clean Configuration
150
+
###Running a Clean Configuration
151
151
152
152
Similarly, to run a clean configuration, right click in Explorer View and select <i>Clean</i> and select your Clean configuration from the list
153
153
154
154
155
-
# Sharing Build Configurations.
155
+
##Sharing Build Configurations.
156
156
157
157
If users are using Git to maintain their work, then users may want to maintain or share the build configurations. This metadata is stored in the **_ide/.theia/build.json** file
158
158
159
-
# Summary
159
+
##Summary
160
160
161
-
The examples above should act as an introduction to how to utilise the User Managed Mode for different design flows. However, Wether the users preference is to use the GUI or Command Line to build and maintain their Embedded System, they can still avail of all the debug features within Vitis Unified IDE with ease.
161
+
The examples above should act as an introduction to how to utilize the User Managed Mode for different design flows. However, whether the users preference is to use the GUI or Command Line to build and maintain their Embedded System, they can still avail of all the debug features within Vitis Unified IDE with ease.
This section showcases the different debugging features available in the AMD Vitis™ Embedded software development flow for bare-metal applications. Using an example application project with intentional bugs, the debug guide goes through each issue and leverages the different windows and features available in the application debug session to highlight the potential usage of debug features in a real world scenario.
8
15
9
-
## Debugging Linux Applications
16
+
## [Debugging Linux Applications](./2-debugging-linux-applications/)
10
17
11
18
The Vitis IDE provides a familiar environment for debugging Linux applications for a target platform. This section covers the following Linux application debug features:
12
19
13
20
- Setting breakpoints
14
21
- Stepping through program execution
15
-
- Viewing program variables, memory contents, and the stack
22
+
- Viewing program variables, memory contents, and the stack
16
23
17
-
## Creating a Debuggable First Stage Boot Loader
24
+
## [Creating a Debuggable First Stage Boot Loader](./3-debuggable-fsbl/)
18
25
19
26
First Stage Boot Loader (FSBL) can initialize the SoC device, load the required application or data to memory, and launch applications on the target CPU core. FSBL is optimized for size because it needs to fit into OCM, which has limited space on the device. Size based optimization introduces some trouble if you wish to debug FSBL when you add customized code into FSBL. This chapter explains how you can use Vitis Unified IDE to debug FSBL step by step.
20
27
21
-
## Cross Triggering in Vitis Unified Embedded IDE
28
+
## [Cross Triggering in Vitis Unified Embedded IDE](./4-cross-triggering/)
22
29
23
30
Embedded systems can be complex, that may contain multiple processors. You may also need to debug across software and hardware domains and can use PS-PL cross triggering. However, in this simple tutorial, we learn how to debug over multiple processors using cross triggering.
24
31
25
-
<pclass="sphinxhide"align="center"><sub>Copyright (C) 2020-2024, Advanced Micro Devices, Inc. All rights reserved. SPDX-License-Identifier: X11</sub></p>
Copy file name to clipboardExpand all lines: Embedded_Software/Feature_Tutorials/03-vitis_classic_to_unified_migration/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
***Version: Vitis 2023.2***
9
9
10
-
# Migrating from classic Vitis IDE to Vitis Unified IDE
10
+
# Vitis Classic to Unified Project Migration
11
11
12
12
The methodology to pass the metadata from hardware from Vivado to Vitis IDE has changed. However, these changes will not affect the users as the AMD baremetal drivers, standalone bsp and libraries have been fully ported to this new methodology.
0 commit comments