Author: wmb
Date: Wed Oct 5 02:00:46 2011
New Revision: 2580
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2580
Log:
OLPC XO-1.75 - touchscreen driver selftest display formatting (added a cr).
Modified:
cpu/arm/olpc/1.75/rm3150-touchscreen.fth
Modified: cpu/arm/olpc/1.75/rm3150-touchscreen.fth
==============================================================================
--- cpu/arm/olpc/1.75/rm3150-touchscreen.fth Wed Oct 5 00:28:02 2011 (r2579)
+++ cpu/arm/olpc/1.75/rm3150-touchscreen.fth Wed Oct 5 02:00:46 2011 (r2580)
@@ -252,7 +252,7 @@
: selftest ( -- error? )
open 0= if
\ ." Touchscreen open failed" true exit
- ." No touchscreen present" false exit
+ ." No touchscreen present" cr false exit
then
\ Being able to open the touchpad is good enough in SMT mode
Author: wmb
Date: Wed Oct 5 00:28:02 2011
New Revision: 2579
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2579
Log:
OLPC XO-1.75 - trac #11292 - touchscreen absence - the usual case - is not reported as a selftest error.
Modified:
cpu/arm/olpc/1.75/rm3150-touchscreen.fth
Modified: cpu/arm/olpc/1.75/rm3150-touchscreen.fth
==============================================================================
--- cpu/arm/olpc/1.75/rm3150-touchscreen.fth Wed Oct 5 00:21:03 2011 (r2578)
+++ cpu/arm/olpc/1.75/rm3150-touchscreen.fth Wed Oct 5 00:28:02 2011 (r2579)
@@ -251,7 +251,8 @@
: selftest ( -- error? )
open 0= if
- ." Touchscreen open failed" true exit
+\ ." Touchscreen open failed" true exit
+ ." No touchscreen present" false exit
then
\ Being able to open the touchpad is good enough in SMT mode
Author: wmb
Date: Tue Oct 4 20:18:25 2011
New Revision: 2575
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2575
Log:
OLPC - in enable-security, change the hardcoded address for the wp tag to be relative to mfg-data-top, thus allowing it to work for XO-1.75 too.
Modified:
cpu/x86/pc/olpc/setwp.fth
Modified: cpu/x86/pc/olpc/setwp.fth
==============================================================================
--- cpu/x86/pc/olpc/setwp.fth Tue Oct 4 03:02:09 2011 (r2574)
+++ cpu/x86/pc/olpc/setwp.fth Tue Oct 4 20:18:25 2011 (r2575)
@@ -10,9 +10,10 @@
\ require a full erase. That is faster and safer than copying out the
\ data, erasing the block and rewriting it.
+: wp-loc$ ( -- adr len ) mfg-data-top 2- 2 ;
: enable-security ( "serialnumber" -- )
board-revision h# b48 < abort" Only supported on B4 and later"
- h# fffefffe 2 " wp" $= if ." wp is already set" cr exit then
+ wp-loc$ " 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$ )
@@ -22,10 +23,10 @@
0= abort" Canceled"
" U#" find-tag 0= abort" No U# tag; enabling security would brick me." 2drop
- h# fffefffe 2 " ww" $= 0= abort" No ww tag"
+ wp-loc$ " ww" $= 0= abort" No ww tag"
spi-start spi-identify
" wp" h# efffe write-spi-flash
- h# fffefffe 2 " wp" $= if ." Succeeded" cr then
+ wp-loc$ " wp" $= if ." Succeeded" cr then
spi-reprogrammed
;