j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: wmb Date: 2007-12-27 10:18:48 +0100 (Thu, 27 Dec 2007) New Revision: 756
Modified: cpu/x86/pc/olpc/setwp.fth Log: OLPC Trac 5727 - Added error check so that enable-security will abort unless both the SN and U# mfg tags are present.
Modified: cpu/x86/pc/olpc/setwp.fth =================================================================== --- cpu/x86/pc/olpc/setwp.fth 2007-12-27 09:13:03 UTC (rev 755) +++ cpu/x86/pc/olpc/setwp.fth 2007-12-27 09:18:48 UTC (rev 756) @@ -9,6 +9,8 @@
: set-wp ( -- ) 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." 2drop + " U#" find-tag 0= abort" No U# tag; enabling security would brick me." 2drop h# fffefffe 2 " ww" $= 0= abort" No ww tag" spi-start spi-identify " wp" h# efffe write-spi-flash