Title: Unable to update Source code for compiling Ubuntu Firmware (GPT) [Print This Page] Author: rk3328-cc Time: 3/28/2022 19:34 Title: Unable to update Source code for compiling Ubuntu Firmware (GPT) 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.
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
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
Copy the code
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. ... &extra=page%3D1 ]Please let me know what is missing! Thanks.
Author: Firefly Time: 4/6/2022 15:00
Hello, sorry for keeping you waiting. The engineer is following this. He will reply you soon.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)