Skip to content

Commit

Permalink
Cleanups. Don't force 1024 header size in example. Remove execute bits.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed May 23, 2024
1 parent c811fe2 commit 8e1d347
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion config/examples/renesas-rx65n.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ RAM_CODE?=0
DUALBANK_SWAP?=0

# reserve 1KB for wolfBoot header
IMAGE_HEADER_SIZE=1024
# Requires building keytools with "make IMAGE_HEADER_SIZE=1024"
#IMAGE_HEADER_SIZE=1024

# Optionally switch to big endian data if MDE is set
#BIG_ENDIAN=1
Expand Down
3 changes: 2 additions & 1 deletion config/examples/renesas-rx72n.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ RAM_CODE?=0
DUALBANK_SWAP?=0

# reserve 1KB for wolfBoot header
IMAGE_HEADER_SIZE=1024
# Requires building keytools with "make IMAGE_HEADER_SIZE=1024"
#IMAGE_HEADER_SIZE=1024

# Optionally switch to big endian data if MDE is set
#BIG_ENDIAN=1
Expand Down
12 changes: 6 additions & 6 deletions docs/Targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2166,21 +2166,21 @@ Example Boot Output (with DEBUG_UART=1):
```
wolfBoot HAL Init
Boot partition: 0xFFC00000
Image size 25932
Image size 27772
| ------------------------------------------------------------------- |
| Renesas RX User Application in BOOT partition started by wolfBoot |
| ------------------------------------------------------------------- |
wolfBoot HAL Init
=== Boot Partition[ffe00000] ===
=== Boot Partition[ffc00000] ===
Magic: WOLF
Version: 01
Status: ff (New)
Tail Mgc: ˇˇˇˇ
=== Update Partition[ffef0000] ===
=== Update Partition[ffdf0000] ===
Magic: ˇˇˇˇ
Version: 00
Status: ff (New)
Expand Down Expand Up @@ -2427,8 +2427,8 @@ Note:
### Running on 64-bit QEMU

Two example configuration files are available: `config/examples/x86_fsp_qemu.config` and `config/examples/x86_fsp_qemu_seal.config`.
Both will try to load a 64bit ELF/Multiboot2 payload from the emulated sata drive.
The second one is an example of configuration that also do measure boot and seal/unseal secrets using a TPM.
Both will try to load a 64bit ELF/Multiboot2 payload from the emulated sata drive.
The second one is an example of configuration that also do measure boot and seal/unseal secrets using a TPM.

A test ELF/Multiboot2 image is provided as well. To test `config/examples/x86_fsp_qemu.config` use the following steps:

Expand Down Expand Up @@ -2715,7 +2715,7 @@ To compile a flashable image run the following steps:
cp config/examples/kontron_vx3060_s2.config .config
./tools/scripts/x86_fsp/tgl/tgl_download_fsp.sh
make tpmtools
./tools/scripts/x86_fsp/tgl/assemble_image.sh -k
./tools/scripts/x86_fsp/tgl/assemble_image.sh -k
make CFLAGS_EXTRA="-DHAVE_ECC256"
./tools/scripts/x86_fsp/tgl/assemble_image.sh -n /path/to/original/flash/dump
```
Expand Down
Empty file modified test-app/RENESAS_RX.ld
100755 → 100644
Empty file.
Empty file modified test-app/app_renesas_rx.c
100755 → 100644
Empty file.

0 comments on commit 8e1d347

Please sign in to comment.