Part Number: TMDS64GPEVM
Hi everyone ,
i am trying to build yocto based image for am64x evm board using the steps given on the following link :
but i am getting the following error :
rog@rog-VirtualBox:~/am64_official_SDK/tisdk/build$ MACHINE=am64xx-evm bitbake tisdk-base-image
Loading cache: 100% |######################################################################################################################| Time: 0:00:01
Loaded 8232 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-linux"
MACHINE = "am64xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2020.09"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-processor-sdk = "HEAD:ea2e8505fdf9948c0e2881af9dacb07e801c9037"
meta-arago-distro
meta-arago-extras = "HEAD:ae47bd7fbea2776a4f8792f20c493d7959ee2f54"
meta-qt5 = "HEAD:b4d24d70aca75791902df5cd59a4f4a54aa4a125"
meta-virtualization = "HEAD:4d6216a04c2ebe04bf02392c02d9589d35ebf3b4"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:7bd47ef6c98323c95a9e527129dca98c9a65ee08"
meta-ti = "HEAD:15f3d4a3c3773294f1cdb66a88744930941a892e"
meta-arm
meta-arm-toolchain = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
meta = "HEAD:9b83aefa9c4a21d9dc1eea4a6b00af379466a288"
NOTE: Started PRServer with DBfile: /home/rog/am64_official_SDK/tisdk/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 33587, PID: 23388
Loading cache: 100% |######################################################################################################################| Time: 0:00:01
Loaded 8232 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue depe
Build Configuration:
BB_VERSION = "1.46.0"
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am64xx-evm-k3r5"
DISTRO = "arago"
DISTRO_VERSION = "2020.09"
TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:ea2e8505fdf9948c0e2881af9dacb07e801c9037"
meta-arago-distro
meta-arago-extras = "HEAD:ae47bd7fbea2776a4f8792f20c493d7959ee2f54"
meta-qt5 = "HEAD:b4d24d70aca75791902df5cd59a4f4a54aa4a125"
meta-virtualization = "HEAD:4d6216a04c2ebe04bf02392c02d9589d35ebf3b4"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:7bd47ef6c98323c95a9e527129dca98c9a65ee08"
meta-ti = "HEAD:15f3d4a3c3773294f1cdb66a88744930941a892e"
meta-arm
meta-arm-toolchain = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
meta = "HEAD:9b83aefa9c4a21d9dc1eea4a6b00af379466a288"
Initialising tasks: 100% |#################################################################################################################| Time: 0:00:05
Sstate summary: Wanted 392 Found 344 Missed 48 Current 1009 (87% match, 96% complete)
NOTE: Deferring mc:k3r5:virtual:native:/home/rog/am64_official_SDK/tisdk/sources/oe-core/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot after virtual:native:/home/rog/am64_official_SDK/tisdk/sources/oe-core/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot
NOTE: Executing Tasks
ERROR: tisdk-base-image-1.0-r0 do_rootfs: 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_rootfs(d)
0003:
File: '/home/rog/am64_official_SDK/tisdk/sources/oe-core/meta/classes/image.bbclass', lineno: 247, function: do_rootfs
0243: progress_reporter.next_stage()
0244:
0245: # generate rootfs
0246: d.setVarFlag('REPRODUCIBLE_TIMESTAMP_ROOTFS', 'export', '1')
*** 0247: create_rootfs(d, progress_reporter=progress_reporter, logcatcher=logcatcher)
0248:
0249: progress_reporter.finish()
0250:}
0251:do_rootfs[dirs] = "${TOPDIR}"
File: '/home/rog/am64_official_SDK/tisdk/sources/oe-core/meta/lib/oe/rootfs.py', lineno: 977, function: create_rootfs
0973: img_type = d.getVar('IMAGE_PKGTYPE')
0974: if img_type == "rpm":
0975: RpmRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
0976: elif img_type == "ipk":
*** 0977: OpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
0978: elif img_type == "deb":
0979: DpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
0980:
0981: os.environ.clear()
File: '/home/rog/am64_official_SDK/tisdk/sources/oe-core/meta/lib/oe/rootfs.py', lineno: 214, function: create
0210: execute_pre_post_process(self.d, rootfs_post_install_cmds)
0211:
0212: self.pm.run_intercepts()
0213:
*** 0214: execute_pre_post_process(self.d, post_process_cmds)
0215:
0216: if self.progress_reporter:
0217: self.progress_reporter.next_stage()
0218:
File: '/home/rog/am64_official_SDK/tisdk/sources/oe-core/meta/lib/oe/utils.py', lineno: 264, function: execute_pre_post_process
0260: for cmd in cmds.strip().split(';'):
0261: cmd = cmd.strip()
0262: if cmd != '':
0263: bb.note("Executing %s ..." % cmd)
*** 0264: bb.build.exec_func(cmd, d)
0265:
0266:# For each item in items, call the function 'target' with item as the first
0267:# argument, extraargs as the other arguments and handle any exceptions in the
0268:# parent thread
File: '/home/rog/am64_official_SDK/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/rog/am64_official_SDK/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/rog/am64_official_SDK/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/rog/am64_official_SDK/tisdk/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-base-image/1.0-r0/temp/run.make_bootfiles_symlinks_relative.5074' failed with exit code 2:
/home/rog/am64_official_SDK/tisdk/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-base-image/1.0-r0/temp/run.make_bootfiles_symlinks_relative.5074: 113: /home/rog/am64_official_SDK/tisdk/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-base-image/1.0-r0/temp/run.make_bootfiles_symlinks_relative.5074: Bad substitution
WARNING: exit code 2 from a shell command.
ERROR: Logfile of failure stored in: /home/rog/am64_official_SDK/tisdk/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-base-image/1.0-r0/temp/log.do_rootfs.5074
ERROR: Task (/home/rog/am64_official_SDK/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-base-image.bb:do_rootfs) failed with exit code '1'
WARNING: mc:k3r5:external-arm-toolchain-2019.12-r0 do_package: QA Issue: external-arm-toolchain: Files/directories were installed but not shipped in any package:
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/arm_fp16.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stddef.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/arm_acle.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdarg.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/ISO_Fortran_binding.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/varargs.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/unwind.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/arm_neon.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdint.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/arm_cmse.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdnoreturn.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdbool.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/iso646.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdatomic.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdalign.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdfix.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/float.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/stdint-gcc.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/gcov.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/mmintrin.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/openacc.h
/usr/lib/gcc/arm-linux-gnueabi/9.2.1/include/unwind-arm-common.h
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
external-arm-toolchain: 22 installed and not shipped files. [installed-vs-shipped]
NOTE: Tasks Summary: Attempted 5009 tasks of which 4689 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
Summary: 1 task failed:
/home/rog/am64_official_SDK/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-base-image.bb:do_rootfs
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Am i missing something ?
i also want to know if it is possible to build the image without using "Arago" distribution ?
i want to make distro based on poky by using meta-ti layer . is it possible to do so ?