From b662ab63f7b76943a4c5332bfea5372cba4ea774 Mon Sep 17 00:00:00 2001 From: Carl Vargklint Date: Thu, 23 Jan 2025 13:42:11 +0100 Subject: [PATCH] Added separate flash script --- flash.sh | 3 +++ install.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 flash.sh diff --git a/flash.sh b/flash.sh new file mode 100644 index 0000000..2e4d691 --- /dev/null +++ b/flash.sh @@ -0,0 +1,3 @@ +#!/bin/bash +uhd_find_devices +uhd_image_loader --download --args type=b200 diff --git a/install.sh b/install.sh index 35c8e1d..ca7e803 100644 --- a/install.sh +++ b/install.sh @@ -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.