I am following the steps on DRIVE PDK 5.0.10.3 release to sync up time between aurix and Xavier A on DRIVE AGX DEV KIT. I found gptpon is an invalid command from aurix console. also help command only lists the following commands. please advise. thanks
aurixreset : Power cycle board including Aurix
cemode [read|write] [n] : Read or write CE Mode in inforom
cimrom get sku : Get the information from CIM I2C ROM
date [0x12345678] : Set date = 0x12345678 on Aurix in seconds(Unix style)
help : Shows all available commands supported
i2cread x y z n : Reads ‘n’ bytes from device ‘y’ at offset ‘z’ of I2C-controller ‘x’ (all hex-byte-values)
i2cscan [0|1] : Scan all connected I2C devices at I2C module 0 or 1
i2cwrite x y z n b0 b1 … : Writes ‘n’ bytes to device ‘y’ at offset ‘z’ , values Byte-b0, Byte-b1 … of I2C-controller ‘x’ ()
inforom [dump] : Dump the Inforom M24C02 content in hex format
poweron : Turn main power on and release Tegra resets
poweroff : Set the outputs to system power off state
readNvRam : Read NvRam content
setdio [0|1] [on|off] : Set DIO pin on Aurix ‘0 = AURIX_LED1 | 1 = AURIX_LED2’ to on/off
tegrarecovery [x1|x2|cvm] [on|off] : Set Tegra X1/X2/CVM in recovery mode
tegrareset [x1|x2|cvm] [h] : Reset Tegra X1/X2/CVM. Default is ‘X1’. If ‘h’ option is supplied, then hold the specified Tegra in .
cansetbr [a|b|c|d|e|f] [125|250|500|1000] [1000|2000] : Switch baudrate of requested CAN channel to supported baudrate
status : Display the Aurix internal status
versio
Could you please update Drive AGX PDK to the latest version(DRIVE Software 8.0)?
Aurix FW will be updated new version and then you can find command like below. Thanks.
shell> version
Info: Executing cmd: version, argc: 0, args: SW Version: DRIVE-V5.0.13-E3550-EB-Aurix-ForHyperion-3.01.05
Compilation date: Nov 12 2018, 12:50:16
Command Executed
shell> help
Info: Executing cmd: help, argc: 0, args:
DEBUG: command_help()
aurixreset : Power cycle board including Aurix
cemode [read|write] [n] : Read or write CE Mode in inforom
cimrom get sku : Get the information from CIM I2C ROM
date [0x12345678] : Set date = 0x12345678 on Aurix in se)
help : Shows all available commands supportd
i2cread x y z n : Reads ‘n’ bytes from device ‘y’ at o)
i2cscan [0|1] : Scan all connected I2C devices at I21
i2cwrite x y z n b0 b1 … : Writes ‘n’ bytes to device ‘y’ at of)
inforom [dump] : Dump the Inforom M24C02 content in ht
poweron : Turn main power on and release Tegras
poweroff : Set the outputs to system power off e
readNvRam : Read NvRam content
setdio [0|1] [on|off] : Set DIO pin on Aurix '0 = AURIX_LED1f
tegrarecovery [x1|x2|cvm] [on|off] : Set Tegra X1/X2/CVM in recovery mode
tegrareset [x1|x2|cvm] [h] : Reset Tegra X1/X2/CVM. Default is 'X.
cansetbr [a|b|c|d|e|f] [125|250|500|1000] [1000|2000] : Switch baudrate of requested CAN chae gptpon : Switch gPTP on (for AURIX)
gptpoff : Switch gPTP off (for AURIX, this is )
status : Display the Aurix internal status
bootstrap [x1|x2] [qspi|emmc|ufs] : Configure strap settings for boot mem
version : Shows the SW version
Command Executed
Thanks for your reply. I installed sdkmanager_0.9.9-2351_amd64.deb and I tried the update by falshing Xavier A&B in parallel or A only, unfortunately both failed to work.
a) error message from NV_FLASH_XAVIER_PDKFLASH_A_COMP.log:
/home/jc/nvidia/nvidia_sdk/DRIVE/Linux/5.0.13.2/SW/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/bootburn_lib.sh: line 291: [: too many arguments
error-tool-tegrarcm-chipinfo – Failed to get UID of chip
bootburn flashing failed! error code = 50
Info: [ Component Install Finished with Error ]
Error: NV_FLASH_XAVIER_PDKFLASH_A_COMP command ./pdk_flash.sh -b e3550b03-t194a-es finished with error
b) error message from NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP.log
/home/jc/nvidia/nvidia_sdk/DRIVE/Linux/5.0.13.2/SW/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/bootburn_lib.sh: line 291: [: too many arguments
error-tool-tegrarcm-chipinfo – Failed to get UID of chip
Did you put the board into Recovery mode for flashing?
Please the following step to flash the platform with a new image.
To flash the platform with a new image
Connect the USB A cable to the platform:
If no other USB/Serial adapters are connected to the host, the ttyUSB port are as follows:
• AURIX UART: /dev/ttyUSB3
• Tegra A UART: /dev/ttyUSB2
• Tegra B UART: /dev/ttyUSB6
If other USB serial adapters are already in use, the host takes relative numbering.
Use the AURIX serial console to put the board into Recovery mode for flashing.
tegrarecovery on
tegrareset
Where is x1 or x2.
On the host system, verify that Tegra is in recovery mode using the following lsusb command to display the NVIDIA device.
lsusb | grep -i nvidia
Bus 001 Device 006: ID 0955:7721 Nvidia Corp
Flash your board using one of the following commands:
Xavier A (x1):
./bootburn.sh -b e3550xxx-t194a -B qspi
Xavier B (x2):
./bootburn.sh -b e3550xxx-t194b -B qspi
Thank you SteveNV. I run the sdkmanager to flash but it failed and stopped. I could try your above steps manually, but I am afraid it won’t help update aurix firmware to the new version, right? how could I get the whole system upgraded to DRIVE Software 8.0?
By the way, I found there are two folders contain bootburn.sh, which one should I use if I try your steps?
I had seen a similar error message when sdkmanager (or one of it’s child processes) wasn’t able to access USB device node. Does sdkmanager have access to /dev/bus/usb/*?
I am using Ubuntu 16.04 with kernel version 4.4.0-142-generic. We have not decided to upgrade the system firmware yet. the reason is that I found out that the CUDA version will be upgraded to 10.0 from 9.2. Our engineers are extensively using 9.2 on the pc. so we need to evaluate it before upgrading to 10.0.
I do want to upgrade the firmware of Aurix to the new version ( to get the gptpon command). If I flash the aurix firmware only through windows, does it have any side effect later on when I run your updated version of sdkmanager?
Okay, we have decided to upgrade to the latest firmware. plan to use the following commands to upgrade Xavier_A and B respectively, based on the other post.
please let me know what script to use to flash firmware for Aurix and what firmware version to use? Should I flash Aurix firmware before or after flashing Xavier firmware?
I think Aurix FW will be updated automatically when run the above command.
However if Aurix FW is not updated, you have to update it manually.
For flashing Aurix, please refer to Flashing AURIX part in NVIDIA Drive SoftWare 8.0 doc.
DRIVE OS → Flahsing Basics → Flashing AURIX.
Please check Aurix FW version with below command via HostPC.
I managed to upgrade the firmware for aurix and Xavier A&B using the methods based the other posts. The tricky part was that I had to upgrade Xavier B first using sdkmanager, and then I can either upgrade A&B in parallel or just A only.
Now I got gptpon command from aurix console. I am trying to sync time on Xavier A&B to aurix. but the third command below failed to execute
I did not. After flashing the new firmware, I found
a nv_ptp_master.service is already started on xavier A, and nv_ptp_slave.service on xavier B, both on eth0. I am a little bit confused now. do I need to kill the processes started by nv_ptp_master.service and nv_ptp_slave.service first before running your scripts? also, your scripts use eth0.200 (of course, br0.200 down first). could you detail the difference?
regardless if the rtc module is connected or not, after a cold reboot, aurix data reverts back to July 4, 1970.