I am following below document for environment setup, porting Uboot on ADSP-SC589 EZ Board:
When i run openocd command, I am getting following error:
root@nikesh:/opt/analog/cces/2.8.2/ARM/openocd/share/openocd/scripts# /opt/analog/cces/2.8.2/ARM/openocd/bin/openocd -f interface/ice1000.cfg target/adspsc58x.cfg
Open On-Chip Debugger (Analog Devices CCES 2.8.0 OpenOCD 0.9.0-g5030ad7) 0.9.0Licensed under GNU GPL v2Report bugs to <firstname.lastname@example.org>adapter speed: 1000 kHzInfo : ICE-1000 firmware version is 1.0.2Info : clock speed 1000 kHzError: session transport was not selected. Use 'transport select <transport>'Error: Transports available:Error: jtagError: swdin procedure 'init' in procedure 'ocd_bouncer'
What would be the reason for this?
I did following connections,
Let me know if I am missing any connection.
Patched 1.2.0 u-boot images and build&test logs for ADSP-SC589 EZKIT 2.0 board are available from https://ez.analog.com/dsp/software-and-development-tools/linux-for-adsp-sc5xx…
Yes, you are right, the original code in the svn server is just like what you've seen, but we applied 3 patches in buildroot/package/libmcapi, in those patches we enriched our…
The ADSP-SC589 EZKIT 2.0 board has a new Ethernet PHY DP83867, the Linux driver for this new phy is:buildroot/linux/linux-kernel/drivers/net/phy/dp83867.c
It looks like you are missing a -f operand before the second script on your command line. The command line should be:
/opt/analog/cces/2.8.2/ARM/openocd/bin/openocd -f interface/ice1000.cfg -f target/adspsc58x.cfg
Also, note that if you are using the 1.3.0 kit, there is an updated version of the user guide for the 1.3.0 release within the Docs directory of the kit.
I am not able to find the user guide for 1.3.0 release, Can you please share the link of it?
For the MCAPI manual, you could first refer to the online help in CrossCore Embedded Studio in chapter "CrossCore® Embedded Studio 2.7.0 > System Run-Time DocumentationMulticore Communications API (MCAPI) Specification"
Or you can also refer to the official MCAPI manual in https://www.multicore-association.org/workgroup/mcapi.php
I was trying to boot ADSP-SC589 board from SD Card formatted as Ext2. But as I inserted SD Card(formatted as Ext2) with filesystem, uboot and kernel images in board, LED1 turned ON(Red).
I referred ADSP-SC589 Manual, LED1 is SYS_FAULT_LED and it indicates system fault.
Can you let me know what might have caused it and what i can do to resolve this?
Thanks and Best Regards,
Do you follow the guide of "Boot method 2: Booting flashed Linux with persistent file system on SD Card" in linux user guide to boot the linux kernel from SD card?
Could you please share me your boot log so that i can locate your problem?
I am working on ADSP-SC589 board and trying communicate between ARM core and SHARC core using MCAPI library.
I am using libmcapi-2.0 library from http://svn.code.sf.net/p/adi-openapp/code/trunk/libs/libmcapi/.
I can see that in http://svn.code.sf.net/p/adi-openapp/code/trunk/libs/libmcapi/libmcapi-2.0/mcapi_trans_stub.c file, Line no 1096, mcapi_trans_msg_send() function is empty.
Can you let me know if its kept empty intentionally or if this version of library is not complete and I need to get updated library from some other link?
Thanks & Best Regards,
Yes, you are right, the original code in the svn server is just like what you've seen, but we applied 3 patches in buildroot/package/libmcapi, in those patches we enriched our send/receive functions.
This is based on buildroot package rules, not apply those patches directly in our svn server code. For how to get a complete MCAPI, you could enable libmcapi in buildroot menuconfig and then the patched libmcapi-HEAD.tar.gz would be downloaded in the dl/ directory automatically. Or you could apply those three patches in buldroot/package/libmcapi/ manually based on the svn server code.
Thanks & Best regards,HuanFeng
I don't think that we have buildroot, so i am not sure where I need to enable libmcapi option. Can you share the path where these patches are kept.
For the patch, it's only located in our kit right now, Download the Linux Add-In for ADSP-SC5xx(Rev 1.3.1) from here: https://www.analog.com/en/design-center/evaluation-hardware-and-software/software/LinuxAddin.html#software-overview, And then install the debian package, you can get the buildroot source code from here: /opt/analog/cces-linux-add-in/1.3.1/buildroot-sc5xx-1.3.1/src/buildroot-sc5xx-1.3.1.tar.gz Unzip the buildroot-sc5xx-1.3.1.tar.gz, the patches will be in buildroot/package/libmcapi directory.
For our Linux-1.4.0 release, we will release our code via github, at that time we can get all source code from github. Sorry for the inconvinient.
Thanks & Regards,
I followed above steps to apply patch to mcapi library. I also got the definition of function mcapi_trans_msg_send(). But I am getting below error.
I think in order to remove this error patch should be applied to ICC drivers also.
So please let me know the if there is patch for icc driver or any other way to resolve below error.
Oh yes, there should be patches for icc drivers. Sorry i forgot this part.
May i ask which version are you based on ? So that i can make a patch for you.
Or you can refer to the code in the buildroot packages(v1.3.1) you unzipped previously. The icc driver is located in buildroot/linux/linux-kernel/drivers/staging/icc, and don't forget about the core_control driver and the dts changes in your code.
Thanks and Regards,HuanFeng
Version of what?
There is no version to icc drivers and Linux kernel version is 4.1.39.
Can you please share icc drivers patches for above version.
Please let me know if you need any further information.