Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
1.9.3.10904
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Hi!
I am working with the following scripts:
- dupkg: found on the docker dir: /drive/drive-foundation/tools/driveupdate/dupkg
- directdu: found on the docker dir: /drive/drive-foundation/tools/driveupdate/directdu
Currently I am using the dupkg to create a package:
HOST_SRC=/drive/drive-foundation/tools/driveupdate/delta_tools/test_dir
SRC_NAME=ridgerun-ota-test.py
TARGET_DIR=/rgonzalez/test
OUTPUT_DIR=/drive/ricardo
dupkg gen --template dupkg_sample_template --in SAMPLE_SRC=$HOST_SRC SAMPLE_NAME=$SRC_NAME DESTINATION_SRC=$TARGET_DIR --out $OUTPUT_DIR
# Output
DRIVE Update Packaging Tool
Version 1.4.6
Generating packages... Done
When trying to send it to my target device with directdu script I get the following output:
python3 direct_driveupdate.py -p /drive/ricardo/ -t 10.251.101.68 --results-file /drive/drive-foundation/tools/driveupdate/log.json --log-file /drive/drive-foundation/tools/driveupdate/log.txt --target-controlled -v
2024-07-23 19:11:22,376 - [INFO]Connecting to target board
2024-07-23 19:11:22,377 - [DEBUG]Wait 1 second before next retry
2024-07-23 19:11:22,377 - [DEBUG][INFO]Client will connect to server
2024-07-23 19:11:22,377 - [DEBUG][INFO]Create a connection on 0.0.0.0:0
2024-07-23 19:11:22,377 - [DEBUG][INFO]Connection to /gos-a not ready in dulinkRemoteOpReadAttrSize
2024-07-23 19:11:23,378 - [DEBUG]Wait 1 second before next retry
2024-07-23 19:11:23,379 - [DEBUG][INFO]Establishing 10.251.101.39:52450 <-> 10.251.101.68:4455, FD 9.
2024-07-23 19:11:23,380 - [DEBUG][INFO]Connection to /gos-a not ready in dulinkRemoteOpReadAttrSize
2024-07-23 19:11:23,482 - [DEBUG][INFO]Peer is closed. Try to connect with magic word.
2024-07-23 19:11:23,584 - [DEBUG][INFO]Establishing 10.251.101.39:52456 <-> 10.251.101.68:4455, FD 9.
2024-07-23 19:11:23,585 - [DEBUG][INFO]Socket 0: 0.0.0.0:52456 <-> 10.251.101.68:4455, FD: 9 is connected.
2024-07-23 19:11:23,586 - [DEBUG][INFO]Handle 0x7fc255af5270, client request a connection
2024-07-23 19:11:23,586 - [DEBUG][INFO]Handle 0x7fc255af5270, client request a connection
2024-07-23 19:11:23,587 - [DEBUG][INFO]Remote node /gos-a is connected
2024-07-23 19:11:24,381 - [INFO]Target board connected
2024-07-23 19:11:24,386 - [INFO]Trigger update: deploy metadata=/gos-a/ddu/du_master.json content_root=/gos-a/ddu
2024-07-23 19:11:24,389 - [INFO]Update has been successfully triggered
Progress: [****************************************] 100 %2024-07-23 19:11:24,392 - [INFO]Update state STATE_DORMANT, Update complete!
2024-07-23 19:11:24,891 - [INFO]Update completed!
Successfully deployed package /drive/ricardo/
Please see /drive/drive-foundation/tools/driveupdate/log.txt for logs of the run
Please see /drive/drive-foundation/tools/driveupdate/log.json for detailed stats
2024-07-23 19:11:24,893 - [DEBUG]
When checking on my target device for the package I cant find it on /rgonzalez/test/ dir.
Do you know what is happening here? Where is the package going?