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
Use `config/examples/zynqmp_sdcard.config`. This uses the Arasan SDHCI controller (SD1 - external SD card slot on ZCU102) and an **MBR** partitioned SD card.
2601
2601
2602
-
wolfBoot unconditionally flushes the EL2 D-cache/I-cache and disables the EL2 MMU before handoff (see `el2_flush_and_disable_mmu` in `src/boot_aarch64_start.S`), satisfying the ARM64 Linux boot protocol with no extra config flag required.
2602
+
On the direct-jump handoff path, wolfBoot flushes the EL2 D-cache/I-cache and disables the EL2 MMU via `el2_flush_and_disable_mmu` in `src/boot_aarch64_start.S` when `BOOT_EL1` is not enabled and the current exception level is EL2. The ERET-to-EL1 handoff path is different, so this cleanup is not unconditional.
2603
2603
2604
2604
**Partition layout**
2605
2605
| Partition | Name | Size | Type | Contents |
@@ -2705,8 +2705,11 @@ The ZynqMP uses an Arasan SDHCI v3.0 controller. Key considerations:
2705
2705
level. `SDHCI_FORCE_CARD_DETECT` is set in the config since FSBL already booted from
2706
2706
the same SD card.
2707
2707
-**`DISK_BLOCK_SIZE`**: Controls the firmware read chunk size in `update_disk.c` (default
2708
-
64KB). This determines the per-read size passed to the SDHCI driver. Must be less than
2709
-
the SDMA buffer boundary (4KB with the default threshold).
2708
+
64KB). This determines the per-read size passed to the SDHCI driver. It does not need
2709
+
to be smaller than `SDHCI_DMA_BUFF_BOUNDARY`; if a read crosses one or more SDMA buffer
2710
+
boundaries, the SDHCI driver handles that via the normal SDMA boundary interrupt path.
2711
+
In practice, this setting is a tradeoff: larger reads may trigger boundary IRQs more
2712
+
often, while smaller reads reduce crossings but increase request overhead.
0 commit comments