Other Parts Discussed in Thread: TMDSEVM437X,
Hi,
I want to add my python script in the SDK and then run it on TI AM4376 EVM board at its power on..
How can I do that..?
Regards,
Dhara
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,
I want to add my python script in the SDK and then run it on TI AM4376 EVM board at its power on..
How can I do that..?
Regards,
Dhara
Paste this on your terminal, then examine what it does:
cat << EOM > /lib/systemd/system/dhara.service
[Unit]
Description=Dhara
Before=serial-getty@ttyO2.service
[Service]
ExecStart=/usr/bin/python /home/root/dhara.py
StandardOutput=journal+console
[Install]
WantedBy=multi-user.target
EOM
cat << EOM > /home/root/dhara.py
print("Hello World!")
EOM
chmod 644 /lib/systemd/system/dhara.service
chmod 755 /home/root/dhara.py
systemctl enable dhara.service
systemctl daemon-reload
ls