Commit Graph

1087 Commits (0fd34f23c744a5944e22f816f04158c1d851d4be)

Author SHA1 Message Date
Marco Oliverio 0fd34f23c7 ELF: add mmu callback to map segments before loading 2023-07-24 18:12:13 +00:00
Marco Oliverio 95ea6659f9 ELF: allow turning off DEBUG_ELF if DEBUG=1 2023-07-24 18:12:13 +00:00
Marco Oliverio 93bedf7333 Makefile: force stage1 building 2023-07-24 18:12:13 +00:00
Marco Oliverio e7ab067759 stage1/Makefile: fix tabs in conditionals 2023-07-24 18:12:13 +00:00
Marco Oliverio 3a2a1523e3 stage1/Makefile: fix: don't use dir in vpath directive 2023-07-24 18:12:13 +00:00
Marco Oliverio e562aaedd3 stage1: un-generalize PPC specific options 2023-07-24 18:12:13 +00:00
Marco Oliverio 48bc97dab7 efi: buildroot version bump to 2022.08.03 2023-07-17 14:26:23 +00:00
Chris Conlon 94219e53cf
Merge pull request #325 from danielinux/changelog-typo
Fixed typo in wolfBoot 1.16 changelog
2023-07-12 09:16:47 -06:00
Daniele Lacamera b3e69ea91a Fixed typo in wolfBoot 1.16 changelog 2023-07-12 11:01:11 +02:00
David Garske 464d7552d4
Merge pull request #324 from danielinux/prepare-release-v1.16
Prepare release v1.16
2023-07-06 09:03:41 -07:00
Daniele Lacamera 2600df9a21 Updated bootloader version 2023-07-06 14:17:52 +02:00
Daniele Lacamera 8bab854ec9 Added changelog 2023-07-06 14:16:58 +02:00
Hideki Miyazaki 1badff120e addressed review comments 2023-07-06 08:24:26 +02:00
Hideki Miyazaki 8897228ffc update README including steps to create configuration.xml 2023-07-06 08:24:26 +02:00
Hideki Miyazaki 51fcb61cd2 modified interval when using version 1 2023-07-06 08:24:26 +02:00
Hideki Miyazaki 5fdc5e66cd rm pincfg, jlink, launch and configuration.xml from wolfBoot project 2023-07-06 08:24:26 +02:00
Hideki Miyazaki c0cba25e8b rm app_RA configuration.xml 2023-07-06 08:24:26 +02:00
Hideki Miyazaki 343631ba70 rm fsp.ld, pincfg, .jlink and .launch files 2023-07-06 08:24:26 +02:00
Hideki Miyazaki dee6be0671 update SW only case and fix SCE use case 2023-07-06 08:24:26 +02:00
David Garske 25bca043ed Increase size limits by 38 bytes (due to v5.6.3 update). 2023-07-05 18:34:42 +02:00
David Garske 1d6c421b41 Disable dynamic stack for SP math and SP math all. 2023-07-05 18:34:42 +02:00
Daniele Lacamera 17b948bd25 Added WOLFSSL_SP_NO_DYN_STACK to user_settings.h 2023-07-05 18:34:42 +02:00
Daniele Lacamera 180d819d4a Added WOLFSSL_SP_NO_DYN_STACK 2023-07-05 18:34:42 +02:00
Daniele Lacamera e186531ec2 Fixed preprocessor symbol clash MP_INT_SIZE 2023-07-05 18:34:42 +02:00
Daniele Lacamera b131ae553e Updated submodules 2023-07-05 18:34:42 +02:00
David Garske 338f4bc2ea Peer review feedback. 2023-07-05 17:03:57 +02:00
David Garske 11f46a51e1 Further fixes and improvements with NXP T2080 regression testing. Added required LAW's to startup assembly. Moved LAW definitions to header. Move isr_empty so other boot functions go in the boot section. 2023-07-05 17:03:57 +02:00
David Garske 63766c24e3 Fixes for regression testing on NXP T2080. Fix legacy U-Boot image header load address (make optional feature). Cleanup disabled/dead code. 2023-07-05 17:03:57 +02:00
David Garske db15f9b0f1 Further NXP P1021 fixes and improvements:
* Added ELF32 and ELF64 loader support (config `ELF=1` or build option `WOLFBOOT_ELF`).
* Add ELF support to `update_ram.c` loader.
* Add support for loading entire flash image to RAM when `EXT_FLASH=1` and `NO_XIP=1` (or `WOLFBOOT_USE_RAMBOOT`).
* Added QUICC Engine support to load microcode and enable.
* Add multiple core support for NXP P1021.
* Fixes to resolve first stage boot ROM relocation.
  - Implemented temporary workaround to resolve stack traps.
* Added PPC GOT relocation support.
* Fix for the PPC `isr_empty` handler address.
* Fix to allow stack to use DDR by having assembly setup DDR TLB. After relocating wolfBoot use stack on DDR.
* Cleanup wolfBoot output.
  - Only remove extra .bin/.elf created unless `make distclean` is used.
  - Don't output the key grep test (only check result).
  - Adjust build order (first stage, wolfboot, test app, key, sign test app and factory).
  - Fix to make sure linker script is rebuilt before objects.

Sample NXP P1021 Output:

```
Relocating BOOT ROM to DDR
Loading wolfBoot to DDR
Jumping to full wolfBoot
wolfBoot HAL Init
Flash Init: Ret 0, ID 0x76207620
QE: Length 63732, Count 1
QE: uploading 'Microcode for P1021 r1.0' version 0.0.1
QE: Traps 0
MP: Starting core 2 (spin table 0xFFFFF240)
Versions: Boot 1, Update 0
Trying Boot partition at 0x200000
Loading header 512 bytes to 0x1DFFFE00
Loading image 3170724 bytes to 0x1E000000
Image size 3170724
Firmware Valid
Loading elf at 0x1E000000
Found valid elf32 (big endian)
Booting at 0x6000
```
2023-07-05 17:03:57 +02:00
David Garske a56e2252c1 Revert the TPM based key store (root of trust). This feature is not ready for next release. 2023-07-04 08:36:41 +02:00
Dimitri Papadopoulos be037ca04d Fix typos found by codespell 2023-07-04 07:43:02 +02:00
Hideki Miyazaki 4e20d5a90d addressed review comments 2023-06-10 08:53:32 +02:00
Hideki Miyazaki d9ada916e9 addressed review comments 2023-06-10 08:53:32 +02:00
Hideki Miyazaki 5ed7390c40 reorganize folders under IDE/Renesas 2023-06-10 08:53:32 +02:00
Takashi Kojo 737c549161 Add tools/format-conv/der2raw 2023-06-10 08:53:32 +02:00
Takashi Kojo 030073d990 Add TSIP 2023-06-10 08:53:32 +02:00
Takashi Kojo 81fb762fa7 move doboot to boot_renesas_rx.c 2023-06-10 08:53:32 +02:00
Takashi Kojo 2590a04a14 move printPartitions to application 2023-06-10 08:53:32 +02:00
Takashi Kojo 83dac8ecfc Readme.md for the demo 2023-06-10 08:53:32 +02:00
Takashi Kojo 6393c48860 print partition info 2023-06-10 08:53:32 +02:00
Takashi Kojo def2a530e4 Simple boot 2023-06-10 08:53:32 +02:00
Takashi Kojo cf86de2515 Initial wolfBoot project, Renesas RX72N, e2Studio 2023-06-10 08:53:32 +02:00
John Bland c6629ed86a add missing steps for policy pubkey sealing
update wolfTPM version to include new sealing functions, add preseal helper commands
2023-05-18 12:33:49 +02:00
John Bland 1e3f30a1c6 add github action for encryption with delta updates 2023-05-17 19:39:00 +02:00
John Bland 6a21c02e6c add a simulator test for using encryption and delta updates
increase argument count max since the tools duplicate the sig and hash args
2023-05-17 19:39:00 +02:00
Hideki Miyazaki c32a29539a addressed review comments 2023-05-17 14:15:18 +02:00
Hideki Miyazaki 170bb9a585 Support Renesas RA6M4 with SCE use 2023-05-17 14:15:18 +02:00
John Bland edcdba28fc
Merge pull request #309 from danielinux/fix-nvm-pre-erase
NVM_FLASH_WRITEONCE Fixed wrong partition erase
2023-05-16 11:35:49 -04:00
Daniele Lacamera c897362031 NVM_FLASH_WRITEONCE Fixed wrong partition erase
When using NVM_FLASH_WRITEONCE, before writing to the active trailer sector,
we check that the sector has been previously erased. This check was
erasing the wrong partition trailer, leaving the system without a
trailer for a few lines of code, but potentially vulnerable to
powerfailure events.
2023-05-16 09:33:48 +02:00
John Bland f97e71c724
Merge pull request #308 from danielinux/sim-encrypt-tests
Improved simulator tests
2023-05-15 11:53:07 -04:00