-
Notifications
You must be signed in to change notification settings - Fork 303
Enable FastCV DSP packages for Shikra and IQ-615-EVK targets #2648
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,12 +4,12 @@ LICENSE = "LICENSE.qcom-2" | |
| LIC_FILES_CHKSUM = "file://${UNPACKDIR}/usr/share/doc/${PN}/NOLOGINBINARYLICENSEQTI.pdf;md5=4ceffe94cb40cdce6d2f4fb93cc063d1 \ | ||
| file://${UNPACKDIR}/usr/share/doc/${PN}/NOTICE;md5=4b722aa0574e24873e07b94e40b92e4d " | ||
|
|
||
| PBT_BUILD_DATE = "260422" | ||
| ARTIFACTORY_URL = "https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/computervision-fastcv.qclinux.0.1/${PBT_BUILD_DATE}/prebuilt_yocto" | ||
| PBT_ARCH = "armv8a" | ||
| PBT_BUILD_DATE = "260624.1" | ||
| ARTIFACTORY_URL = "https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/computervision-fastcv.qclinux.0.1/${PBT_BUILD_DATE}/prebuilt_yocto_master" | ||
| PBT_ARCH = "armv8-6a" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What happens with the other machines which are not ARMv8.6-A? Will they generate unknown instruction segfaults? |
||
|
|
||
| SRC_URI = "${ARTIFACTORY_URL}/${BPN}_${PV}_${PBT_ARCH}.tar.gz" | ||
| SRC_URI[sha256sum] = "bcaa974b97b4e9ec09edf1843dc821dd01bf0cfe6953c93de447064bf8898b56" | ||
| SRC_URI[sha256sum] = "831edddfe6c1df285949c6722f406b4a4633913c30a9b7f02787c4405e1dde2d" | ||
| S = "${UNPACKDIR}" | ||
|
|
||
| DEPENDS += "glib-2.0 fastrpc" | ||
|
|
@@ -30,6 +30,7 @@ do_install() { | |
| install -d ${D}${datadir}/qcom/qcs615/Qualcomm/QCS615-RIDE/dsp/cdsp | ||
| install -d ${D}${datadir}/qcom/qcs8300/Qualcomm/QCS8300-RIDE/dsp/cdsp | ||
| install -d ${D}${datadir}/qcom/sa8775p/Qualcomm/SA8775P-RIDE/dsp/cdsp | ||
| install -d ${D}${datadir}/qcom/shikra/Qualcomm/Shikra-CQS-EVK/dsp/cdsp | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There is no Shikra target. You are adding support for one of the boards. |
||
| install -d ${D}${datadir}/qcom/sm8750/Qualcomm/SM8750-MTP/dsp/cdsp | ||
| install -d ${D}${datadir}/qcom/x1e80100/Qualcomm/Hamoa-IoT-EVK/dsp/cdsp | ||
|
|
||
|
|
@@ -46,14 +47,15 @@ do_install() { | |
| install -m 0644 ${S}/usr/include/fastcv/fastcv.h ${D}${includedir}/fastcv/ | ||
| install -m 0644 ${S}/usr/include/fastcv/fastcvExt.h ${D}${includedir}/fastcv/ | ||
|
|
||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v68/KODIAK/*.so ${D}${datadir}/qcom/qcm6490/Thundercomm/RB3gen2/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v65/TALOS_MOOREA/*.so ${D}${datadir}/qcom/qcs615/Qualcomm/QCS615-RIDE/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v75/MONACO/*.so ${D}${datadir}/qcom/qcs8300/Qualcomm/QCS8300-RIDE/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v66/SHIKRA/*.so ${D}${datadir}/qcom/shikra/Qualcomm/Shikra-CQS-EVK/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v68/KODIAK/*.so ${D}${datadir}/qcom/qcm6490/Thundercomm/RB3gen2/dsp/cdsp | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't mix upgrades and refactors. Split reordering to a separate commit (maybe before version upgrade). |
||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v73/HAMOA/*.so ${D}${datadir}/qcom/x1e80100/Qualcomm/Hamoa-IoT-EVK/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v73/LEMANS/*.so ${D}${datadir}/qcom/sa8775p/Qualcomm/SA8775P-RIDE/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v75/MONACO/*.so ${D}${datadir}/qcom/qcs8300/Qualcomm/QCS8300-RIDE/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v79/PAKALA/*.so ${D}${datadir}/qcom/sm8750/Qualcomm/SM8750-MTP/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v81/KAANAPALI/*.so ${D}${datadir}/qcom/kaanapali/Qualcomm/Kaanapali-MTP/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v81/GLYMUR/*.so ${D}${datadir}/qcom/glymur/Qualcomm/Glymur-CRD/dsp/cdsp | ||
| install -m 0644 ${S}/usr/lib/dsp/cdsp/cv/v81/GLYMUR/*.so ${D}${datadir}/qcom/glymur/Qualcomm/Glymur-CRD/dsp/cdsp | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Whitespace changes can go with the reorder. |
||
|
|
||
| install -m 0755 ${S}/usr/bin/fastcv_simple_test64 ${D}${bindir} | ||
| } | ||
|
|
@@ -68,6 +70,7 @@ PACKAGES += "\ | |
| ${PN}-qcs615-ride-dsp \ | ||
| ${PN}-qcs8300-ride-dsp \ | ||
| ${PN}-sa8775p-ride-dsp \ | ||
| ${PN}-shikra-cqs-evk-dsp \ | ||
| ${PN}-sm8750-mtp-dsp \ | ||
| ${PN}-thundercomm-rb3gen2-dsp \ | ||
| " | ||
|
|
@@ -82,6 +85,7 @@ RDEPENDS:${PN}-purwa-iot-evk-dsp = "${PN}-dsp ${PN}-hamoa-iot-evk-dsp" | |
| RDEPENDS:${PN}-qcs615-ride-dsp = "${PN}-dsp" | ||
| RDEPENDS:${PN}-qcs8300-ride-dsp = "${PN}-dsp" | ||
| RDEPENDS:${PN}-sa8775p-ride-dsp = "${PN}-dsp" | ||
| RDEPENDS:${PN}-shikra-cqs-evk-dsp = "${PN}-dsp" | ||
| RDEPENDS:${PN}-sm8750-mtp-dsp = "${PN}-dsp" | ||
| RDEPENDS:${PN}-thundercomm-rb3gen2-dsp = "${PN}-dsp" | ||
|
|
||
|
|
@@ -91,6 +95,7 @@ INSANE_SKIP:${PN}-kaanapali-mtp-dsp = "arch libdir" | |
| INSANE_SKIP:${PN}-qcs615-ride-dsp = "arch libdir" | ||
| INSANE_SKIP:${PN}-qcs8300-ride-dsp = "arch libdir" | ||
| INSANE_SKIP:${PN}-sa8775p-ride-dsp = "arch libdir" | ||
| INSANE_SKIP:${PN}-shikra-cqs-evk-dsp = "arch libdir" | ||
| INSANE_SKIP:${PN}-sm8750-mtp-dsp = "arch libdir" | ||
| INSANE_SKIP:${PN}-thundercomm-rb3gen2-dsp = "arch libdir" | ||
|
|
||
|
|
@@ -103,5 +108,6 @@ FILES:${PN}-kaanapali-mtp-dsp += "${datadir}/qcom/kaanapali/Qualcomm/Kaanapali-M | |
| FILES:${PN}-qcs615-ride-dsp += "${datadir}/qcom/qcs615/Qualcomm/QCS615-RIDE/dsp" | ||
| FILES:${PN}-qcs8300-ride-dsp += "${datadir}/qcom/qcs8300/Qualcomm/QCS8300-RIDE/dsp" | ||
| FILES:${PN}-sa8775p-ride-dsp += "${datadir}/qcom/sa8775p/Qualcomm/SA8775P-RIDE/dsp" | ||
| FILES:${PN}-shikra-cqs-evk-dsp += "${datadir}/qcom/shikra/Qualcomm/Shikra-CQS-EVK/dsp/cdsp" | ||
| FILES:${PN}-sm8750-mtp-dsp += "${datadir}/qcom/sm8750/Qualcomm/SM8750-MTP/dsp/cdsp" | ||
| FILES:${PN}-thundercomm-rb3gen2-dsp += "${datadir}/qcom/qcm6490/Thundercomm/RB3gen2/dsp" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, you are not adding bugfixes. You are upgrading fastcv to a new release. Also please drop the bullet list from the commit message and write the English text.