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.
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 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 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 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,
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.