summaryrefslogtreecommitdiff
path: root/doc/board/microchip/mpfs_build_boot.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/board/microchip/mpfs_build_boot.rst')
-rw-r--r--doc/board/microchip/mpfs_build_boot.rst29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/board/microchip/mpfs_build_boot.rst b/doc/board/microchip/mpfs_build_boot.rst
new file mode 100644
index 00000000000..1239f675ec8
--- /dev/null
+++ b/doc/board/microchip/mpfs_build_boot.rst
@@ -0,0 +1,29 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+Booting from eMMC using HSS
+---------------------------
+
+Building U-Boot
+~~~~~~~~~~~~~~~
+
+1. Add the RISC-V toolchain to your PATH.
+2. Setup ARCH & cross compilation environment variable:
+
+.. code-block:: none
+
+ export CROSS_COMPILE=<riscv64 toolchain prefix>
+
+3. make microchip_mpfs_generic_defconfig
+4. make
+
+Flashing
+~~~~~~~~
+
+The current U-Boot port is supported in S-mode only and loaded from DRAM.
+
+A prior stage M-mode firmware/bootloader (e.g HSS with OpenSBI) is required to
+boot the u-boot.bin in S-mode.
+
+Currently, the u-boot.bin is used as a payload of the HSS firmware (Microchip
+boot-flow) and OpenSBI generic platform fw_payload.bin (with u-boot.bin embedded)
+as HSS payload (Custom boot-flow)