Skip to contentSkip to conversation

cmd/dma: documentation

PATCH Superseded Brian Sune 2 participants 9 messages Oct 8, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Brian Sune

author
#0 lore raw

PATCH 1/1 cmd/dma: documentation

This explains how
to use the new U-Boot command 'dmareset'.

---
 doc/usage/cmd/dmareset.rst | 55 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 doc/usage/cmd/dmareset.rst
doc/usage/cmd/dmareset.rst new file +55 -0
new file mode 100644
index 00000000000..cf48ad91c5c
@@ -0,0 +1,55 @@
+.. SPDX-License-Identifier: GPL-2.0+:
+
+.. index::
+   single: dmareset (command)
+
+ command
+===========
+
+Synopsis
+--------
+
+::
+
+    Usage: dmareset <channel 0-7> [<channel 0-7> ...]
+    dmareset - Release PL330 DMA channel reset(s) for SoCFPGA
+
+    Usage:
+    dmareset <channel 0-7> [<channel 0-7> ...]  - release reset for one or more DMA channels
+
+dmareset channel
+----------------
+
+Release the DMA channel reset *channel*.
+
+Parameters
+----------
+
+channel
+    DMA channel number
+
+Example
+-------
+
+Release DMA channel(s)::
+
+    => dmareset 0
+    PL330 DMA channel 0 reset released
+    => dmareset 1
+    PL330 DMA channel 1 reset released
+    => dmareset 0 1
+    PL330 DMA channel 0 reset released
+    PL330 DMA channel 1 reset released
+
+
+Configuration
+-------------
+
+The dmareset command is only available if CONFIG_CMD_C5_PL330_DMA=y in
+"Shell scripting commands".
+
+Return value
+------------
+
+If the command succeds the return PL330 DMA channel $? reset released.
+If an error occurs, the return Error: channel must be 0-7.
Signature · 1 line
2.47.1.windows.1
#1 lore raw
Quoted 8 lines · Brian Sune

This explains how
to use the new U-Boot command 'dmareset'.

---
 doc/usage/cmd/dmareset.rst | 55 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 doc/usage/cmd/dmareset.rst

This needs to be included in doc/usage/index.rst (alphabetically sorted still) in the shell commands section. Also please do "make htmldocs KDOC_WERROR=1" and make sure there's no complains for v2, I see some style issues it will trigger. To build the docs a python venv is suggested and you'll need to pip install -r doc/sphinx/requirements.txt -r test/py/requirements.txt. Thanks!

Signature · 1 line
Tom
author
#2 lore raw

Tom Rini <[email protected]> 於 2025年10月9日 週四 上午3:07寫道:

Quoted 11 lines · Brian Sune
Quoted 8 lines

This explains how
to use the new U-Boot command 'dmareset'.

---
 doc/usage/cmd/dmareset.rst | 55 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 doc/usage/cmd/dmareset.rst
Quoted 4 lines

This needs to be included in doc/usage/index.rst (alphabetically sorted still) in the shell commands section. Also please do "make htmldocs KDOC_WERROR=1" and make sure there's no complains for v2, I see some style issues it will trigger. To build the docs a python venv is

I used the the checkpatch

$ ./scripts/checkpatch.pl v1-0001-cmd-dma-documentation.patch
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#16:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 55 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.

v1-0001-cmd-dma-documentation.patch has style problems, please review.

NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO ENOSYS MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE NETWORKING_BLOCK_COMMENT_STYLE PREFER_ETHER_ADDR_COPY USLEEP_RANGE

NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Quoted 5 lines

suggested and you'll need to pip install -r doc/sphinx/requirements.txt -r test/py/requirements.txt. Thanks!

--
Tom

The doc uses another checking tools?

Brian

#3 lore raw
Quoted 39 lines · Sune Brian

Tom Rini <[email protected]> 於 2025年10月9日 週四 上午3:07寫道:

Quoted 11 lines · Brian Sune
Quoted 8 lines

This explains how
to use the new U-Boot command 'dmareset'.

---
 doc/usage/cmd/dmareset.rst | 55 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 doc/usage/cmd/dmareset.rst
Quoted 4 lines

This needs to be included in doc/usage/index.rst (alphabetically sorted still) in the shell commands section. Also please do "make htmldocs KDOC_WERROR=1" and make sure there's no complains for v2, I see some style issues it will trigger. To build the docs a python venv is

I used the the checkpatch

$ ./scripts/checkpatch.pl v1-0001-cmd-dma-documentation.patch
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#16:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 55 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.

v1-0001-cmd-dma-documentation.patch has style problems, please review.

NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO ENOSYS MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE NETWORKING_BLOCK_COMMENT_STYLE PREFER_ETHER_ADDR_COPY USLEEP_RANGE

NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Quoted 7 lines
Quoted 5 lines

suggested and you'll need to pip install -r doc/sphinx/requirements.txt -r test/py/requirements.txt. Thanks!

--
Tom

The doc uses another checking tools?

We have an outstanding update to checkpatch.pl that may or may not be better for rST (as the kernel has been using it more and more), but this is analogous to compiler warnings when building code, checkpatch.pl won't catch that (but I manually enabled this driver in a build to check it before pushing).

Signature · 1 line
Tom
author
#4 lore raw

Tom Rini <[email protected]> 於 2025年10月9日 週四 上午3:33寫道:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

This needs to be included in doc/usage/index.rst (alphabetically sorted still) in the shell commands section. Also please do "make htmldocs KDOC_WERROR=1" and make sure there's no complains for v2, I see some style issues it will trigger. To build the docs a python venv is

There is an issue I am not sure it is ok.
My system is old python 3.10 is not allowed.
Could I downgrade pip library version to make the require documents?

#5 lore raw
Quoted 10 lines · Sune Brian

Tom Rini <[email protected]> 於 2025年10月9日 週四 上午3:33寫道:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

This needs to be included in doc/usage/index.rst (alphabetically sorted still) in the shell commands section. Also please do "make htmldocs KDOC_WERROR=1" and make sure there's no complains for v2, I see some style issues it will trigger. To build the docs a python venv is

There is an issue I am not sure it is ok.
My system is old python 3.10 is not allowed.
Could I downgrade pip library version to make the require documents?

Probably so, yes. Most of the style issues are things like:
These two lines must be the same length
=======================================

And then the new file not being included in any other file and so an orphan. If you pushed things through CI before, it will run a test to catch all of this:
https://docs.u-boot.org/en/latest/develop/ci_testing.html

Signature · 1 line
Tom
author
#6 lore raw

Tom Rini <[email protected]> 於 2025年10月9日 週四 上午3:46寫道:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

still) in the shell commands section. Also please do "make htmldocs KDOC_WERROR=1" and make sure there's no complains for v2, I see some

without adding any rst

make htmldocs KDOC_WERROR=1

  HOSTCC  scripts/basic/fixdep
  SPHINX  htmldocs --> file:///media/sf_shared/u-boot/doc/output
  PARSE   include/linker_lists.h

Running Sphinx v8.1.3
enabling CJK for LaTeX builder
loading translations [en]... done
Converting source_suffix = '.rst' to `source_suffix = {'.rst':
'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date writing output...
building [html]: targets for 694 source files that are out of date updating environment: [new config] 694 added, 0 changed, 0 removed reading sources... [100%] usage/fit/kernel_fdt .. usage/upl looking for now-outdated files... none found
pickling environment... done
checking consistency... /media/sf_shared/u-boot/doc/develop/package/bintools.rst: WARNING:
document isn't included in any toctree /media/sf_shared/u-boot/doc/develop/package/entries.rst: WARNING:
document isn't included in any toctree
done
preparing documents... done
copying assets...
copying downloadable files... [100%] ../Licenses/README
copying static files...
Writing evaluated template result to /media/sf_shared/u-boot/doc/output/_static/basic.css
Writing evaluated template result to /media/sf_shared/u-boot/doc/output/_static/language_data.js Writing evaluated template result to /media/sf_shared/u-boot/doc/output/_static/documentation_options.js Writing evaluated template result to /media/sf_shared/u-boot/doc/output/_static/js/versions.js
copying static files: done
copying extra files...
copying extra files: done
copying assets: done /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/package/index.rst:16: WARNING:
toctree contains reference to document 'develop/package/binman' that doesn't have a title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/package/index.rst:16: WARNING:
toctree contains reference to document 'develop/package/binman' that doesn't have a title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/uefi/uefi.rst:379: WARNING:
undefined label: 'etype_efi_capsule' [ref.ref] /media/sf_shared/u-boot/doc/build/index.rst:6: WARNING: toctree contains reference to document 'build/buildman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/package/index.rst:16: WARNING:
toctree contains reference to document 'develop/package/binman' that doesn't have a title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/package/index.rst:16: WARNING:
toctree contains reference to document 'develop/package/binman' that doesn't have a title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/package/index.rst:16: WARNING:
toctree contains reference to document 'develop/package/binman' that doesn't have a title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title] /media/sf_shared/u-boot/doc/develop/index.rst:9: WARNING: toctree contains reference to document 'develop/patman' that doesn't have a
title: no link will be generated [toc.no_title]
writing output... [100%] usage/fit/x86-fit-boot .. usage/upl generating indices... genindex py-modindex done
Creating redirect 'develop/py_testing.html' to 'pytest/usage.html'. writing additional pages... search done
copying images... [100%] develop/pics/flamegraph_timing.png dumping search index in English (code: en)... done
dumping object inventory... done
build finished with problems, 125 warnings (with warnings treated as errors). doc/Makefile:70: recipe for target 'htmldocs' failed
make[1]: *** [htmldocs] Error 1
Makefile:2687: recipe for target 'htmldocs' failed
make: *** [htmldocs] Error 2

#7 lore raw
Quoted 11 lines · Sune Brian

Tom Rini <[email protected]> 於 2025年10月9日 週四 上午3:46寫道:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

still) in the shell commands section. Also please do "make htmldocs KDOC_WERROR=1" and make sure there's no complains for v2, I see some

without adding any rst

make htmldocs KDOC_WERROR=1

  HOSTCC  scripts/basic/fixdep
  SPHINX  htmldocs --> file:///media/sf_shared/u-boot/doc/output
  PARSE   include/linker_lists.h
Quoted 15 lines

Running Sphinx v8.1.3
enabling CJK for LaTeX builder
loading translations [en]... done
Converting source_suffix = '.rst' to `source_suffix = {'.rst':
'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date writing output...
building [html]: targets for 694 source files that are out of date updating environment: [new config] 694 added, 0 changed, 0 removed reading sources... [100%] usage/fit/kernel_fdt .. usage/upl looking for now-outdated files... none found
pickling environment... done
checking consistency... /media/sf_shared/u-boot/doc/develop/package/bintools.rst: WARNING:
document isn't included in any toctree

I'm not sure what's going on with your environment, sorry, you might have to just push things to CI. All of those errors don't make any sense. Docs are build that way as part of every CI run, so they aren't generally speaking broken.

Signature · 1 line
Tom
author
#8 lore raw

Tom Rini <[email protected]> 於 2025年10月9日 週四 上午4:24寫道:

Quoted 4 lines

I'm not sure what's going on with your environment, sorry, you might have to just push things to CI. All of those errors don't make any sense. Docs are build that way as part of every CI run, so they aren't generally speaking broken.

Aaaa. Python sometime is very touchy. So unless there are a general env that can be shared to test this is no good as well.

I do see a warning on the previous .rst so I fixed it and no warning related to the new .rst file.

I just patch as such can't do much no this.

As for the built I had already use another system with 3.10 python. Yet still returns those thing on dry run. Very puzzling.

Brian