Commit Graph

4 Commits

Author SHA1 Message Date
John Elkins
46ec7dd02b
Improve v2 firmware validation and error checks (#449)
To reduce the chance that a bad firmware image is created and used, the
following functionality has been implemented:

1. Check md5 sums of local files in addition to downloaded files
2. Copy a backup of the original firmware, instead of removing it
3. Do not make an image unless all parts are present
4. Only output success message if the image file exists

The above fixes an issue where if a provided firmware zipfile is unable to
be read, the script continues on, generates a bad demo.bin file, and suggests
the file is good for loading into the camera. The above updates help prevent
this from occurring
2023-07-11 19:21:13 -07:00
Alfonso Gamboa
f4245747f3 Fix fw_tool.sh for darwin compatability
Added Darwin stat -f fix in fw_tool.sh. thanks @mwhdc
2022-07-02 00:32:11 -07:00
Alfonso Gamboa
8ec1be1666 add fps to rtsp, revise run_mmc.sh for v2 2022-05-23 18:41:21 -07:00
Alfonso Gamboa
80378fbd5e add v2 support 2022-05-23 17:56:53 -07:00