From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Meier Date: Tue, 15 Apr 2014 20:25:14 +0200 Subject: [U-Boot] Interrupt autoboot by GPIO Message-ID: <534D798A.9050303@koalo.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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