summaryrefslogtreecommitdiff
path: root/doc/usage
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2022-03-28 10:43:51 +0800
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-03-31 19:06:16 +0200
commit51a407b872c57938a8f68156b6bdbfb8a528c652 (patch)
tree2344c428c86a1927f48788b50db94bad2ff22456 /doc/usage
parent7fc86c7ed8e3cbfbbf9a08169fd55997f4ee0f0c (diff)
downloadu-boot-51a407b872c57938a8f68156b6bdbfb8a528c652.tar.gz
doc: usage: Convert README.plan9 to reST
This converts the existing README.plan9 to reST, and puts it under the doc/usage/os directory. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'doc/usage')
-rw-r--r--doc/usage/index.rst1
-rw-r--r--doc/usage/os/plan9.rst22
2 files changed, 23 insertions, 0 deletions
diff --git a/doc/usage/index.rst b/doc/usage/index.rst
index a16deee145..8a54d9cb03 100644
--- a/doc/usage/index.rst
+++ b/doc/usage/index.rst
@@ -60,4 +60,5 @@ Booting OS
.. toctree::
:maxdepth: 1
+ os/plan9
os/vxworks
diff --git a/doc/usage/os/plan9.rst b/doc/usage/os/plan9.rst
new file mode 100644
index 0000000000..f91712c009
--- /dev/null
+++ b/doc/usage/os/plan9.rst
@@ -0,0 +1,22 @@
+.. SPDX-License-Identifier: GPL-2.0+
+.. Steven Stallion
+.. June 2013
+
+Plan 9
+======
+
+Plan 9 from Bell Labs kernel images require additional setup to pass
+configuration information to the kernel. An environment variable named
+confaddr must be defined with the same value as CONFADDR (see mem.h).
+Use of this facility is optional, but should be preferable to manual
+configuration.
+
+When booting an image, arguments supplied to the bootm command will be
+copied to CONFADDR. If no arguments are specified, the contents of the
+bootargs environment variable will be copied.
+
+If no command line arguments or bootargs are defined, CONFADDR is left
+uninitialized to permit manual configuration. For example, PC-style
+configuration could be simulated by issuing a fatload in bootcmd::
+
+ # setenv bootcmd fatload mmc 0 $confaddr plan9.ini; ...; bootm