This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: Unable to build SDK Kernel

Part Number: PROCESSOR-SDK-AM335X

I'm unable to build the processor SDK 07.03

I set it up with this config file "coresdk-07.03.00.005-config.txt"

after commanding "MACHINE=am335x-evm bitbake linux-ti-staging" I get this error. I'm not sure why this is happening 

I'm using Ubuntu 20.04.4 LTS Desktop. I Also tried Ubuntu 18.04 and it is the same error too.

WARNING: linux-ti-staging-5.4.106+gitAUTOINC+023faefa70-r22a.arago5 do_install: Task do_install requested do_package unihash, but it was not available.
ERROR: linux-ti-staging-5.4.106+gitAUTOINC+023faefa70-r22a.arago5 do_package: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_package(d)
0003:
File: '/home/cvi-dev/tisdk/sources/oe-core/meta/classes/package.bbclass', lineno: 2315, function: do_package
2311:
2312: cpath = oe.cachedpath.CachedPath()
2313:
2314: for f in (d.getVar('PACKAGESPLITFUNCS') or '').split():
*** 2315: bb.build.exec_func(f, d)
2316:
2317: ###########################################################################
2318: # Process PKGDEST
2319: ###########################################################################
File: '/home/cvi-dev/tisdk/sources/bitbake/lib/bb/build.py', lineno: 251, function: exec_func
0247: with bb.utils.fileslocked(lockfiles):
0248: if ispython:
0249: exec_func_python(func, d, runfile, cwd=adir)
0250: else:
*** 0251: exec_func_shell(func, d, runfile, cwd=adir)
0252:
0253: try:
0254: curcwd = os.getcwd()
0255: except:
File: '/home/cvi-dev/tisdk/sources/bitbake/lib/bb/build.py', lineno: 452, function: exec_func_shell
0448: with open(fifopath, 'r+b', buffering=0) as fifo:
0449: try:
0450: bb.debug(2, "Executing shell function %s" % func)
0451: with open(os.devnull, 'r+') as stdin, logfile:
*** 0452: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0453: finally:
0454: os.unlink(fifopath)
0455:
0456: bb.debug(2, "Shell function %s finished" % func)
File: '/home/cvi-dev/tisdk/sources/bitbake/lib/bb/process.py', lineno: 182, function: run
0178: if not stderr is None:
0179: stderr = stderr.decode("utf-8")
0180:
0181: if pipe.returncode != 0:
*** 0182: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0183: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/home/cvi-dev/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5/temp/run.populate_srcipk_package.2527989' failed with exit code 1:
cp: cannot stat '/home/cvi-dev/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5/srcipk-staging/board-support/linux-5.4.106+gitAUTOINC+023faefa70-g/.': No such file or directory