[openfirmware] r1119 - cpu/x86/pc/olpc

svn at openfirmware.info svn at openfirmware.info
Tue Mar 10 09:10:30 CET 2009


Author: wmb
Date: 2009-03-10 09:10:29 +0100 (Tue, 10 Mar 2009)
New Revision: 1119

Modified:
   cpu/x86/pc/olpc/setwp.fth
Log:
OLPC - added -null to enable-security to fix confirmation by serial number.


Modified: cpu/x86/pc/olpc/setwp.fth
===================================================================
--- cpu/x86/pc/olpc/setwp.fth	2009-03-03 23:55:28 UTC (rev 1118)
+++ cpu/x86/pc/olpc/setwp.fth	2009-03-10 08:10:29 UTC (rev 1119)
@@ -11,6 +11,7 @@
    board-revision  h# b48 <  abort" Only supported on B4 and later"
    h# fffefffe 2  " wp"  $=  if  ." wp is already set" cr  exit  then
    " SN" find-tag 0=  abort" No serial number (SN tag); enabling security would brick me."  ( sn$ )
+   -null            ( sn$' )
    safe-parse-word  ( sn$ confirmation$ )
    $= 0=  abort" Confirmation code mismatch"   
 




More information about the openfirmware mailing list