Author: wmb Date: 2009-05-13 01:36:06 +0200 (Wed, 13 May 2009) New Revision: 1181
Added: cpu/x86/pc/biosload/paging.bth cpu/x86/pc/biosload/sd8686.bth Modified: cpu/x86/pc/biosload/fw.bth cpu/x86/pc/biosload/ofw.bth Log: Biosload via-demo version - support for SD wireless.
Modified: cpu/x86/pc/biosload/fw.bth =================================================================== --- cpu/x86/pc/biosload/fw.bth 2009-05-12 22:57:45 UTC (rev 1180) +++ cpu/x86/pc/biosload/fw.bth 2009-05-12 23:36:06 UTC (rev 1181) @@ -207,6 +207,20 @@ fload ${BP}/ofw/inet/http.fth \ HTTP client end-support-package
+[ifdef] via-demo +fload ${BP}/ofw/wifi/wifi-cfg.fth +support-package: supplicant +fload ${BP}/ofw/wifi/loadpkg.fth +end-support-package + +: olpc-ssids ( -- $ ) + " OLPCOFW"nschool-mesh-0"nschool-mesh-1"nschool-mesh-2" +; +' olpc-ssids to default-ssids + +devalias net /wlan +[then] + [ifndef] use-timestamp-counter fload ${BP}/cpu/x86/pc/mscal.fth [then] @@ -287,6 +301,9 @@ fload ${BP}/cpu/x86/pc/olpc/usbpwr.fth devalias net /wlan [then] +[ifdef] via-demo +devalias net /wlan +[then]
: probe-all ( -- ) " probe-" do-drop-in
Modified: cpu/x86/pc/biosload/ofw.bth =================================================================== --- cpu/x86/pc/biosload/ofw.bth 2009-05-12 22:57:45 UTC (rev 1180) +++ cpu/x86/pc/biosload/ofw.bth 2009-05-12 23:36:06 UTC (rev 1181) @@ -22,8 +22,10 @@ in: ${BP}/dev/pci/build/pcibridg.fc in: ${BP}/dev/ide/build/leghier.fc in: ${BP}/cpu/x86/pc/biosload/linux.fth -in: ${BP}/dev/mmc/sdhci/build/sdhci.fc +in: ${BP}/dev/mmc/sdhci/build/sdhci2.fc in: ${BP}/dev/mmc/sdhci/build/sdmmc.fc +in: ${BP}/dev/mmc/sdhci/mv8686/build/mv8686.fc +in: sd8686.bin
build-now
@@ -91,8 +93,16 @@ " ${BP}/dev/pci/build/pcibridg.fc" " class060400" $add-deflated-dropin " ${BP}/dev/ide/build/leghier.fc" " class01018a" $add-deflated-dropin
+[ifdef] via-demo + " ${BP}/dev/mmc/sdhci/build/sdhci2.fc" " class080501" $add-deflated-dropin + " ${BP}/dev/mmc/sdhci/build/sdmmc.fc" " sdmmc" $add-deflated-dropin + " ${BP}/dev/mmc/sdhci/mv8686/build/mv8686.fc" " mv8686" $add-deflated-dropin + " sd8686_helper.bin" " helper_sd.bin" $add-deflated-dropin + " sd8686.bin" " sd8686.bin" $add-deflated-dropin +[else] " ${BP}/dev/mmc/sdhci/build/sdhci.fc" " class080501" $add-deflated-dropin " ${BP}/dev/mmc/sdhci/build/sdmmc.fc" " sdmmc" $add-deflated-dropin +[then]
" ${BP}/dev/usb2/hcd/ehci/build/ehci.fc" " class0c0320" $add-deflated-dropin
Added: cpu/x86/pc/biosload/paging.bth =================================================================== --- cpu/x86/pc/biosload/paging.bth (rev 0) +++ cpu/x86/pc/biosload/paging.bth 2009-05-12 23:36:06 UTC (rev 1181) @@ -0,0 +1,7 @@ +purpose: Build script for paging.di + +command: &builder &this +build-now + +fload ${BP}/cpu/x86/pc/biosload/config.fth +fload ${BP}/cpu/x86/pc/paging.fth
Added: cpu/x86/pc/biosload/sd8686.bth =================================================================== --- cpu/x86/pc/biosload/sd8686.bth (rev 0) +++ cpu/x86/pc/biosload/sd8686.bth 2009-05-12 23:36:06 UTC (rev 1181) @@ -0,0 +1,23 @@ +purpose: Fetch the firmware for the Marvell 8686 wireless LAN module + +command: &builder &this +build-now + +fload ${BP}/cpu/x86/pc/olpc/versions.fth + +" rm -f sd8686.bin sd8686_helper.bin" expand$ $sh + +" wget -q http://dev.laptop.org/pub/firmware/libertas/sd8686.bin" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/libertas/sd8686.bin.md5" expand$ $sh +" md5sum -b sd8686.bin | cmp - sd8686.bin.md5" expand$ $sh + +" wget -q http://dev.laptop.org/pub/firmware/libertas/sd8686_helper.bin" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/libertas/sd8686_helper.bin.md5" expand$ $sh +" md5sum -b sd8686_helper.bin | cmp - sd8686_helper.bin.md5" expand$ $sh + +" rm sd8686.bin.md5 sd8686_helper.bin.md5" expand$ $sh + +\ This forces the creation of a .log file, so we don't re-fetch +writing sd8686.version +" ${WLAN_VERSION}"n" expand$ ofd @ fputs +ofd @ fclose