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.

Linux/LINUXSDK-OMAPL138: SDK Build 5.0.0.15 fails (running out of disk space)

Part Number: LINUXSDK-OMAPL138
Other Parts Discussed in Thread: OMAPL138

Tool/software: Linux

Hi everyone,

I'm using an OMAPL138 LCDK Board trying to run the IPC examples (which don't work for the moment, but this is not what this question is about). My host is a laptop running ubuntu 16.04 LTS.

When running the recommended build steps from the Software Developer's Guide (http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview.html#id13 ) the build for the Linux Processor SDK 05.00.00.15 the build fails since my ssd ( ~200 gbs of free space) runs out of space. The folder size for the "tisdk" folder for the build was 212.7Gb when I deleted it to try a snapshot build. Trying to run the build using the provided snapshot method resulted in a failed build as well, giving the follow message:

julian@julian-ThinkPad-X230:~/tisdk/build$ MACHINE=omapl138-lcdk bitbake arago-core-tisdk-image
NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Your conf/bblayers.conf has been automatically updated.
Parsing recipes: 100% |##########################################| Time: 0:04:27
Parsing of 3137 .bb files complete (0 cached, 3137 parsed). 4046 targets, 509 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/julian/tisdk/sources/meta-arago/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
  /home/julian/tisdk/sources/meta-processor-sdk/recipes-devtools/python/python3-native_3.5.2.bbappend
  /home/julian/tisdk/sources/meta-processor-sdk/recipes-graphics/wayland/weston_1.11.0.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "arm-linux-gnueabi"
MACHINE              = "omapl138-lcdk"
DISTRO               = "arago"
DISTRO_VERSION       = "2018.04"
TUNE_FEATURES        = "arm armv5 thumb dsp"
TARGET_FPU           = "soft"
meta-processor-sdk   = "HEAD:264dc66c689e0e4212c43358382986ee470619d4"
meta-ros             = "HEAD:e2566402ab108a19634354a934788109422cf409"
meta-arago-distro    
meta-arago-extras    = "HEAD:d54e9d6c1d461dbf3189e691088d328bf4c4fb19"
meta-browser         = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5             = "HEAD:682ad61c071a9710e9f9d8a32ab1b5f3c14953d1"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-multimedia      = "HEAD:352531015014d1957d6444d114f4451e241c4d23"
meta-ti              = "HEAD:8555084679dc5c668e5fb60a16425ca32b10ff21"
meta-linaro-toolchain 
meta-optee           = "HEAD:75dfb67bbb14a70cd47afda9726e2e1c76731885"
meta                 = "HEAD:931a52e8698f684ccbb26ddec18764ad9d9a3e8f"

Initialising tasks: 100% |#######################################| Time: 0:00:20
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: external-linaro-toolchain-2017.11-r0.arago36 do_fetch: Failed to fetch URL git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=ti-lsk-linux-4.14.y, attempting MIRRORS if available
ERROR: external-linaro-toolchain-2017.11-r0.arago36 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; 
export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-gMaNSnf6PI"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh";
export PATH="/home/julian/tisdk/sources/oe-core/scripts:/home/julian/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv5e-linux-gnueabi/external-linaro-toolchain/2017.11-r0.arago36/recipe-sysroot-native/usr/bin
/arm-linux-gnueabi:/home/julian/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv5e-linux-gnueabi/external-linaro-toolchain/2017.11-r0.arago36/recipe-sysroot/usr/bin/crossscripts:/home/julian/tisdk/build/arago-tmp-external-linaro-toolchain
/work/armv5e-linux-gnueabi/external-linaro-toolchain/2017.11-r0.arago36/recipe-sysroot-native/usr/sbin:/home/julian/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv5e-linux-gnueabi/external-linaro-toolchain/2017.11-r0.arago36/recipe-sysroot-native
/usr/bin:/home/julian/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv5e-linux-gnueabi/external-linaro-toolchain/2017.11-r0.arago36/recipe-sysroot-native/sbin:/home/julian/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv5e-linux-gnueabi
/external-linaro-toolchain/2017.11-r0.arago36/recipe-sysroot-native/bin:/home/julian/gcc-linaro-7.2.1-ti2018.00-armv5-x86_64_arm-linux-gnueabi/bin:/home/julian/tisdk/sources/bitbake/bin:/home/julian/tisdk/build/arago-tmp-external-linaro-toolchain/hosttools";
export HOME="/home/julian"; tar -xzf /home/julian/tisdk/downloads/git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz failed with exit code 2, output: gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now ERROR: external-linaro-toolchain-2017.11-r0.arago36 do_fetch: Fetcher failure for URL: 'git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=ti-lsk-linux-4.14.y'. Unable to fetch URL from any source. ERROR: external-linaro-toolchain-2017.11-r0.arago36 do_fetch: Function failed: base_do_fetch ERROR: Logfile of failure stored in: /home/julian/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv5e-linux-gnueabi/external-linaro-toolchain/2017.11-r0.arago36/temp/log.do_fetch.21012 ERROR: Task (/home/julian/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_fetch) failed with exit code '1' NOTE: Tasks Summary: Attempted 724 tasks of which 0 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/julian/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_fetch Summary: There were 2 WARNING messages shown. Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

I had to modify the external toolchain path in /home/tisdk/sources/meta-arago/meta-arago-distro/conf/distro/include/toolchain-linaro.inc to point to the actual directory I installed the toolchain
(since it was placed in $HOME and not /opt like the path suggested) to be actually able to start the bitbake command.

Any help would really be appreciated since I'm more or less alone on this project with everyone being on vacation and I'm not too experienced with Linux Development or Linux in general.

Thank you,

Julian

  • Hi Julian,

    How much free space do you have on your 200GB SSD? The filesystem build is quite big.

    Best Regards,
    Yordan
  • Hi Yordan,

    it's a 250GB SSD and currently 117GB are free. I still have an old SDK build for the previous SDK Release that takes up space, if the SDK is so big, that I need that space I could get rid of it. But the only things on this SSD are Ubuntu, CCS8 and the RTOS and Linux SDKs 04.03.00.05 and 05.00.00.15. I was just reluctant to delete the older versions before I got the newest release running.

    Thanks and best regards
    Julian
  • Hi Yordan,

    I finally got the build for SDK 5.0.0.15 done. After doing a completely fresh ubuntu install and without using SDK 4.3 as a backup plan (had about ~185GB of free space before building this time). Apparently ~100GB of free space really aren't enough.
    Thank you for your fast support and best regards
    Julian