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