Dear Team,Im following this [https://wiki.t-firefly.com/ROC-RK3328-CC/linux_compile.html#] documentation for compiling GPT firmware for my ROC-RK3328-CC Board. Update command is: [.repo/repo/repo sync -c --no-tags ] I’m getting a list of errors while using update command for Source Code.
(base) onstak@onstak-hp-elitedesk-800-g2-dm:~/rk3328_linux_release_v2.5.1_20210301$ .repo/repo/repo sync -c --no-tags > ~/Desktop/logs.txt
warning: Python 3 support is currently experimental. YMMV.
Please use Python 2.6 - 2.7 instead.
/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/main.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
error: Cannot fetch external/libglCompositor (AttributeError: 'str' object has no attribute 'decode')
error: Cannot fetch external/common_algorithm (AttributeError: 'str' object has no attribute 'decode')
Exception in thread Thread-3:
Exception in thread Thread-2:
Traceback (most recent call last):
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 932, in _bootstrap_inner
Traceback (most recent call last):
error: Cannot fetch app/aiserver (AttributeError: 'str' object has no attribute 'decode')
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 932, in _bootstrap_inner
Exception in thread Thread-1:
self.run()
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 870, in run
Traceback (most recent call last):
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self._target(*self._args, **self._kwargs)
self.run()
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 870, in run
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
self.run()
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 870, in run
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 307, in _FetchHelper
self._target(*self._args, **self._kwargs)
self._target(*self._args, **self._kwargs)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = project.Sync_NetworkHalf(
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 1229, in Sync_NetworkHalf
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 307, in _FetchHelper
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 307, in _FetchHelper
success = project.Sync_NetworkHalf(
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 1229, in Sync_NetworkHalf
self._InitGitDir(force_sync=force_sync)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 2298, in _InitGitDir
success = project.Sync_NetworkHalf(
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 1229, in Sync_NetworkHalf
self._InitGitDir(force_sync=force_sync)
self._InitGitDir(force_sync=force_sync)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 2298, in _InitGitDir
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 2298, in _InitGitDir
self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f')
self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f')
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 158, in SetString
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 158, in SetString
self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f')
error: Cannot fetch external/minilogger (AttributeError: 'str' object has no attribute 'decode')
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 158, in SetString
old = self._cache[key]
old = self._cache[key]
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 248, in _cache
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 248, in _cache
Exception in thread Thread-4:
old = self._cache[key]
self._cache_dict = self._Read()
Traceback (most recent call last):
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 932, in _bootstrap_inner
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 248, in _cache
self._cache_dict = self._Read()
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 254, in _Read
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 254, in _Read
self._cache_dict = self._Read()
self.run()
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 254, in _Read
d = self._ReadGit()
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 870, in run
d = self._ReadGit()
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 299, in _ReadGit
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 299, in _ReadGit
self._target(*self._args, **self._kwargs)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401
for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401
AttributeError: 'str' object has no attribute 'decode'
d = self._ReadGit()
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 299, in _ReadGit
AttributeError: 'str' object has no attribute 'decode'
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 307, in _FetchHelper
for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401
success = project.Sync_NetworkHalf(
AttributeError: 'str' object has no attribute 'decode'
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 1229, in Sync_NetworkHalf
self._InitGitDir(force_sync=force_sync)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 2298, in _InitGitDir
self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f')
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 158, in SetString
old = self._cache[key]
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 248, in _cache
self._cache_dict = self._Read()
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 254, in _Read
d = self._ReadGit()
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 299, in _ReadGit
for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401
AttributeError: 'str' object has no attribute 'decode'
error: Cannot fetch external/pcba_adb_test (AttributeError: 'str' object has no attribute 'decode')
Exception in thread Thread-5:
Traceback (most recent call last):
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/home/onstak/anaconda3/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 270, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/subcmds/sync.py", line 307, in _FetchHelper
success = project.Sync_NetworkHalf(
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 1229, in Sync_NetworkHalf
self._InitGitDir(force_sync=force_sync)
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/project.py", line 2298, in _InitGitDir
self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f')
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 158, in SetString
old = self._cache[key]
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 248, in _cache
self._cache_dict = self._Read()
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 254, in _Read
d = self._ReadGit()
File "/home/onstak/rk3328_linux_release_v2.5.1_20210301/.repo/repo/git_config.py", line 299, in _ReadGit
for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401
AttributeError: 'str' object has no attribute 'decode'
error: Exited sync due to fetch errors
Im basically in need of enabling the SPI in roc-rk3328-cc board. I have already tried every method other than compilation as im using now. My previous post was on : [ https://bbs.t-firefly.com/forum.php?mod=viewthread&tid=3087&extra=page%3D1 ]Please let me know what is missing! Thanks.