I am trying to run my script to startup without having access to the Jupyter notebook. The script worked perfectly when Jupyter notebook was used but throws errors when expected to run on boot.
I followed instructions from Starting PYNQ Programs At Boot. I am using Ultra96-v2, Vitis1.4, Pynq 2.7.
Since PYNQ SD card image 2.6 we recommend using
boot.py to modify SD card boot behaviour.
If you want to do this on your own script, since PYNQ SD card image 2.7
pynq is installed in a virtual environment. Therefore, you need to source the appropriate env. See discussion here
Thanks, @marioruiz both options worked.