From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 2 Apr 2014 17:18:57 -0400 Subject: [U-Boot] [U-Boot, v6, 4/6] new commands: uuid and guid - generate random unique identifier In-Reply-To: <1396426807-30510-4-git-send-email-p.marczak@samsung.com> References: <1396426807-30510-4-git-send-email-p.marczak@samsung.com> Message-ID: <20140402211857.GG16360@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 02, 2014 at 10:20:05AM +0200, Przemyslaw Marczak wrote: > Those commands basis on implementation of random UUID generator version 4 > which is described in RFC4122. The same algorithm is used for generation > both ids but string representation is different as below. > > char: 0 9 14 19 24 36 > xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx > UUID: be be be be be > GUID: le le le be be > > Commands usage: > - uuid [] > - guid [] > > The result is saved in environment as a "varname" variable if argument is given, > if not then it is printed. > > New config: > - CONFIG_CMD_UUID > > Signed-off-by: Przemyslaw Marczak > Cc: Stephen Warren > Cc: Lukasz Majewski > Cc: trini at ti.com Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: