Add document which clarifies how to build and install U-Boot on Renesas R-Car Gen3 H3/M3-W/M3-N ULCB board.
Signed-off-by: Marek Vasut <[email protected]> --- Cc: Heinrich Schuchardt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Tom Rini <[email protected]> Cc: [email protected] --- V2: No change --- doc/board/renesas/index.rst | 1 + doc/board/renesas/rcar-gen3-ulcb.rst | 49 ++++++++++++++++++++++++++++ doc/board/renesas/renesas.rst | 6 ++-- 3 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 doc/board/renesas/rcar-gen3-ulcb.rst diff --git a/doc/board/renesas/index.rst b/doc/board/renesas/index.rst index eca06a13d0c..b9bbe1f82f6 100644 --- a/doc/board/renesas/index.rst +++ b/doc/board/renesas/index.rst @@ -11,6 +11,7 @@ Renesas build-env-aarch32 build-env-aarch64 rcar-gen3-salvator-x + rcar-gen3-ulcb rcar-gen3-install rcar-gen3-install-hf rzn1 diff --git a/doc/board/renesas/rcar-gen3-ulcb.rst b/doc/board/renesas/rcar-gen3-ulcb.rst new file mode 100644 index 00000000000..88ec2276a36 --- /dev/null +++ b/doc/board/renesas/rcar-gen3-ulcb.rst @@ -0,0 +1,49 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +Renesas R-Car Gen3 H3/M3-W/M3-N ULCB board +========================================== + +- Renesas R-Car H3 ULCB board: https://elinux.org/R-Car/Boards/H3SK +- Renesas R-Car M3-W ULCB board: https://elinux.org/R-Car/Boards/M3SK +- Renesas R-Car M3-N ULCB board: https://elinux.org/R-Car/Boards/M3NSK + +Build U-Boot +------------ + +Please follow :doc:`Renesas 64-bit ARM SoC build environment setup <build-env-aarch64>` +to correctly set up the build environment before attempting to build U-Boot. + +Clone up to date U-Boot source code and change directory into the +newly cloned source directory: + +.. code-block:: console + + $ git clone https://source.denx.de/u-boot/u-boot.git/ + $ cd u-boot + +Configure U-Boot: + +.. code-block:: console + + $ make rcar3_ulcb_defconfig + +Compile U-Boot: + +.. code-block:: console + + $ make + +To speed up build process, -jN option can be passed to make to start +multiple jobs at the same time, this is beneficial especially on SMP +systems. The following example starts up to number of CPUs in the +system jobs, which is the recommended amount: + +.. code-block:: console + + $ make -j$(nproc) + +Install U-Boot +-------------- + +Please follow :doc:`Renesas R-Car Gen3 U-Boot installation <rcar-gen3-install>` +to install U-Boot into HyperFlash. diff --git a/doc/board/renesas/renesas.rst b/doc/board/renesas/renesas.rst index 132605b0c33..7fcd0e455b3 100644 --- a/doc/board/renesas/renesas.rst +++ b/doc/board/renesas/renesas.rst @@ -91,7 +91,7 @@ Renesas is a SoC solutions provider for automotive and industrial applications. - rcar3_salvator-x_defconfig * - - - ULCB + - :doc:`ULCB <rcar-gen3-ulcb>` - R8A77951 (H3) - :doc:`arm64 <build-env-aarch64>` - rcar3_ulcb_defconfig @@ -103,7 +103,7 @@ Renesas is a SoC solutions provider for automotive and industrial applications. - rcar3_salvator-x_defconfig * - - - ULCB + - :doc:`ULCB <rcar-gen3-ulcb>` - R8A77960 (M3-W) - :doc:`arm64 <build-env-aarch64>` - rcar3_ulcb_defconfig @@ -115,7 +115,7 @@ Renesas is a SoC solutions provider for automotive and industrial applications. - rcar3_salvator-x_defconfig * - - - ULCB + - :doc:`ULCB <rcar-gen3-ulcb>` - R8A77965 (M3-N) - :doc:`arm64 <build-env-aarch64>` - rcar3_ulcb_defconfig -- 2.53.0

