John Stultz | d6997a2 | 2022-01-06 00:20:44 +0000 | [diff] [blame] | 1 | # WLAN |
| 2 | PRODUCT_PACKAGES := \ |
| 3 | board-2.bin \ |
| 4 | firmware-5.bin \ |
| 5 | wlanmdsp.mbn |
| 6 | |
| 7 | # Bluetooth |
| 8 | PRODUCT_PACKAGES += \ |
| 9 | crbtfw21.tlv \ |
| 10 | crnv21.bin |
| 11 | |
Amit Pundir | 16fac4b | 2023-05-10 21:25:18 +0530 | [diff] [blame] | 12 | ifneq ($(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 |
| 19 | endif |
John Stultz | d6997a2 | 2022-01-06 00:20:44 +0000 | [diff] [blame] | 20 | |
| 21 | # DSP (adsp+cdsp) |
| 22 | PRODUCT_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 |
| 32 | PRODUCT_PACKAGES += \ |
| 33 | mba.mbn \ |
| 34 | modem.mbn \ |
| 35 | modemuw.jsn |
| 36 | |
| 37 | # Video encoder/decoder accelerator |
| 38 | PRODUCT_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 |
| 49 | PRODUCT_PACKAGES += \ |
| 50 | K2026090.mem |
| 51 | |
| 52 | # I2C/SPI fix |
| 53 | PRODUCT_PACKAGES += \ |
| 54 | devcfg.mbn |
| 55 | |
| 56 | FIRMWARE_VENDOR_PATH := $(LINARO_VENDOR_PATH)/linux-firmware/$(EXPECTED_LINARO_VENDOR_VERSION) |
| 57 | |
Amit Pundir | 1f9ea9f | 2024-01-15 21:50:17 +0530 | [diff] [blame] | 58 | # Copy Venus and ADSP/CDSP firmware files to generic ramdisk or vendor ramdisk to drop the |
John Stultz | d6997a2 | 2022-01-06 00:20:44 +0000 | [diff] [blame] | 59 | # dependency on user sysfs fw loader helper (FW_LOADER_USER_HELPER_FALLBACK) |
Amit Pundir | 1f9ea9f | 2024-01-15 21:50:17 +0530 | [diff] [blame] | 60 | ifeq ($(TARGET_SDCARD_BOOT), true) |
| 61 | PRODUCT_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 |
| 73 | else |
Amit Pundir | 89cf151 | 2022-06-29 17:19:20 +0530 | [diff] [blame] | 74 | PRODUCT_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 Pundir | 1f9ea9f | 2024-01-15 21:50:17 +0530 | [diff] [blame] | 86 | endif |
John Stultz | d6997a2 | 2022-01-06 00:20:44 +0000 | [diff] [blame] | 87 | |
| 88 | # Copy notice/license files to rootfs |
| 89 | # Not an AOSP requirement but other Linux distros do this |
| 90 | PRODUCT_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 |