在switch上跑yolov5?
2023-08-18 09:34 作者:OpenJetson | 我要投稿

升級jetpack4.6.4
# remove the 32.7.x bsp restrictions in this file sudo nano /etc/apt/preferences.d/00-switch-bsp-restrictions # change r32 to r32.7 in both places in this file sudo nano /etc/apt/sources.list.d/nvidia-l4t-apt-source.list # create a few files to skip some stuff sudo touch /etc/nv_boot_control.conf sudo mkdir /opt/nvidia/l4t-packages sudo touch /opt/nvidia/l4t-packages/.nv-l4t-disable-boot-fw-update-in-preinstall # now apt update and upgrade # when you get asked if you want to replace the files with the distro maintainers version, answer N each time sudo apt update sudo apt dist-upgrade # finally, before rebooting, add a '.reinit' file to the 'switchroot/ubuntu' folder on your sd card # edit the path to match your mounted fat32 sd card partition touch /media/$USER/switchroot/ubuntu/.reinit now reboot. if you already ran the megascript to get the 32.3.1 BSP flatpaks, you will need to manually remove them sudo flatpak remove org.freedesktop.Platform.GL.nvidia-tegra-32-3-1 remove this file and then run anything from the L4T-Megascript again to install 32.7.3 flatpak drivers rm ~/L4T-Megascript/data/runonce_hashes
標簽: