I like very much the idea to put a little bit of security features in the device.<br><br>Thanks Francesco.<br><br><div class="gmail_quote">On Tue, Jun 10, 2008 at 5:20 PM, Francesco Albanese &lt;<a href="mailto:frances.albanese@gmail.com">frances.albanese@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
this is a patch for u-boot1.3.2rc2 compiled and patched using<br>
MMakefile. I&#39;ve added a new command &quot;lock&quot; for setting a password to<br>
lock/unlock the access to the terminal and prevent flashing the device<br>
via DFU.<br>
<br>
Features:<br>
<br>
- Password stored as SHA256 non-salted hash and written in the env<br>
var. partition (a salting method can be added afterwards)<br>
- If the password is set, user is prompted for a password after a<br>
serial connection is established<br>
- If the device is locked down, a DFU flashing attempt will produce an<br>
on-screen error on the Neo<br>
- uncomment _USE_PASSWORD in password.h to activate this patch<br>
<br>
Comments are welcome,<br>
<br>
<br>
F.Albanese<br>
</blockquote></div><br>