Hi,
I am trying to build Processor SDK Linux for AM62x 09_00_00_03 to generate a custom image.
Followed the instructions mentioned in the 'Processor SDK Build Reference document. But at the final step mentioned below getting error as given below.
VM configuration:
RAM - 16GB
CPU - 2 (out of 4)
Storage - 50 GB
Issue_Log:
afar@Ubuntu-22:~/tisdk/build$ MACHINE=am62xx-evm bitbake -k tisdk-default-image
NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Started PRServer with DBfile: /home/zafar/tisdk/build/cache/prserv.sqlite3, Address: 127.0.0.1:34691, PID: 17456
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
WARNING: /home/zafar/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb: Duplicate inclusion for /home/zafar/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-image.inc in /home/zafar/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb
WARNING: /home/zafar/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb: Duplicate inclusion for /home/zafar/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-image.inc in /home/zafar/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb
WARNING: /home/zafar/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/meta/external-arm-secondary-sdk-toolchain.bb: QA Issue: PN: external-arm-sdk-toolchain-${SECONDARY_TARGET_ARCH} is upper case, this can result in unexpected behavior. [uppercase-pn]
ERROR: ExpansionError during parsing /home/zafar/tisdk/sources/meta-edgeai/recipes-tisdk/edgeai-components/edgeai-gui-app_0.1.bb######################### | ETA: 0:01:24
Traceback (most recent call last):
File "/home/zafar/tisdk/sources/bitbake/lib/bb/fetch2/__init__.py", line 1214, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7f633e43ece0>, d=<bb.data_smart.DataSmart object at 0x7f633e43ee60>, name='default'):
if srcrev == "AUTOINC":
> srcrev = ud.method.latest_revision(ud, d, name)
File "/home/zafar/tisdk/sources/bitbake/lib/bb/fetch2/__init__.py", line 1626, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7f633e43ece0>, d=<bb.data_smart.DataSmart object at 0x7f633e43ee60>, name='default'):
except KeyError:
> revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File "/home/zafar/tisdk/sources/bitbake/lib/bb/fetch2/git.py", line 748, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7f633e43ece0>, d=<bb.data_smart.DataSmart object at 0x7f633e43ee60>, name='default'):
> output = self._lsremote(ud, d, "")
# Tags of the form ^{} may not work, need to fallback to other form
File "/home/zafar/tisdk/sources/bitbake/lib/bb/fetch2/git.py", line 731, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7f633e43ece0>, d=<bb.data_smart.DataSmart object at 0x7f633e43ee60>, search=''):
bb.fetch2.check_network_access(d, cmd, repourl)
> output = runfetchcmd(cmd, d, True)
if not output:
File "/home/zafar/tisdk/sources/bitbake/lib/bb/fetch2/__init__.py", line 929, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/zafar/tisdk/sources/oe-core/scripts:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/zafar/tisdk/sources/bitbake/bin:/home/zafar/tisdk/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/zafar"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat ls-remote git://git.ti.com/apps/edgeai-gui-app.git ', d=<bb.data_smart.DataSmart object at 0x7f633e43c280>, quiet=True, cleanup=[], log=None, workdir=None):
> raise FetchError(error_message)
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/zafar/tisdk/sources/oe-core/scripts:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-oe-linux:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/zafar/tisdk/build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gui-app/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/zafar/tisdk/sources/bitbake/bin:/home/zafar/tisdk/build/arago-tmp-default-glibc/hosttools"; export HOME="/home/zafar"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat ls-remote git://git.ti.com/apps/edgeai-gui-app.git failed with exit code 128, output:
fatal: read error: Connection reset by peer
The variable dependency chain for the failure is: SRCPV -> PV -> BP -> FILESPATH
ERROR: Parsing halted due to errors, see error messages above
Summary: There were 3 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.