[OpenBIOS] r452 - cpu/x86/pc/olpc

svn at openbios.org svn at openbios.org
Tue Jun 26 17:46:28 CEST 2007


Author: wmb
Date: 2007-06-26 17:46:28 +0200 (Tue, 26 Jun 2007)
New Revision: 452

Modified:
   cpu/x86/pc/olpc/usb8388.bth
Log:
OLPC build process - Changed usb8388.bth to fetch the wireless firmware from http://dev.laptop.org/pub/firmware/libertas/ instead of a RedHat RPM repository.


Modified: cpu/x86/pc/olpc/usb8388.bth
===================================================================
--- cpu/x86/pc/olpc/usb8388.bth	2007-06-15 19:53:41 UTC (rev 451)
+++ cpu/x86/pc/olpc/usb8388.bth	2007-06-26 15:46:28 UTC (rev 452)
@@ -5,16 +5,16 @@
 
 fload ${BP}/cpu/x86/pc/olpc/versions.fth
 
-" rm -rf ./lib" $sh
-" wget -O - http://download.fedora.redhat.com/pub/fedora/projects/olpc/development/i386/os/Fedora/RPMS/libertas-usb8388-firmware-${WLAN_RPM}.noarch.rpm | rpm2cpio - | cpio -i -u --make-directories --no-absolute-filenames" expand$ $sh
+" rm usb8388.bin" expand$ $sh
 
+" wget -q http://dev.laptop.org/pub/firmware/libertas/usb8388-${WLAN_VERSION}.bin" expand$ $sh
 
-\ reading libertas.version
-\ here  dup d# 50 ifd @ fgets   ( adr len )
-\ ifd @ fclose                  ( adr len )
+" wget -q -O - http://dev.laptop.org/pub/firmware/libertas/MD5SUMS  | grep ${WLAN_VERSION}  >usb8388.md5" expand$ $sh
 
-" cp ./lib/firmware/usb8388.bin ." $sh
+" md5sum usb8388-${WLAN_VERSION}.bin | cmp - usb8388.md5" expand$ $sh
 
+" mv usb8388-${WLAN_VERSION}.bin usb8388.bin" expand$ $sh
+
 \ This forces the creation of a .log file, so we don't re-fetch
 writing usb8388.version
 " ${WLAN_VERSION}"n" expand$  ofd @ fputs




More information about the OpenBIOS mailing list