Hideki Miyazaki
d9ada916e9
addressed review comments
2023-06-10 08:53:32 +02:00
David Garske
6f24981f03
Improvements to the clock calculation code (dynamic based on ratio). Remove execute bits on files. Make stage1 PIC. Disable L1/L2 for first stage. Add PLT/GOT to .data region.
2023-05-10 15:11:09 -07:00
David Garske
c2fbcecda1
Reduce first stage init code (don't relocate CCSRBAR or invalidate all TLB's). Improve udelay to use timebase. Fix L1 cache line sizes. Fix L2ADDR to enable all 256KB. Use `do_boot` not the jump to function pointer. Switch PPC test app linker script to use `WOLFBOOT_LOAD_ADDRESS`.
2023-05-08 17:42:14 -07:00
David Garske
0f110e4cd9
Progress on eSPI support for NXP P1021 TPM.
2023-05-04 15:23:45 -07:00
David Garske
ef35f473c9
Merge pull request #296 from jpbland1/tpm-root-trust
...
wolfTPM pubkey storage with policy based access restriction
2023-05-04 15:09:06 -07:00
David Garske
69ca95eb94
Adds `factory_wstage1.bin` option to include first stage loader. Fix test-app verbose issue.
2023-04-21 16:41:00 +02:00
David Garske
553ec760fd
NXP QorIQ refactor for shared PPC (e500 / e6500) registers
...
* Fixes for e500 L1/L2 cache.
* Fixes for eLBC and DDR3 drivers on P1021.
* Fixes for LAW and TLB for P1021.
* Fix for the e500v2 core peripheral issues with data barrier / coherency safety.
* Support for SP math all (`SPMATHALL=1`).
* Support for stage 1 loader (`make stage1`).
2023-04-21 16:41:00 +02:00
John Bland
371ff3bb9e
add documentation for using --policy-signed
2023-04-18 17:29:27 -04:00
Daniele Lacamera
2f2a6d416d
Support encrypted images in MMU targets
2023-03-09 16:31:29 +01:00
Brett Nicholas
a943e9defc
updated to include RT1064
2023-03-06 17:31:48 +01:00
John Bland
80dbfffb26
change to wolfBoot.bin
2023-01-31 09:26:20 -08:00
John Bland
92bd8b6757
update flashing documentation and update scripts for the stm32u5
2023-01-31 09:26:20 -08:00
David Garske
47e9d7a591
Merge pull request #261 from cmcquinn/cmake-fixes
...
Improvements and fixes for CMake
2023-01-13 15:28:55 -08:00
David Garske
63c35ac95a
Fixes for NXP P1021 NAND flash mapping and boot page.
2022-12-29 18:27:40 +01:00
David Garske
022b8d3c13
Progress on adding NXP QorIQ P1021 support.
2022-12-29 18:27:40 +01:00
David Garske
e88a7dcae3
Progress on DDR support for QorIQ. Refactor the platform to use "nxp_".
2022-12-29 18:27:40 +01:00
David Garske
a9526bab8f
STM32 QSPI Flash support. Refactor SPI to allow different GPIO base/AF for each pin. Adds `DEBUG_UART` support for H7.
2022-12-20 13:31:28 +01:00
Cameron McQuinn
8ace007cd8
Improvements and fixes for CMake
2022-12-15 00:56:57 -07:00
David Garske
6d45564112
Test size increases. Improve user_settings.h ECC options.
2022-12-06 06:20:48 +01:00
David Garske
2fc899254f
Cleanups for NXP T2080 DEOS support:
...
* Expanded the NXP QorIQ T2080 documentation in `docs/Targets.md`.
* T2080 fixes for boot code placement and generation of .bin.
* T2080 UART driver cleanup.
* Improve bin-assemble fill speed and report items added.
* Make portability fixes to enable building in `mingw32-make`.
* Cleanup the `docs/Targets.md` sections and links.
* Cleanup execute bits on code files.
2022-12-06 06:20:48 +01:00
David Garske
c346fab41b
Support for NAII 68PPC2 with NXP T2080 on DEOS
2022-09-23 15:44:49 +02:00
Daniele Lacamera
32c99d4687
Simplified qemu command line for raspi3b
2022-07-22 09:27:04 +02:00
Daniele Lacamera
8945c2a93e
New qemu machine name for rpi is `raspi3b`
2022-07-22 09:23:49 +02:00
Daniele Lacamera
1f1b6200d5
Fixed RAM size for rpi example in docs
2022-07-21 21:13:28 +02:00
Daniele Lacamera
93dd53ac0f
Fixed support for raspberry-pi
2022-07-21 20:18:34 +02:00
Daniele Lacamera
c9a7c2bc8d
Updated documentation with new keygen syntax
2022-07-20 20:17:22 +02:00
David Garske
cb5b39c79e
Updates to documentation for using wolfBoot on Raspberry Pi and QEMU.
2022-07-19 15:30:31 +02:00
Marco Oliverio
c077207b01
feature: simulated target
...
This commit introduces a simulated target where the internal and optionally the
external flash can be simulated and backed by files. Using this target will
produce an executable wolfBoot ELF image.
2022-07-12 10:13:10 +02:00
David Garske
6068a8047c
wolfBoot improvements (from elms):
...
* Add `WOLFBOOT_DUALBOOT` for dynamic fallback
* Refactor header field parsing
* Cleanup compiler warnings and logic extra check
* Option to leave out partition based functions
* Add `WOLFBOOT_FIXED_PARTITIONS` enable using partition enum and related functions
* Wrap all delta update references
* Update raspberry documentation
* EFI refactoring
* Add `keytools_check` target
* Add "library" target
2022-05-20 08:06:07 +02:00
David Garske
1c9e3fd46d
Updated Targets.md with RT1050 information.
2022-04-27 11:15:32 -07:00
Elms
048eaffbe6
EFI: fixes and expand documenation
...
* Add EFI x86_64 include
* fix keytools build with EFI config
* Enable debug by default
* Expand `Targets.md` EFI section
2022-02-25 01:16:59 -08:00
David Garske
b46c5b222c
Cleanup STM32H7 target documentation and code.
2022-02-14 10:51:53 -08:00
David Garske
4b3eb8e6fe
Improve G0 target documentation for using the official STM32 tools.
2022-01-28 16:10:29 -08:00
David Garske
5463105eab
Adds STM32U5 support. Thank you ST.
2022-01-24 00:07:03 -08:00
David Garske
84be565596
Add Nordic nRF52 support to documentation.
2022-01-19 23:53:23 -08:00
Marco Oliverio
a187442455
support booting EFI application on x86_64 architecture
...
Co-authored-by: Daniele Lacamera <daniele@wolfssl.com>
2021-11-30 18:43:50 +01:00
David Garske
905730d927
Fixes for secure user memory feature.
2021-11-29 23:17:43 -08:00
David Garske
2526dbb40a
Fix to use flash base address on STM32G0.
2021-11-29 23:17:43 -08:00
David Garske
c6edd2ad5e
Fix comment on sizes for STM32G0.
2021-11-29 23:17:43 -08:00
Hajer KALLEL
de330fbe4f
Alligned addresses for STM32L4
2021-08-26 13:03:49 -07:00
Hajer KALLEL
3ee5f3942a
Added link to STM32L4
2021-08-26 13:03:49 -07:00
Hajer KALLEL
dc798f29e2
Added support for STM32L4
2021-08-26 13:03:49 -07:00
David Garske
1509b233da
STM32L5 Documentation improvements.
2021-08-02 01:33:11 -07:00
David Garske
a7b61db9e1
Cleanup ARM boot code. TI R5 support.
2021-06-23 09:12:17 +02:00
Elms
a63e1d9638
docs: Add NXP T2080 PPC to documentation
2021-06-08 18:14:41 +02:00
David Garske
252b3bcab9
Added list of targets to top of docs/Targets.md.
2021-04-26 15:04:26 -07:00
David Garske
c14e70a12c
Changed RSA4096 to use SP math. Fix to disable dynamic stacks `WOLFSSL_SP_NO_DYN_STACK`. Added G0 details. Update submodules.
2021-03-26 16:38:08 +01:00
Daniele Lacamera
61da2d8d3d
Fixed documentation for STM32F4 sector size (issue #110 )
2021-02-05 10:28:11 +01:00
Daniele Lacamera
e0e9cca36b
Removed unnecessary DTS signing
2021-02-02 18:47:45 +01:00
Daniele Lacamera
291b28c430
Fixed RaspberryPi documentation (dtb is not signed)
2021-02-02 11:55:43 +01:00
David Garske
bd87099f10
eFuse reading.
2020-11-12 10:47:32 +01:00
David Garske
c5ec4e31d8
Merge pull request #81 from danielinux/imx-rt1060
...
i.MX-RT1060 support
2020-10-09 09:35:29 -07:00
Daniele Lacamera
b8dd5d604d
Updated documentation for RT1060
2020-10-09 17:03:46 +02:00
Daniele Lacamera
cd9c92caa6
Added short documentation for imx-rt1060
2020-10-09 13:55:44 +02:00
David Garske
9d3f763354
Fix for scripts to detect and use C version of signing tool if available. Updated instructions to use correct address. Minor cleanups.
2020-09-30 11:45:53 -07:00
Daniele Lacamera
f8d1779ef2
Added description for non-secure (dual-bank) mode on L5.
...
Minor fixes for L5: added missing linker sections, disabled MPU.
2020-09-09 14:26:30 -07:00
Daniele Lacamera
5614c75f1e
Fixed address alignment, TZEN=0 mode not yet working
2020-09-09 14:26:30 -07:00
Daniele Lacamera
12ea412029
Cosmetic fixes (whitespaces)
2020-09-09 14:26:30 -07:00
David Garske
43c2e3dd79
Experimental support for STM32L5
2020-09-09 14:26:30 -07:00
David Garske
a11a3a3bc1
Fix for building C tools with Visual Studio.
2020-07-24 10:59:26 -07:00
David Garske
0c5b66c39e
Fixes for TPM with RSA.
...
* Requires PR https://github.com/wolfSSL/wolfTPM/pull/101
* Cleanup of software vs. TPM code `wolfBoot_verify_signature` functions (ECC and RSA)
* Adjusted the stack size checks with TPM.
* Added STM32F4 programming/debugging instructions.
* In V=1 mode show the keygen command.
2020-06-23 11:57:09 -07:00
Daniele Lacamera
2d5576bb2f
Added note in documentation about hw acceleration
2020-06-05 11:51:50 +02:00
David Garske
010d6dece4
Fixes to config and documentation for STM32WB.
2020-05-26 09:20:32 -07:00
David Garske
1adb2bcae0
Fix for C keygen tool RSA len variable and the ED25519 generated key. Added description to C sign defaults. Added template Cypress PSoC6 configuration file.
2020-05-20 08:28:06 -07:00
Daniele Lacamera
28e29cb20b
Don't update clock settings before staging.
...
(mentioned in docs/Targets.md)
2020-05-20 06:53:00 -07:00
Daniele Lacamera
f3d0d8fc83
PSoC6 support: updated configuration, docs added to Targets.md, revert
...
custom NVM_CACHE_SIZE
2020-05-20 06:53:00 -07:00
David Garske
2867025ae5
Fixes for handling U-Boot image and DTS. Moved the Xilinx SDK project target settings into target.h.
2020-03-05 15:39:22 -08:00
David Garske
c0b534edd7
wolfBoot Aarch64 support (Xilinx Zynq and Raspberry Pi):
...
* Added Aarch64 boot/startup support
* Added configuration templates for Raspberry Pi 3 and Xilinx ZynqMP UltraScale+
* Added Xilinx Zynq QSPI bare-metal Driver
* Added `NO_XIP` option for full `ext_flash_*` API on all partitions
* Added Xilinx SDK Project Template
* Added support for DTS image partitions
* Added wolfBoot signing tool in Native C (`tools/keytools/sign.c`).
* Added libwolfboot functions `int wolfBoot_fallback_is_possible(void);` and `int wolfBoot_dualboot_candidate(void);`
* Performance improvement to only hash application firmware image once
2020-03-04 12:04:46 -08:00
Daniele Lacamera
0518b68b1a
Added Target.md documentation
2020-03-04 14:33:55 +01:00
David Garske
5779baa8a9
Various items for STM32WB55
2019-12-20 19:08:31 +01:00
David Garske
041ca75793
Added support for TPM2.0 module via wolfTPM. Tested with STM32F4. Build using `make SIGN=ECC256 WOLFTPM=1`.
2019-12-17 10:59:11 -08:00
David Garske
d146193615
Support for STM32H7.
2019-12-16 14:44:45 -08:00
David Garske
dfbb027bab
Fixes for build targets.
2019-11-11 14:00:17 -08:00
Daniele Lacamera
f9f10cb099
Added support for STM32WB
2019-07-30 14:16:03 -07:00
Daniele Lacamera
34def41dd1
Added support for STM32F7 + DUALBANK_SWAP hw-assisted support
2019-07-17 11:37:43 -07:00
Daniele Lacamera
78d6de5d40
Updated wolfssl to latest master, fixes Cortex-M0 issue.
2019-07-17 09:27:03 +02:00
David Garske
f2be454e08
Fixes for building STM32G0.
2019-07-16 12:04:34 -07:00
Daniele Lacamera
254882c5f2
Added support for STM32G0 (tested on STM32G070-Nucleo)
2019-07-16 08:46:14 -07:00
Daniele Lacamera
e8eb299621
Added documentation for STM32-L0x3
2019-07-16 11:41:56 +02:00
David Garske
92ed57832f
Fixes for long jump. Targets.md fix for RAM_CODE typo.
2019-06-12 17:25:38 +02:00
David Garske
7a28c9efa4
Resolved peer review items. Thanks Daniele. Documentation improvements. Added open() check for update server example.
2019-06-10 21:21:32 +02:00
David Garske
33e3607e21
Updates to documentation for RISC-V addresses. Added link to wolfBoot-examples repo. Revert target.h changes.
2019-06-10 17:58:31 +02:00
David Garske
1b68506fdc
Added unused function pruning to RISCV build. Updated debugging commands.
2019-06-08 17:46:47 -07:00
David Garske
317bca179c
Fix for `ARCH_FLASH_OFFSET` when make script is gathering `.wolfboot-offset` and `.wolfboot-partition-size` files. Updates to Target.md. Cleanups to test tools.
2019-06-07 14:17:15 -07:00
David Garske
0f00f8e700
SiFive HiFive (FE310) RISC-V support
...
* HiFive1 HAL Support for PLL Clock, UART, RTC and Flash QSPI Erase/Write.
* HiFive1 update demo application for accepting firmware updates over UART.
* Added test-update-server application for pushing firmware image over UART.
* Fixes for building with `make SIGN=ECC256`.
* Improvements to wolfCrypt `user_settings.h`.
* General library cleanup (license headers and formatting)
* Updated the wolfSSL submodule to latest.
* Documentation updates including new `Targets.md` section for hardare instructions.
2019-06-07 13:08:15 -07:00