Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update firmware packages #531

Merged
merged 3 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://LICENSE.qcom.txt;md5=cbbe399f2c983ad51768f4561587f000"

SRC_URI = "http://releases.linaro.org/96boards/rb1/qualcomm/firmware/RB1_firmware_${PV}.zip;subdir=${BP}"
SRC_URI[md5sum] = "e2b940a74de03372f5f31ea4b1eb581b"
SRC_URI[sha256sum] = "525fa292bbe605574f41c1b09204db907ccde6fb7fb78bda88837979821a762f"
SRC_URI[md5sum] = "db892ca115845938c6672d756448d512"
SRC_URI[sha256sum] = "e7f95cc61d601f6267f87741c333ec5663a6fb538c79770dc094c2556fa757c0"

DEPENDS += "pil-squasher-native mtools-native"

Expand All @@ -17,9 +17,7 @@ do_compile:append() {
pil-squasher 10-adreno-fw/a702_zap.mbn 10-adreno-fw/a702_zap.mdt
pil-squasher 12-adsp_split/adsp.mbn 12-adsp_split/adsp.mdt
pil-squasher 17-venus_split/venus.mbn 17-venus_split/venus.mdt
pil-squasher 33-modem/modem.mbn 33-modem/modem.mdt

mcopy -i 06-non-hlos/NON-HLOS.bin ::/image/wlanmdsp.mbn wlanmdsp.mbn
pil-squasher 32-modem/modem.mbn 32-modem/modem.mdt
}

ATH10K_PATH = "${nonarch_base_libdir}/firmware/ath10k/WCN3990/hw1.0"
Expand All @@ -34,12 +32,12 @@ do_install() {

install -m 0444 10-adreno-fw/a702_zap.mbn ${D}${FW_QCOM_PATH}
install -m 0444 12-adsp_split/adsp.mbn ${D}${FW_QCOM_PATH}
install -m 0444 33-modem/modem.mbn ${D}${FW_QCOM_PATH}
install -m 0444 32-modem/modem.mbn ${D}${FW_QCOM_PATH}

install -m 0444 22-jsn/*jsn ${D}${FW_QCOM_PATH}

install -d ${D}${ATH10K_PATH}
install -m 0444 wlanmdsp.mbn ${D}${ATH10K_PATH}/wlanmdsp-rb12.mbn
install -m 0444 33-wlanmdsp/wlanmdsp.mbn ${D}${ATH10K_PATH}/wlanmdsp-rb12.mbn
ln -s ../../ath10k/WCN3990/hw1.0/wlanmdsp-rb12.mbn ${D}${FW_QCOM_PATH}/wlanmdsp.mbn

install -d ${D}${FW_QCOM_BASE_PATH}/venus-6.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://LICENSE.qcom.txt;md5=cbbe399f2c983ad51768f4561587f000"

SRC_URI = "http://releases.linaro.org/96boards/rb2/qualcomm/firmware/RB2_firmware_${PV}.zip;subdir=${BP}"
SRC_URI[md5sum] = "4f41d580ad42050009eea47cb563405e"
SRC_URI[sha256sum] = "f72dd781008c9b4e3423e93696a2f62746ff681837bc3641cdf3c3338aed0e6b"
SRC_URI[md5sum] = "53b6cda776cb534883e6c2a048ad97ec"
SRC_URI[sha256sum] = "5d96c6f224cd4667afd47770b6cd0ad2ad912fe67fec86f4478ad8dcffae8531"

DEPENDS += "pil-squasher-native"

Expand All @@ -17,7 +17,7 @@ do_compile:append() {
pil-squasher 10-cdsp_split/cdsp.mbn 10-cdsp_split/cdsp.mdt
pil-squasher 11-adreno-fw/a610_zap.mbn 11-adreno-fw/a610_zap.mdt
pil-squasher 13-adsp_split/adsp.mbn 13-adsp_split/adsp.mdt
pil-squasher 34-modem/modem.mbn 34-modem/modem.mdt
pil-squasher 33-modem/modem.mbn 33-modem/modem.mdt
}

do_install() {
Expand All @@ -31,7 +31,7 @@ do_install() {
install -m 0444 10-cdsp_split/cdsp.mbn ${D}${FW_QCOM_PATH}
install -m 0444 11-adreno-fw/a610_zap.mbn ${D}${FW_QCOM_PATH}
install -m 0444 13-adsp_split/adsp.mbn ${D}${FW_QCOM_PATH}
install -m 0444 34-modem/modem.mbn ${D}${FW_QCOM_PATH}
install -m 0444 33-modem/modem.mbn ${D}${FW_QCOM_PATH}

# The file is installed in rb1 firmware recipe
ln -s ../../ath10k/WCN3990/hw1.0/wlanmdsp-rb12.mbn ${D}${FW_QCOM_PATH}/wlanmdsp.mbn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ inherit packagegroup
RRECOMMENDS:${PN} += " \
firmware-qcom-dragonboard410c \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'linux-firmware-qcom-adreno-a3xx', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-qcom-apq8016-wifi', '', d)} \
linux-firmware-qcom-apq8016-modem \
linux-firmware-qcom-venus-1.8 \
"