openwrt/package/firmware/linux-firmware/marvell.mk

73 lines
2.8 KiB
Makefile
Raw Normal View History

Package/mwl8k-firmware = $(call Package/firmware-default,Marvell 8366/8687 firmware,,LICENCE.Marvell)
define Package/mwl8k-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/mwl8k
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/mwl8k/fmimage_8366_ap-3.fw \
$(PKG_BUILD_DIR)/mwl8k/fmimage_8366.fw \
$(PKG_BUILD_DIR)/mwl8k/helper_8366.fw \
$(PKG_BUILD_DIR)/mwl8k/fmimage_8687.fw \
$(PKG_BUILD_DIR)/mwl8k/helper_8687.fw \
$(1)/lib/firmware/mwl8k/
endef
$(eval $(call BuildPackage,mwl8k-firmware))
Package/mwifiex-pcie-firmware = $(call Package/firmware-default,Marvell 8897 firmware,,LICENCE.Marvell)
define Package/mwifiex-pcie-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/mrvl
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/mrvl/pcie8897_uapsta.bin \
$(1)/lib/firmware/mrvl/
endef
$(eval $(call BuildPackage,mwifiex-pcie-firmware))
Package/mwifiex-sdio-firmware = $(call Package/firmware-default,Marvell 8887/8997 firmware,,LICENCE.Marvell)
define Package/mwifiex-sdio-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/mrvl
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/mrvl/sd8887_uapsta.bin \
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_BUILD_DIR)/mrvl/sdsd8997_combo_v4.bin \
$(1)/lib/firmware/mrvl/
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
ln -s ../mrvl/sdsd8997_combo_v4.bin $(1)/lib/firmware/mrvl/sd8997_uapsta.bin
endef
$(eval $(call BuildPackage,mwifiex-sdio-firmware))
Package/libertas-usb-firmware = $(call Package/firmware-default,Marvell 8388/8682 USB firmware,,LICENCE.Marvell)
define Package/libertas-usb-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/libertas
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/libertas/usb8388_v9.bin \
$(PKG_BUILD_DIR)/libertas/usb8682.bin \
$(1)/lib/firmware/libertas/
endef
$(eval $(call BuildPackage,libertas-usb-firmware))
Package/libertas-sdio-firmware = $(call Package/firmware-default,Marvell 8385/8686/8688 SDIO firmware,,LICENCE.Marvell)
define Package/libertas-sdio-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/libertas
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/libertas/sd8385_helper.bin \
$(PKG_BUILD_DIR)/libertas/sd8385.bin \
$(PKG_BUILD_DIR)/libertas/sd8686_v9_helper.bin \
$(PKG_BUILD_DIR)/libertas/sd8686_v9.bin \
$(1)/lib/firmware/libertas
linux-firmware: update to 20191215 Update linux-firmware to 20191215 git log --pretty=oneline --abbrev-commit 20190815..20191215 eefb5f7 inside-secure: add new "mini" firmware for the EIP197 driver dd1a12e Merge branch 'RB3-adsp-cdsp-mss-v4' of https://github.com/andersson/linux-firmware c523dcd WHENCE: Add raspberry-pi4 SDIO file 99a15a4 Merge branch 'rpi4-fw' of https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux-firmware 2260cbd Merge branch 'master' of https://github.com/dikshitaagarwal/video_firmware_5.4 4c688be Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware e10ed21 qcom: update venus firmware files for v5.4 af4c4be cxgb4: Update firmware to revision 1.24.11.0 f93c7a1 brcm: Add BCM43455 NVRAM for Raspberry Pi 4 B 212e441 qcom: Add SDM845 Compute DSP firmware ec84cf9 qcom: Add SDM845 Audio DSP firmware 62d0a1a qcom: Add SDM845 modem firmware e8a0f4c rtl_nic: add firmware rtl8168fp-3 9581f15 Merge branch 'nxp_mc' of https://github.com/NXP/linux-firmware 978c04e linux-firmware: Update NXP Management Complex firmware to version 10.18.0 c62c3c2 linux-firmware: Update firmware file for Intel Bluetooth AX201 6272383 linux-firmware: Update firmware file for Intel Bluetooth AX200 84a7ca5 linux-firmware: Update firmware file for Intel Bluetooth 9560 96c3994 linux-firmware: Update firmware file for Intel Bluetooth 9260 7319341 amdgpu: update navi14 vcn firmware b363d9d amdgpu: update navi10 vcn firmware f1100dd Merge branch 'ehl_tgl_guc_huc' of git://anongit.freedesktop.org/drm/drm-firmware 4debf21 i915: Add HuC firmware v7.0.3 for TGL 1eb2ac4 i915: Add GuC firmware v35.2.0 for TGL 4b0a210 i915: Add HuC firmware v9.0.0 for EHL 610fe75 i915: Add GuC firmware v33.0.4 for EHL 11bdc57 rtw88: RTL8723D: add firmware file v48 9e194c7 qed: Add firmware 8.40.33.0 4065643 amdgpu: add new navi14 wks gfx firmware for 19.30 d4f88ea amdgpu: update navi14 firmware for 19.30 ea755b6 amdgpu: update raven firmware for 19.30 340e06e linux-firmware: Add firmware file for Intel Bluetooth AX201 ad7a8b2 Mellanox: Add new mlxsw_spectrum2 firmware 29.2000.2308 e756bf3 Mellanox: Add new mlxsw_spectrum firmware 13.2000.2308 b27d123 rtl_nic: add firmware files for RTL8153 180e2b4 rtl_bt: Update configuration file for BT part of RTL8822CU 0acd93e bnx2x: Add FW 7.13.15.0. 2b016af linux-firmware: Update AMD cpu microcode 4c3e853 linux-firmware: Update firmware file for Intel Bluetooth AX200 7a79d22 linux-firmware: Update firmware file for Intel Bluetooth AX201 fdab23a linux-firmware: Update firmware file for Intel Bluetooth 9560 b68efd7 linux-firmware: Update firmware file for Intel Bluetooth 9260 aa95e90 amdgpu: add initial navi14 firmware form 19.30 c1ce20e rtlwifi: rtl8821ae: Add firmware for the RTL8812AE variant. 7d187ac ice: Fix up WHENCE entry and symlink 4c55b97 Merge branch 'dev-queue' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/firmware 7c4db73 nvidia: Update Tegra210 XUSB firmware to v50.24 c054c53 nvidia: Add XUSB firmware for Tegra194 9cfefbd Remove duplicate symlinks 2de7abd copy-firmware: Create symlinks from WHENCE file 2116bcd Make symlinks consistent c0590d8 amdgpu: update vega20 ucode for 19.30 43cc648 amdgpu: update vega12 ucode for 19.30 ffa0ed7 amdgpu: update vega10 ucode for 19.30 83e1b41 amdgpu: update picasso ucode for 19.30 7008617 amdgpu: update raven2 ucode for 19.30 9200baa amdgpu: update raven ucode for 19.30 f25a39c amdgpu: add new raven rlc firmware 9ae61e7 ice: Add package file for Intel E800 series driver 417a9c6 amdgpu: add initial navi10 firmware 702cc63 Merge branch 'cml_tgl-icl-dmc_huc_updates' of git://anongit.freedesktop.org/drm/drm-firmware 3182b4b Merge branch 'gpu-845' of https://github.com/ndechesne/linux-firmware 3ea84e5 drm/i915/firmware: Add v9.0.0 of HuC for Icelake 60ddd0e drm/i915/firmware: Add v4.0.0 of HuC for Cometlake c47d8f8 drm/i915/firmware: Add v4.0.0 of HuC for Geminilake 2cdb78c drm/i915/firmware: Add v2.0.0 of HuC for Broxton 38965af drm/i915/firmware: Add v4.0.0 of HuC for Kabylake 8d127af drm/i915/firmware: Add v2.0.0 of HuC for Skylake e7b6fa7 drm/i915/firmware: Add v33 of GuC for CML e4ea25f drm/i915/firmware: Add v2.04 of DMC for TGL 51deca6 drm/i915/firmware: Add v1.09 of DMC for ICL 88ea23e qcom: add firmware files for Adreno a630 6c6918a linux-firmware: Update firmware file for Intel Bluetooth AX201 6ddb9d9 Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware d45c950 nvidia: Add XUSB firmware for Tegra186 65c6595 Add symlinks for Tegra VIC firmware binaries 0b22bfc rtl_bt: Update RTL8723D BT FW to 0x828A_96F1 f667c00 rtl_nic: add firmware rtl8125a-3 fe1ae0d linux-firmware: Add firmware file for Intel Bluetooth AX201 2f885ba Chelsio driver loads firmware configuration file to allow firmware to distribute resources before chip bring up. Chelsio NIC driver, cxgb4 searches for firmware config file at /lib/firmware/cxgb4/ directory. 7307a29 brcm: Add 43455 based AP6255 NVRAM for the Minix Neo Z83-4 Mini PC 65d02cd brcm: Add 43340 based AP6234 NVRAM for the PoV TAB-P1006W-232 tablet f38fb4f Merge tag 'iwlwifi-fw-2019-08-23' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware 40e4162 iwlwifi: update FWs to core45-152 release c0fb3d9 check_whence: Add copy-firmware.sh to the list of ignored files aa703aa rtl_bt: Update RTL8822C BT FW to V0x098A_94A4 665001a linux-firmware: Update firmware file for Intel Bluetooth AX200 c0ca980 linux-firmware: Update firmware file for Intel Bluetooth AX201 b6427bf linux-firmware: Update firmware file for Intel Bluetooth 9560 fe48882 linux-firmware: Update firmware file for Intel Bluetooth 9260 ebd40c6 Mellanox: Add new mlxsw_spectrum firmware 13.2000.1886 Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> [Added missing symbolic links to Makefile] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-12-15 16:43:08 +00:00
$(INSTALL_DIR) $(1)/lib/firmware/mrvl
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/mrvl/sd8688_helper.bin \
$(PKG_BUILD_DIR)/mrvl/sd8688.bin \
$(1)/lib/firmware/mrvl
ln -s ../mrvl/sd8688_helper.bin $(1)/lib/firmware/libertas/sd8688_helper.bin
ln -s ../mrvl/sd8688.bin $(1)/lib/firmware/libertas/sd8688.bin
endef
$(eval $(call BuildPackage,libertas-sdio-firmware))
Package/libertas-spi-firmware = $(call Package/firmware-default,Marvell 8686 SPI firmware,,LICENCE.Marvell)
define Package/libertas-spi-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/libertas
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/libertas/gspi8686_v9_helper.bin \
$(PKG_BUILD_DIR)/libertas/gspi8686_v9.bin \
$(1)/lib/firmware/libertas
endef
$(eval $(call BuildPackage,libertas-spi-firmware))