I followed this guide Linux-c6x_2.0_Release but when I tried to run messageq_app_tes_8_core.sh demo that appears in
SysLink_for_c6x the output said that it could not find a file or folder named mcoreloader.
I searched where was installed mcoreloader and I modified messageq_app_tes_8_core.sh to
search in one of the paths I found.
julian@julian-VirtualBox:/$ sudo find . -name mcoreloader
./usr/bin/mcoreloader
./home/julian/my-linux-c6x/linux-c6x-2.0.0.63/Build/rootfs/mcsdk-demo-root-c6x-hf/usr/bin/mcoreloader
./home/julian/my-linux-c6x/linux-c6x-2.0.0.63/Build/elf-loader.el_hardfp/mcoreloader
And the same occurs.
Then I tried changing priviilies with cmod +x to the mcoreloader and I run it again and get that mcoreloader cannot be executed:
root@julian-VirtualBox:/home/julian/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project/scripts/syslink# ./messageq_app_test_8_core.sh
Beginning of MessageQ sample application run
insmod syslink.ko
insmod: can't read '/opt/syslink_evmc6678.el/syslink.ko': No such file or directory
Loading and running slave core 1
./messageq_app_test_8_core.sh: line 21: /home/julian/my-linux-c6x/linux-c6x-2.0.0.63/Build/rootfs/mcsdk-demo-root-c6x-hf/usr/bin/mcoreloader: cannot execute binary file
Loading and running slave core 2
./messageq_app_test_8_core.sh: line 21: /home/julian/my-linux-c6x/linux-c6x-2.0.0.63/Build/rootfs/mcsdk-demo-root-c6x-hf/usr/bin/mcoreloader: cannot execute binary file
Loading and running slave core 3
./messageq_app_test_8_core.sh: line 21: /home/julian/my-linux-c6x/linux-c6x-2.0.0.63/Build/rootfs/mcsdk-demo-root-c6x-hf/usr/bin/mcoreloader: cannot execute binary file
Loading and running slave core 4
./messageq_app_test_8_core.sh: line 21: /home/julian/my-linux-c6x/linux-c6x-2.0.0.63/Build/rootfs/mcsdk-demo-root-c6x-hf/usr/bin/mcoreloader: cannot execute binary file
Loading and running slave core 5
./messageq_app_test_8_core.sh: line 21: /home/julian/my-linux-c6x/linux-c6x-2.0.0.63/Build/rootfs/mcsdk-demo-root-c6x-hf/usr/bin/mcoreloader: cannot execute binary file
Loading and running slave core 6
./messageq_app_test_8_core.sh: line 21: /home/julian/my-linux-c6x/linux-c6x-2.0.0.63/Build/rootfs/mcsdk-demo-root-c6x-hf/usr/bin/mcoreloader: cannot execute binary file
Loading and running slave core 7
./messageq_app_test_8_core.sh: line 21: /home/julian/my-linux-c6x/linux-c6x-2.0.0.63/Build/rootfs/mcsdk-demo-root-c6x-hf/usr/bin/mcoreloader: cannot execute binary file
Running messageq User land sample application
./messageq_app_test_8_core.sh: line 25: /opt/syslink_evmc6678.el/messageqapp_release: No such file or directory
rmmod syslink.ko
ERROR: Module syslink does not exist in /proc/modules
MessageQ sample application run is complete
root@julian-VirtualBox:/home/julian/my-linux-c6x/linux-c6x-2.0.0.63/linux-c6x-project/scripts/syslink#
I suspect that I misisng some steps between Linux-c6x_2.0_Release and SysLink_for_c6x , because in latter
it mention this:
Loading of slave cores is done using the mcoreloader (available
under /usr/bin when mcsdk-demo-root root fs is built)
so the question is how to get mcoreloader be installed in my system
My system is tmdsevm6678le using mezzanine xds560v2, in linux ubuntu 10.04 as recommend Linux-c6x_2.0_Release .
running in virtual box.
Switches configuration is:
IBL NAND BOOT ON IMAGE 0:
SW3 SW4 SW5 SW6 SW9
0010 1011 1110 1111 11
Or maybe Is there somenthing more easy to work with a system that would have linux in core 0 and sysbios in the other cores?
I hope someone could help because I am stuck with this.
Thanks.
Julian