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.

errors in creating an SD CARD IMAGE USING RIDGERUN SDK for DM8168

Hello

According to the link provided https://developer.ridgerun.com/wiki/index.php/Getting_Started_Guide_for_DM8168_EVM#Configuring_the_bsp.2Fmach_symbolic_link_for_Eval-SDK

we are now getting errors in the make of RIDGERUN SDK itself.

The error is as follows

 Ridgerun Linux SDK
  Board configuration: DM8168 EVM
  Multi-core machine, using 6 out of 4 cores for building
 
  Processing toolchain...
    Build complete
  Processing kernel...
  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
    Build complete
  Processing fs...
    Building Apps.defs
    Checking for host packages required by the SDK target applications...
    Host machine has all required packages.
    Building SDK specific application build parameters
    Entering host-apps...
    Entering apps...
      Checking dependencies for alsa-lib-1.0.24
      Compiling and installing alsa-lib-1.0.24...
      Checking dependencies for alsa-utils-1.0.24.2
        Checking dependencies for ncurses-5.7
        Compiling and installing ncurses-5.7...
      Compiling and installing alsa-utils-1.0.24.2...
      Checking dependencies for busybox
      Compiling and installing busybox...
applets/usage.c: In function ‘main’:
applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
applets/applet_tables.c: In function ‘main’:
applets/applet_tables.c:144:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
applets/usage_pod.c: In function ‘main’:
applets/usage_pod.c:74:3: warning: format not a string literal and no format arguments [-Wformat-security]
      Checking dependencies for dhcp-4.1.2
      Compiling and installing dhcp-4.1.2...
      Checking dependencies for DirectFB-1.4.9
        Checking dependencies for jpeg-8c
        Compiling and installing jpeg-8c...
        Checking dependencies for zlib-1.2.5
        Compiling and installing zlib-1.2.5...
        Checking dependencies for libpng-1.5.0
        Compiling and installing libpng-1.5.0...
        Checking dependencies for freetype-2.4.4
        Compiling and installing freetype-2.4.4...
      Compiling and installing DirectFB-1.4.9...
      Checking dependencies for faad-2.7
      Compiling and installing faad-2.7...
      Checking dependencies for gettext-0.18.1.1
      Compiling and installing gettext-0.18.1.1...
      Checking dependencies for glib-2.35.7
        Checking dependencies for libffi-3.0.10
        Compiling and installing libffi-3.0.10...
      Compiling and installing glib-2.35.7...
      Checking dependencies for gst-ffmpeg-0.10.13
        Checking dependencies for gstreamer-0.10.36
          Checking dependencies for libxml2-2.7.8
          Compiling and installing libxml2-2.7.8...
        Compiling and installing gstreamer-0.10.36...
        Checking dependencies for gst-plugins-base-0.10.36
          Checking dependencies for libogg-1.2.2
          Compiling and installing libogg-1.2.2...
          Checking dependencies for libvorbis-1.3.2
          Compiling and installing libvorbis-1.3.2...
          Checking dependencies for liboil-0.3.17
          Compiling and installing liboil-0.3.17...
        Compiling and installing gst-plugins-base-0.10.36...
        Installing generated gstreamer plugins...
      Compiling and installing gst-ffmpeg-0.10.13...
        Installing generated gstreamer plugins...
      Checking dependencies for gst-plugins-bad-0.10.23
      Compiling and installing gst-plugins-bad-0.10.23...
        Installing generated gstreamer plugins...
      Checking dependencies for gst-plugins-good-0.10.31
      Compiling and installing gst-plugins-good-0.10.31...
        Installing generated gstreamer plugins...
      Checking dependencies for gst-plugins-ugly-0.10.19
        Checking dependencies for libid3tag-0.15.1b
        Compiling and installing libid3tag-0.15.1b...
        Checking dependencies for libmad-0.15.1b
        Compiling and installing libmad-0.15.1b...
      Compiling and installing gst-plugins-ugly-0.10.19...
        Installing generated gstreamer plugins...
      Checking dependencies for gst-rtsp-server-0.10.8
      Compiling and installing gst-rtsp-server-0.10.8...
      Checking dependencies for i2c-tools-3.0.3
      Compiling and installing i2c-tools-3.0.3...
      Checking dependencies for lzo-2.04
      Compiling and installing lzo-2.04...
      Checking dependencies for mtdutils-1.4.2
        Checking dependencies for util-linux-2.22
        Compiling and installing util-linux-2.22...
      Compiling and installing mtdutils-1.4.2...
      Checking dependencies for psplash-0.1
      Compiling and installing psplash-0.1...
      Checking dependencies for python-2.7.2
      Compiling and installing python-2.7.2...
      Checking dependencies for sysvinit-2011.5.11
      Compiling and installing sysvinit-2011.5.11...
      Checking dependencies for tslib-1.0
      Compiling and installing tslib-1.0...
    Entering /opt/RidgeRun-SDK-DM816x-Turrialba/toolchain...
      Build complete
    Entering arch...
      Checking dependencies for base
      Compiling and installing base...
    Entering mach...
      Checking dependencies for base
      Compiling and installing base...
    Entering proprietary_src...
      Checking dependencies for ezsdk-5_05_02_00
      Compiling and installing ezsdk-5_05_02_00...
        Found EZSDK at /usr/local/ezsdk
        Creating EZSDK tarball at /opt/RidgeRun-SDK-DM816x-Turrialba/downloads/ti-ezsdk_dm816x-evm_5_05_02_00-trimmed.tar.gz
tar: ../ti-ezsdk_dm816x-evm_5_05_02_00: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
        Error: while creating /opt/RidgeRun-SDK-DM816x-Turrialba/downloads/ti-ezsdk_dm816x-evm_5_05_02_00-trimmed.tar.gz
make[3]: *** [ezsdk_fetch] Error 255
Error building ezsdk-5_05_02_00
make[2]: *** [dependency_build] Error 1
make[1]: *** [proprietary_src_build] Error 1
make: *** [fs_build] Error 2
root@priyanka-Inspiron-N5110:

we have ezsdk installed on the /usr/local path.Why is it that we are getting this error?

  • Hi ,

        The Ridgerun SDK will look for the EZSDK install directory and create a tarball with the components needed, then if you have a packages directory like /opt/ridgerun/downloads it will save the tarball in that directory and continue using it in future builds if is needed, so it would be faster to build without downloading or creating tarballs again in future. If you don't have /opt/ridgerun/downloads, it will save it in $DEVDIR/downloads.

    Now, in your case since you are using the eval SDK it doesn't support creating that tarball if you installed the EZSDK in /usr/local, try removing that one and installing it again in your /home/$USER directory. It will work.

    Regards,

    -David

  • Hello David

    Thanks it worked.The EZSDK got built but now we are getting the following warning:

    ...........

     Entering proprietary_src...
          Checking dependencies for ezsdk-5_05_02_00
          Compiling and installing ezsdk-5_05_02_00...
          Checking dependencies for gst-openmax-dm81xx
            Checking dependencies for libOMX-dm81xx
            Compiling and installing libOMX-dm81xx...
          Compiling and installing gst-openmax-dm81xx...
            Installing generated gstreamer plugins...
          Checking dependencies for gst-rr-rtsp-sink
    ls: cannot access gstreamer*: No such file or directory
    ls: cannot access gst-rtsp-server*: No such file or directory
          Compiling and installing gst-rr-rtsp-sink...
        Entering myapps...
        Installing proprietary code
        Installing Overlay
        Stripping symbols from binary files
        Building file system target image(s)
        Generating file system sd...
        Build complete
      Processing bootloader...
    Setting up TI8168 SD boot minimal build...
    Configuring for ti8168_evm board...
    Setting up TI8168 NAND build with ENV in NAND...
    Configuring for ti8168_evm board...
          Building u-boot-2010.06...
    Setting up TI8168 SD boot minimal build...
    Configuring for ti8168_evm board...
          Building bootloader compressed uImage
        Build complete
      Processing installer...
      Generating copyrights...
    *** WARNING: /opt/RidgeRun-SDK-DM816x-Turrialba/proprietary/gst-rr-rtsp-sink/copyrights.xml is missing ***

    From where do we get the copyright.xml file because in the other folders it got downloaded automatically

    Thank You

    Regards

  • Hi priyanka tevare,

       Two features added to RidgeRun SDK are Open Source package license support and the Open Source source code tarball generation. The first one consists of the additional xml file in each Open Source package downloaded and a tool that parses all these files and generates an html license file. The second feature creates a tarball with all the enabled Open Source package source code. 

    https://developer.ridgerun.com/wiki/index.php/Open_Source_license_compliance

       The warning that you are seeing is becasue the eval rtspsink plugin doesn't contain the copyrights file that describes the its source code, please paste the attached copyrights file in $DEVDIR/proprietary/gst-rr-rtsp-sink/ so you won't see the warning again,

    <?xml version="1.0" encoding="UTF-8"?>
    
    <component>
    	<name>GST-RR-Rtspsink</name>
    	<version></version>
    	<releaseDate></releaseDate>
    	<manufacturer>http://www.ridgerun.com</manufacturer>
    	<summary>Provides a simple mechanism for creating a GStreamer pipeline where the data is sent over the network using RTSP / RTP protocols.  Detailed documentation at https://developer.ridgerun.com/wiki/index.php/RTSP_Sink</summary>
    	<link>http://www.ridgerun.com/</link>
    	<issues>
    		<link><![CDATA[http://www.ridgerun.com/]]></link>
    	</issues>
    	<license type="LGPL-2.0">
    		<link>https://spdx.org/licenses/LGPL-2.0</link>
    		<text>
    			GNU LIBRARY GENERAL PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    
    0. This License Agreement applies to any software library whichcontains a notice placed by the copyright holder or other authorizedparty saying it may be distributed under the terms of this LibraryGeneral Public License (also called "this License").  Each licensee isaddressed as "you".
    
    A "library" means a collection of software functions and/or dataprepared so as to be conveniently linked with application programs(which use some of those functions and data) to form executables.
    
    The "Library", below, refers to any such software library or workwhich has been distributed under these terms.  A "work based on theLibrary" means either the Library or any derivative work undercopyright law: that is to say, a work containing the Library or aportion of it, either verbatim or with modifications and/or translatedstraightforwardly into another language.  (Hereinafter, translation isincluded without limitation in the term "modification".)
    
    "Source code" for a work means the preferred form of the work formaking modifications to it.  For a library, complete source code meansall the source code for all modules it contains, plus any associatedinterface definition files, plus the scripts used to control compilationand installation of the library.
    
    Activities other than copying, distribution and modification are notcovered by this License; they are outside its scope.  The act ofrunning a program using the Library is not restricted, and output fromsuch a program is covered only if its contents constitute a work basedon the Library (independent of the use of the Library in a tool forwriting it).  Whether that is true depends on what the Library doesand what the program that uses the Library does.
    
    1. You may copy and distribute verbatim copies of the Library'scomplete source code as you receive it, in any medium, provided thatyou conspicuously and appropriately publish on each copy anappropriate copyright notice and disclaimer of warranty; keep intactall the notices that refer to this License and to the absence of anywarranty; and distribute a copy of this License along with theLibrary.
    
    You may charge a fee for the physical act of transferring a copy,and you may at your option offer warranty protection in exchange for afee.
    
    2. You may modify your copy or copies of the Library or any portionof it, thus forming a work based on the Library, and copy anddistribute such modifications or work under the terms of Section 1above, provided that you also meet all of these conditions:
    
    a) The modified work must itself be a software library.
    
    b) You must cause the files modified to carry prominent noticesstating that you changed the files and the date of any change.
    
    c) You must cause the whole of the work to be licensed at nocharge to all third parties under the terms of this License.
    
    d) If a facility in the modified Library refers to a function or atable of data to be supplied by an application program that usesthe facility, other than as an argument passed when the facilityis invoked, then you must make a good faith effort to ensure that,in the event an application does not supply such function ortable, the facility still operates, and performs whatever part ofits purpose remains meaningful.
    
    (For example, a function in a library to compute square roots hasa purpose that is entirely well-defined independent of theapplication.  Therefore, Subsection 2d requires that anyapplication-supplied function or table used by this function mustbe optional: if the application does not supply it, the squareroot function must still compute square roots.)
    
    These requirements apply to the modified work as a whole.  Ifidentifiable sections of that work are not derived from the Library,and can be reasonably considered independent and separate works inthemselves, then this License, and its terms, do not apply to thosesections when you distribute them as separate works.  But when youdistribute the same sections as part of a whole which is a work basedon the Library, the distribution of the whole must be on the terms ofthis License, whose permissions for other licensees extend to theentire whole, and thus to each and every part regardless of who wroteit.
    
    Thus, it is not the intent of this section to claim rights or contestyour rights to work written entirely by you; rather, the intent is toexercise the right to control the distribution of derivative orcollective works based on the Library.
    
    In addition, mere aggregation of another work not based on the Librarywith the Library (or with a work based on the Library) on a volume ofa storage or distribution medium does not bring the other work underthe scope of this License.
    
    3. You may opt to apply the terms of the ordinary GNU General PublicLicense instead of this License to a given copy of the Library.  To dothis, you must alter all the notices that refer to this License, sothat they refer to the ordinary GNU General Public License, version 2,instead of to this License.  (If a newer version than version 2 of theordinary GNU General Public License has appeared, then you can specifythat version instead if you wish.)  Do not make any other change inthese notices.
    
    Once this change is made in a given copy, it is irreversible forthat copy, so the ordinary GNU General Public License applies to allsubsequent copies and derivative works made from that copy.
    
    This option is useful when you wish to copy part of the code ofthe Library into a program that is not a library.
    
    4. You may copy and distribute the Library (or a portion orderivative of it, under Section 2) in object code or executable formunder the terms of Sections 1 and 2 above provided that you accompanyit with the complete corresponding machine-readable source code, whichmust be distributed under the terms of Sections 1 and 2 above on amedium customarily used for software interchange.
    
    If distribution of object code is made by offering access to copyfrom a designated place, then offering equivalent access to copy thesource code from the same place satisfies the requirement todistribute the source code, even though third parties are notcompelled to copy the source along with the object code.
    
    5. A program that contains no derivative of any portion of theLibrary, but is designed to work with the Library by being compiled orlinked with it, is called a "work that uses the Library".  Such awork, in isolation, is not a derivative work of the Library, andtherefore falls outside the scope of this License.
    
    However, linking a "work that uses the Library" with the Librarycreates an executable that is a derivative of the Library (because itcontains portions of the Library), rather than a "work that uses thelibrary".  The executable is therefore covered by this License.Section 6 states terms for distribution of such executables.
    
    When a "work that uses the Library" uses material from a header filethat is part of the Library, the object code for the work may be aderivative work of the Library even though the source code is not.Whether this is true is especially significant if the work can belinked without the Library, or if the work is itself a library.  Thethreshold for this to be true is not precisely defined by law.
    
    If such an object file uses only numerical parameters, datastructure layouts and accessors, and small macros and small inlinefunctions (ten lines or less in length), then the use of the objectfile is unrestricted, regardless of whether it is legally a derivativework.  (Executables containing this object code plus portions of theLibrary will still fall under Section 6.)
    
    Otherwise, if the work is a derivative of the Library, you maydistribute the object code for the work under the terms of Section 6.Any executables containing that work also fall under Section 6,whether or not they are linked directly with the Library itself.
    
    6. As an exception to the Sections above, you may also compile orlink a "work that uses the Library" with the Library to produce awork containing portions of the Library, and distribute that workunder terms of your choice, provided that the terms permitmodification of the work for the customer's own use and reverseengineering for debugging such modifications.
    
    You must give prominent notice with each copy of the work that theLibrary is used in it and that the Library and its use are covered bythis License.  You must supply a copy of this License.  If the workduring execution displays copyright notices, you must include thecopyright notice for the Library among them, as well as a referencedirecting the user to the copy of this License.  Also, you must do oneof these things:
    
    a) Accompany the work with the complete correspondingmachine-readable source code for the Library including whateverchanges were used in the work (which must be distributed underSections 1 and 2 above); and, if the work is an executable linkedwith the Library, with the complete machine-readable "work thatuses the Library", as object code and/or source code, so that theuser can modify the Library and then relink to produce a modifiedexecutable containing the modified Library.  (It is understoodthat the user who changes the contents of definitions files in theLibrary will not necessarily be able to recompile the applicationto use the modified definitions.)
    
    b) Accompany the work with a written offer, valid for atleast three years, to give the same user the materialsspecified in Subsection 6a, above, for a charge no morethan the cost of performing this distribution.
    
    c) If distribution of the work is made by offering access to copyfrom a designated place, offer equivalent access to copy the abovespecified materials from the same place.
    
    d) Verify that the user has already received a copy of thesematerials or that you have already sent this user a copy.
    
    For an executable, the required form of the "work that uses theLibrary" must include any data and utility programs needed forreproducing the executable from it.  However, as a special exception,the source code distributed need not include anything that is normallydistributed (in either source or binary form) with the majorcomponents (compiler, kernel, and so on) of the operating system onwhich the executable runs, unless that component itself accompaniesthe executable.
    
    It may happen that this requirement contradicts the licenserestrictions of other proprietary libraries that do not normallyaccompany the operating system.  Such a contradiction means you cannotuse both them and the Library together in an executable that youdistribute.
    
    7. You may place library facilities that are a work based on theLibrary side-by-side in a single library together with other libraryfacilities not covered by this License, and distribute such a combinedlibrary, provided that the separate distribution of the work based onthe Library and of the other library facilities is otherwisepermitted, and provided that you do these two things:
    
    a) Accompany the combined library with a copy of the same workbased on the Library, uncombined with any other libraryfacilities.  This must be distributed under the terms of theSections above.
    
    b) Give prominent notice with the combined library of the factthat part of it is a work based on the Library, and explainingwhere to find the accompanying uncombined form of the same work.
    
    8. You may not copy, modify, sublicense, link with, or distributethe Library except as expressly provided under this License.  Anyattempt otherwise to copy, modify, sublicense, link with, ordistribute the Library is void, and will automatically terminate yourrights under this License.  However, parties who have received copies,or rights, from you under this License will not have their licensesterminated so long as such parties remain in full compliance.
    
    9. You are not required to accept this License, since you have notsigned it.  However, nothing else grants you permission to modify ordistribute the Library or its derivative works.  These actions areprohibited by law if you do not accept this License.  Therefore, bymodifying or distributing the Library (or any work based on theLibrary), you indicate your acceptance of this License to do so, andall its terms and conditions for copying, distributing or modifyingthe Library or works based on it.
    
    10. Each time you redistribute the Library (or any work based on theLibrary), the recipient automatically receives a license from theoriginal licensor to copy, distribute, link with or modify the Librarysubject to these terms and conditions.  You may not impose any furtherrestrictions on the recipients' exercise of the rights granted herein.You are not responsible for enforcing compliance by third parties tothis License.
    
    11. If, as a consequence of a court judgment or allegation of patentinfringement or for any other reason (not limited to patent issues),conditions are imposed on you (whether by court order, agreement orotherwise) that contradict the conditions of this License, they do notexcuse you from the conditions of this License.  If you cannotdistribute so as to satisfy simultaneously your obligations under thisLicense and any other pertinent obligations, then as a consequence youmay not distribute the Library at all.  For example, if a patentlicense would not permit royalty-free redistribution of the Library byall those who receive copies directly or indirectly through you, thenthe only way you could satisfy both it and this License would be torefrain entirely from distribution of the Library.
    
    If any portion of this section is held invalid or unenforceable under anyparticular circumstance, the balance of the section is intended to apply,and the section as a whole is intended to apply in other circumstances.
    
    It is not the purpose of this section to induce you to infringe anypatents or other property right claims or to contest validity of anysuch claims; this section has the sole purpose of protecting theintegrity of the free software distribution system which isimplemented by public license practices.  Many people have madegenerous contributions to the wide range of software distributedthrough that system in reliance on consistent application of thatsystem; it is up to the author/donor to decide if he or she is willingto distribute software through any other system and a licensee cannotimpose that choice.
    
    This section is intended to make thoroughly clear what is believed tobe a consequence of the rest of this License.
    
    12. If the distribution and/or use of the Library is restricted incertain countries either by patents or by copyrighted interfaces, theoriginal copyright holder who places the Library under this License may addan explicit geographical distribution limitation excluding those countries,so that distribution is permitted only in or among countries not thusexcluded.  In such case, this License incorporates the limitation as ifwritten in the body of this License.
    
    13. The Free Software Foundation may publish revised and/or newversions of the Library General Public License from time to time.Such new versions will be similar in spirit to the present version,but may differ in detail to address new problems or concerns.
    
    Each version is given a distinguishing version number.  If the Libraryspecifies a version number of this License which applies to it and"any later version", you have the option of following the terms andconditions either of that version or of any later version published bythe Free Software Foundation.  If the Library does not specify alicense version number, you may choose any version ever published bythe Free Software Foundation.
    
    14. If you wish to incorporate parts of the Library into other freeprograms whose distribution conditions are incompatible with these,write to the author to ask for permission.  For software which iscopyrighted by the Free Software Foundation, write to the FreeSoftware Foundation; we sometimes make exceptions for this.  Ourdecision will be guided by the two goals of preserving the free statusof all derivatives of our free software and of promoting the sharingand reuse of software generally.
    
    NO WARRANTY
    
    15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NOWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OROTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANYKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THELIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUMETHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
    
    16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO INWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFYAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOUFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL ORCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THELIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEINGRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR AFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IFSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCHDAMAGES.<![CDATA[]]>
    		</text>
    	</license>
    </component>
    
    

    -David