[PATCH] Document powerpc nvram parameters

Murilo Opsfelder Araujo muriloo at linux.vnet.ibm.com
Thu Jun 2 07:15:36 AEST 2016


Signed-off-by: Murilo Opsfelder Araujo <muriloo at linux.vnet.ibm.com>
---
 discover/platform-powerpc.c | 39 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 38 insertions(+), 1 deletion(-)

diff --git a/discover/platform-powerpc.c b/discover/platform-powerpc.c
index 1961304..563e0ad 100644
--- a/discover/platform-powerpc.c
+++ b/discover/platform-powerpc.c
@@ -51,14 +51,51 @@ struct platform_powerpc {

 static const char *known_params[] = {
 	"auto-boot?",
+	/* Whether Petitboot should automatically boot.  (true or
+	 * false)
+	 */
+
 	"petitboot,network",
+	/* Network settings.  Examples:
+	 *
+	 * petitboot,network=aa:bb:cc:dd:ee:ff,dhcp
+	 * petitboot,network=aa:bb:cc:dd:ee:ff,static,192.168.1.2/24,192.168.1.1 dns,192.168.1.1
+	 */
+
 	"petitboot,timeout",
-	"petitboot,bootdev",
+	/* How many seconds Petitboot should wait until auto-booting.
+	 * (Integer)
+	 */
+
+	"petitboot,bootdev",  /* deprecated */
 	"petitboot,bootdevs",
+	/* Space-separated list defining the relative boot priority of
+	 * certain devices, e.g. boot a specific disk first, otherwise
+	 * network.  Example:
+	 *
+	 * petitboot,bootdevs=uuid:a46c84b3-366a-4b38-880a-f674c30d490d network
+	 */
+
 	"petitboot,language",
+	/* Set UI default language.  Example:
+	 *
+	 * petitboot,language=es_ES.utf8
+	 */
+
 	"petitboot,debug?",
+	/* Debug flag to increase logging verbosity.  (true or
+	 * false) */
+
 	"petitboot,write?",
+	/* Whether Petitboot should be allowed to make changes to
+	 * disks.  (true or false)
+	 */
+
 	"petitboot,snapshots?",
+	/* Whether Petitboot should use device-mapper snapshots when
+	 * mounting disks.  (true or false)
+	 */
+
 	NULL,
 };

--
2.9.0.rc1



More information about the Petitboot mailing list