You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The signed test application will be at `test-app/image_v1_signed.bin`.
1983
1982
1984
-
### Flashing Test Application
1983
+
**Test Application Details:**
1984
+
- Uses generic `boot_arm64_start.S` startup code (shared with other AArch64 platforms)
1985
+
- Uses generic `AARCH64.ld` linker script with `@WOLFBOOT_LOAD_ADDRESS@` placeholder
1986
+
- Displays current exception level (EL) and firmware version
1987
+
- Entry point: `_start` (in `boot_arm64_start.S`) which sets up stack, clears BSS, and calls `main()`
1988
+
1989
+
### Firmware Update Testing
1990
+
1991
+
wolfBoot supports firmware updates using the UPDATE partition. The bootloader automatically selects the image with the higher version number from either the BOOT or UPDATE partition.
1985
1992
1986
-
After flashing `BOOT.BIN` to QSPI offset 0x0, flash the signed test app to the boot partition at offset `0x800000` using your preferred method.
1993
+
**Partition Layout:**
1994
+
- BOOT partition: `0x800000`
1995
+
- UPDATE partition: `0x3400000`
1996
+
- For RAM-based boot (Versal), images are loaded to `WOLFBOOT_LOAD_ADDRESS` (`0x10000000`)
1997
+
1998
+
**Update Behavior:**
1999
+
- wolfBoot checks both BOOT and UPDATE partitions on boot
2000
+
- Selects the partition with the higher version number
2001
+
- Falls back to the other partition if verification fails
2002
+
- The test application displays the firmware version it was signed with
2003
+
2004
+
To test firmware updates, build and sign the test application with different version numbers, then flash them to the appropriate partitions using your preferred method.
0 commit comments