From: "Chao Liu" <chao.liu@openatom.club>
To: "Daniel Henrique Barboza" <dbarboza@ventanamicro.com>,
"Chao Liu" <chao.liu@zevorn.cn>, <richard.henderson@linaro.org>,
<paolo.savini@embecosm.com>, <npiggin@gmail.com>,
<ebiggers@kernel.org>, <palmer@dabbelt.com>,
<alistair.francis@wdc.com>, <liwei1518@gmail.com>,
<zhiwei_liu@linux.alibaba.com>
Cc: <qemu-riscv@nongnu.org>, <qemu-devel@nongnu.org>,
<hust-os-kernel-patches@googlegroups.com>
Subject: Re: [PATCH v1 5/5] docs/system/riscv: add documentation for k230 machine
Date: Thu, 4 Dec 2025 11:03:33 +0800 [thread overview]
Message-ID: <b1123953-c106-4cb8-8f80-f5b31cf4a98a@openatom.club> (raw)
In-Reply-To: <6163ffd5-b0ff-4993-9db2-36492702487c@ventanamicro.com>
On 12/4/2025 1:19 AM, Daniel Henrique Barboza wrote:
> Hi,
>
> This patch won't build in my env:
>
> [3031/3032] Generating docs/QEMU manual with a custom command
> FAILED: docs/docs.stamp
> /usr/bin/env CONFDIR=etc/qemu /home/danielhb/work/qemu/build/pyvenv/bin/sphinx-
> build -q -W -Dkerneldoc_werror=1 -j auto -Dversion=10.1.92 -Drelease= -
> Ddepfile=docs/docs.d -Ddepfile_stamp=docs/docs.stamp -b html -d /home/danielhb/
> work/qemu/build/docs/manual.p /home/danielhb/work/qemu/docs /home/danielhb/work/
> qemu/build/docs/manual
> /home/danielhb/work/qemu/docs/system/riscv/k230.rst: WARNING: document isn't
> included in any toctree
> ninja: build stopped: subcommand failed.
>
>
>
> This diff fixes it:
>
>
> $ git diff
> diff --git a/docs/system/target-riscv.rst b/docs/system/target-riscv.rst
> index 89b2cb732c..2103ff6173 100644
> --- a/docs/system/target-riscv.rst
> +++ b/docs/system/target-riscv.rst
> @@ -66,6 +66,7 @@ undocumented; you can get a complete list by running
> .. toctree::
> :maxdepth: 1
>
> + riscv/k230
> riscv/microblaze-v-generic
> riscv/microchip-icicle-kit
> riscv/shakti-c
>
Nice :)
Thanks, Daniel, for fixing this issue. I will apply this bugfix in PATCH v2.
Chao
>
>
> Thanks,
>
> Daniel
>
>
> On 11/30/25 6:21 AM, Chao Liu wrote:
>> Add documentation for k230 virt reference platform.
>>
>> Signed-off-by: Chao Liu <chao.liu@zevorn.cn>
>> ---
>> docs/system/riscv/k230.rst | 48 ++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 48 insertions(+)
>> create mode 100644 docs/system/riscv/k230.rst
>>
>> diff --git a/docs/system/riscv/k230.rst b/docs/system/riscv/k230.rst
>> new file mode 100644
>> index 0000000000..3e6ca295df
>> --- /dev/null
>> +++ b/docs/system/riscv/k230.rst
>> @@ -0,0 +1,48 @@
>> +Kendryte K230 virt reference platform (``k230``)
>> +==========================================================================
>> +The ``k230`` machine is compatible with with Kendryte K230 SDK.
>> +
>> +The K230 is a chip from the AIoT SoC series made by Kendryte ® — a part of
>> +Canaan Inc. It uses a brand-new multi-heterogeneous unit accelerated computing
>> +structure.
>> +
>> +This chip has 2 RISC-V computing cores and a new-generation KPU (Knowledge
>> +Process Unit) smart computing unit.
>> +
>> +It has multi-precision AI computing ability, works with many common AI computing
>> +frameworks, and for some typical networks, its usage rate is over 70%. Besides,
>> +the K230 chip supports many peripheral connections and has several special
>> +hardware acceleration units (like 2D and 2.5D accelerators). It can speed up
>> +different tasks (such as image processing, video processing, audio processing
>> +and AI computing). It also has many good features: low delay, high performance,
>> +low power use and fast start-up.
>> +
>> +For more information, see <https://www.kendryte.com/en/proDetail/230>
>> +
>> +Supported devices
>> +-----------------
>> +The ``k230`` machine supports the following devices:
>> +
>> +* 1 c908 cores
>> +* Core Local Interruptor (CLINT)
>> +* Incoming MSI Controller (IMSIC)
>> +* 2 K230 Watchdog Timer
>> +* 4 UART
>> +
>> +Boot options
>> +------------
>> +The ``k230`` machine can start using the standard ``-bios``
>> +functionality for loading the boot image. You need to compile and link
>> +the firmware, kernel, and Device Tree (FDT) into a single binary file with
>> +K230 SDK(k230_canmv_defconfig), such as ``uboot``.
>> +
>> +Running
>> +-------
>> +Below is an example command line for running the ``k230``
>> +machine:
>> +
>> +.. code-block:: bash
>> +
>> + $ qemu-system-riscv64 -machine k230 \
>> + -bios k230_sdk/output/k230_canmv_defconfig/little/uboot/u-boot \
>> + -nographic
>
prev parent reply other threads:[~2025-12-04 3:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-30 9:21 [PATCH v1 0/5] Add K230 board and thead-c908 CPU support Chao Liu
2025-11-30 9:21 ` [PATCH v1 1/5] target/riscv: add thead-c908 cpu support Chao Liu
2025-12-03 16:33 ` Daniel Henrique Barboza
2025-12-03 17:12 ` Conor Dooley
2025-12-03 17:13 ` Conor Dooley
2025-12-04 2:59 ` Chao Liu
2025-11-30 9:21 ` [PATCH v1 2/5] hw/riscv: add k230 board initial support Chao Liu
2025-12-03 17:02 ` Daniel Henrique Barboza
2025-12-04 1:12 ` Chao Liu
2025-11-30 9:21 ` [PATCH v1 3/5] hw/watchdog: add k230 watchdog " Chao Liu
2025-12-03 17:07 ` Daniel Henrique Barboza
2025-11-30 9:21 ` [PATCH v1 4/5] tests/qtest: add test for K230 watchdog Chao Liu
2025-12-03 17:08 ` Daniel Henrique Barboza
2025-11-30 9:21 ` [PATCH v1 5/5] docs/system/riscv: add documentation for k230 machine Chao Liu
2025-12-03 17:19 ` Daniel Henrique Barboza
2025-12-04 3:03 ` Chao Liu [this message]
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=b1123953-c106-4cb8-8f80-f5b31cf4a98a@openatom.club \
--to=chao.liu@openatom.club \
--cc=alistair.francis@wdc.com \
--cc=chao.liu@zevorn.cn \
--cc=dbarboza@ventanamicro.com \
--cc=ebiggers@kernel.org \
--cc=hust-os-kernel-patches@googlegroups.com \
--cc=liwei1518@gmail.com \
--cc=npiggin@gmail.com \
--cc=palmer@dabbelt.com \
--cc=paolo.savini@embecosm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=zhiwei_liu@linux.alibaba.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).