Hi,
I’ve already successfully built the Yocto image for the Verdin AM62 module following Toradex’s Yocto build documentation.
Now I want to build the Yocto image for Colibri iMX6ULL, but due to limited internal storage on my PC, I am building it inside an external SSD mounted at /mnt/yocto_build.
I’m following this guide:
Host machine setup for yocto
However, when I run the following command:
repo init -u https://git.toradex.com/toradex-bsp-platform/tdx-bsp-platform.git -b scarthgap-7.x.y --depth=1
I get this error:
Downloading Repo source from https://gerrit.googlesource.com/git-repo
repo: error: "git" failed with exit status 128
cwd: /mnt/yocto_build/colibri-imx6ull-build/.repo/repo.tmp
cmd: ['git', 'config', 'remote.origin.url', 'https://gerrit.googlesource.com/git-repo']
stderr:
>> fatal: not in a git directory
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
I’ve already verified:
gitandpython3are installed.repois available in~/bin/repo.- My global Git config is set:
Can this issue be related to the external SSD mount point (/mnt/yocto_build) or permissions?
Any suggestions or steps to fix this would be appreciated.
Thanks,
raju