Author: wmb Date: Thu Nov 4 19:25:24 2010 New Revision: 2007 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2007
Log: OLPC XO-1.75 - Added verify.bth
Added: cpu/arm/olpc/1.75/verify.bth
Added: cpu/arm/olpc/1.75/verify.bth ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ cpu/arm/olpc/1.75/verify.bth Thu Nov 4 19:25:24 2010 (r2007) @@ -0,0 +1,24 @@ +purpose: Fetch the Crypto code and keys + +command: &builder &this +build-now + +fload ${BP}/cpu/arm/olpc/1.75/crypto-version.fth + +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/os.public -O os.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/fw.public -O fw.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/fs.public -O fs.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/lease.public -O lease.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/developer.public -O developer.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/bios_verify-$%7BCRYPTO_VERSION%7D...." expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/bios_verify-$%7BCRYPTO_VERSION%7D...." 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
openfirmware@openfirmware.info