[openfirmware] [commit] r3239 - cpu/arm/olpc
repository service
svn at openfirmware.info
Wed Aug 29 04:21:27 CEST 2012
Author: quozl
Date: Wed Aug 29 04:21:27 2012
New Revision: 3239
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3239
Log:
OLPC XO-4 - bsl, hide destructive test, provide dot per line progress during programming
Modified:
cpu/arm/olpc/bsl.fth
Modified: cpu/arm/olpc/bsl.fth
==============================================================================
--- cpu/arm/olpc/bsl.fth Wed Aug 29 03:20:38 2012 (r3238)
+++ cpu/arm/olpc/bsl.fth Wed Aug 29 04:21:27 2012 (r3239)
@@ -4,7 +4,6 @@
\ TODO:
\ friendlier programming interface ( "ok flash-bsl u:\file.hex")
-\ progress indicator during programming
\ print, perhaps in red, the msp430 password after programming,
\ iff the password doesn't match all-ff or the known neonode password.
\ save calibration data in mfg tag, in case it's lost.
@@ -484,6 +483,7 @@
force-erase ( )
." Programming" cr
begin ( )
+ [char] . emit
bsl-line-buf d# 100 ifd @ read-line abort" Read line failed"
while ( len )
bsl-line-buf swap ( adr len )
@@ -495,6 +495,7 @@
ifd @ fclose ( )
;
+[ifdef] bsl-destructive-test
\ This is a destructive test in that it erases whatever firmware happens
\ to already be in the device.
@@ -543,6 +544,7 @@
." Verifying ..." bsl-test-data h# 8000 bsl-verify cr ( okay? )
if ." Good" else ." FAILED!" then cr
;
+[then]
\ LICENSE_BEGIN
\ Copyright (c) 2012 FirmWorks
More information about the openfirmware
mailing list