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.

AM5728: Software development with yocto

Part Number: AM5728
Other Parts Discussed in Thread: BEAGLEBOARD-X15,

Hello,

I have a question regarding software development on AM5728 (BeagleBoard-X15).
Using the hello-worl.c sample code from training.ti it works. When the code is copied 1:1 to an own gitHub repository, it is not working.
Does anyone has a suggestion how this could be solved?

Thanks in advance!

 

  • Hi Jens,

    Could you please post the error log to understand and to help you further?

    Regards

    Karthik

  • Hi Karthik,

    a beagleboard-X15 with sitara am5728-evm is used together with the newest versions, like:

    Processor SDK Linux 06_02_00_81

    the steps on:

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Building_the_SDK.html

     

    were followed, the cross-platform sdks were downloaded the and all sources for the tisdk Downloads..:


    sample

    meta-custom/recipe-core/hello-world

     

     

    sourcecode TI / works (only under conditions using this address -> git://git.ti.com/sitara-linux/):

     

    DESCRIPTION = "Hello World"
    HOMEPAGE = "git.ti.com/.../hello-world"
    SECTION = "console"
    
    LICENSE = "BSD"
    LIC_FILES_CHKSUM = "file://COPYING;md5=8d30c2460fbf3f17135994e5c6ead1f3"
    
    PR = "r4"
    
    FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
    
    # Commit id/hash associated with the specific git commit that you want to use.
    SRCREV = "d8e6b51902e8dd97e716fed78b3c774f38c4d2e7"
    
    SRC_URI = "git://git.ti.com/sitara-linux/hello-world.git;protocol=git \
               file://0001-Adding-exclamation-point.patch"
    
    S = "${WORKDIR}/git"
    
    EXTRA_OEMAKE += "release"
    
    do_install() {
        # By default ${bindir} = /usr/bin
            install -d ${D}${bindir}
    
        # Install hello-world at /usr/bin on the filesystem.
        install -m 0755 ${S}/Release/hello-world ${D}${bindir}
    }
    
    FILES_${PN} += "${bindir}/hello-world"

     

    -> but after a small change one line only to the address of my github (source code github.com/XXXXX/hello-world.git) inside with the same file and complete git-staged branch

     

    to

     

    SRC_URI = "git://github.com/XXXXX/hello-world.git;protocol=git \

     

    or fetched via https

     

    SRC_URI = "github.com/.../hello-world.git;protocol=https \

     

    you get a lot of errors that you can google but you can find no reference to help not with TI and certainly not in general.

    When using simple cmake and C ++ examples from the www, it is not possible to create anything error-free with arago. there are simply no arago examples for C ++. The description of how to install python3 code for the am57xx or simply generate *.ipk is not (well) documented....

     

    I’d be happy for help!

  • Hi Jens,

    Lets check the issue of the SRC_URI replacement with your github repository.

    Can you please confirm that the github repo can be cloned on the machine where you are attempting to compile with Yocto, this is to make sure that the git cone for github is working fine and the proxy etc are set up correctly. And also, if the repository allows anonymous clones etc.

    Next, if this is working fine then it will be good to look into the log.do_fetch in the hello-world directory which will be available after the recipes fails to build, from your description it seems like a do_fetch error. 

    And if you still cannot make progress with the above suggestions, please attach the log.do_fetch to the E2E thread and we can look further into it.

    Regards

    Karthik