Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.53.1 #11170

Merged
merged 458 commits into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
458 commits
Select commit Hold shift + click to select a range
dd713e8
copy frame only when needed
remibettan Jun 22, 2022
cb022fc
code review corrections
remibettan Jun 22, 2022
0fc9b42
hwmc - restoring usb api
remibettan Jul 3, 2022
b136188
comment added for usb enumeration successfull within this branch
remibettan Jul 3, 2022
e09a212
adding ifdef flags for mipi/usb work
remibettan Jul 4, 2022
d3e3d8b
fix minor bug in ds5-color
remibettan Jul 4, 2022
9e4390d
fix profiles unordered_set - permits usb depth stream
remibettan Jul 4, 2022
7d791fa
hack hwm to make mipi and usb work togethter - temp
remibettan Jul 4, 2022
fa7f2a7
permitting usb metadata - v4l_uvc_device checked
remibettan Jul 7, 2022
f40255b
removing ifdef flags
remibettan Jul 7, 2022
7d1da08
adding private methods
remibettan Jul 7, 2022
101d6b5
v4l2_ext_controls initialized to fit different kernel versions
remibettan Jul 10, 2022
0a37ce4
hwm w/a - improved by setting mipi or usb api once instead of try cat…
remibettan Jul 12, 2022
0354229
fix metadata offset acc to v4l device class
remibettan Jul 12, 2022
9521c1a
video-md syncer - override md buffer when same sequence number is pushed
remibettan Jul 13, 2022
1e69df1
DFU via MIPI - started
remibettan Jul 17, 2022
bef6e81
usb hwm api used also for mipi
remibettan Jul 19, 2022
04b3f25
check fw compatibility for dfu via mipi
remibettan Jul 24, 2022
3832346
code review minor changes
remibettan Aug 1, 2022
84a2a39
updating csharp and android wrappers
remibettan Aug 3, 2022
27ff20e
code review minor changes
remibettan Aug 3, 2022
d92dabb
update to version 2.52.0
maloel Aug 4, 2022
fee7770
udev rules for d4xx mipi dfu access
dmipx Jul 21, 2022
cd5dc9d
Merge pull request #10736 from dmipx/d4xx_mipi_dfu_udev
ev-mp Aug 8, 2022
864b289
added utilities/string/chrono.h; fix unit-tests/utilities/time/test-w…
maloel Aug 10, 2022
6aecd77
Merge pull request #10698 from remibettan/D4XX_Merge
ev-mp Aug 10, 2022
d3646ca
added ctime include to chrono.h
maloel Aug 14, 2022
bc19158
list_devices added parrallel to operational code
remibettan Jul 28, 2022
153c341
v4l enumeration refactored with private methods
remibettan Jul 28, 2022
1f5bcf2
permitting enum of mipi device even if usb device enumertated connect…
remibettan Jul 28, 2022
31d7702
Merge PR #10762 from Eran: added utilities/string/chrono.h; fix test-…
Nir-Az Aug 14, 2022
747c035
LibCI: reduce warning count to 1 in Windows
maloel Aug 15, 2022
5417233
Merge PR #10776 from Eran: LibCI: reduce warning count to 1 in Windows
Nir-Az Aug 15, 2022
8a6c76b
Update LRS_jetson_compile_pipeline.stats
maloel Aug 15, 2022
40ff696
code review corrections
remibettan Aug 15, 2022
be756bd
merge origin/251
remibettan Aug 15, 2022
7f1eb75
Update rs.h
maloel Aug 15, 2022
eba2ab1
Update package.xml
maloel Aug 15, 2022
64d4796
remove tabs
remibettan Aug 15, 2022
0ab5264
PR #10606 from Samer: add LibCI jetson stats file
maloel Aug 15, 2022
ffd0407
comment added regarding unique id for mipi device
remibettan Aug 16, 2022
a12c0a2
verify supported requests on sensor open
remibettan Jul 24, 2022
338bea8
removing tabs
remibettan Aug 16, 2022
a0e4111
disabling auto limits in ds5-device CTOR
remibettan Aug 16, 2022
0735fd4
Merge pull request #10774 from remibettan/D4XX_WrongFPS
ev-mp Aug 16, 2022
3be98de
Merge pull request #10778 from remibettan/D4XX_MIPI_251_merged
ev-mp Aug 16, 2022
33baa75
Merge pull request #10784 from remibettan/D4XX_disable_auto_limits
ev-mp Aug 16, 2022
01f9ce5
minor code review comments fixed
remibettan Aug 16, 2022
c1cdd08
v4l2 backend - ignoring buffers with flag V4L2_BUF_FLAG_ERROR
remibettan Aug 14, 2022
5413632
debug message updated
remibettan Aug 15, 2022
5295cb1
Rectify OCC Sync
ev-mp Aug 17, 2022
06a8072
Merge pull request #10790 from ev-mp/D4XX_MIPI_OTF
ev-mp Aug 17, 2022
ed21e2e
Merge pull request #10773 from remibettan/D4XX_dyn_enum
ev-mp Aug 17, 2022
54153a7
Merge pull request #10772 from remibettan/D4XX_dq_debug
ev-mp Aug 17, 2022
8bffd52
bump to 2.53
maloel Aug 17, 2022
01c3c31
mipi update unsigned fw wip
remibettan Aug 1, 2022
5d49178
Addressing LRS-462 Viewer IR frames switch
OhadMeir Aug 18, 2022
92adb3a
Merge branch 'development' of https://github.com/IntelRealSense/libre…
OhadMeir Aug 18, 2022
8366f5f
wa added in frame size assertion, and proc block added for Y16 via mipi
remibettan Aug 18, 2022
29bc41c
time diff keeper enable fix
remibettan Aug 21, 2022
9b800bb
restore global time option for color sensor via mipi
remibettan Aug 21, 2022
92edc19
Merge pull request #10794 from remibettan/D4XX_y16_crash_temp_fix
ev-mp Aug 21, 2022
2c0b36b
restore global ts for motion via mipi
remibettan Aug 21, 2022
99b009c
fail message updated
remibettan Aug 21, 2022
88bb0d3
Merge pull request #10793 from remibettan/D4XX_fw_update_fix_ui
ev-mp Aug 21, 2022
eec3bc0
Merge pull request #10798 from remibettan/D4XX_ts_global_hw_fix
ev-mp Aug 21, 2022
cbce540
cuda code compilation correction
remibettan Aug 21, 2022
c62c5ba
PR #10800 from Remi: cuda code compilation correction
maloel Aug 22, 2022
e0bed2f
Merge PR #10797 from Ohad: Addressing LRS-462 Viewer IR frames switch…
Nir-Az Aug 23, 2022
a96a096
Fix popup's operator== comparison
baderouaich Aug 23, 2022
248f9af
Changed order of the if condition to avoid the possibility of derefer…
baderouaich Aug 23, 2022
49be7fd
Fixed wrong usage of memset()
baderouaich Aug 23, 2022
ef96f66
Fixed standard deviation check must between range
baderouaich Aug 23, 2022
328c28a
Fixed wrong usage of memset()
baderouaich Aug 23, 2022
4e90d0a
Fixed potential memory leak in RsSimpleRTPSink
baderouaich Aug 24, 2022
f7bb49c
warnings count increased to 23
remibettan Aug 24, 2022
dd2d9e9
Merge branch 'master' into development
maloel Aug 24, 2022
acd8f39
Merge pull request #10813 from maloel/development
ev-mp Aug 24, 2022
0310d8d
Revert "v4l2 backend - ignoring buffers with flag V4L2_BUF_FLAG_ERROR"
ev-mp Aug 24, 2022
f98e9d0
fix compilation with gcc 10+
chris-durand Aug 24, 2022
6483fa4
correct typo
remibettan Aug 28, 2022
0a0bf54
Merge pull request #10816 from IntelRealSense/revert-10772-D4XX_dq_debug
ev-mp Aug 29, 2022
ae64533
undefine v4l_debug logs
remibettan Aug 29, 2022
1f30ed7
Fix cast/conversion issue when using mixed int/float types
ev-mp Aug 29, 2022
1b4300f
Merge pull request #10839 from ev-mp/fix_y12i_heuristic
ev-mp Aug 29, 2022
fb0d75b
Merge pull request #10840 from remibettan/undef_v4l_debug_logs
ev-mp Aug 29, 2022
baf4ffe
PR #10812 from Remi: Jetson warnings count increased to 23
maloel Aug 30, 2022
a11309c
LibCI: change platform.uname()[3] to .release()
maloel Aug 22, 2022
154fa4c
LibCI: add ignored-products to error message
maloel Aug 22, 2022
33139ae
make LibCI context a list of keywords
maloel Aug 31, 2022
95a278e
fix LibCI pose test to not run under Jetson
maloel Aug 31, 2022
bf42141
fix LibCI devices.py to not fail standalone with D457
maloel Aug 31, 2022
1f17d41
y16i parsing corrected, bpp for y16i added
Aug 31, 2022
d52013f
PR #10844 from Eran: LibCI fixes/enhancements to support D457
maloel Sep 1, 2022
08c754f
PR #10844 from Eran: LibCI fixes/enhancements to support D457
maloel Sep 1, 2022
e56db63
enable kernel patch for Ubuntu 22.04 (kernel 5.1x)
mengyui Jun 25, 2022
9862c7c
Merge PR #10625 from mengyui: enable kernel patch for Ubuntu 22.04
Nir-Az Sep 1, 2022
138e379
change class from y16i_to_y16y16 to y16i_to_y10msby10msb
remibettan Sep 1, 2022
cd0323b
LRS Linux kernel support for Y16i
dmipx Aug 3, 2022
6fc9bc3
Merge PR #10745 from Dima: LRS Linux kernel support for Y16i
Nir-Az Sep 1, 2022
aa88d85
add missing dependence for build kernel module
mengyui Sep 3, 2022
7018144
Merge pull request #10737 from remibettan/y16i_support
ev-mp Sep 4, 2022
95cd634
Merge PR #10818 from chris-durand: Fix compilation with GCC 10+
Nir-Az Sep 4, 2022
4f3cf54
y16-streaming test added
remibettan Aug 28, 2022
81183a9
Fix two undefined behavior issues (pipeline/config, elpp)
riking Sep 6, 2022
0f8c9c0
Merge PR #10835 from remibettan: Add y16 test to libci
Nir-Az Sep 7, 2022
f0e4244
upgrade ELPP to v9.96.7
maloel Sep 7, 2022
f736f55
fix warning C4101: 'ex': unreferenced local variable
maloel Sep 7, 2022
7429fd8
Try to undo the ELPP change to avoid conflicts
maloel Sep 7, 2022
27e9e61
PR #10880 from Eran: upgrade ELPP to v9.96.7
maloel Sep 7, 2022
eb740b9
PR #10876: undefined behavior issue in pipeline/config
maloel Sep 7, 2022
d98b731
video_md_syncer in v4l2 backend - avoid push/pull operations after fl…
remibettan Sep 6, 2022
9bb85de
stopping syncer before flushing
remibettan Sep 7, 2022
5b6b818
PR #10809: Some bug fixes from cppcheck
maloel Sep 7, 2022
bd99686
Fix build fail due missing operator= in popup
baderouaich Sep 7, 2022
6ba6797
Remove 'popup' const members
maloel Sep 8, 2022
0501678
PR #10881: fix #10809 missing popup::operator=
maloel Sep 8, 2022
11b7e2e
PR #10874 from remibettan: Fix video md sync issue in v4l2 backend
Nir-Az Sep 8, 2022
afc5a20
Improved/fixed installation.md syntax
ysozkaya Sep 13, 2022
1749c80
PR #10893 from 35selim: Improved/fixed installation.md syntax
Nir-Az Sep 13, 2022
638d001
adding the hardware size tool tip
noacoohen Sep 13, 2022
ef8bc84
PR #10865 from mengyui: add missing dependence for build kernel module
Nir-Az Sep 14, 2022
19363c2
docs - Ubuntu 20/22 driver patching note
dmipx Sep 14, 2022
ca3355e
PR #10895 from noacoohen: Set the metadata hardware size tool tip des…
Nir-Az Sep 14, 2022
30d9c65
PR #10898 from dmipx: docs - Ubuntu 20/22 driver patching note
Nir-Az Sep 14, 2022
bf48dfd
PR #10634 from jcremona: L4T patch - Bash script made an incorrect st…
Nir-Az Sep 15, 2022
8ddebea
PR #10522 from YoniChechi: bugfix - next_pixel_in_line
Nir-Az Sep 18, 2022
3d9d319
restricting the D405 w/a for calibration resolution to D405 PID only
remibettan Sep 18, 2022
aa4d396
align dev unit-tests/ scripts with D4XX_MIPI because of errors
maloel Sep 20, 2022
a90b131
PR #10917 from Eran: align dev unit-tests/ scripts with D4XX_MIPI bec…
maloel Sep 20, 2022
ed2fff4
adding gil_scoped_release to sensor open api methods
remibettan Sep 20, 2022
c7715ac
attempt at reducing warnings (U20)
maloel Sep 20, 2022
47d64aa
adding gil_scoped_release to sensor open api methods
remibettan Sep 20, 2022
4141372
PR #10918 from remibettan: adding gil_scoped_release to sensor open a…
Nir-Az Sep 20, 2022
4302ef6
PR #10920 from remibettan: adding gil_scoped_release to sensor open a…
Nir-Az Sep 20, 2022
cb248c9
PR #10921 from Eran: attempt at reducing warnings (U20)
maloel Sep 20, 2022
4ebbd21
comment added
remibettan Sep 20, 2022
39786d8
PR #10913 from remibettan: restricting the D405 w/a for calibration r…
Nir-Az Sep 20, 2022
f43330b
test-timestamp-damain file created
Tamir91 Sep 13, 2022
bba9950
test completed
Tamir91 Sep 21, 2022
7da6029
test added to stage
Tamir91 Sep 21, 2022
8d2c7c4
minors changes
Tamir91 Sep 21, 2022
ae281dc
new version with queue
Tamir91 Sep 22, 2022
a7598f4
test prints removed
Tamir91 Sep 22, 2022
b191e67
Excetions was changed
Tamir91 Sep 22, 2022
27639c2
fix type and method err for Python3
xuao575 Sep 22, 2022
f90b046
PR #10931 from aoxu2000: fix type and method err for Python3
Nir-Az Sep 22, 2022
ce9d9b6
LibCI: fix bug with acroname.NoneFoundError
maloel Sep 25, 2022
40fd384
LibCI: fix bug in repo.find_pyrs() if build dir isn't found
maloel Sep 25, 2022
7abfbd7
PR #10938 from Eran: LibCI: fix a couple of minor bugs with errors
maloel Sep 25, 2022
64e66a5
Merge remote-tracking branch 'origin/development' into D4XX_MIPI
maloel Sep 28, 2022
58db779
reduce warning count to 16 on Jetson
maloel Sep 28, 2022
9776a8e
PR #10945 from Eran: Merge dev to D4XX_MIPI
maloel Sep 28, 2022
52aff4d
enabling emitter on off for mipi
remibettan Sep 28, 2022
796ec03
test changed second time according instructions #10925
Tamir91 Sep 29, 2022
0d72af3
Fix DSO-18454 laser turned off after calibration
OhadMeir Sep 29, 2022
f8c63a1
small changes according Nir
Tamir91 Oct 2, 2022
f1de5ac
bug unreacheable last line fixed
Tamir91 Oct 2, 2022
3784fcf
PR #10925 from Tamir91: Add a unit test for "timestamp domain" option
Nir-Az Oct 2, 2022
014ca23
add emitter frequency option skelton
Nir-Az Sep 19, 2022
0d6d649
register new option
Nir-Az Sep 20, 2022
edf6f5e
fixes & cosmetics
Nir-Az Sep 25, 2022
90d6060
change draw order to enable enum draw for 0-1 values
Nir-Az Sep 25, 2022
edae00b
extract option-model into it's own source files
Nir-Az Sep 25, 2022
c5b81b1
add MIPI registers mapping
Nir-Az Sep 28, 2022
a268a4e
fix linux linkage error
Nir-Az Sep 28, 2022
c5a6830
rename control
Nir-Az Sep 29, 2022
f4ebea5
add unit test
Nir-Az Sep 29, 2022
fea1b6a
do not run if not supported
Nir-Az Oct 2, 2022
613547e
add python version comparation
Nir-Az Oct 3, 2022
2ee9acd
splash.hpp and splash.png with new intel logo added
Tamir91 Oct 3, 2022
c7bf69f
function return current year added
Tamir91 Oct 6, 2022
da05020
PR #10971 from Tamir91: Update Intel RealSense logo
Nir-Az Oct 6, 2022
46114cd
adding INFO trying to get more information when test fails
noacoohen Oct 13, 2022
c23ea13
adding EOL at the end of the file
noacoohen Oct 13, 2022
55ccaeb
icons were encrypted in icon.h file
Tamir91 Oct 13, 2022
b621665
bump json to v3.11.2
maloel Oct 16, 2022
289e01f
fix missing include in versions-db-manager.h
maloel Oct 16, 2022
5462f13
registering to y16i format removed
remibettan Oct 18, 2022
e6977b9
Updated according to DSO-18454 requirements
OhadMeir Oct 18, 2022
34a3818
PR #10992 from Tamir91: Update RS icons
Nir-Az Oct 18, 2022
1f289ea
PR #11002 from remibettan: registering to y16i format removed
Nir-Az Oct 18, 2022
4ac18a5
CR fixes
Nir-Az Oct 19, 2022
9265921
move global func to member func
Nir-Az Oct 19, 2022
45bc785
gated_option, skipping gate if unavailable
remibettan Oct 19, 2022
0746567
add recording call
Nir-Az Oct 19, 2022
e45b1fa
PR #10953 from Nir-Az: Add a new Emitter frequency option
Nir-Az Oct 19, 2022
1f4a8bd
Fix possibly uninitialized memory. Add documentation.
stefanhige Oct 21, 2022
eb422f2
PR #11000 from Eran: bump json to v3.11.2
maloel Oct 24, 2022
e9a29da
PR #11013 from stefanhige: fix possibly uninitialized memory + add do…
Nir-Az Oct 24, 2022
945804e
adding INFO to get more info when test fails, fixing notes
noacoohen Oct 25, 2022
3ff6333
fix rs-server can't compile when -DBUILD_WITH_OPENMP:bool=ON
Oct 26, 2022
429053b
PR #10990 from noacoohen: Add more information to waiting-on test
Nir-Az Oct 26, 2022
824237e
PR #11026 from Hsiang0717: fix rs-server can't compile when -DBUILD_W…
Nir-Az Oct 26, 2022
1414e05
comment added
remibettan Oct 27, 2022
dee61e5
PR #11034 from remibettan: D4 xx emitter on off
Nir-Az Oct 27, 2022
7f270f2
Use options_model::set_option to update GUI during calibration
OhadMeir Oct 27, 2022
6b9ed48
PR #10948 from OhadMeir: Fix DSO-18454 laser turned off after calibra…
Nir-Az Oct 27, 2022
7567556
Merge branch 'development' into D4XX_MIPI
remibettan Oct 27, 2022
c480e66
Merge remote-tracking branch 'origin/D4XX_MIPI' into D4XX_MIPI
remibettan Oct 27, 2022
553b39e
Merge branch 'development' into D4XX_MIPI
remibettan Oct 27, 2022
9c1c3ab
removing if (false) statement
remibettan Oct 27, 2022
c00e630
PR #11037 from remibettan: merge development work
Nir-Az Oct 27, 2022
40dd076
add git fetch
codekansas Oct 28, 2022
637e289
PR #11041 from codekansas: Do a shallow git fetch instead of full fetch
Nir-Az Oct 29, 2022
f26fcd5
D457 testing t2ff restored
remibettan Oct 30, 2022
06fe68c
PR #11043 from remibettan: D457 testing t2ff restored
Nir-Az Oct 30, 2022
8250247
Update ros1 and ros2 links in readme.md
SamerKhshiboun Oct 31, 2022
f2f587a
PR #11051 from SamerKhshiboun: Update ros1 and ros2 links in readme.md
Nir-Az Oct 31, 2022
b80361a
add no-lto flag
Nir-Az Oct 28, 2022
4d5601a
change libRS to LibRealSense in package.xml (to be aligned with reals…
SamerKhshiboun Nov 2, 2022
bee448c
PR #11061 from Nir-Az: Fix jammy debian build
Nir-Az Nov 2, 2022
eb34a0a
PR #11062 from SamerKhshiboun: change libRS to LibRealSense in packag…
Nir-Az Nov 2, 2022
086ab62
Enable Multile D457 Support
hsuys Nov 3, 2022
1a1492c
Remove node id. Use bus_info for D457 unique id
hsuys Nov 4, 2022
74a4fc4
Debug OCC outliers/ stability
Aug 16, 2022
bc47b48
Minor adjustment for flow
ev-mp Sep 28, 2022
f41fa72
Handle HWM failures
ev-mp Sep 28, 2022
58c29d3
OCC converge, Tare streamline
ev-mp Oct 2, 2022
e715c91
W/A for Tare using rolling frame counter
ev-mp Oct 3, 2022
03e120c
Allow for Tare/OCC run side by side
ev-mp Oct 3, 2022
03bee19
Add calib_info frame counter
ev-mp Oct 3, 2022
619ad03
Read calib frame counter via dedicated MD field
ev-mp Oct 3, 2022
491d1d0
Clean up and reorg debug messages
ev-mp Oct 6, 2022
a8d122a
Provide OCC/Tare updated python example with host-assistance mode
ev-mp Nov 6, 2022
4bd7ae1
D457 to use default preset specified for D455
ev-mp Nov 6, 2022
18af76b
Enforce HA option for MIPI SKU
ev-mp Nov 6, 2022
5d2861d
Fix outliers correction
ev-mp Nov 6, 2022
1b0e06b
Fix NodeJs bindings with MIPI Metadata. Update attributes documentation
ev-mp Nov 7, 2022
e2f1f9b
Adjust line width according to NodeJs formatting
ev-mp Nov 7, 2022
bb4f27a
Addressing CR comments
ev-mp Nov 7, 2022
4035ee7
Dev comment for maintenance
ev-mp Nov 7, 2022
c558086
add python 3.10 support
Nir-Az Nov 7, 2022
1421180
update supported kernel versions in docs
Nir-Az Nov 8, 2022
b0e1e26
PR #11076 from Nir-Az: Update supported kernel versions in docs
Nir-Az Nov 8, 2022
fb8f62f
Merge remote-tracking branch 'origin/development' into d4xx_align_to_dev
Nir-Az Nov 8, 2022
5017451
PR #11077 from Nir-Az: D4xx align to dev
Nir-Az Nov 9, 2022
44e8a80
PR #11070 from hsuys/multi D457 support
Nir-Az Nov 9, 2022
0d51464
Merge remote-tracking branch 'origin/master' into align_dev_to_master
Nir-Az Nov 10, 2022
0e0b18e
PR #11082 from Nir-Az: Align development to master
Nir-Az Nov 10, 2022
0852770
update
Nir-Az Nov 10, 2022
f96e7b9
PR #11072 from Nir-Az: Add python 3.10 support
Nir-Az Nov 10, 2022
e100796
Merge remote-tracking branch 'origin/development' into d4xx_align_to_dev
Nir-Az Nov 10, 2022
d02beeb
Merge pull request #11001 from ev-mp/D4XX_OCC_WW43
ev-mp Nov 10, 2022
45a3b95
PR #11086 from Nir-Az: D4xx align to development
Nir-Az Nov 10, 2022
b72ddfa
bump to v2.53.1
maloel Nov 12, 2022
e2e1081
Change default of scan value to allow legacy UCAL scripts to work wit…
ev-mp Nov 22, 2022
284bcf2
Update resolution for HA-calib type to HD.
ev-mp Nov 29, 2022
731cc47
update D4xx FW to 5.14.0.0
maloel Dec 5, 2022
23b0904
PR #11166 from Eran: update D4xx FW to 5.14.0.0
maloel Dec 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ set(COMMON_SRC
"${CMAKE_CURRENT_LIST_DIR}/decompress-huffman.h"
"${CMAKE_CURRENT_LIST_DIR}/updates-model.h"
"${CMAKE_CURRENT_LIST_DIR}/updates-model.cpp"
"${CMAKE_CURRENT_LIST_DIR}/option-model.h"
"${CMAKE_CURRENT_LIST_DIR}/option-model.cpp"
)

set(SW_UPDATE_FILES
Expand Down
52 changes: 52 additions & 0 deletions common/fw-update-helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,62 @@ namespace rs2
return false;
}

void firmware_update_manager::process_mipi()
{
if (!_is_signed)
{
fail("Signed FW update for MIPI device - This FW file is not signed ");
return;
}
auto dev_updatable = _dev.as<updatable>();
if(!(dev_updatable && dev_updatable.check_firmware_compatibility(_fw)))
{
fail("Firmware Update failed - fw version must be newer than version 5.13.1.1");
return;
}

log("Burning Signed Firmware on MIPI device");

// Enter DFU mode
auto device_debug = _dev.as<rs2::debug_protocol>();
uint32_t dfu_opcode = 0x1e;
device_debug.build_command(dfu_opcode, 1);

_progress = 30;
// Grant permissions for writing
// skipped for now - must be done in sudo
//chmod("/dev/d4xx-dfu504", __S_IREAD|__S_IWRITE);

// Write signed firmware to appropriate file descritptor
std::ofstream fw_path_in_device("/dev/d4xx-dfu504", std::ios::binary);
if (fw_path_in_device)
{
fw_path_in_device.write(reinterpret_cast<const char*>(_fw.data()), _fw.size());
}
else
{
fail("Firmware Update failed - wrong path or permissions missing");
return;
}
LOG_INFO("Firmware Update for MIPI device done.");
fw_path_in_device.close();

_progress = 100;
_done = true;
// need to find a way to update the fw version field in the viewer
}

void firmware_update_manager::process_flow(
std::function<void()> cleanup,
invoker invoke)
{
// if device is D457, and fw is signed - using mipi specific procedure
if (!strcmp(_dev.get_info(RS2_CAMERA_INFO_PRODUCT_ID), "ABCD") && _is_signed)
{
process_mipi();
return;
}

std::string serial = "";
if (_dev.supports(RS2_CAMERA_INFO_FIRMWARE_UPDATE_ID))
serial = _dev.get_info(RS2_CAMERA_INFO_FIRMWARE_UPDATE_ID);
Expand Down
5 changes: 3 additions & 2 deletions common/fw-update-helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ namespace rs2
const device_model& get_device_model() const { return _model; }
std::shared_ptr<notifications_model> get_protected_notification_model() { return _not_model.lock(); };

private:
protected:
void process_flow(std::function<void()> cleanup,
invoker invoke) override;
void process_mipi();
bool check_for(
std::function<bool()> action, std::function<void()> cleanup,
std::chrono::system_clock::duration delta);
Expand All @@ -53,4 +54,4 @@ namespace rs2
void draw_expanded(ux_window& win, std::string& error_message) override;
int calc_height() override;
};
}
}
9 changes: 8 additions & 1 deletion common/fw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(REALSENSE_FIRMWARE_URL "https://librealsense.intel.com" CACHE STRING
string(REGEX MATCH "D4XX_RECOMMENDED_FIRMWARE_VERSION \"([0-9]+.[0-9]+.[0-9]+.[0-9]+)\"" _ ${ver})
set(D4XX_FW_VERSION ${CMAKE_MATCH_1})
message(STATUS "D4XX_FW_VERSION: ${D4XX_FW_VERSION}")
set(D4XX_FW_SHA1 d5502ba0c51a9994caca72123ce19735bbbbbf97)
set(D4XX_FW_SHA1 8dc3b8a0b9fdf03410c15b30e04f57701985064a)
set(D4XX_FW_URL "${REALSENSE_FIRMWARE_URL}/Releases/RS4xx/FW")


Expand Down Expand Up @@ -44,6 +44,13 @@ set(L53X_FW_URL "${REALSENSE_FIRMWARE_URL}/Releases/L5xx/FW")

add_library(${PROJECT_NAME} STATIC empty.c)

# disable link time optimization for fw by adding -fno-lto to disable -flto flag
# jammy debian has build errors without it
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
message(STATUS "disable link time optimization for fw project")
target_compile_options(${PROJECT_NAME} PRIVATE -fno-lto)
endif()

if (MSVC)
# lib.exe can't handle multiple .res files, so include them in one.
# even then, the linker won't grab a .res out of a .lib object, so it needs to be explicitly listed
Expand Down
4 changes: 2 additions & 2 deletions common/fw/firmware-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#pragma once

#define D4XX_RECOMMENDED_FIRMWARE_VERSION "5.13.0.50"
#define D4XX_RECOMMENDED_FIRMWARE_VERSION "5.14.0.0"
#define SR3XX_RECOMMENDED_FIRMWARE_VERSION "3.26.1.0"
#define T26X_FIRMWARE_VERSION "0.2.0.951"
#define L51X_RECOMMENDED_FIRMWARE_VERSION "1.5.8.1"
#define L53X_RECOMMENDED_FIRMWARE_VERSION "3.5.5.1"
#define L53X_RECOMMENDED_FIRMWARE_VERSION "3.5.5.1"
Loading