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`.
1982
1981
1983
-
### Flashing Test Application
1982
+
**Test Application Details:**
1983
+
- Uses generic `boot_arm64_start.S` startup code (shared with other AArch64 platforms)
1984
+
- Uses generic `AARCH64.ld` linker script with `@WOLFBOOT_LOAD_ADDRESS@` placeholder
1985
+
- Displays current exception level (EL) and firmware version
1986
+
- Entry point: `_start` (in `boot_arm64_start.S`) which sets up stack, clears BSS, and calls `main()`
1987
+
1988
+
### Firmware Update Testing
1989
+
1990
+
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.
1984
1991
1985
-
After flashing `BOOT.BIN` to QSPI offset 0x0, flash the signed test app to the boot partition at offset `0x800000` using your preferred method.
1992
+
**Partition Layout:**
1993
+
- BOOT partition: `0x800000`
1994
+
- UPDATE partition: `0x3400000`
1995
+
- For RAM-based boot (Versal), images are loaded to `WOLFBOOT_LOAD_ADDRESS` (`0x10000000`)
1996
+
1997
+
**Update Behavior:**
1998
+
- wolfBoot checks both BOOT and UPDATE partitions on boot
1999
+
- Selects the partition with the higher version number
2000
+
- Falls back to the other partition if verification fails
2001
+
- The test application displays the firmware version it was signed with
2002
+
2003
+
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