hi i made a trusted application for jetson xavier nx that does very simple task to sending a parameter to trusted world and get another parameter from it in rich world and show it, and its work fine when i run it in simple way in terminal with command
after that i want to this application run as a service after every boot, so i made this service
[Unit]
Description=test_application
After=nv-tee-supplicant.service
Requires=nv-tee-supplicant.service
[Service]
ExecStart=/usr/sbin/optee_custom_example
Type=oneshot
User=root
[Install]
WantedBy=multi-user.target
but there is a problem after all of things that need to done to the service be enable when i restart the jetson the jetson dosent boot completely it will restart it rapidly some times it will show me some message that show the kernel panic happened
[end kernel panic - not syncing: oops: fatal exception]
what is the problem ?? is it because of configs of my service or optee make systemd lock somehow to if any changing happend in systemd system sont boot up ??
i will be so thankful if you help me