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