From patchwork Wed Jun 1 21:15:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murilo Opsfelder Araujo X-Patchwork-Id: 628857 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rKjpD16Dwz9t5w for ; Thu, 2 Jun 2016 07:16:20 +1000 (AEST) Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3rKjpD0LGCzDqZw for ; Thu, 2 Jun 2016 07:16:20 +1000 (AEST) X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rKjp83fHKzDqYh for ; Thu, 2 Jun 2016 07:16:15 +1000 (AEST) Received: from pps.filterd (m0049461.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u51LBneF026116 for ; Wed, 1 Jun 2016 17:16:13 -0400 Message-Id: <201606012116.u51LBneF026116@mx0a-001b2d01.pphosted.com> Received: from e24smtp04.br.ibm.com (e24smtp04.br.ibm.com [32.104.18.25]) by mx0a-001b2d01.pphosted.com with ESMTP id 239u0gn2c0-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 01 Jun 2016 17:16:12 -0400 Received: from localhost by e24smtp04.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 1 Jun 2016 18:16:10 -0300 Received: from d24dlp02.br.ibm.com (9.18.248.206) by e24smtp04.br.ibm.com (10.172.0.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 1 Jun 2016 18:16:08 -0300 X-IBM-Helo: d24dlp02.br.ibm.com X-IBM-MailFrom: muriloo@linux.vnet.ibm.com X-IBM-RcptTo: petitboot@lists.ozlabs.org Received: from d24relay03.br.ibm.com (d24relay03.br.ibm.com [9.13.184.25]) by d24dlp02.br.ibm.com (Postfix) with ESMTP id 822EF1DC006D for ; Wed, 1 Jun 2016 17:16:01 -0400 (EDT) Received: from d24av05.br.ibm.com (d24av05.br.ibm.com [9.18.232.44]) by d24relay03.br.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u51LG7rr16646606 for ; Wed, 1 Jun 2016 18:16:07 -0300 Received: from d24av05.br.ibm.com (localhost [127.0.0.1]) by d24av05.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u51LG7Nm025041 for ; Wed, 1 Jun 2016 18:16:07 -0300 Received: from oc3866735181.ibm.com ([9.80.94.64]) by d24av05.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u51LG4rW024986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 1 Jun 2016 18:16:07 -0300 Received: by oc3866735181.ibm.com (Postfix, from userid 500) id 77D316432B; Wed, 1 Jun 2016 18:16:03 -0300 (BRT) From: Murilo Opsfelder Araujo To: petitboot@lists.ozlabs.org Subject: [PATCH] Document powerpc nvram parameters Date: Wed, 1 Jun 2016 18:15:36 -0300 X-Mailer: git-send-email 2.9.0.rc1 MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16060121-0028-0000-0000-00000110004B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16060121-0029-0000-0000-000013A35B2B X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-06-01_09:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=13 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1606010235 X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Signed-off-by: Murilo Opsfelder Araujo --- discover/platform-powerpc.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) -- 2.9.0.rc1 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, };