John Stultz | d6997a2 | 2022-01-06 00:20:44 +0000 | [diff] [blame] | 1 | # Lontium lt9611uxc |
| 2 | PRODUCT_PACKAGES := \ |
| 3 | lt9611uxc_fw.bin |
| 4 | |
| 5 | # WLAN |
| 6 | PRODUCT_PACKAGES += \ |
| 7 | amss.bin \ |
| 8 | board.bin \ |
| 9 | m3.bin |
| 10 | |
| 11 | # Bluetooth |
| 12 | PRODUCT_PACKAGES += \ |
| 13 | htbtfw20.tlv \ |
| 14 | htnv20.bin |
| 15 | |
Amit Pundir | 16fac4b | 2023-05-10 21:25:18 +0530 | [diff] [blame] | 16 | ifneq ($(TARGET_USES_SWR), true) |
| 17 | # Adreno |
| 18 | PRODUCT_PACKAGES += \ |
| 19 | a650_gmu.bin \ |
| 20 | a650_sqe.fw \ |
| 21 | a650_zap.mbn |
| 22 | endif |
John Stultz | d6997a2 | 2022-01-06 00:20:44 +0000 | [diff] [blame] | 23 | |
| 24 | # DSP (adsp+cdsp) |
| 25 | PRODUCT_PACKAGES += \ |
| 26 | adsp.mbn.sm8250 \ |
| 27 | adspr.jsn.sm8250 \ |
| 28 | adspua.jsn.sm8250 \ |
| 29 | cdsp.mbn.sm8250 \ |
| 30 | cdspr.jsn.sm8250 |
| 31 | |
| 32 | # Video encoder/decoder accelerator |
| 33 | PRODUCT_PACKAGES += \ |
| 34 | venus.b00.sm8250 \ |
| 35 | venus.b01.sm8250 \ |
| 36 | venus.b02.sm8250 \ |
| 37 | venus.b03.sm8250 \ |
| 38 | venus.b04.sm8250 \ |
| 39 | venus.b05.sm8250 \ |
| 40 | venus.b06.sm8250 \ |
| 41 | venus.b07.sm8250 \ |
| 42 | venus.b08.sm8250 \ |
| 43 | venus.b09.sm8250 \ |
| 44 | venus.b10.sm8250 \ |
| 45 | venus.b19.sm8250 \ |
| 46 | venus.mbn.sm8250 \ |
| 47 | venus.mdt.sm8250 |
| 48 | |
| 49 | FIRMWARE_VENDOR_PATH := $(LINARO_VENDOR_PATH)/linux-firmware/$(EXPECTED_LINARO_VENDOR_VERSION) |
| 50 | |
Amit Pundir | 1f9ea9f | 2024-01-15 21:50:17 +0530 | [diff] [blame] | 51 | # Also copy a set of Venus, WiFi-BT 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] | 52 | # dependency on user sysfs fw loader helper (FW_LOADER_USER_HELPER_FALLBACK) |
Amit Pundir | 1f9ea9f | 2024-01-15 21:50:17 +0530 | [diff] [blame] | 53 | ifeq ($(TARGET_SDCARD_BOOT), true) |
| 54 | PRODUCT_COPY_FILES += \ |
| 55 | $(FIRMWARE_VENDOR_PATH)/ath11k/QCA6390/hw2.0/amss.bin:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/ath11k/QCA6390/hw2.0/amss.bin \ |
| 56 | $(LOCAL_PATH)/RB5_firmware_20210331-v4/38-bdwlan_split/bdwlan.e04:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/ath11k/QCA6390/hw2.0/board.bin \ |
| 57 | $(FIRMWARE_VENDOR_PATH)/ath11k/QCA6390/hw2.0/m3.bin:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/ath11k/QCA6390/hw2.0/m3.bin \ |
| 58 | $(FIRMWARE_VENDOR_PATH)/qca/htbtfw20.tlv:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qca/htbtfw20.tlv \ |
| 59 | $(FIRMWARE_VENDOR_PATH)/qca/htnv20.bin:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qca/htnv20.bin \ |
| 60 | $(FIRMWARE_VENDOR_PATH)/qcom/sm8250/adsp.mbn:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/sm8250/adsp.mbn \ |
| 61 | $(FIRMWARE_VENDOR_PATH)/qcom/sm8250/cdsp.mbn:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/sm8250/cdsp.mbn \ |
| 62 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b00:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b00 \ |
| 63 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b01:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b01 \ |
| 64 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b02:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b02 \ |
| 65 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b03:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b03 \ |
| 66 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b04:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b04 \ |
| 67 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b05:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b05 \ |
| 68 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b06:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b06 \ |
| 69 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b07:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b07 \ |
| 70 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b08:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b08 \ |
| 71 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b09:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b09 \ |
| 72 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b10:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b10 \ |
| 73 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b19:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b19 \ |
| 74 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.mbn:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.mbn \ |
| 75 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.mdt:$(TARGET_COPY_OUT_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.mdt |
| 76 | else |
Amit Pundir | 89cf151 | 2022-06-29 17:19:20 +0530 | [diff] [blame] | 77 | PRODUCT_COPY_FILES += \ |
Amit Pundir | 03868a3 | 2022-10-05 17:47:03 +0530 | [diff] [blame] | 78 | $(FIRMWARE_VENDOR_PATH)/ath11k/QCA6390/hw2.0/amss.bin:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/ath11k/QCA6390/hw2.0/amss.bin \ |
| 79 | $(LOCAL_PATH)/RB5_firmware_20210331-v4/38-bdwlan_split/bdwlan.e04:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/ath11k/QCA6390/hw2.0/board.bin \ |
| 80 | $(FIRMWARE_VENDOR_PATH)/ath11k/QCA6390/hw2.0/m3.bin:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/ath11k/QCA6390/hw2.0/m3.bin \ |
| 81 | $(FIRMWARE_VENDOR_PATH)/qca/htbtfw20.tlv:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qca/htbtfw20.tlv \ |
| 82 | $(FIRMWARE_VENDOR_PATH)/qca/htnv20.bin:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qca/htnv20.bin \ |
Amit Pundir | 89cf151 | 2022-06-29 17:19:20 +0530 | [diff] [blame] | 83 | $(FIRMWARE_VENDOR_PATH)/qcom/sm8250/adsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sm8250/adsp.mbn \ |
| 84 | $(FIRMWARE_VENDOR_PATH)/qcom/sm8250/cdsp.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/sm8250/cdsp.mbn \ |
| 85 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b00:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b00 \ |
| 86 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b01:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b01 \ |
| 87 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b02:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b02 \ |
| 88 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b03:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b03 \ |
| 89 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b04:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b04 \ |
| 90 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b05:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b05 \ |
| 91 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b06:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b06 \ |
| 92 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b07:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b07 \ |
| 93 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b08:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b08 \ |
| 94 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b09:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b09 \ |
| 95 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b10:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b10 \ |
| 96 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.b19:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.b19 \ |
| 97 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.mbn:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.mbn \ |
| 98 | $(FIRMWARE_VENDOR_PATH)/qcom/vpu-1.0/venus.mdt:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/vendor/firmware/qcom/vpu-1.0/venus.mdt |
Amit Pundir | 1f9ea9f | 2024-01-15 21:50:17 +0530 | [diff] [blame] | 99 | endif |
John Stultz | d6997a2 | 2022-01-06 00:20:44 +0000 | [diff] [blame] | 100 | |
| 101 | # Copy notice/license files to rootfs |
| 102 | # Not an AOSP requirement but other Linux distros do this |
| 103 | PRODUCT_COPY_FILES += \ |
| 104 | $(FIRMWARE_VENDOR_PATH)/ath11k/QCA6390/hw2.0/Notice.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/ath11k/QCA6390/hw2.0/Notice.txt \ |
| 105 | $(FIRMWARE_VENDOR_PATH)/qca/NOTICE.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/qca/NOTICE.txt \ |
| 106 | $(FIRMWARE_VENDOR_PATH)/qcom/NOTICE.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/NOTICE.txt \ |
| 107 | $(FIRMWARE_VENDOR_PATH)/LICENSE.Lontium:$(TARGET_COPY_OUT_VENDOR)/firmware/LICENSE.Lontium \ |
| 108 | $(FIRMWARE_VENDOR_PATH)/LICENSE.QualcommAtheros_ath10k:$(TARGET_COPY_OUT_VENDOR)/firmware/LICENSE.QualcommAtheros_ath10k \ |
| 109 | $(FIRMWARE_VENDOR_PATH)/LICENSE.qcom:$(TARGET_COPY_OUT_VENDOR)/firmware/LICENSE.qcom \ |
| 110 | $(LINARO_VENDOR_PATH)/rb5/$(EXPECTED_LINARO_VENDOR_VERSION)/RB5_firmware_20210331-v4/LICENSE.qcom.txt:$(TARGET_COPY_OUT_VENDOR)/firmware/ath11k/QCA6390/hw2.0/LICENSE.qcom.txt |