mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-11 13:22:33 +00:00
wifi/pc: add support for loading PNVM files
Intel wifi cards in the AX210 family need additional PNVM firmware to function properly. Enable the bundling and loading of *.pnvm files. Issue #4663
This commit is contained in:
parent
bcea2a958e
commit
04efe88044
repos
@ -6,6 +6,7 @@ content: ucode_files LICENSE.wifi_drv
|
||||
.PHONY: ucode_files
|
||||
ucode_files:
|
||||
cp $(PORT_DIR)/firmware/*.ucode .
|
||||
cp $(PORT_DIR)/firmware/*.pnvm .
|
||||
cp $(PORT_DIR)/firmware/regulatory.db .
|
||||
cp $(PORT_DIR)/firmware/regulatory.db.p7s .
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
FW_CONTRIB_DIR := $(call select_from_ports,linux-firmware)
|
||||
|
||||
IMAGES := $(notdir $(wildcard $(FW_CONTRIB_DIR)/firmware/*.ucode))
|
||||
IMAGES += $(notdir $(wildcard $(FW_CONTRIB_DIR)/firmware/*.pnvm))
|
||||
IMAGES += $(notdir $(wildcard $(FW_CONTRIB_DIR)/firmware/*.db))
|
||||
IMAGES += $(notdir $(wildcard $(FW_CONTRIB_DIR)/firmware/*.p7s))
|
||||
BIN_DIR := $(BUILD_BASE_DIR)/bin
|
||||
@ -15,6 +16,9 @@ CUSTOM_TARGET_DEPS += $(addprefix $(BIN_DIR)/,$(IMAGES))
|
||||
$(BIN_DIR)/%.ucode: $(FW_DIR)/%.ucode
|
||||
$(VERBOSE)cp $^ $@
|
||||
|
||||
$(BIN_DIR)/%.pnvm: $(FW_DIR)/%.pnvm
|
||||
$(VERBOSE)cp $^ $@
|
||||
|
||||
$(BIN_DIR)/%.db: $(FW_DIR)/%.db
|
||||
$(VERBOSE)cp $^ $@
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user