-
Notifications
You must be signed in to change notification settings - Fork 348
camx: revision update for Lemans, Talos,Kodiak #2961
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 all commits
1fbffa8
c962094
b57dfd0
12fe899
0a0a206
737d1eb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| PLATFORM = "hamoa" | ||
| PBT_BUILD_DATE = "260826" | ||
|
|
||
| require common.inc | ||
|
|
||
| SRC_URI[camxlib.sha256sum] = "70208241d530536878c202ac512f4e39019827b9feb2ba9177d904416dbab198" | ||
| SRC_URI[camx.sha256sum] = "7d2d59c06788a57487b43a0c6792b62822c8992718c15ab5811cdd03b169fc79" | ||
| SRC_URI[chicdk.sha256sum] = "5896081c3200da9c497079e217cae2c616cfd610ea2f2c80a6c5a636052de6bf" | ||
| SRC_URI[camxcommon.sha256sum] = "76b94b2af3ad33cf6ffcb768dfe42e85352adf231488e42b99de5575d191100e" | ||
| SRC_URI[camxtest.sha256sum] = "ccf1b6430bb494b34a0db616c7f1f7940fed925531c76f1a8ed2a7211381609c" | ||
|
|
||
| do_install:append() { | ||
| # copy skel file | ||
| install -d ${D}${datadir}/qcom | ||
| cp -r ${S}/usr/share/qcom/x1e80100 ${D}${datadir}/qcom/ | ||
| } | ||
| PACKAGE_BEFORE_PN += "${PN}-skel" | ||
| RDEPENDS:${PN} += "${PN}-skel" | ||
| FILES:${PN}-skel = "${datadir}/qcom" | ||
| # Algo librarires are pre-compiled, pre-stripped. | ||
| # Skipping QA checks: 'already-stripped', 'arch', 'libdir' because: | ||
| # - Library files are Pre-stripped (already-stripped) | ||
| # - skel binaries/library are not AArch64 (arch mismatch) (arch) | ||
| # - Files are installed under /usr/share (non-libdir path) (libdir) | ||
| # - .so symlink is used for runtime DSP usage, not a dev artifact (dev-so) | ||
| INSANE_SKIP:${PN}-skel += " arch libdir already-stripped dev-so" | ||
|
|
||
| # Preserve ${PN}-skel naming to avoid ambiguity in package identification. | ||
| DEBIAN_NOAUTONAME:${PN}-skel = "1" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,7 @@ SRC_URI = " \ | |
| https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto_${PBT_BRANCH}/camx-${PLATFORM}_${PV}_armv8-2a.tar.gz;name=camx \ | ||
| https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto_${PBT_BRANCH}/chicdk-${PLATFORM}_${PV}_armv8-2a.tar.gz;name=chicdk \ | ||
| https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto_${PBT_BRANCH}/camxcommon-${PLATFORM}_${PV}_armv8-2a.tar.gz;name=camxcommon \ | ||
| https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto_${PBT_BRANCH}/camxtest-${PLATFORM}_1.0.38_armv8-2a.tar.gz;name=camxtest \ | ||
|
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. Why are you changing it here? It should still be
Contributor
Author
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.
The version wasn’t in line because the tar and recipe version were different. I’m working on making the version consistent for camxtest from the next release onward, so it is hardcoded.
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. Is it explained in the commit message?
Contributor
Author
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. updated commit message |
||
| " | ||
|
|
||
| S = "${UNPACKDIR}" | ||
|
|
@@ -45,6 +46,11 @@ do_install:append() { | |
| install -d ${D}${bindir} | ||
| cp -r ${S}/usr/bin/* ${D}${bindir} | ||
| fi | ||
| # Install camera-nhx files only if /usr/libexec exists in ${S} | ||
| if [ -d "${S}${libexecdir}" ]; then | ||
|
gkhose-qipl marked this conversation as resolved.
|
||
| install -d ${D}${libexecdir} | ||
| cp -r ${S}/usr/libexec/* ${D}${libexecdir} | ||
| fi | ||
| # Remove unnecessary development symlinks (.so) from the staged image | ||
| rm -f ${D}${libdir}/camx/${PLATFORM}/*${SOLIBSDEV} | ||
| rm -f ${D}${libdir}/camx/${PLATFORM}/camera/components/*${SOLIBSDEV} | ||
|
|
@@ -100,7 +106,7 @@ FILES:chicdk-${PLATFORM} = "\ | |
| ${libdir}/camx/${PLATFORM}/camera/*.bin \ | ||
| ${libdir}/camx/${PLATFORM}/camera/com.qti.sensor*${SOLIBS} \ | ||
| ${libdir}/camx/${PLATFORM}/hw/com.qti.chi.*${SOLIBS} \ | ||
| ${bindir}/camx \ | ||
| ${libexecdir}/ \ | ||
| " | ||
|
|
||
| FILES:${PN} = "\ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.