blob: f91712c0094602a92a60e824d83f784448425b19 [file] [log] [blame]
Bin Meng51a407b2022-03-28 10:43:51 +08001.. SPDX-License-Identifier: GPL-2.0+
2.. Steven Stallion
3.. June 2013
4
5Plan 9
6======
7
Steven Stallioneeaef5e2013-06-10 01:00:09 -07008Plan 9 from Bell Labs kernel images require additional setup to pass
9configuration information to the kernel. An environment variable named
10confaddr must be defined with the same value as CONFADDR (see mem.h).
11Use of this facility is optional, but should be preferable to manual
12configuration.
13
14When booting an image, arguments supplied to the bootm command will be
15copied to CONFADDR. If no arguments are specified, the contents of the
16bootargs environment variable will be copied.
17
18If no command line arguments or bootargs are defined, CONFADDR is left
19uninitialized to permit manual configuration. For example, PC-style
Bin Meng51a407b2022-03-28 10:43:51 +080020configuration could be simulated by issuing a fatload in bootcmd::
Steven Stallioneeaef5e2013-06-10 01:00:09 -070021
22 # setenv bootcmd fatload mmc 0 $confaddr plan9.ini; ...; bootm