From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VllVt-0004OB-Tt for mharc-grub-devel@gnu.org; Wed, 27 Nov 2013 15:15:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VllVn-0004Ka-D0 for grub-devel@gnu.org; Wed, 27 Nov 2013 15:15:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VllVh-0002f9-UO for grub-devel@gnu.org; Wed, 27 Nov 2013 15:15:03 -0500 Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]:55729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VllVh-0002f5-NF for grub-devel@gnu.org; Wed, 27 Nov 2013 15:14:57 -0500 Received: by mail-ea0-f175.google.com with SMTP id z10so5066321ead.20 for ; Wed, 27 Nov 2013 12:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=blkBO/5lrizI60c0LTPgkFZsA34smr3hYP46TWCAIHc=; b=kxnGjiF0A3d5ZXjCDkmYFOrynzVvKBCDrGjg+B5qqGn/6pQeoM0chF4qZ1I3+ssSsG TlULsR4PuJ6UAN4V8n97FvisLxev7fUYAmOkBd1BfPdFWoBlYliLwG9vfIEr/9Us7+jR BHbHEC9Qj3kK+Xtmvb6Angf9Kpz1ks0srbRBP/SzAGDU11fMbmN2Px+7to2KtRBCG+ke JlK8OGSgXZFDaaUygQ7LKOddMQl6H/ava8YEuitbvpvegSCeIuA6nJo8AVW3WfmLlHdM I5SCAhdSwc0n5Vx/Z1ZQTCywD3q8gPKHnAMNdK7jzZWPzQCYakQhuOpqEMTK/tNypsET Lh2w== X-Received: by 10.14.109.1 with SMTP id r1mr18262732eeg.32.1385583296944; Wed, 27 Nov 2013 12:14:56 -0800 (PST) Received: from [192.168.1.121] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id g1sm22895369eew.1.2013.11.27.12.14.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Nov 2013 12:14:56 -0800 (PST) Message-ID: <529652B9.8030601@gmail.com> Date: Wed, 27 Nov 2013 21:14:49 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: PATCH: added GRUB command to get and set (U)EFI firmware variables References: <5293C281.4080601@gmail.com> <5293C927.8080208@gmail.com> <5293CA3A.7090702@gmail.com> <5293CF1F.9070009@gmail.com> <5293E9B0.3090804@gmail.com> <52963D99.5020902@gmail.com> <20131127225752.153b1495@opensuse.site> In-Reply-To: <20131127225752.153b1495@opensuse.site> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2QCSPTRRKAPTEQUSFRLVW" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22f X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2013 20:15:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2QCSPTRRKAPTEQUSFRLVW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 27.11.2013 19:57, Andrey Borzenkov wrote: > =D0=92 Wed, 27 Nov 2013 13:44:41 -0500 > SevenBits =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >=20 >> On 11/25/2013 07:22 PM, Vladimir '=CF=86-coder/phcoder' Serbinenko wro= te: >>> On 25.11.2013 23:28, SevenBits wrote: >>>> >>>> On 11/25/2013 05:07 PM, Vladimir '?-coder/phcoder' Serbinenko >>>> wrote: >>>>> On 25.11.2013 23:03, SevenBits wrote: >>>>>> >>>>>> Thanks for your quick reply. >>>>>> >>>>>> I just have a couple of questions. How do you prefer I allow >>>>>> the user to specify the vendor UUID? By typing it in via the >>>>>> keyboard? And secondly, by saying it needs "readable aliases >>>>>> for known types" do you mean that there should be a function >>>>>> to set an integer, one to set a boolean, etc? >>>>>> >>>>> I meant for UUIDs. E.g. one alias "efi" for shared space, >>>>> "apple" for apple and so on. >>>> So other than a generic variable UUID and Apple, are there others >>>> that you think might be necessary? I can try and put in some >>>> common ones but manufacturers may not disclose what their >>>> specific UUIDs are. >>>> >>> I'd include a command to list variables (interactively). We would >>> pretty quickly collect most common UUIDs this way. >=20 >> So, I've got a command written to print out the system's firmware >> variables. Trouble is I'm not sure what the best way would be to print= >> or otherwise display the UUIDs gathered so that we can collect them. >=20 >=20 > I think it is rather premature at this point. Agreed. I wasn't clear enough that I meant that in the first implementation we need to put just few UUIDs we already know about as aliases and expand them with the time. > What is needed first is > sane framework for handling EFI variables, which means - handling GUID,= > options (during set or as filter in listing variables) and conversion o= f > arbitrary binary data from/to external printable representation. >=20 >=20 >>>>> But type of variable is also an issue and there should be at >>>>> least following available: hex - transform all in hex utf16 - >>>>> decode utf16 into utf8 Probably more, didn't really look into >>>>> issue >>>> I see, okay, I'll add some in. >>>> >=20 >=20 > Yes, please. Adding aliases for GUID can always come later and is not > really that important. > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2QCSPTRRKAPTEQUSFRLVW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKWUsEACgkQmBXlbbo5nOtJgQD7Blk+qlLlISoxigtoHtDAb10L WEKQ2Ksk3vHt7esFMiMA/j+tj5pZJYfhLjdy05YdIVM2GN/2W5/isHO5GcvlybWe =IGl+ -----END PGP SIGNATURE----- ------enig2QCSPTRRKAPTEQUSFRLVW--