# # Build # set build_components { core init drivers/pci drivers/timer drivers/wifi drivers/rtc test/lwip/http_srv } lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec pci] build_components drivers/pci/device_pd lappend_if [have_spec platform_arndale] build_components drivers/platform lappend_if [have_spec gpio] build_components drivers/gpio build $build_components create_boot_directory # # Generate config # set config { network={ id_str="foobar" ssid="foobar" key_mgmt=NONE #key_mgmt=WPA-PSK #psk="foobarfoobar" } } append_if [have_spec acpi] config { } append_if [have_spec platform_arndale] config { } append_if [have_spec gpio] config { } append_if [expr ![have_spec acpi] && [have_spec pci]] config { } append config { } install_config $config set firmware_modules { iwlwifi-6000-6.ucode iwlwifi-6000g2a-6.ucode iwlwifi-6000g2b-6.ucode iwlwifi-7260-8.ucode } foreach f $firmware_modules { if ![file exists bin/$f] { puts "" puts "The iwlwifi driver needs the following list of firmware images to work." puts " $firmware_modules" puts "Please download the images from http://wireless.kernel.org/en/users/Drivers/iwlwifi into './bin'." exit 1 } } # # Boot modules # # generic modules set boot_modules { core init timer rtc_drv vfs_jitterentropy.lib.so ld.lib.so libc.lib.so libcrypto.lib.so libssl.lib.so wpa_driver_nl80211.lib.so wpa_supplicant.lib.so wifi.lib.so wifi_drv test-lwip_httpsrv lwip.lib.so } append boot_modules $firmware_modules lappend_if [have_spec acpi] boot_modules acpi_drv lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec nova] boot_modules pci_device_pd lappend_if [have_spec platform_arndale] boot_modules platform_drv lappend_if [have_spec gpio] boot_modules gpio_drv build_boot_image $boot_modules run_genode_until forever # vi: set ft=tcl :