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.

[FAQ] PROCESSOR-SDK-K2E: Rootfs Image creation



For K2E EVM: Download the PROCESSOR-SDK-LINUX-K2E  06_03_00_106 

For K2H EVM: Download the PROCESSOR-SDK-LINUX-K2HK  06_03_00_106


  1. Install dependencies using this command 
    1. “sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386”
  2. Configure Dash
    1. sudo dpkg-reconfigure dash” and select “No” option.
  3. Install Cross compile toolchains
    1. Download ARM tool chain : “wget”. 
    2. Extract it to "$HOME" directory, “tar -Jxvf gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME”.
    3. Download "aarch64" tool chain :“wget”. 

    4. Extract it to "$HOME" directory, “tar -Jxvf gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu.tar.xz -C $HOME”. 
  4. Build steps
    1. Download from git : “git clone git:// tisdk”.
    2. Change current directory to "tisdk" : "cd tisdk".
    3. “./ -f configs/processor-sdk/processor-sdk-”.
    4. Change current directory to "build" : "cd build".
    5. Set environment variables : “. conf/setenv”
    6. Set tool chain paths,
      1. “export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf”
      2. “export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu”

    7. Finally, give bitbake commands to build, “MACHINE=k2e-evm bitbake tisdk-rootfs-image”
      1. “k2e-evm” and “k2h-evm” are the two options for selecting appropriate evaluation modules.