04-01-2020 08:27 PM - edited 04-01-2020 08:31 PM
On GNU/Linux (Debian Buster), upgrading firmware of Cisco (Tandberg?) PrecisionHD USB Webcam from current version 1.4 (confirmed by checking shutter screen) to latest 1.5, using the .sh script provided at:
Executing script as root fails (user fails even earlier) with following messages echoed to terminal:
------------------------------------
Creating directory scripts
Verifying archive integrity... All good.
Uncompressing upgrade on linux............
Will upgrade Linux uimage software on a connected camera
USB Minishell on vendorId 0x1F82 and productId 0x0001...
Found the device, trying to connect...
Connected to Cosmos
Starting upgrade process
setenv BOOT_DELAY 14
Env var has been set
printenv
BOOT_OS - 1
BOOT_DELAY - 14
MODULE_TEST - 0
OS_INSTANCE - 5
BOOT_LINUX - 0
side - 0
Rebooting device
Device has disconnected
Looking for new connection...
ioctl (HIDIOCGSTRING): Invalid argument
Found the device, trying to connect...
Connected to Cosmos
UBL mode
---------------------------------
Passed the --keep argument to the script and grepped the extracted scripts for "UBL mode" string.
In file `scripts/tb_usb.py` found following section:
----------------------------------
if (usbshell.dev_state == 1):
print "UBL mode \n "
sys.exit(0)
###ubl_flag = 1 UBL MODE NOT supported for upgarde
###usb_shell.usb_sync_cmd_process(usbshell)
###time.sleep(8.0)
#usbshell = usb_shell.usbShell(vendorId, productId, 0, 0, 0, 0, \
# usbshell.usbDev.write(0x03,"\n\n\n")
# time.sleep(1.0)
###state = USB_DEV_INACTIVE
----------------------------------
Divined that UBL mode is "Universal Boot Loader" and relates to "Das u-boot" running in the camera's embedded Busybox image.
Unsure how to proceed.
Can UBL mode be disabled somehow? Should I fiddle with the sleep timings to try to get the script inb4 boot?
EDIT: get web form to recognise line endings for formatting =/