blob: f5f94e850a3baa35c9eea8dd82c3a92ee8fb49ee [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
Amit Pundir16fac4b2023-05-10 21:25:18 +053012ifneq ($(TARGET_USES_SWR), true)
13 # Adreno
14 PRODUCT_PACKAGES += \
15 a630_gmu.bin \
16 a630_sqe.fw \
17 a630_zap.mbn \
18 a630_zap.mdt
19endif
John Stultzd6997a22022-01-06 00:20:44 +000020
21# DSP (adsp+cdsp)
22PRODUCT_PACKAGES += \
23 adsp.mbn.sdm845 \
24 adsp.mdt \
25 adspr.jsn.sdm845 \
26 adspua.jsn.sdm845 \
27 cdsp.mbn.sdm845 \
28 cdsp.mdt \
29 cdspr.jsn.sdm845
30
31# Modem
32PRODUCT_PACKAGES += \
33 mba.mbn \
34 modem.mbn \
35 modemuw.jsn
36
37# Video encoder/decoder accelerator
38PRODUCT_PACKAGES += \
39 venus.b00.sdm845 \
40 venus.b01.sdm845 \
41 venus.b02.sdm845 \
42 venus.b03.sdm845 \
43 venus.b04.sdm845 \
44 venus.mbn.sdm845 \
45 venus.mdt.sdm845
46
47# USB (USB Host to PCIE)
48# For Ethernet and one of the USB-A host port to work
49PRODUCT_PACKAGES += \
50 K2026090.mem
51
52# I2C/SPI fix
53PRODUCT_PACKAGES += \
54 devcfg.mbn
55
56FIRMWARE_VENDOR_PATH := $(LINARO_VENDOR_PATH)/linux-firmware/$(EXPECTED_LINARO_VENDOR_VERSION)
57
Amit Pundir1f9ea9f2024-01-15 21:50:17 +053058# Copy Venus and ADSP/CDSP firmware files to generic ramdisk or vendor ramdisk to drop the
John Stultzd6997a22022-01-06 00:20:44 +000059# dependency on user sysfs fw loader helper (FW_LOADER_USER_HELPER_FALLBACK)
Amit Pundir1f9ea9f2024-01-15 21:50:17 +053060ifeq ($(TARGET_SDCARD_BOOT), true)
61PRODUCT_COPY_FILES += \
62 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/adsp.mbn:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/sdm845/adsp.mbn \
63 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/adsp.mbn:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/sdm845/adsp.mdt \
64 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/cdsp.mbn:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/sdm845/cdsp.mbn \
65 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/cdsp.mbn:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/sdm845/cdsp.mdt \
66 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b00:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b00 \
67 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b01:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b01 \
68 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b02:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b02 \
69 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b03:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b03 \
70 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b04:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b04 \
71 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.mbn:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.mbn \
72 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.mdt:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.mdt
73else
Amit Pundir89cf1512022-06-29 17:19:20 +053074PRODUCT_COPY_FILES += \
75 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/adsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sdm845/adsp.mbn \
76 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/adsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sdm845/adsp.mdt \
77 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/cdsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sdm845/cdsp.mbn \
78 $(FIRMWARE_VENDOR_PATH)/qcom/sdm845/cdsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sdm845/cdsp.mdt \
79 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b00:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b00 \
80 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b01:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b01 \
81 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b02:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b02 \
82 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b03:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b03 \
83 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.b04:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.b04 \
84 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.mbn \
85 $(FIRMWARE_VENDOR_PATH)/qcom/venus-5.2/venus.mdt:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/venus-5.2/venus.mdt
Amit Pundir1f9ea9f2024-01-15 21:50:17 +053086endif
John Stultzd6997a22022-01-06 00:20:44 +000087
88# Copy notice/license files to rootfs
89# Not an AOSP requirement but other Linux distros do this
90PRODUCT_COPY_FILES += \
91 $(FIRMWARE_VENDOR_PATH)/ath10k/WCN3990/hw1.0/notice.txt_wlanmdsp:$(TARGET_COPY_OUT_VENDOR)/firmware/ath10k/WCN3990/hw1.0/notice.txt_wlanmdsp \
92 $(FIRMWARE_VENDOR_PATH)/qca/NOTICE.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/qca/NOTICE.txt \
93 $(FIRMWARE_VENDOR_PATH)/qcom/NOTICE.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/NOTICE.txt \
94 $(FIRMWARE_VENDOR_PATH)/LICENSE.QualcommAtheros_ath10k:$(TARGET_COPY_OUT_VENDOR)/firmware/LICENSE.QualcommAtheros_ath10k \
95 $(FIRMWARE_VENDOR_PATH)/LICENSE.qcom:$(TARGET_COPY_OUT_VENDOR)/firmware/LICENSE.qcom \
96 $(LINARO_VENDOR_PATH)/db845c/$(EXPECTED_LINARO_VENDOR_VERSION)/RB3_firmware_20190529180356-v4/LICENSE.qcom.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/LICENSE.qcom.txt