mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-20 08:52:12 +01:00
With the upcoming additions of new MPFS boards, separate common documentation to allow this to be reused appropriately and avoid duplication. Signed-off-by: Jamie Gibbons <jamie.gibbons@microchip.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
30 lines
750 B
ReStructuredText
30 lines
750 B
ReStructuredText
.. 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)
|