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: IDE/Renesas/e2studio/RZN2L/Readme.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This example demonstrates simple secure firmware boot from extarnal flash by wol
6
6
A sample application v1 is securely loaded into internal RAM if there is not higher version in update region. A sample application v2 will be loaded when it is in update region.Both versions behave the same except blinking LED Red(v1) or Yello(v2). They are compiled by e2Studio and running on the target board.
7
7
8
8
In this demo, you may download two versions of the application binary file.
9
-
You can download and excute wolfBoot by e2Studio debugger. Use a USB connection between PC and the board for the debugger and flash programmer.
9
+
You can download and execute wolfBoot by e2Studio debugger. Use a USB connection between PC and the board for the debugger and flash programmer.
10
10
11
11
## 2. Components, Tools and Board Settings
12
12
@@ -102,7 +102,7 @@ Open project under IDE/Renesas/e2studio/RZN2L/wolfBoot with e2Studio, and build
102
102
+ Copy <u>configuration.xml</u> and pincfg under `dummy_loader` to `wolfBoot`
103
103
+ Open Smart Configurator by clicking copied configuration.xml
104
104
+ Click `Generate Project Content` on Smart Configurator
105
-
+ Righ click on the projet and Open property of the project
105
+
+ Righ click on the project and Open property of the project
106
106
+ Go to Cross ARM Lincer
107
107
+ Change Script files(-T) from `fsp_xspi0_boot.ld` to `fsp_xspi0_boot_loader.ld`
108
108
+ Add/Modify FSP generated code :
@@ -179,7 +179,7 @@ if BSP_CFG_C_RUNTIME_INIT && !defined(EXTERNAL_LOADER)
179
179
```
180
180
181
181
182
-
+ Build `wolfBoot`projet
182
+
+ Build `wolfBoot`project
183
183
### 6) Compile the sample application
184
184
185
185
Open project under IDE/Renesas/e2studio/RZN2L/app_RZ with e2Studio, and build the project.
@@ -199,7 +199,7 @@ Open project under IDE/Renesas/e2studio/RZN2L/app_RZ with e2Studio, and build th
199
199
+ Copy <u>configuration.xml</u> and pincfg under `dummy_application` to `app_RZ`
200
200
+ Open Smart Configurator by clicking copied configuration.xml
201
201
+ Click `Generate Project Content` on Smart Configurator
202
-
+ Righ click on the projet and Open property of the project
202
+
+ Righ click on the project and Open property of the project
203
203
+ Go to Cross ARM Lincer
204
204
+ Change Script files(-T) from `fsp_xspi0_boot.ld` to `fsp_xspi0_boot_app.ld`
205
205
+ Add/Modify FSP generated code :
@@ -266,14 +266,14 @@ if BSP_CFG_C_RUNTIME_INIT && !defined(EXTERNAL_LOADER_APP)
266
266
}
267
267
```
268
268
269
-
+ Build `app_RZ`projet
269
+
+ Build `app_RZ`project
270
270
271
271
Code Origin and entry point is "0x10010000". app_RZ.bin is generated under Debug.
272
272
273
273
274
274
### 7) Generate Signature for app V1
275
275
276
-
"sign" command under tools/keytools benerates a signature for the binary with a specified version.
276
+
The sign tool (`tools/keytools/sign`) generates a signature for the binary with a specified version.
277
277
It generates a file contain a partition header and application image.
278
278
The partition header contain generated signature and other control fields.
279
279
Output file name is made up from the input file name and version like app_RenesasRx01_v1.0_signed.bin.
@@ -309,10 +309,10 @@ Open project under IDE/Renesas/e2studio/RZN2L/flash_app with e2Studio, and build
309
309
+ Select `INTCPU0` interrupts and remove it
310
310
+ Click `Generate Project Content` on Smart Configurator
311
311
+ Go to `BSP` tab and disable C Runtime Initialization under `RZN2L` on Properties page
312
-
+ Righ click on the projet and Open property of the project
312
+
+ Righ click on the project and Open property of the project
313
313
+ Go to Cross ARM Lincer
314
314
+ Change Script files(-T) from `fsp_xspi0_boot.ld` to `fsp_xspi0_boot_loader.ld`
0 commit comments