All of lore.kernel.org
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv7 1/2] ARM: sunxi: Initial support for Allwinner's Security ID fuses
Date: Tue, 3 Sep 2013 13:21:36 +0200	[thread overview]
Message-ID: <20130903112136.GC2630@lukather> (raw)
In-Reply-To: <1378204408-1415-2-git-send-email-oliver+list@schinagl.nl>

On Tue, Sep 03, 2013 at 12:33:27PM +0200, oliver+list at schinagl.nl wrote:
> From: Oliver Schinagl <oliver@schinagl.nl>
> 
> Allwinner has electric fuses (efuse) on their line of chips. This driver
> reads those fuses, seeds the kernel entropy and exports them as a sysfs
> node.
> 
> These fuses are most likely to be programmed at the factory, encoding
> things like Chip ID, some sort of serial number, etc. and appear to be
> reasonably unique.
> While in theory, these should be writeable by the user, it will probably
> be inconvenient to do so. Allwinner recommends that a certain input pin,
> labeled 'efuse_vddq', be connected to GND. To write these fuses however,
> a 2.5 V programming voltage needs to be applied to this pin.
> 
> Even so, they can still be used to generate a board-unique mac from,
> board unique RSA key and seed the kernel RNG.
> 
> On sun7i additional storage is available, this is initially used for an
> UEFI BOOT key, Secure JTAG key, HDMI-HDCP key and vendor specific keys.
> 
> Currently supported are the following known chips:
> Allwinner sun4i (A10)
> Allwinner sun5i (A10s, A13)
> Allwinner sun7i (A20)
> 
> Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130903/5b9f368b/attachment.sig>

WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: oliver+list@schinagl.nl
Cc: arnd@arndb.de, gregkh@linuxfoundation.org,
	linux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk,
	linus.walleij@linaro.org, linux-kernel@vger.kernel.org,
	andy.shevchenko@gmail.com, tomasz.figa@gmail.com,
	linux-sunxi@googlegroups.com,
	Oliver Schinagl <oliver@schinagl.nl>
Subject: Re: [PATCHv7 1/2] ARM: sunxi: Initial support for Allwinner's Security ID fuses
Date: Tue, 3 Sep 2013 13:21:36 +0200	[thread overview]
Message-ID: <20130903112136.GC2630@lukather> (raw)
In-Reply-To: <1378204408-1415-2-git-send-email-oliver+list@schinagl.nl>

[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]

On Tue, Sep 03, 2013 at 12:33:27PM +0200, oliver+list@schinagl.nl wrote:
> From: Oliver Schinagl <oliver@schinagl.nl>
> 
> Allwinner has electric fuses (efuse) on their line of chips. This driver
> reads those fuses, seeds the kernel entropy and exports them as a sysfs
> node.
> 
> These fuses are most likely to be programmed at the factory, encoding
> things like Chip ID, some sort of serial number, etc. and appear to be
> reasonably unique.
> While in theory, these should be writeable by the user, it will probably
> be inconvenient to do so. Allwinner recommends that a certain input pin,
> labeled 'efuse_vddq', be connected to GND. To write these fuses however,
> a 2.5 V programming voltage needs to be applied to this pin.
> 
> Even so, they can still be used to generate a board-unique mac from,
> board unique RSA key and seed the kernel RNG.
> 
> On sun7i additional storage is available, this is initially used for an
> UEFI BOOT key, Secure JTAG key, HDMI-HDCP key and vendor specific keys.
> 
> Currently supported are the following known chips:
> Allwinner sun4i (A10)
> Allwinner sun5i (A10s, A13)
> Allwinner sun7i (A20)
> 
> Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-09-03 11:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03 10:33 [PATCHv7 0/2] ARM: sunxi: Driver for Allwinner sunxi Security ID oliver+list at schinagl.nl
2013-09-03 10:33 ` oliver+list
2013-09-03 10:33 ` [PATCHv7 1/2] ARM: sunxi: Initial support for Allwinner's Security ID fuses oliver+list at schinagl.nl
2013-09-03 10:33   ` oliver+list
2013-09-03 11:21   ` Maxime Ripard [this message]
2013-09-03 11:21     ` Maxime Ripard
2013-09-03 10:33 ` [PATCHv7 2/2] ARM: sunxi: dt: Add sunxi-sid to dts for sun4i, sun5i and sun7i oliver+list at schinagl.nl
2013-09-03 10:33   ` oliver+list
2013-09-05  8:05   ` Maxime Ripard
2013-09-05  8:05     ` Maxime Ripard
2013-09-03 14:14 ` [PATCHv7 0/2] ARM: sunxi: Driver for Allwinner sunxi Security ID Greg KH
2013-09-03 14:14   ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130903112136.GC2630@lukather \
    --to=maxime.ripard@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.