[openfirmware] [commit] r3559 - in cpu: arm/olpc x86/pc/olpc/via

repository service svn at openfirmware.info
Tue Feb 19 08:18:46 CET 2013


Author: quozl
Date: Tue Feb 19 08:18:45 2013
New Revision: 3559
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3559

Log:
OLPC XO-1.75 XO-4 - autorun tests, add redundant text and a stall point for overall pass or fail.  #12515.

Modified:
   cpu/arm/olpc/build-fw.fth
   cpu/x86/pc/olpc/via/mfgtest.fth

Modified: cpu/arm/olpc/build-fw.fth
==============================================================================
--- cpu/arm/olpc/build-fw.fth	Mon Feb 18 23:47:41 2013	(r3558)
+++ cpu/arm/olpc/build-fw.fth	Tue Feb 19 08:18:45 2013	(r3559)
@@ -492,11 +492,6 @@
 \ Uninstall the diag menu from the general user interface vector
 \ so exiting from emacs doesn't invoke the diag menu.
 ' quit to user-interface
-fload ${BP}/cpu/x86/pc/olpc/via/mfgtest.fth
-
-[ifdef] notyet
-fload ${BP}/cpu/x86/pc/olpc/via/bootmenu.fth
-[then]
 
 : screen-#lines  ( -- n )
    screen-ih 0=  if  default-#lines exit  then
@@ -601,6 +596,7 @@
 
 fload ${BP}/cpu/arm/olpc/help.fth
 fload ${BP}/cpu/x86/pc/olpc/gui.fth
+fload ${BP}/cpu/x86/pc/olpc/via/mfgtest.fth
 fload ${BP}/cpu/x86/pc/olpc/strokes.fth
 fload ${BP}/cpu/x86/pc/olpc/plot.fth
 

Modified: cpu/x86/pc/olpc/via/mfgtest.fth
==============================================================================
--- cpu/x86/pc/olpc/via/mfgtest.fth	Mon Feb 18 23:47:41 2013	(r3558)
+++ cpu/x86/pc/olpc/via/mfgtest.fth	Tue Feb 19 08:18:45 2013	(r3559)
@@ -143,11 +143,16 @@
       run-menu-item
       stop?  if unloop exit  then
    loop
-   overall-fail?  if
+   page  overall-fail?  if
       0 1  \ play-item
+      show-fail
+      ." "(1b)"[;15HSome hardware tests failed. Please review red boxes."
    else
       0 3  \ quit-item
+      show-pass
+      ." "(1b)"[;28HAll hardware tests passed."
    then
+   begin key? while key drop repeat  key drop
    set-default-selection
    refresh
 ;



More information about the openfirmware mailing list