2014-04-10 14:43:30 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=linux-firmware
|
2020-08-17 12:42:24 +00:00
|
|
|
PKG_VERSION:=20200817
|
linux-firmware: add support for Marvell SDIO 8997
For example, Turris MOX SDIO card is using Marvell (NXP) 88W8997 chip.
Technical specs of 88W8997:
- 28nm
- 802.11 ac wave-2
It should support simultaneous dual-band 2.4 GHz and 5 GHz,
but it requires to support multiSSID for one Wi-Fi card [1], which is
not supported in OpenWrt, yet and if we tried to run two instances of
hostapd, it didn't work well, so it's 2.4 GHz or 5 GHz.
- 2x2 MU-MIMO
- Bluetooth 5.1 with LE support
- Unfortunately, there can be connected only 8 clients at the same time
(limited by FW, however, there exists "enterprise" chip, its equal chip,
it is just different that it uses different FW)
Symlink is necessary as mwifiex_sdio tries to load sd8997_uapsta.bin
[ 13.651182] mwifiex_sdio mmc0:0001:1: Direct firmware load for mrvl/sd8997_uapsta.bin failed with error -2
[ 13.661065] mwifiex_sdio mmc0:0001:1: Falling back to user helper
[ 13.684880] firmware mrvl!sd8997_uapsta.bin: firmware_loading_store: map pages failed
[ 13.695910] mwifiex_sdio mmc0:0001:1: Failed to get firmware mrvl/sd8997_uapsta.bin
[ 13.703774] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device
Pali Rohár sent two patches [2] [3] into kernel to fix default firmware name for SD8997, so
the symlink will not be required in the future versions of kernel, which
was accepted and right now, according to my details it was backported to 5.8, 5.7 and 5.4
[1] https://bugs.openwrt.org/index.php?do=details&task_id=3243
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=00eb0cb36fad5
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2e1fcac52a9ea
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-08-18 12:23:03 +00:00
|
|
|
PKG_RELEASE:=2
|
2014-04-10 14:43:30 +00:00
|
|
|
|
2019-04-19 10:01:45 +00:00
|
|
|
PKG_SOURCE_URL:=@KERNEL/linux/kernel/firmware
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2020-08-17 12:42:24 +00:00
|
|
|
PKG_HASH:=76d05d5f1eff268d3b80675245fa596f557bd55ee2e16ddd54d18ffeae943887
|
2014-04-10 14:43:30 +00:00
|
|
|
|
2016-06-07 06:58:31 +00:00
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
2014-04-10 14:43:30 +00:00
|
|
|
|
2016-01-10 16:36:17 +00:00
|
|
|
SCAN_DEPS = *.mk
|
|
|
|
|
2014-04-10 14:43:30 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2016-01-10 16:35:46 +00:00
|
|
|
define Package/firmware-default
|
2015-10-19 10:10:14 +00:00
|
|
|
SECTION:=firmware
|
|
|
|
CATEGORY:=Firmware
|
|
|
|
URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git
|
2016-01-10 16:35:46 +00:00
|
|
|
TITLE:=$(1)
|
2015-10-19 10:10:14 +00:00
|
|
|
endef
|
|
|
|
|
2016-01-10 16:35:46 +00:00
|
|
|
define Build/Compile
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
2016-01-10 16:35:40 +00:00
|
|
|
include $(wildcard ./*.mk)
|
2016-01-10 16:35:53 +00:00
|
|
|
#$(eval $(call BuildPackage,linux-firmware))
|