Skip to content

Commit 3683ad0

Browse files
committed
add items to .gitignore
fix spelling errors
1 parent 6c0509a commit 3683ad0

2 files changed

Lines changed: 41 additions & 11 deletions

File tree

.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,33 @@ IDE/MPLAB/test-app/test-usb-updater.same51.X/dist/
147147
IDE/MPLAB/test-app/test-usb-updater.same51.X/.generated_files/
148148
IDE/MPLAB/bootloader/wolfboot-same51.dualbank.X/dist/
149149
IDE/MPLAB/bootloader/wolfboot-same51.dualbank.X/.generated_files/
150+
151+
# IDE Renesas e2Studio generated
152+
IDE/Renesas/e2studio/RZN2L/app_RZ/Debug
153+
IDE/Renesas/e2studio/RZN2L/app_RZ/rzn
154+
IDE/Renesas/e2studio/RZN2L/app_RZ/rzn_gen
155+
IDE/Renesas/e2studio/RZN2L/app_RZ/rzn_cfg
156+
IDE/Renesas/e2studio/RZN2L/app_RZ/.settings
157+
IDE/Renesas/e2studio/RZN2L/app_RZ/.api_xml
158+
IDE/Renesas/e2studio/RZN2L/app_RZ/.secure_azone
159+
IDE/Renesas/e2studio/RZN2L/app_RZ/.secure_xml
160+
IDE/Renesas/e2studio/RZN2L/app_RZ/configuration.xml
161+
IDE/Renesas/e2studio/RZN2L/flash_app/Debug
162+
IDE/Renesas/e2studio/RZN2L/flash_app/rzn
163+
IDE/Renesas/e2studio/RZN2L/flash_app/rzn_gen
164+
IDE/Renesas/e2studio/RZN2L/flash_app/rzn_cfg
165+
IDE/Renesas/e2studio/RZN2L/flash_app/.settings
166+
IDE/Renesas/e2studio/RZN2L/flash_app/.api_xml
167+
IDE/Renesas/e2studio/RZN2L/flash_app/.secure_azone
168+
IDE/Renesas/e2studio/RZN2L/flash_app/.secure_xml
169+
IDE/Renesas/e2studio/RZN2L/flash_app/configuration.xml
170+
IDE/Renesas/e2studio/RZN2L/wolfboot/Debug
171+
IDE/Renesas/e2studio/RZN2L/wolfboot/rzn
172+
IDE/Renesas/e2studio/RZN2L/wolfboot/rzn_gen
173+
IDE/Renesas/e2studio/RZN2L/wolfboot/rzn_cfg
174+
IDE/Renesas/e2studio/RZN2L/wolfboot/.settings
175+
IDE/Renesas/e2studio/RZN2L/wolfboot/.api_xml
176+
IDE/Renesas/e2studio/RZN2L/wolfboot/.secure_azone
177+
IDE/Renesas/e2studio/RZN2L/wolfboot/.secure_xml
178+
IDE/Renesas/e2studio/RZN2L/wolfboot/configuration.xml
179+

IDE/Renesas/e2studio/RZN2L/Readme.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This example demonstrates simple secure firmware boot from extarnal flash by wol
66
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.
77

88
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.
1010

1111
## 2. Components, Tools and Board Settings
1212

@@ -102,7 +102,7 @@ Open project under IDE/Renesas/e2studio/RZN2L/wolfBoot with e2Studio, and build
102102
+ Copy <u>configuration.xml</u> and pincfg under `dummy_loader` to `wolfBoot`
103103
+ Open Smart Configurator by clicking copied configuration.xml
104104
+ 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
106106
+ Go to Cross ARM Lincer
107107
+ Change Script files(-T) from `fsp_xspi0_boot.ld` to `fsp_xspi0_boot_loader.ld`
108108
+ Add/Modify FSP generated code :
@@ -179,7 +179,7 @@ if BSP_CFG_C_RUNTIME_INIT && !defined(EXTERNAL_LOADER)
179179
```
180180

181181

182-
+ Build `wolfBoot` projet
182+
+ Build `wolfBoot` project
183183
### 6) Compile the sample application
184184

185185
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
199199
+ Copy <u>configuration.xml</u> and pincfg under `dummy_application` to `app_RZ`
200200
+ Open Smart Configurator by clicking copied configuration.xml
201201
+ 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
203203
+ Go to Cross ARM Lincer
204204
+ Change Script files(-T) from `fsp_xspi0_boot.ld` to `fsp_xspi0_boot_app.ld`
205205
+ Add/Modify FSP generated code :
@@ -266,14 +266,14 @@ if BSP_CFG_C_RUNTIME_INIT && !defined(EXTERNAL_LOADER_APP)
266266
}
267267
```
268268

269-
+ Build `app_RZ` projet
269+
+ Build `app_RZ` project
270270

271271
Code Origin and entry point is "0x10010000". app_RZ.bin is generated under Debug.
272272

273273

274274
### 7) Generate Signature for app V1
275275

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.
277277
It generates a file contain a partition header and application image.
278278
The partition header contain generated signature and other control fields.
279279
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
309309
+ Select `INTCPU0` interrupts and remove it
310310
+ Click `Generate Project Content` on Smart Configurator
311311
+ 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
313313
+ Go to Cross ARM Lincer
314314
+ Change Script files(-T) from `fsp_xspi0_boot.ld` to `fsp_xspi0_boot_loader.ld`
315-
+ Build `flash_simple_loader` projet
315+
+ Build `flash_simple_loader` project
316316

317317
To run the application,
318318

@@ -330,11 +330,11 @@ Flash_update.s
330330
/* .incbin "../../app_RZ/Debug/app_RZ_v2.0_signed.bin" */
331331
```
332332

333-
### 9) Execute inital boot
333+
### 9) Execute initial boot
334334

335335
Now, you can download and start wolfBoot program by e2Studio debugger.
336336
After starting the program, you can see the partition information as follows.
337-
If the boot program succeeds integrity and authenticity check, it initiate the application V1. To initially run `wolfBoot` project,
337+
If the boot program succeeds successfully and authenticity check then start application V1. To initially run `wolfBoot` project,
338338
1.) Right-Click the Project name.
339339
2.) Select `Debug As` -> `Renesas GDB Hardware Debugging`
340340
3.) Select `J-Link ARM`. Click OK.
@@ -344,7 +344,7 @@ You can see RED LED blinking on the board.
344344

345345
### 10) Generate Signed app V2 and download it
346346

347-
Similar to V1, you can signe and generate a binary of V2. The update partition starts at "0x60180000".
347+
Similar to V1, you can sign and generate a binary of V2. The update partition starts at "0x60180000".
348348

349349
```
350350
$ sign --rsa2048 app_RA.bin ../../../../../pri-rsa2048.der 2.0

0 commit comments

Comments
 (0)