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
1. Waits for wolfBoot to print the `QSPI-PROG: Press 'P'` prompt (power-cycle the board)
944
+
2. Sends `P` to enter programming mode
945
+
3. Transfers the binary in 256-byte ACK-driven chunks
946
+
4. wolfBoot erases, writes, and then continues booting the new image
947
+
948
+
Use `0x20000` for the boot partition and `0x2000000` for the update partition.
949
+
950
+
**Expected serial output on successful boot:**
951
+
```
952
+
wolfBoot Version: 2.7.0 (...)
953
+
Running on E51 (hart 0) in M-mode
954
+
QSPI: Using SC QSPI Controller (0x37020100)
955
+
QSPI: Flash ID = 0x20 0xBA 0x21
956
+
QSPI-PROG: Press 'P' within 3s to program flash
957
+
QSPI-PROG: No trigger (got 0x00 ...), booting
958
+
Versions: Boot 1, Update 0
959
+
...
960
+
Firmware Valid
961
+
Booting at 0x...
962
+
```
963
+
964
+
**Notes:**
965
+
- The E51 is `rv64imac`; the `rdtime` CSR instruction is not available in bare-metal M-mode.
966
+
wolfBoot uses a calibrated busy-loop for all delays (`udelay()` in `hal/mpfs250.c`).
967
+
- `UART_QSPI_PROGRAM=1` adds a 3-second boot pause every time. Set to `0` once the flash
968
+
contents are stable.
969
+
- The config uses `WOLFBOOT_LOAD_ADDRESS=0x08000200` to keep the image header within LIM.
970
+
907
971
### PolarFire testing
908
972
909
973
This section describes how to build the test-application, create a custom uSD with required partitions and copying signed test-application to uSD partitions.
0 commit comments