Added separate flash script

This commit is contained in:
Carl Vargklint 2025-01-23 13:42:11 +01:00
parent 47121ebffa
commit b662ab63f7
2 changed files with 5 additions and 1 deletions

3
flash.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
uhd_find_devices
uhd_image_loader --download --args type=b200

View File

@ -53,4 +53,5 @@ cp -r ./firmware/* /usr/lib/ettus/ # Copy firmware files
chown -r root:root /usr/lib/ettus/ # Ensure root owns the files
chmod -r 776 /usr/lib/ettus/ # This makes only root able to change the folder and file content
uhd_image_loader --download --args type=b200
uhd_find_devices # Needs to identify before it flashes
uhd_image_loader --download --args type=b200 # Flashes from the directory the file is in.