elecphj@DESKTOP-7GNHDPG:~$ git clone ssh://gitlab.com/topst.ai/bsp/u-boot.git
Cloning into ‘u-boot’…
Enter passphrase for key ‘/home/elecphj/.ssh/id_rsa’:
remote: Enumerating objects: 17972, done.
remote: Counting objects: 100% (17972/17972), done.
remote: Compressing objects: 100% (14631/14631), done.
remote: Total 17972 (delta 3011), reused 17972 (delta 3011), pack-reused 0 (from 0)
Receiving objects: 100% (17972/17972), 22.56 MiB | 3.69 MiB/s, done.
Resolving deltas: 100% (3011/3011), done.
elecphj@DESKTOP-7GNHDPG:~$ ls .ssh
config id_rsa id_rsa.pub known_hosts
elecphj@DESKTOP-7GNHDPG:~$ ls -al .ssh
total 24
drwxrwxrwx 2 root root 4096 Jul 29 22:59 .
drwxr-x— 10 elecphj elecphj 4096 Jul 30 13:04 …
-rw-r–r-- 1 elecphj elecphj 60 Jul 29 15:50 config
-rw------- 1 elecphj elecphj 2655 Jul 29 22:40 id_rsa
-rw-r–r-- 1 elecphj elecphj 577 Jul 29 22:40 id_rsa.pub
-rw-r–r-- 1 elecphj root 948 Jul 29 22:49 known_hosts
elecphj@DESKTOP-7GNHDPG:~/topst/build-main$ bitbake topst
Loading cache: 100% |####################################################################################| Time: 0:00:00
Loaded 587 entries from dependency cache.
WARNING: /home/elecphj/topst/yocto/meta-telechips-bsp/recipes-bsp/u-boot/u-boot-tcc.bb: Exception during build_dependencies for do_configure
WARNING: /home/elecphj/topst/yocto/meta-telechips-bsp/recipes-bsp/u-boot/u-boot-tcc.bb: Error during finalise of /home/elecphj/topst/yocto/meta-telechips-bsp/recipes-bsp/u-boot/u-boot-tcc.bb
ERROR: ExpansionError during parsing /home/elecphj/topst/yocto/meta-telechips-bsp/recipes-bsp/u-boot/u-boot-tcc.bb:00:14
Traceback (most recent call last):
File “/home/elecphj/topst/yocto/poky/bitbake/lib/bb/fetch2/git.py”, line 242, in Git.urldata_init(ud=<bb.fetch2.FetchData object at 0x7f05c98cf010>, d=<bb.data_smart.DataSmart object at 0x7f05c9d72c20>):
ud.unresolvedrev[name] = ud.revisions[name]
ud.revisions[name] = self.latest_revision(ud, d, name)
File “/home/elecphj/topst/yocto/poky/bitbake/lib/bb/fetch2/init.py”, line 1587, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7f05c98cf010>, d=<bb.data_smart.DataSmart object at 0x7f05c9d72c20>, name=‘default’):
except KeyError:
revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File “/home/elecphj/topst/yocto/poky/bitbake/lib/bb/fetch2/git.py”, line 700, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7f05c98cf010>, d=<bb.data_smart.DataSmart object at 0x7f05c9d72c20>, name=‘default’):
“”"
output = self._lsremote(ud, d, “”)
Tags of the form ^{} may not work, need to fallback to other form
File “/home/elecphj/topst/yocto/poky/bitbake/lib/bb/fetch2/git.py”, line 689, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7f05c98cf010>, d=<bb.data_smart.DataSmart object at 0x7f05c9d72c20>, search=‘’):
bb.fetch2.check_network_access(d, cmd, repourl)
output = runfetchcmd(cmd, d, True)
if not output:
File “/home/elecphj/topst/yocto/poky/bitbake/lib/bb/fetch2/init.py”, line 889, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export PATH=“/home/elecphj/topst/yocto/poky/scripts:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-telechips-linux:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/usr/sbin:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/usr/bin:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/sbin:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/bin:/home/elecphj/topst/yocto/poky/bitbake/bin:/home/elecphj/topst/build-main/tmp/hosttools”; export HOME=“/home/elecphj”; git -c core.fsyncobjectfiles=0 ls-remote “ssh://gitlab.com/topst.ai/bsp/u-boot.git” ', d=<bb.data_smart.DataSmart object at 0x7f05c9d72c20>, quiet=True, cleanup=, log=None, workdir=None):
raise FetchError(error_message)
bb.data_smart.ExpansionError: Failure expanding variable do_configure, expression was base_do_configure
if [ “${@bb.utils.contains(‘DISTRO_FEATURES’, ‘ld-is-gold’, ‘ld-is-gold’, ‘’, d)}” = “ld-is-gold” ] ; then
sed -i ‘s/$(CROSS_COMPILE)ld$/$(CROSS_COMPILE)ld.bfd/g’ /home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/git/config.mk
fi
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
if [ -n “${EXTERNALSRC}” ] ; then
export KBUILD_OUTPUT=${EXTERNALSRC}/tcc8050-main/
fi
export ARCH=arm64 DEVICE_TREE=tcc8050-topst-d3-pre-v0.1
oe_runmake tcc805x_defconfig
if [ -n “${EXTERNALSRC}” ] ; then
/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/git/scripts/kconfig/merge_config.sh -O ${KBUILD_OUTPUT} -m ${KBUILD_OUTPUT}.config ${@" “.join(find_cfgs(d))}
else
/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/git/scripts/kconfig/merge_config.sh -m .config ${@” “.join(find_cfgs(d))}
fi
which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH=”/home/elecphj/topst/yocto/poky/scripts:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-telechips-linux:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/usr/sbin:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/usr/bin:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/sbin:/home/elecphj/topst/build-main/tmp/work/tcc8050_main-telechips-linux/u-boot-tcc/1.0-r0/recipe-sysroot-native/bin:/home/elecphj/topst/yocto/poky/bitbake/bin:/home/elecphj/topst/build-main/tmp/hosttools"; export HOME=“/home/elecphj”; git -c core.fsyncobjectfiles=0 ls-remote “ssh://gitlab.com/topst.ai/bsp/u-boot.git” failed with exit code 128, output:
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
WARNING: /home/elecphj/topst/yocto/meta-telechips-bsp/recipes-kernel/linux/linux-telechips_5.4.bb: Cooker received SIGTERM, shutting down…
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
elecphj@DESKTOP-7GNHDPG:~/topst/build-main$
vi .ssh/config
Host gitlab.com
User git
IdentityFile ~/.ssh/id_rsa
세팅은 다 된 것 같은데 위에 오류 붙여 넣었습니다. 감사 합니다.