

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.


Hi,
From the log, it seems that the target side registration of the kernel has not been done.
Could you please confirm if the target side addTargetKernel has been done where the create, process, delete callback functions are registered?
Regards,
Nikhil
yes,I have used the pytiovx script tool to registere the create, process, delete callback functions.I would like to know if target kernels are registered at ~/vision_apps/platform/j721e/rtos/common/app_init.c and which firmware needs to be replaced on the j721e development board.

Hi,
This would require replacing the vx_app_rtos_linux_c7x_ 1.out as this code would run on C7x.
Once you have built vision_apps, could you use the script "make linux_fs_install_sd" to copy all the necessary binaries required?
We could first use this script incase any libraries are missed.
Please try this and let me know if this works for you.
Regards,
Nikhil
When I use the script "make linux_fs_install_sd" to copy all the necessary binaries required, the program was suspended and unable to continue executing.But I can use the same method to register functions on the C66 and A72 cores and generate custom nodes, which can run smoothly on the development board without using the script "make linux_fs_install_sd", only replacing /usr/lib/libtivision_apps.so and /lib/firmware/vision_apps_eaik/vx_app_rtos_linux_c6x_1.out
Hi,
Could you please confirm if you are copying the binary from vision_apps_evm or vision_apps_eaik?
The script "make linux_fs_install_sd" would copy the files from vision_apps_evm unless you have build edgeAI, could you please confirm which is the correct folder?
As per the current logs (i.e., screenshot shared), I don't see the main function of the application being called. Could you please confirm this?
Ideally, the procedure should be the same way you had done for registering a kernel in C66.
Please put a log in the target register function to check if the function is being executed.
Regards,
Nikhil
I manually replaced /lib/firmware/vision_apps_eaik/vx_app_rtos_linux_c7x_1.out and /lib/firmware/vision_apps_evm/vx_app_rtos_linux_c7x_1.out before using the script 'make linux_fs_install_sd', And put a log at the target registration function, but it did not print out information on the terminal, while C66 can. Can't the target registration function of c7x display printing information on the terminal.
Hi,
Could you please explain why are you using firmwares from vision_apps_eaik?
Have you enabled "BUILD_EDGEAI" in vision_apps?
The log should be seen when you run "source ./vision_apps_init.sh".
Are you not able to see any commands from C7x when you run this script?
Could you please share me the log of "source ./vision_apps_init.sh"?
Regards,
Nikhil