工具/软件:
尊敬的 TI 团队:
无法在 openembedded 存储库中找到该工程。
9.2系统的易用性
运行./oelayer_setup.sh
克隆回购烘烤
克隆到/code/oe-layersetup/sources/bitbake 中...
致命: 未找到存储库'git.openembedded.org/.../'
Git 失败... 剩余尝试次数:4次 睡眠15秒
我收到了上述错误、可以看到它也不存在
它是否已弃用、我是否需要指向其他内容?
谢谢
此致
Gowtham
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:
尊敬的 TI 团队:
无法在 openembedded 存储库中找到该工程。
9.2系统的易用性
运行./oelayer_setup.sh
克隆回购烘烤
克隆到/code/oe-layersetup/sources/bitbake 中...
致命: 未找到存储库'git.openembedded.org/.../'
Git 失败... 剩余尝试次数:4次 睡眠15秒
我收到了上述错误、可以看到它也不存在
它是否已弃用、我是否需要指向其他内容?
谢谢
此致
Gowtham
尊敬的 Gowtham:
这是因为服务器上不再支持 git 守护程序。
您将需要像以下修补程序一样修补清单文件: https://git.ti.com/cgit/processor-sdk/psdk_repo_manifests/commit/?h=main&id=427180f537947a869a6e8b64fd8b2902c390c894
另一种选择是切换到11.0 SDK 版本。
此致、
Jared
REPO init -u git.ti.com/.../psdk_repo_manifests.git -b REL.psdk.analytics.11.00.00.06 -m vision_apps_yocto.xml
从 gerrit.googlesource.com/git-repo 下载存储库源代码
...新版本的 repo (2.54)是可用的。
...新版本可在:/home/gowtham_s/oe_layer_CICD/psdk_vision_apps/.repo/repo/repo
...启动器运行自:/usr/bin/repo
!!! 启动器不可写。 请与您的 sysadmin 或 distro 联系
!!! 以安装更新。
清单:
致命:找不到远程参考 refs/heads/REL.psdk.analysis.11.00.00.06
清单:重试前睡眠4.0秒
致命:无法获取 manifest git.ti.com/.../psdk_repo_manifests.git
============================================================================
REPO 命令失败:UpdateManifestError
无法同步清单 vision_apps_yocto.xml
如何下载我们也无法下载的清单文件
尊敬的 Gowtham:
您可以克隆存储库、对其 进行编辑、然后编辑 meta-edgeai/recies-tisdk/ti-psdk-rtos/ti-vision-apps.bb 并将 SRC_URI 从 URL 替换为本地文件/存储库。 例如:
SRC_URI = "repo:///<path-to>/psdk_repo_manifests;protocol=file;branch=<edited-branch>;manifest=vision_apps_yocto.xml"
此致、
Jared
尊敬的 Gowtham:
您能重试吗? 我没有看到问题。
$ git clone git.ti.com/.../psdk_repo_manifests.git Cloning into 'psdk_repo_manifests'... remote: Enumerating objects: 196, done. remote: Counting objects: 100% (196/196), done. remote: Compressing objects: 100% (196/196), done. remote: Total 196 (delta 73), reused 0 (delta 0), pack-reused 0 Receiving objects: 100% (196/196), 24.39 KiB | 2.03 MiB/s, done. Resolving deltas: 100% (73/73), done. warning: remote HEAD refers to nonexistent ref, unable to checkout. $ ls psdk_repo_manifests
此致、
Jared
如果是基于文件、则无法使用 bbappend 附加补丁文件。
我无法编译相同的内容、
正在初始化任务:100%|########################################################################################################################################################### 时间:0:00:01
状态摘要:需要7个本地0个微镜0个漏掉7个电流327 (0%匹配、97%完成)
注意:正在执行任务
错误:TI-vision-apps-1.0-r0_edgeai_4 do_compile:oe_runmake 失败
错误:TI-VISION-APPS-1.0-r0_edgeai_4 Do_compile:ExecutionError ('/code/oe-layersetup/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/temp/run.do_compile.4475、1、无、无)
错误:存储在/code/oe-layersetup/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/temp/log.do_compile.4475中的失败日志文件
日志数据如下:
| debug:执行 shell 函数 do_compile
|注意:make -j 22 -C /code/oe-layersetup/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/repo/sdk_builder yocto_build
| make:***/code/oe-layersetup/build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/repo/sdk_builder:无此类文件或目录。 STOP
|错误:OE_runmake 失败
|警告:从 shell 命令退出代码1。
错误:任务(/code/oe-layersetup/sources/meta-edgeai/recipes-tisdk/ti-psdk-rtos/ti-vision-apps.bb:do_compile)失败、退出代码为"1"

没有创建存储库文件夹。
尊敬的 Gowtham:
我想您不会应用补丁、而只是编辑源代码本身。
您也可以尝试将必要的重新定位克隆到他们的工作路径中。 例如:sdk_builder 至: build/arago-tmp-default-glibc/work/aarch64-oe-linux/ti-vision-apps/1.0-r0_edgeai_4/repo/sdk_builder
此致、
Jared
另一种权变措施如下:
但要注意:这也打破了烤制在一个微妙的方式! 如果您这样做,您不能在 PSDK 版本之间共享下载目录,因为 bitbake 的存储库工具集成似乎无法处理不同的版本。 它将只是默默地使用源的旧版本,甚至不抱怨从我可以找到的内部日志。 对于您提到的大致相同的版本、这会产生以下后续错误:
|./git/gst-libs/gst/tiovx/gsttiovxutils.c:在函数"gst_tiovx_get_examplear_from_caps"中: |./git/gst-libs/gst/tiovx/gsttiovxutils.c:655:43:错误:"TIVx_image_stribution_Y_alignment"未声明(首次在该函数中使用) | 655 | vxSetImageAttribute ((vx_image)输出、TIVx_image_stribution_Y_alignment、 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~μ s
(这是一个症状、而不是根本原因、我将其粘贴到这里、以便它出现在搜索引擎中。)
我不确定这是因为 gitconfig 还是仅仅因为将 git origin 交换为同一个存储库。
(我不是德州仪器员工、只是像您这样的普通用户。 也不知道这里的很多细节。)
我想,如果这个 repo 工具只会导致问题,也许将源代码直接添加为 git repos 到 SRC_URI 会更好吗? 我认为在这种情况下,可以很容易地生成.bbappend 文件,而我们可以在自己的层中拥有该文件。 我不知道你是否可以.bbappend 一个"repo repo",但如果我们完全跳过"repo 工具",只需使用 git 链接和正确的修改列表,我认为 bitbake 可能会更好。
TI-vision-apps.bappend:
SRC_URI = "git://git.ti.com/git/processor-sdk/sdk_builder.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo1 \
git://git.ti.com/git/processor-sdk/app_utils.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo2 \
git://git.ti.com/git/processor-sdk/vision_apps.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo3 \
git://git.ti.com/git/processor-sdk/tiovx.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo4 \
git://git.ti.com/git/processor-sdk/imaging.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo5 \
git://git.ti.com/git/processor-sdk/video_io.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo6 \
git://git.ti.com/git/processor-sdk/ti-perception-toolkit.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo7 \
git://git.ti.com/git/processor-sdk/psdk_include.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo8 \
git://git.ti.com/git/processor-sdk-vision/arm-tidl.git;protocol=https;branch=master;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo9 \
git://git.ti.com/git/processor-sdk/concerto.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo10"
SRCREV_FORMAT = "repo1_repo2_repo3_repo4_repo5_repo6_repo7_repo8_repo9_repo10"
# if you would prefer to use the commit hash instead of the tag:
# SRCREV_repo1 = "b85284c3fbdf18fe05c45450f3030501721e9b48"
# SRCREV_repo2 = "04355e7112f66093a56cacdb109faa317b148c02"
# SRCREV_repo3 = "c500b3ee4db9a040aae99ddc8d8c709a1275cbe5"
# SRCREV_repo4 = "cbcf513ac89fa53700a9055c1296b844d9ee3bd4"
# SRCREV_repo5 = "d2a3565032e362df67a82f692a6d72d5b9b4638b"
# SRCREV_repo6 = "c75d8585e6a184131cdf6c927c8f0bacb517885a"
# SRCREV_repo7 = "7074d1c78e28082c657b77bf2ed5dc40525146c0"
# SRCREV_repo8 = "2dde83677ad4daf0d3e53bcd6d2a032a9bac53aa"
# SRCREV_repo9 = "38a2f55ed3b8b11e1e25359f724b75320f26f003"
# SRCREV_repo10 = "707b11afdbe5d0abb109a42b06828ba70f555bff"
S = "${WORKDIR}/repo"不起作用... 我做了一份 PSDK_repo_estales repo 的浅副本、并在10.01的时间里把工作清单放在了一个分支上。
这适用于现在... 不过、我想得到一个更简洁的解决方案:
TI-vision-apps.bappend
我们提出了更好的解决方案:
此致、
Jared
我使用了你的 bbappend 文件,但调整了一点,它现在可以工作. 问题是 git fetcher 将文件填充到 git/中、而 repo fetcher 将文件填入 repo/中。 这可以通过设置 DESTHEX 来更改(请注意、REPODIR 和 GITDIR 在这里不适用、它们用于下载目录)。 我不想和 repo fetcher 战斗,所以我创建了一个 unrepo/目录,并在那里上演了我的假 repo/目录。 原始 bb 文件假定文件位于 repo/中、因此我不得不像这样伪造文件。 第二个问题是,实际的 repo 清单将文件填充到其他 repos 的子目录中(有点像 git 子模块),但这可以用与 destrefix 覆盖相同的方式来解决。
# This is a workaround for broken git links in the repo manifest used by ti-vision-apps.
SRC_URI = "git://git.ti.com/git/processor-sdk/sdk_builder.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo1;destsuffix=unrepo/repo/sdk_builder/ \
git://git.ti.com/git/processor-sdk/app_utils.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo2;destsuffix=unrepo/repo/app_utils/ \
git://git.ti.com/git/processor-sdk/vision_apps.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo3;destsuffix=unrepo/repo/vision_apps/ \
git://git.ti.com/git/processor-sdk/tiovx.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo4;destsuffix=unrepo/repo/tiovx/ \
git://git.ti.com/git/processor-sdk/imaging.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo5;destsuffix=unrepo/repo/imaging/ \
git://git.ti.com/git/processor-sdk/video_io.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo6;destsuffix=unrepo/repo/video_io/ \
git://git.ti.com/git/processor-sdk/ti-perception-toolkit.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo7;destsuffix=unrepo/repo/ti-perception-toolkit/ \
git://git.ti.com/git/processor-sdk/psdk_include.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo8;destsuffix=unrepo/repo/psdk_include/ \
git://git.ti.com/git/processor-sdk-vision/arm-tidl.git;protocol=https;branch=master;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo9;destsuffix=unrepo/repo/psdk_include/tidl_j7/arm-tidl/ \
git://git.ti.com/git/processor-sdk/concerto.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo10;destsuffix=unrepo/repo/sdk_builder/concerto/ \
"
SRCREV_FORMAT = "repo1_repo2_repo3_repo4_repo5_repo6_repo7_repo8_repo9_repo10"
S = "${WORKDIR}/unrepo"
尊敬的 Joel:
感谢您发送编修。 调整你的,我创建了另一个 bappend 没有 unrepo 目录:
SRC_URI = "git://git.ti.com/git/processor-sdk/sdk_builder.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo1;destsuffix=repo/sdk_builder/ \
git://git.ti.com/git/processor-sdk/app_utils.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo2;destsuffix=repo/app_utils/ \
git://git.ti.com/git/processor-sdk/vision_apps.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo3;destsuffix=repo/vision_apps/ \
git://git.ti.com/git/processor-sdk/tiovx.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo4;destsuffix=repo/tiovx/ \
git://git.ti.com/git/processor-sdk/imaging.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo5;destsuffix=repo/imaging/ \
git://git.ti.com/git/processor-sdk/video_io.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo6;destsuffix=repo/video_io/ \
git://git.ti.com/git/processor-sdk/ti-perception-toolkit.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo7;destsuffix=repo/ti-perception-toolkit/ \
git://git.ti.com/git/processor-sdk/psdk_include.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo8;destsuffix=repo/psdk_include/ \
git://git.ti.com/git/processor-sdk-vision/arm-tidl.git;protocol=https;branch=master;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo9;destsuffix=repo/psdk_include/tidl_j7/arm-tidl/ \
git://git.ti.com/git/processor-sdk/concerto.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo10;destsuffix=repo/sdk_builder/concerto/ \
"
SRCREV_FORMAT = "repo1_repo2_repo3_repo4_repo5_repo6_repo7_repo8_repo9_repo10"
LIC_FILES_CHKSUM:append = " file://tiovx/include/VX/vx.h;beginline=1;endline=15;md5=37315206223081f32a5b9aaaf912f637"
LIC_FILES_CHKSUM:remove = "file://repo/tiovx/include/VX/vx.h;beginline=1;endline=15;md5=37315206223081f32a5b9aaaf912f637"
S = "${WORKDIR}/repo"
EXTRA_OEMAKE:append = " ${S}/sdk_builder"
EXTRA_OEMAKE:remove = "${S}/repo/sdk_builder"
此致、
Jared
好的。 如果这是有效的,我认为你可以跳过 repo/部分完全(如果新的调整到 extra_OEMAKE 是足够的)。 也许这并不重要,因为我认为这只会影响 build directory (?),但我完全信任 repo fetcher ,因为它似乎会静默使用 DL_DIR 中的错误版本。 (我担心 PSDK 版本的早期版本会将同名的内容下载到 repo/中-但这是我的构建环境所特有的、我们在该环境中混合和匹配 CI 中的工作。)
尊敬的 Joel:
如果可以、我认为您可以完全跳过存储库/部分(如果对 extra_OEMAKE 的新调整足够了)。
我同意您可能会完全跳过存储库/部分。 我只是因为我的一般怀疑。 也许在我不了解的地方有一些硬编码的存储库路径。 我需要在没有 repo 目录的情况下进行测试、看看是否有任何问题。
我完全信任存储库 fetcher、因为它似乎在无声地使用 DL_DIR 中的错误版本。
由于 SRC_URI 被替换、因此此时不应运行存储库 fetcher。
(我担心的是、PSDK 版本的早期版本会将同名的内容下载到 repo/-但这是我的构建环境中的一个特定问题、在我的构建环境中、我们混合和匹配 CI 中的工作。)
这是一个非常有效的问题。 希望清洁人员可以解决这个问题。
$ bitbake -c cleanall ti-vision-apps
此致、
Jared
在没有 repo 目录的情况下尝试了它、我看不到任何问题。
SRC_URI = "git://git.ti.com/git/processor-sdk/sdk_builder.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo1;destsuffix=sdk_builder/ \
git://git.ti.com/git/processor-sdk/app_utils.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo2;destsuffix=app_utils/ \
git://git.ti.com/git/processor-sdk/vision_apps.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo3;destsuffix=vision_apps/ \
git://git.ti.com/git/processor-sdk/tiovx.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo4;destsuffix=tiovx/ \
git://git.ti.com/git/processor-sdk/imaging.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo5;destsuffix=imaging/ \
git://git.ti.com/git/processor-sdk/video_io.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo6;destsuffix=video_io/ \
git://git.ti.com/git/processor-sdk/ti-perception-toolkit.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo7;destsuffix=ti-perception-toolkit/ \
git://git.ti.com/git/processor-sdk/psdk_include.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo8;destsuffix=psdk_include/ \
git://git.ti.com/git/processor-sdk-vision/arm-tidl.git;protocol=https;branch=master;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo9;destsuffix=psdk_include/tidl_j7/arm-tidl/ \
git://git.ti.com/git/processor-sdk/concerto.git;protocol=https;branch=main;tag=REL.PSDK.ANALYTICS.10.01.00.04;name=repo10;destsuffix=sdk_builder/concerto/ \
"
SRCREV_FORMAT = "repo1_repo2_repo3_repo4_repo5_repo6_repo7_repo8_repo9_repo10"
LIC_FILES_CHKSUM:append = " file://tiovx/include/VX/vx.h;beginline=1;endline=15;md5=37315206223081f32a5b9aaaf912f637"
LIC_FILES_CHKSUM:remove = "file://repo/tiovx/include/VX/vx.h;beginline=1;endline=15;md5=37315206223081f32a5b9aaaf912f637"
S = "${WORKDIR}"
EXTRA_OEMAKE:append = " ${S}/sdk_builder"
EXTRA_OEMAKE:remove = "${S}/repo/sdk_builder"
此致、
Jared