Alternative download location for firmware?
envgap__realsenseai__librealsense-5114
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
bd665a404b526bf9b0b4c30895e849688faf22d1- Manifest
common/fw/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
realsenseai/librealsense #5114 · read the original issue
Currently librealsense downloads the latest firmware from an S3 bucket at configure time, here:
https://github.com/IntelRealSense/librealsense/blob/4f2eac248530ef75fb38b95002522aa032165638/common/fw/CMakeLists.txt#L11-L21
This behaviour can be turned off by passing `-DINTERNET_CONNECTION=0` to CMake, but it would be nice to instead be able to point to a local/elsewhere mirror for these assets. This could be as simple as setting the two lines to something like:
```
set(FW_URL_PREFIX "http://realsense-hw-public.s3-eu-west-1.amazonaws.com" CACHE STRING)
set(D4XX_FW_URL "${FW_URL_PREFIX}/Releases/RS4xx/FW")
set(SR3XX_FW_URL "${FW_URL_PREFIX}/Releases/SR300/FW")
```
So that a user would have the option of passing an alternative base URL in with `-DFW_URL_PREFIX=http://path/to/my/mirror`.04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]