haiku/build/jam/images/definitions/minimum
Augustin Cavalier e89c61736e drivers/network/wlan: Import idualwifi7260 from FreeBSD 11.2.
The lowest model number supported by this driver is "3160", but that's just
Intel's insanity: the 7260 was released the quarter before it. So following
our naming convention strictly, "7260" is the correct name for this driver.

The firmware situation for this one is also a little different. Unlike past
instances where Intel has released mostly nonsubstantial firmware updates,
allowing us to just copy a recent-ish version from the iwlwifi archives,
the firmware is more closely tied to the driver in this series. As a result,
some of this firmware is not even used by Linux yet (they're a few versions
behind it seems), so the firmware packages included here come from FreeBSD.

One major hardware feature - RX of multiple frames at a time - is disabled
in this commit, as it depends on mbuf reference-counting, according to the
FreeBSD developers I asked, which we do not implement yet. I'll hopefully
get to looking at that in the next few weeks.

And with that, I finally have WiFi on my primary laptop, my original reason
for setting out on this quest last year. This commit was pushed through it,
even :)
2018-07-04 20:46:32 -04:00

287 lines
6.2 KiB
Plaintext

# This file defines the content of the minimum Haiku image.
SYSTEM_BIN = [ FFilterByBuildFeatures
addattr alert arp autologin
beep bfsinfo
catattr checkfs checkitout chop clear collectcatkeys copyattr
desklink df diskimage draggers
driveinfo dstcheck dumpcatalog
eject error
fdinfo ffm filepanel finddir findpaths fortune fstrim
ftp@libedit ftpd
getarch groupadd groupdel groupmod
hd hey
ifconfig iroster isvolume
kernel_debugger keymap keystore
launch_roster linkcatkeys listarea listattr listimage listdev listfont
listport listres listsem listusb locale logger login lsindex
makebootable message mimeset mkfs mkindex
modifiers mount mountvolume
netstat notify
open
package package_repo passwd pc ping ping6 pkgman prio profile ps
query quit
ramdisk rc reindex release renice resattr rmattr rmindex roster route
safemode screen_blanker screeninfo screenmode setarch setmime settype
setversion setvolume shutdown
strace su sysinfo system_time
tcptester telnet telnetd top
traceroute trash
unchop unmount
uptime urlwrapper useradd userdel
version vmstat
waitfor watch writembr@x86,x86_64 xres
] ;
SYSTEM_APPS = [ FFilterByBuildFeatures
AboutSystem
BootManager@x86,x86_64
CharacterMap
Debugger@libedit DeskCalc Devices DiskProbe DiskUsage DriveSetup
Expander
NetworkStatus
ProcessController
ShowImage StyledEdit
Terminal TextSearch
Workspaces
] ;
DESKBAR_APPLICATIONS =
CharacterMap
DeskCalc Devices DiskProbe DiskUsage DriveSetup
Expander
StyledEdit
Terminal
;
DESKBAR_DESKTOP_APPLETS =
NetworkStatus
ProcessController
Workspaces
;
SYSTEM_PREFERENCES = [ FFilterByBuildFeatures
Appearance
Backgrounds
<preference>Deskbar
FileTypes
Keyboard Keymap
Locale
Mouse
Network Notifications
Screen Shortcuts
Time Touchpad <preference>Tracker
VirtualMemory
] ;
SYSTEM_DEMOS = ;
rule HaikuImageGetSystemLibs
{
return
# libs with special grist
[ MultiArchDefaultGristFiles libroot.so : revisioned ]
[ Libstdc++ForImage ]
# libs with standard grist
[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
libbe.so libbsd.so libbnetapi.so
libdebug.so
libdebugger.so@primary
libdevice.so
libgnu.so
libnetwork.so
libpackage.so
libtextencoding.so libtracker.so libtranslation.so
] ]
;
}
rule HaikuImageGetPrivateSystemLibs
{
return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
libalm.so
libpackage-add-on-libsolv.so
libroot-addon-icu.so
] ] ;
}
SYSTEM_SERVERS = [ FFilterByBuildFeatures
app_server
debug_server dns_resolver_server
input_server
keystore_server
launch_daemon
mount_server
net_server notification_server
package_daemon power_daemon
registrar
syslog_daemon
] ;
SYSTEM_NETWORK_DEVICES =
ethernet
loopback
;
SYSTEM_NETWORK_DATALINK_PROTOCOLS =
<module>arp
ethernet_frame
ipv6_datagram
loopback_frame
;
#SYSTEM_NETWORK_PPP = ipcp modem pap pppoe KPPPManager ;
SYSTEM_NETWORK_PROTOCOLS =
icmp icmp6 ipv4 ipv6
tcp
udp unix
;
SYSTEM_ADD_ONS_ACCELERANTS = [ FFilterByBuildFeatures
x86,x86_64 @{
vesa.accelerant
}@ # x86,x86_64
] ;
SYSTEM_ADD_ONS_TRANSLATORS =
STXTTranslator
;
SYSTEM_ADD_ONS_LOCALE_CATALOGS =
<catalog-addon>plaintext
;
SYSTEM_ADD_ONS_MEDIA = ;
SYSTEM_ADD_ONS_MEDIA_PLUGINS = ;
SYSTEM_ADD_ONS_PRINT = ;
SYSTEM_ADD_ONS_PRINT_TRANSPORT = ;
SYSTEM_ADD_ONS_SCREENSAVERS = ;
SYSTEM_ADD_ONS_DRIVERS_AUDIO = ;
SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ;
SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = [ FFilterByBuildFeatures
x86,x86_64 @{
vesa
}@ # x86,x86_64
] ;
SYSTEM_ADD_ONS_DRIVERS_MIDI = ;
SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
x86,x86_64 @{
3com
atheros813x ar81xx attansic_l1 attansic_l2
broadcom440x broadcom570x
dec21xxx
ipro100 ipro1000
jmicron2x0
marvell_yukon
nforce
pcnet
rtl8139 rtl81xx
sis19x syskonnect
via_rhine vt612x
}@ # x86,x86_64
etherpci
pegasus
sis900
usb_asix usb_davicom usb_ecm
wb840
# WLAN drivers
x86,x86_64 @{
aironetwifi atheroswifi
broadcom43xx
iprowifi2100 iprowifi2200 iprowifi3945 iprowifi4965
idualwifi7260
marvell88w8363 marvell88w8335
ralinkwifi
wavelanwifi
}@ # x86,x86_64
] ;
SYSTEM_ADD_ONS_DRIVERS_POWER = [ FFilterByBuildFeatures
acpi_button@x86,x86_64
] ;
SYSTEM_ADD_ONS_BUS_MANAGERS = [ FFilterByBuildFeatures
acpi@x86,x86_64 agp_gart@x86,x86_64 ata@ata
config_manager
firewire@x86
scsi isa@x86,x86_64
pci ps2@x86,x86_64
random
usb
virtio
] ;
SYSTEM_ADD_ONS_FILE_SYSTEMS =
attribute_overlay
bfs bindfs btrfs
exfat ext2
fat
iso9660
log_overlay
ntfs
packagefs
reiserfs@x86
udf
write_overlay
;
# symlink to home on desktop
AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
# global settings when a package is installed in ~/config
AddDirectoryToHaikuImage home config settings global ;
# user scripts and data files
local userBootScripts = UserBootscript UserSetupEnvironment.sample ;
SEARCH on $(userBootScripts) = [ FDirName $(HAIKU_TOP) data config boot ] ;
AddFilesToHaikuImage home config settings boot : $(userBootScripts) ;
SEARCH on <user-first-login>first_login
= [ FDirName $(HAIKU_TOP) data settings ] ;
AddFilesToHaikuImage home config settings : <user-first-login>first_login ;
local etcDir = [ FDirName $(HAIKU_TOP) data etc ] ;
local etcFiles = inputrc profile ;
etcFiles = $(etcFiles:G=etc) ;
SEARCH on $(etcFiles) = $(etcDir) ;
etcFiles += <etc>termcap ;
AddFilesToHaikuImage system settings etc : $(etcFiles) ;
local profileFiles = [ Glob $(etcDir)/profile.d : *.sh ] ;
profileFiles = $(profileFiles:G=profile-d) ;
AddDirectoryToHaikuImage system settings etc profile.d ;
AddFilesToHaikuImage system settings etc profile.d : $(profileFiles) ;
local driverSettingsFiles = <driver-settings>kernel ;
SEARCH on $(driverSettingsFiles)
= [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ;
AddFilesToHaikuImage home config settings kernel drivers
: $(driverSettingsFiles) ;
local networkSettingsFiles = <network-settings>services
<network-settings>hosts ;
SEARCH on $(networkSettingsFiles)
= [ FDirName $(HAIKU_TOP) data settings network ] ;
AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ;
# fresh install indicator file for the post install scripts
SEARCH on <post-install>fresh_install
= [ FDirName $(HAIKU_TOP) data system settings ] ;
AddFilesToHaikuImage system settings : <post-install>fresh_install ;