[openfirmware] r1538 - cpu/x86/pc/olpc/via

svn at openfirmware.info svn at openfirmware.info
Sun Dec 6 07:07:22 CET 2009


Author: wmb
Date: 2009-12-06 07:07:22 +0100 (Sun, 06 Dec 2009)
New Revision: 1538

Added:
   cpu/x86/pc/olpc/via/verify.bth
Log:
Checked in Via version of verify.bth


Added: cpu/x86/pc/olpc/via/verify.bth
===================================================================
--- cpu/x86/pc/olpc/via/verify.bth	                        (rev 0)
+++ cpu/x86/pc/olpc/via/verify.bth	2009-12-06 06:07:22 UTC (rev 1538)
@@ -0,0 +1,24 @@
+purpose: Fetch the Crypto code and keys
+
+command: &builder &this
+build-now
+
+fload ${BP}/cpu/x86/pc/olpc/via/versions.fth
+
+" wget -q http://dev.laptop.org/pub/firmware/crypto/${KEYS}/os.public        -O os.public"        expand$ $sh
+" wget -q http://dev.laptop.org/pub/firmware/crypto/${KEYS}/fw.public        -O fw.public"        expand$ $sh
+" wget -q http://dev.laptop.org/pub/firmware/crypto/${KEYS}/fs.public        -O fs.public"        expand$ $sh
+" wget -q http://dev.laptop.org/pub/firmware/crypto/${KEYS}/lease.public     -O lease.public"     expand$ $sh
+" wget -q http://dev.laptop.org/pub/firmware/crypto/${KEYS}/developer.public -O developer.public" expand$ $sh
+" wget -q http://dev.laptop.org/pub/firmware/crypto/bios_verify-${CRYPTO_VERSION}.img" expand$ $sh
+" wget -q http://dev.laptop.org/pub/firmware/crypto/bios_verify-${CRYPTO_VERSION}.img.md5" expand$ $sh
+
+" md5sum -b bios_verify-${CRYPTO_VERSION}.img | cmp - bios_verify-${CRYPTO_VERSION}.img.md5" expand$ $sh
+
+" mv bios_verify-${CRYPTO_VERSION}.img verify.img" expand$ $sh
+" rm bios_verify-${CRYPTO_VERSION}.img.md5" expand$ $sh
+
+\ This forces the creation of an verify.log file, so we don't re-fetch
+writing verify.version
+" ${CRYPTO_VERSION}"n" expand$  ofd @ fputs
+ofd @ fclose




More information about the openfirmware mailing list