Skip to content

Commit

Permalink
firmware-qcom-dragonboard820c: drop compatibility for kernels <= 5.15
Browse files Browse the repository at this point in the history
Drop compatibility symlinks and split firmware files which were used to
support Linux kernels prior or equal to 5.15.

Signed-off-by: Dmitry Baryshkov <[email protected]>
  • Loading branch information
lumag committed Nov 6, 2023
1 parent b72ac59 commit d6f4631
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions recipes-bsp/firmware/firmware-qcom-dragonboard820c_01700.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,12 @@ do_install() {
install -d ${D}${nonarch_base_libdir}/firmware/
install -d ${D}${FW_QCOM_PATH}/

# Install only split parts, squashed images and .jsn are now part of linux-firmware
install -m 0444 ./proprietary-linux/adsp.mdt ${D}${FW_QCOM_PATH}/
install -m 0444 ./proprietary-linux/adsp.b* ${D}${FW_QCOM_PATH}/

install -m 0444 ./bootloaders-linux/adspso.bin ${D}${FW_QCOM_PATH}/

install -d ${D}${sysconfdir}/
install -m 0644 LICENSE ${D}${sysconfdir}/QCOM-LINUX-BOARD-SUPPORT-LICENSE-${PN}

# compat for Linux kernel <= 5.15
install -d ${D}${FW_QCOM_BASE_PATH}/msm8996
for file in adsp.mbn adspr.jsn adspua.jsn ${D}${FW_QCOM_PATH}/*.mdt ${D}${FW_QCOM_PATH}/*.b*
do
ln -s ../apq8096/$(basename $file) ${D}${FW_QCOM_BASE_PATH}/msm8996/
done
}

SPLIT_FIRMWARE_PACKAGES = " \
${PN}-dspso \
linux-firmware-qcom-${FW_QCOM_NAME}-audio-split \
${PN}-split \
"

FILES:${PN}-split = "${FW_QCOM_BASE_PATH}/msm8996/*.mdt ${FW_QCOM_BASE_PATH}/msm8996/*.b*"

0 comments on commit d6f4631

Please sign in to comment.