Ultra96v-2 Boot Error

Hello,

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.

Thanks.

Hi @dere_mustapha,

Since PYNQ SD card image 2.6 we recommend using boot.py to modify SD card boot behaviour.

https://pynq.readthedocs.io/en/latest/pynq_sd_card.html#leveraging-boot-py-to-modify-sd-card-boot-behavior

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

Mario

Thanks, @marioruiz both options worked.

1 Like