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.

Building tisdk-root-filesystem for AM335x-EVM using Arago

Expert 2280 points

Hi

I'm trying to rebuild the root filesystem provided within Sitara SDK using Arago. The main reason is that I need more recent gstreamer plugins. I found some info here:

http://processors.wiki.ti.com/index.php/AMSDK_File_System_Optimization/Customization
http://arago-project.org/wiki/index.php/Building_with_Arago
http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment

but now I have some doubts... Do I have to use arago.git as described or meta-arago.git repository instead?

I would like to use the toolchain provided within the SDK, instead of installing a different one (CodeSourcery): how can I do it?

I've tried to build the 'arago-base-image' but cannot find any arago-deploy directory? Where are the outputs (rootfs, etc) of the build?

Which are the targets to rebuild exactly the base-rootfs-am335x-evm and the tisdk-rootfs-am335x-evm?

I've looked for arago-devel mailing list archives, but the link in this page https://gforge.ti.com/mailman/listinfo/arago-devel is wrong: where can I find them?

Thanks in advance. Regards,

Max

  • Max,

    You should start with the scripts at http://arago-project.org/git/projects/?p=oe-layersetup.git;a=summary.

    run ./oe-layertool-setup.sh -f configs/amsdk/amsdk-05.06.00.00-config.txt

    This will configure your build environment.  Then download the toolchain from http://software-dl.ti.com/sdoemb/sdoemb_public_sw/arago_toolchain/2011_09/index_FDS.html and add it to your PATH.


    From there you can go into the "build" directory and issue commands like

    MACHINE=am335x-evm bitbake tisdk-rootfs-image

  • Chase,

    Actually I'm using SDK 05.05: what can I do to build that version of root filesystem?

    By the way I've seen there are a lot of differences between 05.05 rootfs and 05.06: this one includes recent gstreamer plugins I need. Moreover I've noticed that in opkg *.control files, the Architeture is now "armv7a-vfp-neon" while previously was "armv7a": does it mean than new libraries are built with NEON optimizations? Can I expect improved performances?

    Cannot use the toolchain I have already in the SDK?

    Thanks for your support.

    Max

  • Max,

    05.05 means setting up original arago like you mentioned and is not as easy to do.  I would recommend moving to 05.06 since that uses OE-Core which is the future of OE.  Both versions use the same toolchain I pointed you to just packaged into the SDK.  That toolchain has neon optimizations.

  • Following you instructions, the build procedure stops with the following error. Any hint?

    ...
    NOTE: Running task 746 of 3742 (ID: 2671, /home/max/NewArago/Work/sources/oe-core/meta/recipes-qt/qt4/qt4-native_4.8.0.bb, do_fetch)

    NOTE: package qt4-native-4.8.0-r14.0: task do_fetch: Started
    NOTE: package libsndfile1-1.0.25-r0: task do_configure: Succeeded
    NOTE: Running task 747 of 3742 (ID: 2866, /home/max/NewArago/Work/sources/oe-core/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb, do_compile)
    NOTE: package libsndfile1-1.0.25-r0: task do_compile: Started
    WARNING: Failed to fetch URL http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.8.0.tar.gz
    ERROR: Fetcher failure: Fetch command export HOME="/home/max"; export SSH_AGENT_PID="2555"; export SSH_AUTH_SOCK="/tmp/keyring-xggSYb/ssh"; export GIT_CONFIG="/home/max/NewArago/Work/build/arago-tmp-external-arago-toolchain/sysroots/i686-linux/etc/gitconfig"; export PATH="/home/max/NewArago/Work/build/arago-tmp-external-arago-toolchain/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-linux:/home/max/NewArago/Work/build/arago-tmp-external-arago-toolchain/sysroots/i686-linux/usr/bin:/home/max/NewArago/Work/build/arago-tmp-external-arago-toolchain/sysroots/i686-linux/usr/sbin:/home/max/NewArago/Work/build/arago-tmp-external-arago-toolchain/sysroots/i686-linux/usr/bin:/home/max/NewArago/Work/build/arago-tmp-external-arago-toolchain/sysroots/i686-linux/sbin:/home/max/NewArago/Work/build/arago-tmp-external-arago-toolchain/sysroots/i686-linux//bin:/home/max/NewArago/Work/sources/oe-core/scripts/native-intercept:/opt/arago-2011.09/armv7a/bin:/home/max/NewArago/Work/sources/oe-core/scripts:/home/max/NewArago/Work/sources/bitbake/bin:/home/max/NewArago/Work/sources/oe-core/scripts:/home/max/NewArago/Work/sources/bitbake/bin:/opt/arago-2011.09:/opt/arago-2011.09:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/cross/bin:/opt/bin:/opt/SN-NG4.4/bin:/home/max/NewArago/Work/sources/oe-core/scripts"; /usr/bin/env wget  -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/max/NewArago/Work/downloads 'http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.8.0.tar.gz' could not be run:
    None
    ERROR: Function failed: Fetcher failure for URL: 'http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.8.0.tar.gz'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/max/NewArago/Work/build/arago-tmp-external-arago-toolchain/work/i686-linux/qt4-native-4.8.0-r14.0/temp/log.do_fetch.18043
    NOTE: package qt4-native-4.8.0-r14.0: task do_fetch: Failed
    ERROR: Task 2671 (/home/max/NewArago/Work/sources/oe-core/meta/recipes-qt/qt4/qt4-native_4.8.0.bb, do_fetch) failed with exit code '1'
    Waiting for 3 running tasks to finish:
    0: linux-am335x-3.2.0-psp05.06.00.00-r16g+gitr1+b701b5e2e6c09b8d19bc706af3af85a11018fd23 do_fetch (pid 10384)
    1: libsamplerate0-0.1.8-r0 do_fetch (pid 16228)
    2: libsndfile1-1.0.25-r0 do_compile (pid 18140)
    NOTE: package libsndfile1-1.0.25-r0: task do_compile: Succeeded
    Waiting for 2 running tasks to finish:
    0: linux-am335x-3.2.0-psp05.06.00.00-r16g+gitr1+b701b5e2e6c09b8d19bc706af3af85a11018fd23 do_fetch (pid 10384)
    1: libsamplerate0-0.1.8-r0 do_fetch (pid 16228)
    NOTE: package libsamplerate0-0.1.8-r0: task do_fetch: Succeeded
    Waiting for 1 running tasks to finish:
    0: linux-am335x-3.2.0-psp05.06.00.00-r16g+gitr1+b701b5e2e6c09b8d19bc706af3af85a11018fd23 do_fetch (pid 10384)
    NOTE: package linux-am335x-3.2.0-psp05.06.00.00-r16g+gitr1+b701b5e2e6c09b8d19bc706af3af85a11018fd23: task do_fetch: Succeeded
    NOTE: Tasks Summary: Attempted 747 tasks of which 106 didn't need to be rerun and 1 failed.

    Summary: 1 task failed:
      /home/max/NewArago/Work/sources/oe-core/meta/recipes-qt/qt4/qt4-native_4.8.0.bb, do_fetch
    Summary: There were 87 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

  • Max,

    It seems the tarball for the 4.8.0 release was removed.  You can either search for it from another location (I've seen some ftp sites with it), or download our copy of the downloads directory from http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/sdk-downloads/TISDK-Downloads/ALL/index.html.  This is a tarball of all the downloads we used during our build.

    Chase

  • Thanks, I've patched file sources/oe-core/meta/recipes-qt/qt4/qt4-native.inc in this way:

    16c16
    < SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
    ---
    > SRC_URI = "ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \

    Now is building since several hours, hope tomorrow morning will be ended... :)

    Best regards, Max

  • Chase,

    Finally I've built everything with success: it requires a lot of disk space and time... :) Thanks for your support.

    I've open a new thread about some GStreamer issues with SDK 5.6.0.0 and 5.5.0.0, here: http://e2e.ti.com/support/embedded/linux/f/354/t/240715.aspx If you have any hints I would really appreciate, thanks.

    Best regards,
    Max

  • hi,  Qmax.

    Iam too facing gstreamer issues in SDK 5.6.0.0 . I need the rsvgoverlay element in gstreamer. Unfortunately our sdk doesnt support it. Where Can i get the ipk packages for the SDK 5.6.0.0 ? If u have resolved your gstreamer issue please help me too...