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.

Vayu EVM Not Booting

I have a VAYU EVM XC5777X CPU board Rev G , I followed Software development guide installed ti-glsdk_dra7xx-evm_6_10_00_02 and created a bootable SD card . The board started booting but failed. Can any one guide me as I am using TI board for the first time. I have added the dmesg here.

[   14.433812] Kernel panic - not syncing: Fatal exception in interrupt
[   14.440523] CPU1: stopping
[   14.443378] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D W  O 3.12.25 #1
[   14.450721] Backtrace:
[   14.453312] [<c00181d4>] (dump_backtrace+0x0/0x10c) from [<c0018370>] (show_stack+0x18/0x1c)
[   14.462213]  r6:c08e3f98 r5:ffffffff r4:00000000 r3:00000000
[   14.468217] [<c0018358>] (show_stack+0x0/0x1c) from [<c0655290>] (dump_stack+0x74/0xb4)
[   14.476671] [<c065521c>] (dump_stack+0x0/0xb4) from [<c001aa38>] (handle_IPI+0x100/0x124)
[   14.485289]  r5:00000001 r4:00000005
[   14.489073] [<c001a938>] (handle_IPI+0x0/0x124) from [<c0008894>] (gic_handle_irq+0x5c/0x64)
[   14.497976]  r8:c096d01a r7:fa212000 r6:ea941f70 r5:c08ee918 r4:fa21200c
r3:c003249c
[   14.506285] [<c0008838>] (gic_handle_irq+0x0/0x64) from [<c065c0c0>] (__irq_svc+0x40/0x70)
[   14.514996] Exception stack(0xea941f70 to 0xea941fb8)
[   14.520328] 1f60:                                     ffffffed e1a0c08c fe404000 fe404000
[   14.528959] 1f80: ea940000 c08ee4f4 c0665b08 c096d01a c096d01a 412fc0f2 00000001 ea941fc4
[   14.537588] 1fa0: ea941fa4 ea941fb8 c003249c c00158e4 a00f0013 ffffffff
[   14.544565]  r7:ea941fa4 r6:ffffffff r5:a00f0013 r4:c00158e4
[   14.550566] [<c00158b4>] (arch_cpu_idle+0x0/0x40) from [<c007e25c>] (cpu_startup_entry+0x64/0x150)
[   14.560027] [<c007e1f8>] (cpu_startup_entry+0x0/0x150) from [<c001a758>] (secondary_start_kernel+0x110/)
[   14.570487]  r7:c096d654 r3:00000000
[   14.574271] [<c001a648>] (secondary_start_kernel+0x0/0x12c) from [<80008924>] (0x80008924)
[   14.582985]  r5:00000015 r4:aa90806a
[   14.586767] drm_kms_helper: panic occurred, switching back to text console

  • Hi Sarah,

    Vayu EVM rev G will not boot without making some modifications. Check the release notes: http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_6.10.00.02_Release_Notes#Known_Issues_and_Limitations

    In order to boot your board, try patching your kernel & u-boot, with the patches provided here: http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_6.10.00.02_Post-release_Updates

    Hope this helps.

    Best Regards,
    Yordan

  • Hi Yordan,

                    Thanks for the replay, I have already tried with the patch that is given but still dosen't work . but I tried with the glsdk6.4.0.2 it worked and the board booted successfully. I donot know what is the problem can you just tell me is it enough to do make install for linux and uboot and run the script to flash the sd.

    I need to know whether Hardware Timestamping is done in phy. I saw the kernel config and found to have hardware Timestamping ,Just to know which driver dose this Timestamping. already I was using imx6 board and I got the Timestamp from FEC driver.

    Does this board support media clock syncronisation.? Does this board support some thing called the Hardware Queuing so that I can do some thing related to AVB streaming?

  • Hi Sarah,

    As stated in GLSDK6_10 release notes rev G boards are not supported, I've had feedback that using the listed patches some customers had success booting their rev G boards. But a lot have no success... unfortunately my board is rev D, so I don't have these problems and cannot reproduce the issue on my side.

    Regarding your last questions:

    Sarah Blessie Rajendran said:
    need to know whether Hardware Timestamping is done in phy. I saw the kernel config and found to have hardware Timestamping ,Just to know which driver dose this Timestamping. already I was using imx6 board and I got the Timestamp from FEC driver.

    This is done in the Ethernet switch IP in Vayu devices.

    Sarah Blessie Rajendran said:
    Does this board support media clock syncronisation.? Does this board support some thing called the Hardware Queuing so that I can do some thing related to AVB streaming?

    Yes, DRA7xx devices support Audio Video Bridging. The functionality is described in details in Section 24.11.4.8.6 Audio Video Bridging (all features, like queueing, sychroniztion, etc.)

    I am sorry that I cannot be more specific, but Vayu devices & their documentation are under NDA & cannot be discussed on a public forum. For further details please contact your local FAE.

    To see what's been implemented in the GLSDK, refer to the release notes.


    Best Regards,

    Yordan

  • Hi Yordan,

    Thanks for the Response.


    Regards,
    Sarahblessie.
  • Hi Yordan,
    I have a small issue with the board how to enable ssh in the board?

    Regards,
    Sarah Blessie.
  • Hi Sarah,

    OpenSSH is not integrated isnide current version of the GLSDK (GLSDK6.10), you will not find /etc/ssh, nor you will find ssh script in /etc/init.d.

    In order to enable ssh server on your device running Yocto based GLSDK, you need to:
    1. Ensure you've set up your sdk according to the Software developers guide: http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide
    2. Ensure you've set up your environment variables PATH (point to linaro toolchain), GLSDK (point to sdk base directory ti-glsdk_dra7xx-evm_6_10_00_02), CROSS_COMPILE=arm-linux-gnueabihf-
    3. Rebuild your file system with openssh(bellow command should work):
    cd ${GLSDK}/yocto-layers
    ./build-specific-recipe.sh omap5-evm openssh
    Rebuilding procedure is described in: http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide#Building_Yocto_Filesystem
    Follow exactly the steps in the above link (Building_Yocto_Filesystem) & the procedure in Modifying source code and rebuilding a component (http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide#Modifying_source_code_and_rebuilding_a_component)

    Hope this helps you.

    Best Regards,
    Yordan
  • Hi,

    I get the following boot message can you tell me why there is a print
    Failed to clk_get cpsw_cpts_rft_clk.



    davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver
    2.970886] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver
    2.979522] Missing dual_emac_res_vlan in DT.
    2.984130] Using 1 as Reserved VLAN for 0 slave
    2.989074] Missing dual_emac_res_vlan in DT.
    2.993835] Using 2 as Reserved VLAN for 1 slave
    2.998718] Detected MACID = 7c:66:9d:f1:b6:14
    3.005035] Failed to clk_get cpsw_cpts_rft_clk
    3.010101] cpsw: Detected MACID = 7c:66:9d:f1:b6:15
    3.016723] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    3.023712] ALSA device list:
    3.026824] #0: dra7evm
    3.029663] #1: OMAP5HDMI
    3.035522] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported op
    3.046447] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported op
    3.185791] (stk) :ldisc installation timeout
    3.190216] (stk) :ldisc_install = 0
  • Hi Sarah,

    Is this fail message persistent (present on every boot of your evm)? Or seen from time to time?

    The "Failed to clk_get" message comes from drivers/net/ethernet/ti/cpts.c driver, refer to cpts_clk_init() function.

    But I think this is just a warning, if you check the cpts_clk_init you will see that after the reported fail there is the clk_prepare_enable(cpts->refclk). Also the cpts_clk_init() function is called within the cpts_register() function, which then is called from the cpsw.c driver:
    if (cpts_register(&priv->pdev->dev, priv->cpts,
    priv->data.cpts_clock_mult,
    priv->data.cpts_clock_shift))
    dev_err(priv->dev, "error registering cpts device\n");
    As you can see if the cpts_register function with all initializations done within it fail you will get the "error registering cpts device" message.

    Hope this info is of use to you.

    Best Regards,
    Yordan

  • Hi Yordan,

    I have a issue with hardware time stamp when calling ioctl for SIOCSHWTSTAMP The ioctl fails. while debuging from the kernel the errorno is 524 and it is returnec from cpsw_hwtstamp_ioctl function in drivers/net/ethernet/ti/cpsw.c . The function netdev_priv(dev) returns driver version to be CPSW_VERSION_3 0x19010f
    but if you look at the kernel we see error return for the version. If I look in to ethtool the driver version is 1. Help me in this issue

    Thanks and Regards,
    Sarah
  • Hi Yordan,
    I found a patch and now my Timestamping is working fine
  • Hi Sarah,

    Glad to hear that.

    Best Regards,
    Yordan
  • Hi Yordan,
    Its me again, Just now tried for ssh . I tries as you said but received the following
    sarahblessie@ubuntu:/opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers$ ./build-specific-recipe.sh dra7xx-evm openssh
    [GLSDK]>
    [GLSDK]> Current Directory is /opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers
    [GLSDK]> PATH is /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    [GLSDK]> Building on ubuntu running Linux ubuntu 3.2.0-64-generic-pae #97-Ubuntu SMP Wed Jun 4 22:22:15 UTC 2014 i686 i686 i386 GNU/Linux
    [GLSDK]> Starting Yocto build at Fri Jan 23 17:57:03 IST 2015
    [GLSDK]>
    [GLSDK]> cd build
    [GLSDK]> cp conf/local.conf conf/local.conf.pristine
    cp: cannot create regular file `conf/local.conf.pristine': Permission denied
    [GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
    ./build-specific-recipe.sh: 17: ./build-specific-recipe.sh: cannot create conf/local.conf: Permission denied
    [GLSDK]> . conf/setenv
    [GLSDK]> MACHINE=dra7xx-evm bitbake openssh
    Pseudo is not present but is required, building this first before the main build
    ERROR: Error parsing configuration files
    Traceback (most recent call last):
    File "/opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/bitbake/lib/bb/cooker.py", line 201, in BBCooker.loadConfigurationData():
    self.parseConfigurationFiles(self.configuration.prefile,
    > self.configuration.postfile)
    except SyntaxError:
    File "/opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/bitbake/lib/bb/cooker.py", line 988, in BBCooker.parseConfigurationFiles(prefiles=[], postfiles=[]):
    if data.getVar("BB_WORKERCONTEXT", False) is None:
    > bb.fetch.fetcher_init(data)
    bb.codeparser.parser_cache_init(data)
    File "/opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/bitbake/lib/bb/fetch2/__init__.py", line 468, in fetcher_init(d=<bb.data_smart.DataSmart object at 0x952460c>):
    pass
    > revs.clear()
    else:
    File "/opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/bitbake/lib/bb/persist_data.py", line 147, in SQLTable.clear():
    def clear(self):
    > self._execute("DELETE FROM %s;" % self.table)

    File "/opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/bitbake/lib/bb/persist_data.py", line 66, in SQLTable._execute(*query=('DELETE FROM BB_URI_HEADREVS;',)):
    try:
    > return self.cursor.execute(*query)
    except sqlite3.OperationalError as exc:
    OperationalError: attempt to write a readonly database

    [GLSDK]>
    [GLSDK]> Completed Yocto build at Fri Jan 23 17:57:05 IST 2015
    [GLSDK]>


    I have also tried with compling seperatly and transfer it to board but got the same error as mentioned in
    e2e.ti.com/.../365870

    Guide me on this regards,


    Thanks,
    Sarah
  • Hi Sarah,

    Sorry for the late response..
    A couple of suggestions:
    1. Are you exporting the environment variables before executing the build specific recipe script, like bellow?
    export ARCH=arm
    export CROSS_COMPILE=arm-linux-gnueabihf-
    export PATH=$PATH:<path to gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux>/bin
    As I see currently your path is /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games no GCC LINARO folder..
    2. What shell are you using (what is the output of echo $0)? it should be bash

    Best Regards,
    Yordan
  • Hi Yordan,
    Thanks for the replay. I did the following.


    1.CROSS_COMPILE=arm-linux-gnueabihf-
    2.export ARCH=arm
    3.export PATH=$PATH:/root/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin
    4../build-specific-recipe.sh dra7xx-evm openssh
    5.output of echo $0 is bash


    My output is:

    [GLSDK]>
    [GLSDK]> Current Directory is /opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers
    [GLSDK]> PATH is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/root/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:/home/sarahblessie/Desktop/fsl-linaro-toolchain/bin:/root/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin
    [GLSDK]> Building on ubuntu running Linux ubuntu 3.2.0-64-generic-pae #97-Ubuntu SMP Wed Jun 4 22:22:15 UTC 2014 i686 i686 i386 GNU/Linux
    [GLSDK]> Starting Yocto build at Wed Jan 28 09:25:11 IST 2015
    [GLSDK]>
    [GLSDK]> cd build
    [GLSDK]> cp conf/local.conf conf/local.conf.pristine
    [GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
    [GLSDK]> . conf/setenv
    [GLSDK]> MACHINE=dra7xx-evm bitbake openssh
    Pseudo is not present but is required, building this first before the main build
    ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
    Traceback (most recent call last):
    File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x91f332c>)
    File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x90f51cc>)
    IndexError: list index out of range

    ERROR: OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Do not use Bitbake as root.
    ERROR: Execution of event handler 'check_sanity_eventhandler' failed
    [GLSDK]>
    [GLSDK]> Completed Yocto build at Wed Jan 28 09:25:14 IST 2015
    [GLSDK]>



    Regards,
    Sarah
  • Hi Sarah,

     

    your recent log shows

    Do not use Bitbake as root.

    Looks like you're building as root user or in sudo context. This would possibly explain the earlier

    cp: cannot create regular file `conf/local.conf.pristine': Permission denied
    [GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
    ./build-specific-recipe.sh: 17: ./build-specific-recipe.sh: cannot create conf/local.conf: Permission denied

    error message if you have built as root or in sudo context earlier, too.

    Maybe you'd like to try resetting permissions to your regular user, e.g. "sudo chown -r user:user *" in the yocto base directory and start again as regular user.

    Hope this helps!

    Regards,

    Marc

  • Hi Marc,

               I tried resetting the permission to user but still i get this ,

    root@ubuntu:/opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers# ls -lrt
    total 56
    drwxr-xr-x 2 sarahblessie sarahblessie  4096 Dec 31 15:29 sample-files
    -rwxr-xr-x 1 sarahblessie sarahblessie 24520 Dec 31 15:29 oe-layertool-setup.sh
    drwxr-xr-x 6 sarahblessie sarahblessie  4096 Dec 31 15:29 configs
    drwxr-xr-x 9 sarahblessie sarahblessie  4096 Jan 19 10:48 sources
    drwxr-xr-x 4 sarahblessie sarahblessie  4096 Jan 19 10:52 build
    -rwxr-xr-x 1 sarahblessie sarahblessie   682 Jan 23 13:40 build-specific-recipe.sh
    -rwxr-xr-x 1 sarahblessie sarahblessie   486 Jan 23 13:40 clean-specific-recipe.sh
    -rwxr-xr-x 1 sarahblessie sarahblessie  1259 Jan 23 13:40 build-core-sdk.sh
    drwxr-xr-x 2 sarahblessie sarahblessie  4096 Jan 23 13:55 downloads

    ./build-specific-recipe.sh dra7xx-evm openssh[GLSDK]>
    [GLSDK]> Current Directory is /opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers
    [GLSDK]> PATH is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/root/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin
    [GLSDK]> Building on ubuntu running Linux ubuntu 3.2.0-64-generic-pae #97-Ubuntu SMP Wed Jun 4 22:22:15 UTC 2014 i686 i686 i386 GNU/Linux
    [GLSDK]> Starting Yocto build at Thu Jan 29 11:15:24 IST 2015
    [GLSDK]>
    [GLSDK]> cd build
    [GLSDK]> cp conf/local.conf conf/local.conf.pristine
    [GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
    [GLSDK]> . conf/setenv
    [GLSDK]> MACHINE=dra7xx-evm bitbake openssh
    Pseudo is not present but is required, building this first before the main build
    ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
    Traceback (most recent call last):
      File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x9d2c34c>)
      File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x9c2d1ec>)
    IndexError: list index out of range

    ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
        Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
        Following is the list of potential problems / advisories:

        Do not use Bitbake as root.
    ERROR: Execution of event handler 'check_sanity_eventhandler' failed
    [GLSDK]>
    [GLSDK]> Completed Yocto build at Thu Jan 29 11:15:26 IST 2015
    [GLSDK]>

  • Hi Sarah,

    The problem is that you are logged in as root on your computer

    Sarah Blessie Rajendran said:
    root@ubuntu:/opt/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers# ls -lrt

    And you cannot run bitbake when you are root.  Root user always executes the commands with sudo rights so when logged as root and execute bitbake it is as if you are using sudo bitbake, and that triggers the sanity checks in Yocto => your build fails.

    There is a possibility to get past this errors, but you need to disable sanity checking in your Yocto make system. 

    Best Regards, 

    Yordan

  • Hi Sarah,

    I have used the yocto build many times on my development host under a regular user account and it always worked well. I only used sudo for writing filesystem images to SD card using mksdboot.sh or for accessing the mounted rootfs partition on the SD card. Building as root can cause several issues, especially in case there are paths misconfigured (root may write everywhere).

    Have you thought about using a regular user account to build your target packages?

    From your logs I can see that you have installed GLSDK to /opt directory. The documentation recommends using the current user's home directory.

    In short words: In order to be sure that your setup isn't compromised, you might want to reinstall the GLSDK in the default location and start from the beginning, ensuring that you never run build scripts as root. If this works, you could go back to /opt installation, but please ensure that for installing to /opt you should ensure proper access rights, which can be quite challenging in multi-user environments. In your case, you might want to change ownership to 'sarahblessie:sarahblessie' recursively.

    Regards,
    Marc
  • Hi Marc,


                 Thanks for your replay, I tried installing glsdk in local user and the path is in /home/sarahblessie and also tried to run the the following script and get the following result. still I have error.

    sarahblessie@ubuntu:~/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers$ ./build-specific-recipe.sh dra7xx-evm openssh
    [GLSDK]>
    [GLSDK]> Current Directory is /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers
    [GLSDK]> PATH is /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sarahblessie/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin
    [GLSDK]> Building on ubuntu running Linux ubuntu 3.2.0-64-generic-pae #97-Ubuntu SMP Wed Jun 4 22:22:15 UTC 2014 i686 i686 i386 GNU/Linux
    [GLSDK]> Starting Yocto build at Mon Feb  2 15:40:23 IST 2015
    [GLSDK]>
    [GLSDK]> cd build
    [GLSDK]> cp conf/local.conf conf/local.conf.pristine
    [GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
    [GLSDK]> . conf/setenv
    [GLSDK]> MACHINE=dra7xx-evm bitbake openssh
    Pseudo is not present but is required, building this first before the main build
    ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
    Traceback (most recent call last):
      File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0xa7e5fec>)
      File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0xa66762c>)
    IndexError: list index out of range

    Loading cache: 100% |######################################################################| ETA:  00:00:00
    Loaded 49 entries from dependency cache.
    ERROR: ExpansionError during parsing /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a6.01.bb: Failure expanding expression ${@bb.fetch.get_checksum_file_list(d)} which triggered exception OSError: [Errno 13] Permission denied: '/yocto-layers'
    ERROR: Command execution failed: Exited with 1

    Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
    [GLSDK]>
    [GLSDK]> Completed Yocto build at Mon Feb  2 15:40:30 IST 2015
    [GLSDK]>

    Regards,

    Sarah Blessie

  • Hi Sabine,

    did you successfully run the setup.sh script?

    Maybe due to missing PATH environment variable setting the system can't find the compiler. Please check your ${PATH} variable.

    Additionally, the error message refers to a directory /yocto-layers, which is not in the root directory, but in the GLSDK install directory. Please check the DRA7xx GLSDK Software Developers Guide in the GLSDK docs/ folder, Section "Starting your software development": It points out that you should properly export an environment variable ${GLSDK} that points to the GLSDK installation directory.

    Regards,
    Marc
  • Dear Marc,
    This is my latest build. I have wiki.yoctoproject.org/.../Working_Behind_a_Network_Proxy site . But ther is error :(




    sarahblessie@ubuntu:~/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers$ ./build-specific-recipe.sh dra7xx-evm openssh
    [GLSDK]>
    [GLSDK]> Current Directory is /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers
    [GLSDK]> PATH is /home/sarahblessie/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sarahblessie/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin
    [GLSDK]> Building on ubuntu running Linux ubuntu 3.2.0-64-generic-pae #97-Ubuntu SMP Wed Jun 4 22:22:15 UTC 2014 i686 i686 i386 GNU/Linux
    [GLSDK]> Starting Yocto build at Mon Feb 2 18:33:15 IST 2015
    [GLSDK]>
    [GLSDK]> cd build
    [GLSDK]> cp conf/local.conf conf/local.conf.pristine
    [GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
    [GLSDK]> . conf/setenv
    [GLSDK]> MACHINE=dra7xx-evm bitbake openssh
    Loading cache: 100% |######################################################################| ETA: 00:00:00
    Loaded 2020 entries from dependency cache.
    Parsing recipes: 100% |####################################################################| Time: 00:00:04
    Parsing of 1638 .bb files complete (1634 cached, 4 parsed). 2023 targets, 98 skipped, 0 masked, 0 errors.
    WARNING: No recipes available for:
    /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/meta-qt5/recipes-devtools/cmake/cmake_2.8.12.1.bbappend
    /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-connectivity/inetutils/inetutils_1.8.bbappend

    Build Configuration:
    BB_VERSION = "1.18.0"
    BUILD_SYS = "i686-linux"
    NATIVELSBSTRING = "Ubuntu-12.04"
    TARGET_SYS = "arm-oe-linux-gnueabi"
    MACHINE = "dra7xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2013.10"
    TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa15"
    TARGET_FPU = "vfp-neon"
    meta-arago-distro
    meta-arago-extras = "(nobranch):283813dffe8633af04c87faedb4c601518fa3a9c"
    meta-qt5 = "(nobranch):775d77e482f1ea203c78003cccd2547075fd720f"
    toolchain-layer
    meta-networking
    meta-ruby
    meta-oe = "(nobranch):44754206632dd5b0725aeb43e99e4ff9e0245dca"
    meta-ti = "(nobranch):96fae48172519a621bb38c875a0b0e89a198868c"
    meta-linaro-toolchain = "(nobranch):c9f78d6eff14ada3f2bc960e81883b27a10afecc"
    meta = "(nobranch):394fa61d00b97c19610bfb38f02174c4e8aeeb15"

    NOTE: Resolving any missing task queue dependencies
    NOTE: Preparing runqueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: Failed to fetch URL www.zlib.net/zlib-1.2.7.tar.bz2, attempting MIRRORS if available
    WARNING: Failed to fetch URL ftp.gnu.org/.../ncurses-5.9.tar.gz, attempting MIRRORS if available
    ERROR: Fetcher failure: Fetch command failed with exit code 4, output:
    wget: unable to resolve host address `myproxy.example.com'

    ERROR: Function failed: Fetcher failure for URL: 'www.zlib.net/zlib-1.2.7.tar.bz2'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/i686-linux/zlib-native/1.2.7-r0/temp/log.do_fetch.22178
    ERROR: Task 447 (virtual:native:/home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-core/zlib/zlib_1.2.7.bb, do_fetch) failed with exit code '1'
    ERROR: Fetcher failure: Fetch command failed with exit code 4, output:
    wget: unable to resolve host address `myproxy.example.com'

    ERROR: Function failed: Fetcher failure for URL: 'ftp.gnu.org/.../ncurses-5.9.tar.gz'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/i686-linux/ncurses-native/5.9-r15.1/temp/log.do_fetch.22179
    ERROR: Task 604 (virtual:native:/home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-core/ncurses/ncurses_5.9.bb, do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 67 tasks of which 65 didn't need to be rerun and 2 failed.
    Waiting for 0 running tasks to finish:

    Summary: 2 tasks failed:
    virtual:native:/home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-core/zlib/zlib_1.2.7.bb, do_fetch
    virtual:native:/home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-core/ncurses/ncurses_5.9.bb, do_fetch
    Summary: There were 3 WARNING messages shown.
    Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
    [GLSDK]>
    [GLSDK]> Completed Yocto build at Mon Feb 2 18:33:35 IST 2015
    [GLSDK]>

    Regards,
    Sarah
  • Hi Sabine,

    your log shows:

    ERROR: Fetcher failure: Fetch command failed with exit code 4, output:

    wget: unable to resolve host address `myproxy.example.com'


    You should replace the proxy name above with the one required for your company network, if a proxy is mandatory for your working place.

    Regards,

    Marc

  • Dear Marc,

                    This is my build post . Still didn't get any improvement.

    Common targets are:
        core-image-minimal
        core-image-sato
        meta-toolchain
        meta-toolchain-sdk
        adt-installer
        meta-ide-support
    [GLSDK]> cd build
    [GLSDK]> . conf/setenv
    [GLSDK]> cp conf/local.conf conf/local.conf.pristine
    [GLSDK]> echo ARAGO_BRAND = "glsdk" >> conf/local.conf
    In which directory do you want to place the downloads for the Yocto build ?(if this directory does not exist it will be created)
    Ensure that complete path is provided.
    [ /yocto-layers/downloads ] /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/downloads
    [GLSDK]> MACHINE=dra7xx-evm bitbake arago-glsdk-multimedia-image
    ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
    Traceback (most recent call last):
      File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0xb100fec>)
      File "external-linaro-toolchain-versions.inc", line 4, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x905596c>)
    IndexError: list index out of range

    Loading cache: 100% |######################################################################| ETA:  00:00:00
    Loaded 2020 entries from dependency cache.
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Add-linux-oe-g-platform.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0003-Add-external-hostbindir-option.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0004-qt_functions-temporary-remove-isEmpty-check.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0006-Allow-building-a-separate-qmake-for-the-target.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0008-qt_module-Fix-pkgconfig-replacement.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0009-qt_module-Fix-paths-in-.prl-files.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0013-Disable-mkv8snapshot.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0014-enables-tslib-device-to-be-read-from-env-variable.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0015-qtbase-allow-build-of-examples.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0021-configure-make-pulseaudio-a-configurable-option.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0022-configure-make-alsa-a-configurable-option.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0023-configure-make-freetype-a-configurable-option.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0024-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determine-pa.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-Always-build-uic.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-preserve-built-qmake-and-swap-with-native-.patch: file could not be found
    WARNING: Unable to get checksum for nativesdk-qtbase SRC_URI entry 0001-configure-bump-path-length-from-256-to-512-character.patch: file could not be found
    Parsing recipes: 100% |####################################################################| ETA:  00:00:00
    Parsing of 1638 .bb files complete (1511 cached, 127 parsed). 2023 targets, 98 skipped, 0 masked, 0 errors.
    WARNING: No recipes available for:
      /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/meta-qt5/recipes-devtools/cmake/cmake_2.8.12.1.bbappend
      /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/meta-arago/meta-arago-extras/recipes-connectivity/inetutils/inetutils_1.8.bbappend

    Build Configuration:
    BB_VERSION        = "1.18.0"
    BUILD_SYS         = "i686-linux"
    NATIVELSBSTRING   = "Ubuntu-12.04"
    TARGET_SYS        = "arm-oe-linux-gnueabi"
    MACHINE           = "dra7xx-evm"
    DISTRO            = "arago"
    DISTRO_VERSION    = "2013.10"
    TUNE_FEATURES     = "armv7a vfp thumb neon callconvention-hard cortexa15"
    TARGET_FPU        = "vfp-neon"
    meta-arago-distro
    meta-arago-extras = "(nobranch):283813dffe8633af04c87faedb4c601518fa3a9c"
    meta-qt5          = "(nobranch):775d77e482f1ea203c78003cccd2547075fd720f"
    toolchain-layer   
    meta-networking   
    meta-ruby         
    meta-oe           = "(nobranch):44754206632dd5b0725aeb43e99e4ff9e0245dca"
    meta-ti           = "(nobranch):96fae48172519a621bb38c875a0b0e89a198868c"
    meta-linaro-toolchain = "(nobranch):c9f78d6eff14ada3f2bc960e81883b27a10afecc"
    meta              = "(nobranch):394fa61d00b97c19610bfb38f02174c4e8aeeb15"

    NOTE: Resolving any missing task queue dependencies
    NOTE: multiple providers are available for runtime glibc-gconv-iso8859-1 (nativesdk-eglibc-locale, eglibc-locale, external-arago-toolchain)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-gconv-iso8859-1
    NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
    NOTE: Preparing runqueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: Function failed: do_install (see /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.8-oe-linux-gnueabi/external-linaro-toolchain/-r2-arago5/temp/log.do_install.22351 for further information)
    ERROR: Logfile of failure stored in: /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.8-oe-linux-gnueabi/external-linaro-toolchain/-r2-arago5/temp/log.do_install.22351
    Log data follows:
    | DEBUG: Executing shell function do_install
    | cp: cannot stat `/usr/arm-linux-gnueabihf/libc/lib/*': No such file or directory
    | ERROR: Function failed: do_install (see /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.8-oe-linux-gnueabi/external-linaro-toolchain/-r2-arago5/temp/log.do_install.22351 for further information)
    ERROR: Task 32 (/home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb, do_install) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 138 tasks of which 136 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
      /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb, do_install
    Summary: There were 21 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
    [GLSDK]>
    [GLSDK]> Completed Yocto build at Tue Feb  3 11:14:58 IST 2015
    [GLSDK]>

  • Hi,

         I tried in the different way to compail openssh but nothing worked . This is the error I get please tell me if I am going wrong.

    |
    | ## ----------- ##
    | ## confdefs.h. ##
    | ## ----------- ##
    |
    | /* confdefs.h */
    | #define PACKAGE_NAME "GNU Libtool"
    | #define PACKAGE_TARNAME "libtool"
    | #define PACKAGE_VERSION "2.4.2"
    | #define PACKAGE_STRING "GNU Libtool 2.4.2"
    | #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
    | #define PACKAGE_URL "www.gnu.org/.../libtool"
    | #define PACKAGE "libtool"
    | #define VERSION "2.4.2"
    |
    | configure: exit 77
    | ERROR: oe_runconf failed
    | ERROR: Function failed: do_configure (see /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-3.8-oe-linux-gnueabi/libtool-cross/2.4.2-r6.1/temp/log.do_configure.21224 for further information)
    ERROR: Task 124 (/home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-devtools/libtool/libtool-cross_2.4.2.bb, do_configure) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 389 tasks of which 376 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
      /home/sarahblessie/ti-glsdk_dra7xx-evm_6_04_00_02/yocto-layers/sources/oe-core/meta/recipes-devtools/libtool/libtool-cross_2.4.2.bb, do_configure
    Summary: There were 2 WARNING messages shown.
    Summary: There was 1 ERROR message shown, returning a non-zero exit code.
    [GLSDK]>
    [GLSDK]> Completed Yocto build at Mon Feb  9 09:45:00 IST 2015
    [GLSDK]>

    Regards,

    Sarah.

  • Hi Sarah,
    apologies for the late reply.

    To me, it still looks like there's something missing in your environment. In addition, please attach the log files mentioned in the error message.

    In addition, please output of the following environment variables:
    - GLSDK
    - PATH
    - ARCH
    - CROSS_COMPILE

    Have you successfully executed bin/setup.sh after GLSDK installation? Have you successfully executed bin/setup-yocto.sh?

    Regards,
    Marc