From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: Kongyang Liu <seashell11234455@gmail.com>
Cc: Chris Morgan <macromorgan@hotmail.com>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Ralph Siemsen <ralph.siemsen@linaro.org>,
Svyatoslav Ryhel <clamor95@gmail.com>,
Thierry Reding <treding@nvidia.com>,
Tim Harvey <tharvey@gateworks.com>, Wei Fu <wefu@redhat.com>,
Yanhong Wang <yanhong.wang@starfivetech.com>,
Yannic Moog <y.moog@phytec.de>, Yixun Lan <dlan@gentoo.org>,
u-boot@lists.denx.de
Subject: Re: [PATCH v2 3/3] doc: sophgo: milkv_duo: document Milk-V Duo board
Date: Sun, 14 Jan 2024 22:27:11 +0100 [thread overview]
Message-ID: <fd037cd9-176f-49e3-bb78-9cc54371ed26@gmx.de> (raw)
In-Reply-To: <20240114180741.2114-4-seashell11234455@gmail.com>
On 1/14/24 19:07, Kongyang Liu wrote:
> Add document for Milk-V Duo board which based on Sophgo's CV1800B SoC.
>
> Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
> ---
>
> (no changes since v1)
>
> doc/board/index.rst | 1 +
> doc/board/sophgo/index.rst | 8 ++++++
> doc/board/sophgo/milkv_duo.rst | 50 ++++++++++++++++++++++++++++++++++
> 3 files changed, 59 insertions(+)
> create mode 100644 doc/board/sophgo/index.rst
> create mode 100644 doc/board/sophgo/milkv_duo.rst
>
> diff --git a/doc/board/index.rst b/doc/board/index.rst
> index 531e547e7e..a0bd534742 100644
> --- a/doc/board/index.rst
> +++ b/doc/board/index.rst
> @@ -45,6 +45,7 @@ Board-specific doc
> sifive/index
> sipeed/index
> socionext/index
> + sophgo/index
> st/index
> starfive/index
> ste/index
> diff --git a/doc/board/sophgo/index.rst b/doc/board/sophgo/index.rst
> new file mode 100644
> index 0000000000..e097afdac6
> --- /dev/null
> +++ b/doc/board/sophgo/index.rst
> @@ -0,0 +1,8 @@
> +.. SPDX-License-Identifier: GPL-2.0+
> +
> +Sophgo
> +======
> +.. toctree::
> + :maxdepth: 1
> +
> + milkv_duo
> diff --git a/doc/board/sophgo/milkv_duo.rst b/doc/board/sophgo/milkv_duo.rst
> new file mode 100644
> index 0000000000..b63304b510
> --- /dev/null
> +++ b/doc/board/sophgo/milkv_duo.rst
> @@ -0,0 +1,50 @@
> +.. SPDX-License-Identifier: GPL-2.0+
> +
> +Milk-V Duo
> +==========
> +
> +CV1800B RISC-V SoC
> +------------------
> +The CV1800B is a high-performance, low-power 1+1 64-bit RISC-V SoC from Sophgo.
> +
> +Mainline support
> +----------------
> +The support for following drivers are already enabled:
> +1. ns16550 UART Driver.
> +
> +Building
> +~~~~~~~~
> +1. Add the RISC-V toolchain to your PATH.
> +2. Setup ARCH & cross compilation environment variable:
> +
> +.. code-block:: console
> +
> + export CROSS_COMPILE=<riscv64 toolchain prefix>
> + cd <U-Boot-dir>
> + make milkv_duo_defconfig
> + make
> +
> +This will generate u-boot-dtb.bin
> +
> +Booting
> +~~~~~~~
> +Currently, we rely on vendor FSBL(First Stage Boot Loader) to initialize the
> +clock and load the u-boot image, then bootup from it.
Thank you for providing documentation for the board.
Could you please, additionally describe the procedure to run
u-boot-dtb.bin on top of FSBL.
Best regards
Heinrich
> +
> +Sample boot log from Milk-V Duo board
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +.. code-block:: none
> +
> + U-Boot 2024.01-rc5-00010-g51965baa36 (Dec 28 2023 - 13:15:53 +0800)milkv_duo
> +
> + DRAM: 63.3 MiB
> + Core: 10 devices, 8 uclasses, devicetree: separate
> + Loading Environment from nowhere... OK
> + In: serial@4140000
> + Out: serial@4140000
> + Err: serial@4140000
> + Net: No ethernet found.
> + milkv_duo# cpu detail
> + 0: cpu@0 rv64imafdc
> + ID = 0, freq = 0 Hz: L1 cache, MMU
> + milkv_duo#
next prev parent reply other threads:[~2024-01-14 21:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-14 18:07 [PATCH v2 0/3] riscv: sophgo: milkv_duo: add support for Milk-V Duo board Kongyang Liu
2024-01-14 18:07 ` [PATCH v2 1/3] riscv: sophgo: milkv_duo: initial support added Kongyang Liu
2024-01-14 21:57 ` Heinrich Schuchardt
2024-01-16 16:05 ` Kongyang Liu
2024-01-14 18:07 ` [PATCH v2 2/3] riscv: dts: sophgo: Add basic device tree for Milk-V Duo board Kongyang Liu
2024-01-14 18:07 ` [PATCH v2 3/3] doc: sophgo: milkv_duo: document " Kongyang Liu
2024-01-14 21:27 ` Heinrich Schuchardt [this message]
2024-01-16 16:08 ` Kongyang Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fd037cd9-176f-49e3-bb78-9cc54371ed26@gmx.de \
--to=xypron.glpk@gmx.de \
--cc=clamor95@gmail.com \
--cc=dlan@gentoo.org \
--cc=macromorgan@hotmail.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=ralph.siemsen@linaro.org \
--cc=seashell11234455@gmail.com \
--cc=tharvey@gateworks.com \
--cc=treding@nvidia.com \
--cc=u-boot@lists.denx.de \
--cc=wefu@redhat.com \
--cc=y.moog@phytec.de \
--cc=yanhong.wang@starfivetech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).