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.

AM5XX compile PSDK 2.0.1

hi experts.

 As I finish building PSDK 2.0.1 by referring to  http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK      

 how do I just compile one component like omapdrmtest ??

Thanks

  • Hi,

    I will forward this to the software team.
  • Hello HeartBreak,

    The syntax is the same. Just pass the omapdrmtest as a build target.

    MACHINE=am57xx-evm bitbake omapdrmtest

    By this command, you can list the available tasks which can be executed over this package.

    MACHINE=am57xx-evm bitbake omapdrmtest -c listtasks

    Here you can find a training to get started with OE.
    processors.wiki.ti.com/.../Sitara_Linux_Training:_Getting_Started_with_Openembedded

    Best regards,
    Kemal

  • hi Kemal,
    Many thanks for your response.

    If I try to add more source files in omapdrmtest by modifying Makefile inside, it looks something wrong will happen.
    How did I add the files (*.c, *.h) inside without error ??

    Thanks.
  • You should be careful, since it is a bit tricky here. If you change something latter it can get overridden or more likely the changes may not be reflected due to the caching. You should clean the caches. If the Makefile is properly modified the building shouldn't fail at least during the compile task.
  • hi Kemal

    As I modified the omapdrmtest related files and recompile, I didn't see the regenerated binaries. Did you know why??
    The logs are as below

    [user@ build] (master)$ MACHINE=am57xx-evm bitbake omapdrmtest
    Loading cache: 100% |########################################################################################################################################################################################################| ETA: 00:00:00
    Loaded 2635 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.26.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-14.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am57xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2015.12"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa15"
    TARGET_FPU = "vfp-neon"
    meta-processor-sdk = "(detachedfrom12c6ff1):12c6ff170389762b6f7f7bf290cd26bfa316cf47"
    meta-arago-distro
    meta-arago-extras = "(detachedfromb1bf5b6):b1bf5b638567cd5be269c5968931de8deeac0c80"
    meta-qt5 = "(detachedfrom97ce05c):97ce05c0b2a81f05388d7f727741529fb9177775"
    meta-networking
    meta-ruby
    meta-python
    meta-oe = "(detachedfromdf2f700):df2f700d66bace65f5d802225232d01cf511fe81"
    meta-ti = "(detachedfrom3b27c87):3b27c871dbf67497ea9a953fe3fa0f819c6e41c9"
    meta-linaro-toolchain = "(detachedfrom08a4678):08a46787862966f2236c5a9b3eb4d4ec68263593"
    meta = "(detachedfrom9f339f5):9f339f516ab03d598fae0e536b3a420ea4d8ee1a"

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    NOTE: Tasks Summary: Attempted 1114 tasks of which 1114 didn't need to be rerun and all succeeded.
    [user@ build] (master)$ vi ./arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/omapdrmtest/1.0.0-r8/git/capturevpedisplay.c
    [user@ build] (master)$ MACHINE=am57xx-evm bitbake omapdrmtest
    Loading cache: 100% |########################################################################################################################################################################################################| ETA: 00:00:00
    Loaded 2635 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION = "1.26.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-14.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am57xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2015.12"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa15"
    TARGET_FPU = "vfp-neon"
    meta-processor-sdk = "(detachedfrom12c6ff1):12c6ff170389762b6f7f7bf290cd26bfa316cf47"
    meta-arago-distro
    meta-arago-extras = "(detachedfromb1bf5b6):b1bf5b638567cd5be269c5968931de8deeac0c80"
    meta-qt5 = "(detachedfrom97ce05c):97ce05c0b2a81f05388d7f727741529fb9177775"
    meta-networking
    meta-ruby
    meta-python
    meta-oe = "(detachedfromdf2f700):df2f700d66bace65f5d802225232d01cf511fe81"
    meta-ti = "(detachedfrom3b27c87):3b27c871dbf67497ea9a953fe3fa0f819c6e41c9"
    meta-linaro-toolchain = "(detachedfrom08a4678):08a46787862966f2236c5a9b3eb4d4ec68263593"
    meta = "(detachedfrom9f339f5):9f339f516ab03d598fae0e536b3a420ea4d8ee1a"

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    NOTE: Tasks Summary: Attempted 1114 tasks of which 1114 didn't need to be rerun and all succeeded.
    [user@ build] (master)$
  • Hi HeartBreak,

    Have you checked the output directory?
    <SDK clone dir>build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/omapdrmtest


    Best regards,
    Kemal