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.

AM335x relationship between arago, yocto and TI SDK

I’m a little bit confused about the right way to use the combination of arago, yocto and TI SDK.

My Question in general: Which tools should I use to create MLO + DTB + Bootloader + Kernel + RFS?

 

What I have done so far and my questions therefore:

Install TI SDK and TI Graphics SDK:

  • Build u-boot, kernel + modules (sgx)
  • Question: This files are also build with bitbake during image-creation. Theoretical there is no need to install TI SDK’s, or do I miss something?

 

Create arago filesystem (arago-base-tisdk-image) following the howto from arago website:

  • Question: In TI SDK there is already a linaro toolchain (…./linux-devkit/sysroot/i686-arago-linux/usr/bin), why should i download and use the linaro toolchain from launchpad.net?
  • Question: What is the recommenced config-file to use with oe-layertool-setup.sh script for a minimal arago filesystem with qt5,qtwebkit, GLES/SGX support?
  • Question: For what should I use the arago-xxx.txt config files and for what the amsdk-xxxx.txt config-files
  • Question: In my image I added “packagegroup-arago-tisdk-graphics” to get the GPU driver into filesystem. Are the created drivers identical to the drivers that where created with Graphics SDK?

 

Create poky filesystem with yocto 1.6:

  • Question: Why should I follow the instructions on arago website to set up build environment (especially using oe-layertool-setup.sh), although I could use “clean” yocto + precompiled linaro + meta-arago files?

 

PS: I’m developing with a Beaglebone Black.

  • Hi Eugen,

    I can't answer your OE specific questions, but I'll try to answer the more general ones.

    Eugen_R_ said:
    My Question in general: Which tools should I use to create MLO + DTB + Bootloader + Kernel + RFS?

    First of all, check this post by Franklin Cooper: http://e2e.ti.com/support/arm/sitara_arm/f/791/p/342729/1248717.aspx#1248717

    He explains the differences between Arago/OE/Yocto.

    Eugen_R_ said:
    Question: This files are also build with bitbake during image-creation. Theoretical there is no need to install TI SDK’s, or do I miss something?

    Yes, if the sources are the same, then the generated files should also be the same.

    Eugen_R_ said:
    Question: In TI SDK there is already a linaro toolchain (…./linux-devkit/sysroot/i686-arago-linux/usr/bin), why should i download and use the linaro toolchain from launchpad.net?

    You don't have to. The toolchain inside the SDK is sufficient.

    Best regards,
    Miroslav

  • Hallo everybody,

    on this link: http://comments.gmane.org/gmane.linux.embedded.yocto.meta-ti/4220

    I see, that a sgx patch for the Kernel 3.14 is released.

    To setup my development environment i had used the config script "arago-dora-config.txt" from the arago project.

    So i am using the combination of QT 5.1.1 and Ti Kernel 3.12, because of the "dora" branch.

    With this setup i was able to produce an image where i can play the sgx demos and start the browser example from webkit-examples with using "platform eglfs" option. 

    I had used "dora" branch, because at that time the kernel 3.14 (used in "daisy" branch) was not sgx compatible.

    At next step i wanted to create QT Apps for my beaglebone black on my host PC using qtcreator.

    Now i have problems configuring qtcreator to use the right environment settings.

    I found this howto:

    http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard

    which says to call call  "bitbake meta-toolchain-qt5" to create  all needed files to be able to develop with qtcreator for a target device.

    Now, i see that in "dora" branch of meta-qt5 there is no "recipe" for meta-toolchain-qt5!

    The Question is:

    I am now trying to create a new image based on "daisy" branch, because this branch have the met-toolchain-qt5 recipe, have the newer QT Version 5.2.1 and have the newer Kernel 3.14, which now supports SGX.

    Is this the right way i have to go? Or is there a better solution?

  • Eugen_R_ said:
    Now, i see that in "dora" branch of meta-qt5 there is no "recipe" for meta-toolchain-qt5!

    I switched to "daisy" branch and think that i managed to create environment-script and all needed files to cross-compile qt-apps for beaglebone black with qtcreator.

    In my local.conf i have set QT_PROVIDER = "qt5", so that the recipe is creating everything for qt5.

    then i execute: 

    bitbake meta-toolchain-arago-qte

    as result i get the file "arago-2014.08-cortexa8-linux-gnuabi-qte-sdk.sh" in .../deploy/sdk directory.

    executing this file creates a new "qt5 sdk directory" which i can use for qtcreator configuration.


    Change to the created directory and call the environment-script:

    source environment-setup


    Then start qtcreator from the same terminal .

    I can set the path to qmake in qtcreator and see, "QT-Version 5.2.1 for embedded linux" is recognized.

    Now i am struggle with a import/include PATH problem, because qtcreator does not find qtquick for example...

    And i wonder why in the environment-setup script the variable QMAKESPEC is set to ..../lib/qt5/mkspecs/linux-gnueabi-oe-g++


    Should this not be something like linux-arm-gnueabi-g++ ?