Other Parts Discussed in Thread: BEAGLEBOARD-X15
Tool/software:
Hello,
I am having trouble running the ipc ex02_messageq examples. I am currently working with sdk 9.03 default image and the am57x beagleboard x-15. Below I have attached logs of my attempt to get these examples working.
root@am57xx-evm:~# ls -l /lib/firmware/ total 28284 -rw-r--r-- 1 root root 2040 Mar 9 2018 LICENCE.ibt_firmware -rw-r--r-- 1 root root 2046 Mar 9 2018 LICENCE.iwlwifi_firmware lrwxrwxrwx 1 root root 49 Mar 9 2018 am57xx-pru1_0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out lrwxrwxrwx 1 root root 49 Mar 9 2018 am57xx-pru1_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out lrwxrwxrwx 1 root root 49 Mar 9 2018 am57xx-pru2_0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out lrwxrwxrwx 1 root root 49 Mar 9 2018 am57xx-pru2_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out -rwxr-xr-x 1 root root 9941039 Mar 9 2018 dra7-dsp1-fw-radio.xe66 lrwxrwxrwx 1 root root 55 Mar 9 2018 dra7-dsp1-fw.xe66 -> ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 lrwxrwxrwx 1 root root 55 Mar 9 2018 dra7-dsp2-fw.xe66 -> ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 lrwxrwxrwx 1 root root 55 Mar 9 2018 dra7-ipu1-fw.xem4 -> ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 lrwxrwxrwx 1 root root 40 Mar 9 2018 dra7-ipu2-fw.xem4 -> /lib/firmware/dra7-ipu2-fw.xem4.ipumm-fw -rw-r--r-- 1 root root 3747228 Mar 9 2018 dra7-ipu2-fw.xem4.ipumm-fw -rw-r--r-- 1 root root 581732 Mar 9 2018 dra7-ipu2-fw.xem4.map -rw-r--r-- 1 root root 186 Mar 9 2018 goodix_9271_cfg.bin drwxr-xr-x 2 root root 4096 Mar 9 2018 intel drwxr-xr-x 6 root root 4096 Mar 9 2018 ipc -rw-r--r-- 1 root root 918268 Mar 9 2018 iwlwifi-3160-17.ucode -rw-r--r-- 1 root root 2448976 Mar 9 2018 iwlwifi-8000C-34.ucode -rw-r--r-- 1 root root 2428004 Mar 9 2018 iwlwifi-8000C-36.ucode -rw-r--r-- 1 root root 2440780 Mar 9 2018 iwlwifi-8265-34.ucode -rw-r--r-- 1 root root 2436632 Mar 9 2018 iwlwifi-8265-36.ucode -rw-r--r-- 1 root root 2678092 Mar 9 2018 iwlwifi-9260-th-b0-jf-b0-34.ucode -rw-r--r-- 1 root root 2521412 Mar 9 2018 iwlwifi-9260-th-b0-jf-b0-38.ucode -rw-r--r-- 1 root root 1490508 Mar 9 2018 iwlwifi-9260-th-b0-jf-b0-46.ucode drwxr-xr-x 2 root root 4096 Mar 9 2018 pru -rw-r--r-- 1 root root 5980 Mar 9 2018 regulatory.db -rw-r--r-- 1 root root 1085 Mar 9 2018 regulatory.db.p7s drwxr-xr-x 2 root root 4096 Mar 9 2018 ti-connectivity drwxr-xr-x 2 root root 4096 Mar 9 2018 ti-pruss -rw-r--r-- 1 root root 4002 Mar 9 2018 vpdma-1b8.bin root@am57xx-evm:~# /usr/bin/ipc/examples/ex02_messageq/ debug/ release/ root@am57xx-evm:~# /usr/bin/ipc/examples/ex02_messageq/debug/app_host DSP1 --> main: --> Main_main: --> App_create: ^CIpc: Caught SIGINT, calling Ipc_stop... root@am57xx-evm:~# ls root@am57xx-evm:~# cd /usr/bin/ipc/examples/ex02_messageq/debug/app_host DSP1 -sh: cd: too many arguments root@am57xx-evm:~# cd /usr/bin/ipc/examples/ex02_messageq/debug/ root@am57xx-evm:/usr/bin/ipc/examples/ex02_messageq/debug# ls app_host server_dsp1.xe66 server_dsp2.xe66 server_ipu1.xem4 server_ipu2.xem4 root@am57xx-evm:/usr/bin/ipc/examples/ex02_messageq/debug# ln -sf /usr/bin/ipc/examples/ex02_messageq/debug/server_dsp1.xe66 /lib/firmware/dra7-dsp1-fw.xe66 root@am57xx-evm:/usr/bin/ipc/examples/ex02_messageq/debug# ls -l /lib/firmware/ total 28284 -rw-r--r-- 1 root root 2040 Mar 9 2018 LICENCE.ibt_firmware -rw-r--r-- 1 root root 2046 Mar 9 2018 LICENCE.iwlwifi_firmware lrwxrwxrwx 1 root root 49 Mar 9 2018 am57xx-pru1_0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out lrwxrwxrwx 1 root root 49 Mar 9 2018 am57xx-pru1_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out lrwxrwxrwx 1 root root 49 Mar 9 2018 am57xx-pru2_0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out lrwxrwxrwx 1 root root 49 Mar 9 2018 am57xx-pru2_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out -rwxr-xr-x 1 root root 9941039 Mar 9 2018 dra7-dsp1-fw-radio.xe66 lrwxr-xr-x 1 root root 58 Apr 29 03:18 dra7-dsp1-fw.xe66 -> /usr/bin/ipc/examples/ex02_messageq/debug/server_dsp1.xe66 lrwxrwxrwx 1 root root 55 Mar 9 2018 dra7-dsp2-fw.xe66 -> ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 lrwxrwxrwx 1 root root 55 Mar 9 2018 dra7-ipu1-fw.xem4 -> ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 lrwxrwxrwx 1 root root 40 Mar 9 2018 dra7-ipu2-fw.xem4 -> /lib/firmware/dra7-ipu2-fw.xem4.ipumm-fw -rw-r--r-- 1 root root 3747228 Mar 9 2018 dra7-ipu2-fw.xem4.ipumm-fw -rw-r--r-- 1 root root 581732 Mar 9 2018 dra7-ipu2-fw.xem4.map -rw-r--r-- 1 root root 186 Mar 9 2018 goodix_9271_cfg.bin drwxr-xr-x 2 root root 4096 Mar 9 2018 intel drwxr-xr-x 6 root root 4096 Mar 9 2018 ipc -rw-r--r-- 1 root root 918268 Mar 9 2018 iwlwifi-3160-17.ucode -rw-r--r-- 1 root root 2448976 Mar 9 2018 iwlwifi-8000C-34.ucode -rw-r--r-- 1 root root 2428004 Mar 9 2018 iwlwifi-8000C-36.ucode -rw-r--r-- 1 root root 2440780 Mar 9 2018 iwlwifi-8265-34.ucode -rw-r--r-- 1 root root 2436632 Mar 9 2018 iwlwifi-8265-36.ucode -rw-r--r-- 1 root root 2678092 Mar 9 2018 iwlwifi-9260-th-b0-jf-b0-34.ucode -rw-r--r-- 1 root root 2521412 Mar 9 2018 iwlwifi-9260-th-b0-jf-b0-38.ucode -rw-r--r-- 1 root root 1490508 Mar 9 2018 iwlwifi-9260-th-b0-jf-b0-46.ucode drwxr-xr-x 2 root root 4096 Mar 9 2018 pru -rw-r--r-- 1 root root 5980 Mar 9 2018 regulatory.db -rw-r--r-- 1 root root 1085 Mar 9 2018 regulatory.db.p7s drwxr-xr-x 2 root root 4096 Mar 9 2018 ti-connectivity drwxr-xr-x 2 root root 4096 Mar 9 2018 ti-pruss -rw-r--r-- 1 root root 4002 Mar 9 2018 vpdma-1b8.bin root@am57xx-evm:/usr/bin/ipc/examples/ex02_messageq/debug# ./app_host DSP1 --> main: --> Main_main: --> App_create: ^CIpc: Caught SIGINT, calling Ipc_stop... root@am57xx-evm:/usr/bin/ipc/examples/ex02_messageq/debug# ./app_host IPU1 --> main: --> Main_main: --> App_create: ^CIpc: Caught SIGINT, calling Ipc_stop... root@am57xx-evm:/usr/bin/ipc/examples/ex02_messageq/debug# ./app_host IPU2 --> main: --> Main_main: --> App_create: ^CIpc: Caught SIGINT, calling Ipc_stop... root@am57xx-evm:/usr/bin/ipc/examples/ex02_messageq/debug# ls app_host server_dsp1.xe66 server_dsp2.xe66 server_ipu1.xem4 server_ipu2.xem4 root@am57xx-evm:/usr/bin/ipc/examples/ex02_messageq/debug# ln -sf /usr/bin/ipc/examples/ex02_messageq/debug/server_ipu1.xem4 /lib/firmware/dra7-ipu1-fw.xem4 root@am57xx-evm:/usr/bin/ipc/examples/ex02_messageq/debug# ./app_host IPU1 --> main: --> Main_main: --> App_create: ^CIpc: Caught SIGINT, calling Ipc_stop...
As you can see I was able to successfully symbolically link the example firmware for both DSP1 and IPU1. The problem arose when I tried run app_host on DSP1 and IPU1. The program would get stuck in "App create" stage. I tried running app_host on dsp2 and Ipu2 (default firmware) to see if the ex02_messageq firmware was the issue, but I ran into the same problem. Am I doing something incorrect? Have you ran into this before?
Thank you for the help
Best Regards
-Job