blob: 514d5edc4f51eb072151fd00903cb20d209d6e56 [file] [log] [blame]
John Stultzd6997a22022-01-06 00:20:44 +00001# WLAN
2PRODUCT_PACKAGES := \
3 board-2.bin \
4 firmware-5.bin \
5 wlanmdsp.mbn
6
7# Bluetooth
8PRODUCT_PACKAGES += \
9 crbtfw21.tlv \
10 crnv21.bin
11
12# Adreno
13PRODUCT_PACKAGES += \
14 a630_gmu.bin \
15 a630_sqe.fw \
16 a630_zap.mbn \
17 a630_zap.mdt
18
19# DSP (adsp+cdsp)
20PRODUCT_PACKAGES += \
21 adsp.mbn.sdm845 \
22 adsp.mdt \
23 adspr.jsn.sdm845 \
24 adspua.jsn.sdm845 \
25 cdsp.mbn.sdm845 \
26 cdsp.mdt \
27 cdspr.jsn.sdm845
28
29# Modem
30PRODUCT_PACKAGES += \
31 mba.mbn \
32 modem.mbn \
33 modemuw.jsn
34
35# Video encoder/decoder accelerator
36PRODUCT_PACKAGES += \
37 venus.b00.sdm845 \
38 venus.b01.sdm845 \
39 venus.b02.sdm845 \
40 venus.b03.sdm845 \
41 venus.b04.sdm845 \
42 venus.mbn.sdm845 \
43 venus.mdt.sdm845
44
45# USB (USB Host to PCIE)
46# For Ethernet and one of the USB-A host port to work
47PRODUCT_PACKAGES += \
48 K2026090.mem
49
50# I2C/SPI fix
51PRODUCT_PACKAGES += \
52 devcfg.mbn
53
54FIRMWARE_VENDOR_PATH := $(LINARO_VENDOR_PATH)/linux-firmware/$(EXPECTED_LINARO_VENDOR_VERSION)
55
Amit Pundir89cf1512022-06-29 17:19:20 +053056# Copy Venus and ADSP/CDSP firmware files to vendor ramdisk to drop the
John Stultzd6997a22022-01-06 00:20:44 +000057# dependency on user sysfs fw loader helper (FW_LOADER_USER_HELPER_FALLBACK)
Amit Pundir89cf1512022-06-29 17:19:20 +053058PRODUCT_COPY_FILES += \
59 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/adsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sdm845/adsp.mbn \
60 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/adsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sdm845/adsp.mdt \
61 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/cdsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sdm845/cdsp.mbn \
62 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/cdsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sdm845/cdsp.mdt \
63 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b00:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b00 \
64 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b01:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b01 \
65 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b02:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b02 \
66 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b03:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b03 \
67 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b04:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b04 \
68 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.mbn \
69 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.mdt:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.mdt
John Stultzd6997a22022-01-06 00:20:44 +000070
71# Copy notice/license files to rootfs
72# Not an AOSP requirement but other Linux distros do this
73PRODUCT_COPY_FILES += \
74 $(FIRMWARE_VENDOR_PATH)/ath10k/WCN3990/hw1.0/notice.txt_wlanmdsp:$(TARGET_COPY_OUT_VENDOR)/firmware/ath10k/WCN3990/hw1.0/notice.txt_wlanmdsp \
75 $(FIRMWARE_VENDOR_PATH)/qca/NOTICE.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/qca/NOTICE.txt \
76 $(FIRMWARE_VENDOR_PATH)/qcom/NOTICE.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/NOTICE.txt \
77 $(FIRMWARE_VENDOR_PATH)/LICENSE.QualcommAtheros_ath10k:$(TARGET_COPY_OUT_VENDOR)/firmware/LICENSE.QualcommAtheros_ath10k \
78 $(FIRMWARE_VENDOR_PATH)/LICENSE.qcom:$(TARGET_COPY_OUT_VENDOR)/firmware/LICENSE.qcom \
79 $(LINARO_VENDOR_PATH)/db845c/$(EXPECTED_LINARO_VENDOR_VERSION)/RB3_firmware_20190529180356-v4/LICENSE.qcom.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/LICENSE.qcom.txt