Skip to content

Commit 3444c47

Browse files
dgarskedanielinux
authored andcommitted
* Added support for RX65N and RX72N with native Makefile and RX ELF GCC compiler.
* Added initialization of the clocks and UART driver. - wolfBoot uses on chip high speed oscillator (HOCO) at (120MHz RX65N and 240Mhz for RX72N). * Added RX RSPI and QSPI driver support with external SPI flash * Improve documentation and fix spelling errors. * Added .srec (s-record) format support * Added RX TSIP support for ECDSA (requires wolfSSL/wolfssl#7685). * Allow custom implementation of `get_trailer_at`, `set_trailer_at` and `set_partition_magic` using `CUSTOM_PARTITION_TRAILER`
1 parent 35db4cf commit 3444c47

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+4507
-632
lines changed

.github/workflows/test-powerfail-simulator.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ jobs:
6060
tools/scripts/sim-update-emergency-fallback.sh
6161
6262
63-
# TEST with NVM_WRITEONCE enabled
63+
# TEST with NVM_FLASH_WRITEONCE enabled
6464
- name: make clean
6565
run: |
6666
make distclean
6767
68-
- name: Select config with NVM_WRITEONCE
68+
- name: Select config with NVM_FLASH_WRITEONCE
6969
run: |
7070
cp config/examples/sim-nvm-writeonce.config .config
7171
@@ -77,23 +77,23 @@ jobs:
7777
run: |
7878
make clean && make test-sim-internal-flash-with-update
7979
80-
- name: Run sunny day update test (NVM_WRITEONCE)
80+
- name: Run sunny day update test (NVM_FLASH_WRITEONCE)
8181
run: |
8282
tools/scripts/sim-sunnyday-update.sh
8383
8484
- name: Rebuild wolfboot.elf
8585
run: |
8686
make clean && make test-sim-internal-flash-with-update
8787
88-
- name: Run update-revert test (NVM_WRITEONCE)
88+
- name: Run update-revert test (NVM_FLASH_WRITEONCE)
8989
run: |
9090
tools/scripts/sim-update-fallback.sh
9191
9292
- name: Rebuild wolfboot.elf
9393
run: |
9494
make clean && make test-sim-internal-flash-with-update
9595
96-
- name: Run update-revert test with power failures (NVM_WRITEONCE)
96+
- name: Run update-revert test with power failures (NVM_FLASH_WRITEONCE)
9797
run: |
9898
tools/scripts/sim-update-powerfail-resume.sh
9999
@@ -106,12 +106,12 @@ jobs:
106106
tools/scripts/sim-update-emergency-fallback.sh
107107
108108
109-
# TEST with NVM_WRITEONCE AND FLAGS_HOME enabled
109+
# TEST with NVM_FLASH_WRITEONCE AND FLAGS_HOME enabled
110110
- name: make clean
111111
run: |
112112
make distclean
113113
114-
- name: Select config with NVM_WRITEONCE and FLAGS_HOME
114+
- name: Select config with NVM_FLASH_WRITEONCE and FLAGS_HOME
115115
run: |
116116
cp config/examples/sim-nvm-writeonce-flags-home.config .config
117117
@@ -123,23 +123,23 @@ jobs:
123123
run: |
124124
make clean && make test-sim-internal-flash-with-update
125125
126-
- name: Run sunny day update test (NVM_WRITEONCE FLAGS_HOME)
126+
- name: Run sunny day update test (NVM_FLASH_WRITEONCE FLAGS_HOME)
127127
run: |
128128
tools/scripts/sim-sunnyday-update.sh
129129
130130
- name: Rebuild wolfboot.elf
131131
run: |
132132
make clean && make test-sim-internal-flash-with-update
133133
134-
- name: Run update-revert test (NVM_WRITEONCE FLAGS_HOME)
134+
- name: Run update-revert test (NVM_FLASH_WRITEONCE FLAGS_HOME)
135135
run: |
136136
tools/scripts/sim-update-fallback.sh
137137
138138
- name: Rebuild wolfboot.elf
139139
run: |
140140
make clean && make test-sim-internal-flash-with-update
141141
142-
- name: Run update-revert test with power failures (NVM_WRITEONCE FLAGS_HOME)
142+
- name: Run update-revert test with power failures (NVM_FLASH_WRITEONCE FLAGS_HOME)
143143
run: |
144144
tools/scripts/sim-update-powerfail-resume.sh
145145
@@ -152,12 +152,12 @@ jobs:
152152
tools/scripts/sim-update-emergency-fallback.sh
153153
154154
155-
# TEST with NVM_WRITEONCE AND FLAGS_HOME AND FLAGS_INVERT enabled
155+
# TEST with NVM_FLASH_WRITEONCE AND FLAGS_HOME AND FLAGS_INVERT enabled
156156
- name: make clean
157157
run: |
158158
make distclean
159159
160-
- name: Select config with NVM_WRITEONCE and FLAGS_HOME and FLAGS_INVERT
160+
- name: Select config with NVM_FLASH_WRITEONCE and FLAGS_HOME and FLAGS_INVERT
161161
run: |
162162
cp config/examples/sim-nvm-writeonce-flags-home-invert.config .config
163163
@@ -169,23 +169,23 @@ jobs:
169169
run: |
170170
make clean && make test-sim-external-flash-with-update
171171
172-
- name: Run sunny day update test (NVM_WRITEONCE FLAGS_HOME FLAGS_INVERT)
172+
- name: Run sunny day update test (NVM_FLASH_WRITEONCE FLAGS_HOME FLAGS_INVERT)
173173
run: |
174174
tools/scripts/sim-sunnyday-update.sh
175175
176176
- name: Rebuild wolfboot.elf
177177
run: |
178178
make clean && make test-sim-external-flash-with-update
179179
180-
- name: Run update-revert test (NVM_WRITEONCE FLAGS_HOME)
180+
- name: Run update-revert test (NVM_FLASH_WRITEONCE FLAGS_HOME)
181181
run: |
182182
tools/scripts/sim-update-fallback.sh
183183
184184
- name: Rebuild wolfboot.elf
185185
run: |
186186
make clean && make test-sim-external-flash-with-update
187187
188-
- name: Run update-revert test with power failures (NVM_WRITEONCE FLAGS_HOME FLAGS_INVERT)
188+
- name: Run update-revert test with power failures (NVM_FLASH_WRITEONCE FLAGS_HOME FLAGS_INVERT)
189189
run: |
190190
tools/scripts/sim-update-powerfail-resume.sh
191191
@@ -325,7 +325,7 @@ jobs:
325325
tools/scripts/sim-update-powerfail-resume.sh
326326
327327
328-
# TEST with encryption (aes128) and NVM_WRITEONCE
328+
# TEST with encryption (aes128) and NVM_FLASH_WRITEONCE
329329
- name: make clean
330330
run: |
331331
make distclean
@@ -342,23 +342,23 @@ jobs:
342342
run: |
343343
make clean && make test-sim-external-flash-with-enc-update
344344
345-
- name: Run sunny day update test (AES128 NVM_WRITEONCE)
345+
- name: Run sunny day update test (AES128 NVM_FLASH_WRITEONCE)
346346
run: |
347347
tools/scripts/sim-sunnyday-update.sh
348348
349349
- name: Rebuild wolfboot.elf
350350
run: |
351351
make clean && make test-sim-external-flash-with-enc-update
352352
353-
- name: Run update-revert test (AES128 NVM_WRITEONCE)
353+
- name: Run update-revert test (AES128 NVM_FLASH_WRITEONCE)
354354
run: |
355355
tools/scripts/sim-update-fallback.sh
356356
357357
- name: Rebuild wolfboot.elf
358358
run: |
359359
make clean && make test-sim-external-flash-with-enc-update
360360
361-
- name: Run update-revert test with power failures (AES128 NVM_WRITEONCE)
361+
- name: Run update-revert test with power failures (AES128 NVM_FLASH_WRITEONCE)
362362
run: |
363363
tools/scripts/sim-update-powerfail-resume.sh
364364
@@ -370,7 +370,7 @@ jobs:
370370
run: |
371371
tools/scripts/sim-update-emergency-fallback.sh
372372
373-
# TEST with encryption (aes128) and NVM_WRITEONCE and FLAGS_HOME
373+
# TEST with encryption (aes128) and NVM_FLASH_WRITEONCE and FLAGS_HOME
374374

375375
- name: make clean
376376
run: |
@@ -387,19 +387,19 @@ jobs:
387387
- name: Build wolfboot.elf
388388
run: |
389389
make clean && make test-sim-external-flash-with-enc-update
390-
- name: Run sunny day update test (AES128 NVM_WRITEONCE FLAGS_HOME)
390+
- name: Run sunny day update test (AES128 NVM_FLASH_WRITEONCE FLAGS_HOME)
391391
run: |
392392
tools/scripts/sim-sunnyday-update.sh
393393
- name: Rebuild wolfboot.elf
394394
run: |
395395
make clean && make test-sim-external-flash-with-enc-update
396-
- name: Run update-revert test (AES128 NVM_WRITEONCE FLAGS_HOME)
396+
- name: Run update-revert test (AES128 NVM_FLASH_WRITEONCE FLAGS_HOME)
397397
run: |
398398
tools/scripts/sim-update-fallback.sh
399399
- name: Rebuild wolfboot.elf
400400
run: |
401401
make clean && make test-sim-external-flash-with-enc-update
402-
- name: Run update-revert test with power failures (AES128 NVM_WRITEONCE FLAGS_HOME)
402+
- name: Run update-revert test with power failures (AES128 NVM_FLASH_WRITEONCE FLAGS_HOME)
403403
run: |
404404
tools/scripts/sim-update-powerfail-resume.sh
405405
@@ -411,7 +411,7 @@ jobs:
411411
run: |
412412
tools/scripts/sim-update-emergency-fallback.sh
413413
414-
# TEST with encryption (aes128) and NVM_WRITEONCE and FLAGS_HOME and FLAGS_INVERT
414+
# TEST with encryption (aes128) and NVM_FLASH_WRITEONCE and FLAGS_HOME and FLAGS_INVERT
415415

416416
- name: make clean
417417
run: |
@@ -428,19 +428,19 @@ jobs:
428428
- name: Build wolfboot.elf
429429
run: |
430430
make clean && make test-sim-external-flash-with-enc-update
431-
- name: Run sunny day update test (AES128 NVM_WRITEONCE FLAGS_HOME FLAGS_INVERT)
431+
- name: Run sunny day update test (AES128 NVM_FLASH_WRITEONCE FLAGS_HOME FLAGS_INVERT)
432432
run: |
433433
tools/scripts/sim-sunnyday-update.sh
434434
- name: Rebuild wolfboot.elf
435435
run: |
436436
make clean && make test-sim-external-flash-with-enc-update
437-
- name: Run update-revert test (AES128 NVM_WRITEONCE FLAGS_HOME FLAGS_INVERT)
437+
- name: Run update-revert test (AES128 NVM_FLASH_WRITEONCE FLAGS_HOME FLAGS_INVERT)
438438
run: |
439439
tools/scripts/sim-update-fallback.sh
440440
- name: Rebuild wolfboot.elf
441441
run: |
442442
make clean && make test-sim-external-flash-with-enc-update
443-
- name: Run update-revert test with power failures (AES128 NVM_WRITEONCE FLAGS_HOME FLAGS_INVERT)
443+
- name: Run update-revert test with power failures (AES128 NVM_FLASH_WRITEONCE FLAGS_HOME FLAGS_INVERT)
444444
run: |
445445
tools/scripts/sim-update-powerfail-resume.sh
446446
@@ -452,7 +452,7 @@ jobs:
452452
run: |
453453
tools/scripts/sim-update-emergency-fallback.sh
454454
455-
# TEST with encryption (aes128) and NVM_WRITEONCE and DELTA updates
455+
# TEST with encryption (aes128) and NVM_FLASH_WRITEONCE and DELTA updates
456456
- name: make clean
457457
run: |
458458
make distclean
@@ -516,7 +516,7 @@ jobs:
516516
run: |
517517
tools/scripts/sim-update-powerfail-resume-nobackup.sh
518518
519-
# TEST with backup disabled + NVM_WRITEONCE
519+
# TEST with backup disabled + NVM_FLASH_WRITEONCE
520520
- name: make clean
521521
run: |
522522
make distclean

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ src/ecc384_pub_key.c
6060
src/ecc512_pub_key.c
6161
src/rsa2048_pub_key.c
6262
src/rsa4096_pub_key.c
63+
# Renesas key data files
64+
include/key_data.c
65+
include/key_data.h
6366

6467
# keygen binaries
6568
tools/keytools/sign
@@ -149,6 +152,7 @@ debug/lauterbach
149152
*.gcda
150153
*.gcno
151154
coverage.*
155+
152156
IDE/MPLAB/test-app/test-usb-updater.same51.X/dist/
153157
IDE/MPLAB/test-app/test-usb-updater.same51.X/.generated_files/
154158
IDE/MPLAB/bootloader/wolfboot-same51.dualbank.X/dist/
@@ -205,3 +209,15 @@ include/x86/fsp/FspmUpd.h
205209
include/x86/fsp/FspsUpd.h
206210
include/x86/fsp/FsptUpd.h
207211
include/x86/fsp/MemInfoHob.h
212+
213+
# IDE Renesas e2Studio generated
214+
IDE/Renesas/e2studio/RX72N/app_RenesasRX01/HardwareDebug
215+
IDE/Renesas/e2studio/RX72N/app_RenesasRX01/src/smc_gen
216+
IDE/Renesas/e2studio/RX72N/wolfBoot/HardwareDebug
217+
IDE/Renesas/e2studio/RX72N/wolfBoot/src/smc_gen
218+
219+
# Renesas Libraries
220+
lib/r_bsp
221+
lib/r_config
222+
lib/r_flash_rx
223+
lib/r_tsip_rx

0 commit comments

Comments
 (0)