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] 66AK2E05: How to build Linux for K2E ? from the package "PROCESSOR-SDK-LINUX-K2E"

Part Number: 66AK2E05

HI,

How to build Linux for K2E - ARM ? from the package "PROCESSOR-SDK-LINUX-K2E" ?

  • Pre-requisite 

    1. Linux-PC with Ubuntu 18.04 LTS
    2. Download " PROCESSOR-SDK-LINUX-K2ELinux Processor SDK for K2E " from https://www.ti.com/tool/PROCESSOR-SDK-K2E

    Steps:

    1. Go to the directory of linux from the processor sdk 6.3 package
    ================================================================
    cd /home/shankari/ti-processor-sdk-linux-k2e-evm-06.03.00.106/board-support/linux-4.19.94+gitAUTOINC+be5389fd85-gbe5389fd85


    2. Execute dist-clean command

    ==========================

    make clean distclean ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-


    3. find defconfig for k2e board:
    =============================

    ------
    Note: The def-config file should match your evm.
    That's why we used "ls arch/arm/configs/ | grep k2e" to check whether the "tisdk_k2e-evm_defconfig" matches with the one we are using in the next command
    ------

    ls arch/arm/configs/ | grep k2e

    make tisdk_k2e-evm_defconfig ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-



    4. Building Linux & dtbs
    =====================

    ------------
    Note: The below command will build the linux image ( zImage ) and the "dtb".  
    ------------

    make -j8 zImage dtbs ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-



    ----------------------

    5. Check the timestamp to verify the build was done successfully.
    ----------------------

    ls -al ./arch/arm/boot/dts/keystone-k2e-evm.dtb
    ls -al ./arch/arm/boot/zImage

    Regards

    Shankari G