[OpenBIOS] r335 - cpu/x86/pc/olpc
svn at openbios.org
svn at openbios.org
Sat Apr 28 00:25:44 CEST 2007
Author: wmb
Date: 2007-04-28 00:25:44 +0200 (Sat, 28 Apr 2007)
New Revision: 335
Modified:
cpu/x86/pc/olpc/ec.bth
Log:
cpu/x86/pc/olpc/ec.bth - Added an option, controlled by a macro in versions.fth,
to use an alternative command to get the EC image. This is useful for testing
new versions of the EC code before they have been officially released on the
OLPC website.
Modified: cpu/x86/pc/olpc/ec.bth
===================================================================
--- cpu/x86/pc/olpc/ec.bth 2007-04-27 22:23:29 UTC (rev 334)
+++ cpu/x86/pc/olpc/ec.bth 2007-04-27 22:25:44 UTC (rev 335)
@@ -5,7 +5,12 @@
fload ${BP}/cpu/x86/pc/olpc/versions.fth
-" wget http://dev.laptop.org/pub/ec/ec_v${EC_VERSION}.img -O ec.img" expand$ $sh
+\ If there is a GET_EC macro, use it instead of fetching the released version.
+" ${GET_EC}" expand$ nip [if]
+ " ${GET_EC}" expand$ $sh
+[else]
+ " wget http://dev.laptop.org/pub/ec/ec_v${EC_VERSION}.img -O ec.img" expand$ $sh
+[then]
\ This forces the creation of an ec.log file, so we don't re-fetch ec.img
writing ec.version
More information about the OpenBIOS
mailing list