All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Meier <florian.meier@koalo.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Interrupt autoboot by GPIO
Date: Tue, 15 Apr 2014 20:25:14 +0200	[thread overview]
Message-ID: <534D798A.9050303@koalo.de> (raw)

Hi,
is there a possibility to interrupt autoboot when a GPIO pin has a
certain value? I know there is CONFIG_AUTOBOOT_DELAY_STR and that should
suffice in most cases when there is another peripheral connected to the
UART, but think about the following setup I have:

A processor (in my case a AR9331) has a single UART that is used as
U-Boot console. The same UART is connected to a radio transceiver.
Therefore, an attacker MIGHT send the CONFIG_AUTOBOOT_DELAY_STR to the
radio transceiver at the right time to insert malicious code.

I know, there are other possibilities to handle this (e.g. by ensuring
that the radio transceiver is only activated when the processor is
booted), but I think having a dedicated "interrupt autoboot"-button
would be an elegant solution.

What do you think?

Greetings,
Florian

             reply	other threads:[~2014-04-15 18:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-15 18:25 Florian Meier [this message]
2014-04-15 22:12 ` [U-Boot] Interrupt autoboot by GPIO Wolfgang Denk
2014-04-16 11:02   ` Florian Meier

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=534D798A.9050303@koalo.de \
    --to=florian.meier@koalo.de \
    --cc=u-boot@lists.denx.de \
    /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.