[U-Boot] [U-Boot, v6, 4/6] new commands: uuid and guid - generate random unique identifier
Tom Rini
trini at ti.com
Wed Apr 2 23:18:57 CEST 2014
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 [<varname>]
> - guid [<varname>]
>
> 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 <p.marczak at samsung.com>
> Cc: Stephen Warren <swarren at nvidia.com>
> Cc: Lukasz Majewski <l.majewski at samsung.com>
> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20140402/0e2d004a/attachment.pgp>
More information about the U-Boot
mailing list