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
{{ message }}
Repository navigation
Commit 87f5b7a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/Agilex5.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,21 @@ Create the Linux FIT from the GSRD `Image` and the exact board DTB, then sign
36
36
that FIT with wolfBoot's normal image-signing flow. Initialize both raw A/B
37
37
partitions with a valid signed image for the first boot.
38
38
39
+
### Board settings
40
+
41
+
The example config targets the DK-A5E013BM16AEA. Other boards set these in
42
+
their config:
43
+
44
+
| Setting | Default | Purpose |
45
+
|---|---|---|
46
+
|`CFLAGS_EXTRA+=-DDEBUG_UART_NUM=1`| UART0 (`0x10C02000`) | console UART for wolfBoot and Linux `earlycon`|
47
+
|`CFLAGS_EXTRA+=-DDEBUG_UART_BASE=<addr>`| unset | any other console UART; write the address without a `UL` suffix |
48
+
|`CFLAGS_EXTRA+=-DAGILEX5_DDR_SIZE=<bytes>`|`0x70000000` (1792 MiB) | DDR size written to the DTB memory node |
49
+
|`CFLAGS_EXTRA+=-DAGILEX5_FDT_DISABLE_PATHS=\"/leds\"`| unset | comma-separated DTB node paths to mark `disabled`, for hardware behind the unprogrammed FPGA |
50
+
51
+
wolfBoot does not read the DDR size from the DTB, because without U-Boot the
52
+
memory node holds whatever the DTB author wrote rather than the fitted size.
53
+
39
54
The checked-in `hal/agilex5.its` is a minimal FIT example. A GSRD production
40
55
image must use the GSRD-generated kernel load address and board DTB, then be
41
56
signed with the deployment key. Do not place private keys in the source tree
@@ -72,7 +87,9 @@ software and is deliberately not linked into bare-metal wolfBoot.
72
87
PSCI reboot, and rootfs `/dev/mmcblk0p4`.
73
88
5. Build the complete WIC, inspect all four partitions, flash the whole card,
74
89
compare the complete image span, cold boot, and test A-to-B fallback by
75
-
corrupting only a disposable copy of A.
90
+
corrupting only a disposable copy of A. Both slots must hold the same
91
+
version: with `ALLOW_DOWNGRADE=0` wolfBoot refuses to fall back to a lower
92
+
version (`Rollback to lower version not allowed`) and panics instead.
76
93
6. From the booted WIC run `/usr/bin/wolfcrypttest`. Require exit zero and
77
94
`ALTERA-FCS test passed!` to prove the Linux image still provides hardware
0 commit comments