mirror of https://github.com/wolfSSL/wolfBoot.git
parent
5993cb4fa3
commit
b92509a438
|
@ -2,9 +2,12 @@
|
|||
|
||||
## 1. Overview
|
||||
|
||||
This example demonstrates simple secure firmware boot from extarnal flash by wolfBoot.
|
||||
This example demonstrates simple secure firmware boot from extarnal flash by wolfBoot. The exmaple uses SPI boot mode with external flash on the evaluation board.
|
||||
|
||||
|
||||
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.
|
||||
|
||||
|
||||
In this demo, you may download two versions of the application binary file.
|
||||
You can download and execute wolfBoot by e2Studio debugger. Use a USB connection between PC and the board for the debugger and flash programmer.
|
||||
|
||||
|
@ -53,7 +56,7 @@ The switch and jumper settings required to run the sample program from external
|
|||
|xSPI0 boot mode|Short 2-3|Short2-3|
|
||||
|
||||
## 3. Operation Overview
|
||||
On this boot mode, the loader program, which is wolfBoot, is copied to the internal RAM(B-TCM). wolfBoot copies the application program from external flash memory to RAM(System RAM) if its integrity and authenticity are OK. As final step of wolfBoot the entry point of the copied applicatin program is called.
|
||||
The exmaple uses SPI boot mode with external flash on the evaluation board. On this boot mode, the loader program, which is wolfBoot, is copied to the internal RAM(B-TCM). wolfBoot copies the application program from external flash memory to RAM(System RAM). As final step of wolfBoot the entry point of the copied applicatin program is called if its integrity and authenticity are OK.
|
||||
|
||||

|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Enabled via WOLFSSL_USER_SETTINGS.
|
||||
*
|
||||
*
|
||||
* Copyright (C) 2023 wolfSSL Inc.
|
||||
* Copyright (C) 2024 wolfSSL Inc.
|
||||
*
|
||||
* This file is part of wolfBoot.
|
||||
*
|
||||
|
|
|
@ -26,4 +26,3 @@
|
|||
|
||||
.section .IMAGE_APP_FLASH_section, "ax", %progbits
|
||||
.incbin "../../app_RZ/Debug/app_RZ_v1.0_signed.bin"
|
||||
|
||||
|
|
|
@ -27,4 +27,4 @@ the loader project. */
|
|||
|
||||
.section .IMAGE_APP_FLASH_update, "ax", %progbits
|
||||
/* To download the app v2, please remove comment out. */
|
||||
.incbin "../../app_RZ/Debug/app_RZ_v2.0_signed.bin"
|
||||
/* .incbin "../../app_RZ/Debug/app_RZ_v2.0_signed.bin" */
|
||||
|
|
|
@ -29,9 +29,11 @@ This README describes configuration of supported targets.
|
|||
* [Xilinx Zynq UltraScale](#xilinx-zynq-ultrascale)
|
||||
* [Renesas RX72N](#renesas-rx72n)
|
||||
* [Renesas RA6M4](#renesas-ra6m4)
|
||||
* [Renesas RZN2L](#renesas-rzn2l)
|
||||
* [Qemu x86-64 UEFI](#qemu-x86-64-uefi)
|
||||
* [Intel x86-64 Intel FSP](#Intel-x86_64-with-Intel-FSP-support)
|
||||
|
||||
|
||||
## STM32F4
|
||||
|
||||
Example 512KB partitioning on STM32-F407
|
||||
|
@ -1827,6 +1829,17 @@ Flash Allocation:
|
|||
|
||||
Detailed steps can be found at [Readme.md](../IDE/Renesas/e2studio/RA6M4/Readme.md).
|
||||
|
||||
## Renesas RZN2L
|
||||
This example demonstrates simple secure firmware boot from extarnal flash by wolfBoot.
|
||||
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.
|
||||
|
||||
The exmaple uses SPI boot mode with external flash on the evaluation board. On this boot mode, the loader program, which is wolfBoot, is copied to the internal RAM(B-TCM). wolfBoot copies the application program from external flash memory to RAM(System RAM). As final step of wolfBoot the entry point of the copied applicatin program is called if its integrity and authenticity are OK.
|
||||
|
||||

|
||||
|
||||
|
||||
Detailed steps can be found at [Readme.md](../IDE/Renesas/e2studio/RZN2L/Readme.md).
|
||||
|
||||
## Qemu x86-64 UEFI
|
||||
|
||||
The simplest option to compile wolfBoot as a bootloader for x86-64bit machines is
|
||||
|
|
Loading…
Reference in New Issue