Skip to content

Commit fd9670d

Browse files
committed
address review comments
1 parent 3683ad0 commit fd9670d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

IDE/Renesas/e2studio/RZN2L/Readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 1. Overview
44

55
This example demonstrates simple secure firmware boot from extarnal flash by wolfBoot.
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.
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 Yellow(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.
99
You can download and execute wolfBoot by e2Studio debugger. Use a USB connection between PC and the board for the debugger and flash programmer.
@@ -42,7 +42,7 @@ Flash Simple Loader IDE/Renesas/e2studio/RZN2L/flash_app
4242

4343

4444
### 2-3. Board Settings
45-
The switch and jumber settings required to run the sample program from external flash are shown below. For details on each setting, see the Renesas Starter Kit+ for RZN2L User's Manual.
45+
The switch and jumper settings required to run the sample program from external flash are shown below. For details on each setting, see the Renesas Starter Kit+ for RZN2L User's Manual.
4646

4747
|Project|SW4-1|SW4-2|SW4-3|SW4-4|SW4-7|
4848
|:--|:--|:--|:--|:--|:--|
@@ -275,7 +275,7 @@ Code Origin and entry point is "0x10010000". app_RZ.bin is generated under Debug
275275

276276
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.
278-
The partition header contain generated signature and other control fields.
278+
The partition header contains the 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.
280280

281281
```
@@ -321,7 +321,7 @@ To run the application,
321321
+ Select `J-Link ARM`. Click OK.
322322
+ Select `R9A07G084M04`. Click OK.
323323

324-
This simple application jsut downloads binaly files defiend in `Flash_section.s` and `Flash_updaet.s` through J-Link Flash Downloader. `Flash_update.s` doesn't includes `the app v2` initially.
324+
This simple application just downloads binaly files defiend in `Flash_section.s` and `Flash_updaet.s` through J-Link Flash Downloader. `Flash_update.s` doesn't includes `the app v2` initially.
325325

326326
Flash_update.s
327327

src/boot_renesas.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
#include "wolfboot/wolfboot.h"
2525
#include "hal.h"
2626

27+
#ifdef _RENESAS_RZN_
28+
extern uint32_t IMAGE_APP_RAM_start;
29+
#endif
2730
/* This is the main loop for the bootloader.
2831
*
2932
* It performs the following actions:
@@ -67,7 +70,7 @@ void do_boot(const uint32_t *app_offset)
6770
app_entry = (void(*)(void))(*VECTOR_Reset_Handler);
6871
(*app_entry)();
6972
#elif defined(_RENESAS_RZN_)
70-
app_entry = (void(*))(0x10010000);
73+
app_entry = (void(*))(&IMAGE_APP_RAM_start);
7174
/* Jump to the application project */
7275
app_entry();
7376
#endif

0 commit comments

Comments
 (0)