Commit Graph

191 Commits (ac6f5207c702ea5e809134d41ce73263b372e291)

Author SHA1 Message Date
Daniele Lacamera 4ee867b2dd Fixes for stm32wb test
- added img->hdr_ok flag when opening external flash image
- correct return value for uart_flash ext_flash functions
- correct image size in prepare_encrypte_update.sh
2022-12-16 17:49:46 +01:00
David Garske b1d7c43043 Fix for external SPI broken with cd6597e2a0 2022-12-14 23:07:38 +01:00
Lealem Amedie 18bfcecd6b wolfBoot cmake support 2022-12-07 13:00:10 -08:00
David Garske 4c92552fc7 Progress on DDR support. 2022-12-06 06:20:48 +01:00
David Garske 2a481af879 Fix bug with update_ram.c when using fixed partitions. Support for MMU setup on e6500. Progress on DDR support. 2022-12-06 06:20:48 +01:00
David Garske bc89cb6594 Added minimalistic printf UART support (enabled with `DEBUG_UART`). 2022-12-06 06:20:48 +01:00
David Garske bfed41889b Improvements to the NXP T2080 support. Adds NOR Flash and IFC configuration. Adds CPLD support. Make `DEBUG_UART` a configure option. 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 c3b5ac156b Experimental STM32U5 external flash support. 2022-11-23 18:13:03 +01:00
David Garske 62c7cd296a Fixes for wolfBoot Xilinx QSPI support. 2022-10-10 11:58:57 +02:00
David Garske c346fab41b Support for NAII 68PPC2 with NXP T2080 on DEOS 2022-09-23 15:44:49 +02:00
Daniele Lacamera a6fdec3901 self-encrypt prototype; tested on stm32l0 2022-09-21 18:49:52 +02:00
Daniele Lacamera 93dd53ac0f Fixed support for raspberry-pi 2022-07-21 20:18:34 +02:00
Daniele Lacamera b6465dc0b2 WIP raspi fix 2022-07-21 20:18:34 +02:00
Daniele Lacamera c4ca592f43 Fixed rpi load address, do_boot jump 2022-07-21 20:18:34 +02:00
Daniele Lacamera 1d0eea8c6a Fix uninitialized pointers + segfault in test-lib 2022-07-20 20:18:16 +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 f63c323677 Cleanups and restore a few changes. 2022-05-20 08:06:07 +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 57627140a3
Merge pull request #199 from danielinux/i.mx-rt1050
Added support for NXP i.MX-RT105x
2022-04-27 11:35:44 -07:00
Daniele Lacamera bc111ae41c Removed duplicate definition section 2022-04-27 14:37:53 +02:00
Daniele Lacamera ee2e250376 [RT1050] Fix flash geometry configuration 2022-04-27 14:26:22 +02:00
Daniele Lacamera 51de556e1b Added support for NXP i.MX-RT105x 2022-04-21 18:53:24 +02:00
Daniele Lacamera 6f2c761078 Do not override HAL_GetTick when building library 2022-04-13 11:25:35 +02:00
David Garske b46c5b222c Cleanup STM32H7 target documentation and code. 2022-02-14 10:51:53 -08:00
David Garske e3aaeccdb2 Minor fixes to get the IAR example building. 2022-02-14 10:47:02 -08:00
Daniele Lacamera daff2a04a8 Fixed STM32L4 HAL, added IMAGE_HEADER_SIZE option 2022-02-02 12:05:14 +01:00
David Garske 5463105eab Adds STM32U5 support. Thank you ST. 2022-01-24 00:07:03 -08:00
Daniele Lacamera 34341f96f7 Change FLASH origin for stm32f4 to 0x08000000 2022-01-21 00:07:19 +01:00
Elms 78ace2ee17 Fixes for Cortex R5 self-update
- load `f021_lookup_bank()` into RAM
 - `arch_reboot()` for TMS570
2021-12-20 10:08:07 -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 62132201bf Peer review feedback. Rename secure boot function and move build option macro around function. 2021-11-29 23:17:43 -08:00
David Garske cf15e71796 Fix indent and line length. 2021-11-29 23:17:43 -08:00
David Garske d2f762c8eb Improve the SEC_SIZE check and add build option to disable check. Add TODO note. 2021-11-29 23:17:43 -08: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 56174581c6 Secure boot support (experimental) 2021-11-29 23:17:43 -08:00
Daniele Lacamera 33102a54fd Fixed STM32L5 dual-bank mode 2021-11-17 11:53:57 +01:00
Elms aaa8438f3f TMS570LC43xx: Fix status updates via NVM_FLASH_WRITEONCE 2021-10-07 01:45:18 -07:00
Elms d302c633c2 TMS570LC43xx: flash updates and init stack pointer
- cleanup warnings and rework exceptions to be more robust
 - CORTEX R5: Initialization of stack pointer
 - updates to F021 flash from testing
 - sync options for command line build with IDE
2021-10-07 01:45:18 -07:00
Hajer KALLEL 2a6c394e97 Changed FLASH ORIGIN 2021-08-26 13:03:49 -07:00
David Garske ff28cec38a Minor cleanups. Add the required Cube HAL to app Makefile. 2021-08-26 13:03:49 -07:00
Hajer KALLEL ad067f1462 Fixed ident at line 171 2021-08-26 13:03:49 -07:00
Hajer KALLEL 0f0c7708fe Replaced tab with 4 spaces at line 119 2021-08-26 13:03:49 -07:00
Hajer KALLEL 963bce9fac Fixed indentations and if else braces
Added hal_flash_lock(); and renamed clear_errors(); to hal_flash_clear_errors();
2021-08-26 13:03:49 -07:00
Hajer KALLEL 9c6c5f3246 stm32l4xx hal configuration 2021-08-26 13:03:49 -07:00
Hajer KALLEL e75b5274ef Added support for STM32L4 2021-08-26 13:03:49 -07:00
Hajer KALLEL b35be0e545 Added HAL_GetTick def for compilation 2021-08-26 13:03:49 -07:00
Hajer KALLEL 0db770810b added RAMFUNCTION and checked indentation 2021-08-26 13:03:49 -07:00
Hajer KALLEL d5b550c110 Added support for STM32L4x6 2021-08-26 13:03:49 -07:00