Tool/software: Linux
Hi all,
I'm trying to recompile the file system following the instructions at processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK.
I use the command "MACHINE=am335x-evm ARAGO_RT_ENABLE=1 bitbake tisdk-rootfs-image" to build, but the process stop with an error.
I've searched through the forum and but I couldn't find any solution.
I'd be grateful if someone could help me.
Roberto
This is the output of the console.
~/TI_SDK/sdk_oe/tisdk/build$ MACHINE=am335x-evm ARAGO_RT_ENABLE=1 bitbake tisdk-rootfs-image
Loading cache: 100% |########################################################################################################################| Time: 0:00:08
Loaded 3236 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am335x-evm"
DISTRO = "arago"
DISTRO_VERSION = "2017.05"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:3d2f620a6a98b1b6abb1103d7dc986921436ed19"
meta-arago-distro
meta-arago-extras = "HEAD:b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53"
meta-browser = "HEAD:880a7bd1d3b9a1b2003f5b0620350f03158bbd43"
meta-qt5 = "HEAD:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1"
meta-networking
meta-ruby
meta-python
meta-oe
meta-gnome = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-ti = "HEAD:41d6fdc0fe5ea6054616cfccda13baac3ff33791"
meta-linaro-toolchain
meta-optee = "HEAD:d84874bad834657dd04ea69c35a74dd9dbd535b8"
meta = "HEAD:ddf907ca95a19f54785079b4396935273b3747f6"
Initialising tasks: 100% |###################################################################################################################| Time: 0:01:09
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-ti-staging-rt-4.9.28+gitAUTOINC+786e64041b-r22c.arago1.tisdk3 do_create_srcipk: Function failed: do_create_srcipk (log file is located at /home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/linux-ti-staging-rt/4.9.28+gitAUTOINC+786e64041b-r22c.arago1.tisdk3/temp/log.do_create_srcipk.3309)
ERROR: Logfile of failure stored in: /home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/linux-ti-staging-rt/4.9.28+gitAUTOINC+786e64041b-r22c.arago1.tisdk3/temp/log.do_create_srcipk.3309
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing shell function do_create_srcipk
| /home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/linux-ti-staging-rt/4.9.28+gitAUTOINC+786e64041b-r22c.arago1.tisdk3/temp/run.do_create_srcipk.3309: 212: [: true: unexpected operator
| fatal: Out of memory, realloc failed
| WARNING: exit code 128 from a shell command.
| ERROR: Function failed: do_create_srcipk (log file is located at /home/signal/TI_SDK/sdk_oe/tisdk/build/arago-tmp-external-linaro-toolchain/work/am335x_evm-linux-gnueabi/linux-ti-staging-rt/4.9.28+gitAUTOINC+786e64041b-r22c.arago1.tisdk3/temp/log.do_create_srcipk.3309)
ERROR: Task (/home/signal/TI_SDK/sdk_oe/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging-rt_4.9.bb:do_create_srcipk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1525 tasks of which 1523 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/signal/TI_SDK/sdk_oe/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging-rt_4.9.bb:do_create_srcipk
Summary: There was 1 ERROR message shown, returning a non-zero exit code.