j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: wmb Date: 2007-10-28 22:48:00 +0100 (Sun, 28 Oct 2007) New Revision: 700
Modified: cpu/x86/pc/olpc/security.fth dev/olpc/kb3700/ecio.fth Log: OLPC trac 4484 - Changed the command code for write-protect-fw from 0x29 to 0x03 to match an unannounced change in the EC code from Quanta, and also avoid calling write-protect-fw in security.fth because it hasn't been tested.
Modified: cpu/x86/pc/olpc/security.fth =================================================================== --- cpu/x86/pc/olpc/security.fth 2007-10-28 21:45:07 UTC (rev 699) +++ cpu/x86/pc/olpc/security.fth 2007-10-28 21:48:00 UTC (rev 700) @@ -721,7 +721,7 @@ then ( list$ )
load-from-device if ( list$ ) - write-protect-fw ec-indexed-io-off ( list$ ) + ec-indexed-io-off ( list$ ) 2drop ( ) ['] secure-load-ramdisk to load-ramdisk " init-program" $find if
Modified: dev/olpc/kb3700/ecio.fth =================================================================== --- dev/olpc/kb3700/ecio.fth 2007-10-28 21:45:07 UTC (rev 699) +++ dev/olpc/kb3700/ecio.fth 2007-10-28 21:48:00 UTC (rev 700) @@ -151,7 +151,7 @@ : dcon-power-on ( -- ) 1 h# 26 ec-cmd-b! ; : reset-ec-warm ( -- ) h# 27 ec-cmd ; : reset-ec ( -- ) h# 28 ec-cmd ; -: write-protect-fw ( -- ) h# 29 ec-cmd ; +: write-protect-fw ( -- ) 3 ec-cmd ; : ebook-mode? ( -- b ) h# 2a ec-cmd-b@ ;
: ec-indexed-io-off ( -- ) h# fe95 ec@ h# 40 invert and h# fe95 ec! ;