Can't find a firmware file or config file for updating PCIe of DRIVE AGX Pegasus Dev Kit

Please provide the following info:
Hardware Platform: [DRIVE AGX Pegasus™ Developer Kit]
Software Version: [DRIVE Software 10]
Host Machine Version: [native Ubuntu 18.04]
SDK Manager Version: [ 1.3.1.7110]

The eSATA port of DRIVE AGX Pegasus Dev Kit with DRIVE OS 10.0 is not working.
My eSATA cable is working well in Jetson AGX Xaiver dev Kit.

This is following PCIe firmware version
0x00000000:0006>version
Firmware Version Major 01. Minor 08. Type 0. Build D58.
Device Id 8534
Device Revision 1
XML File Version 58
0x00000000:0007>

I think that it needs to update firmware for PCIe. Is it right?

nvidia@tegra-ubuntu:/lib/firmware/pcie-switch/tools/prebuilt$ sudo ./switchtec fw-info /dev/switchtec0
Currently Running:
IMG Version: 1.08 BD58
Active Partition:
BOOT Version: 1.08 B058 CRC: 725a8d2e (RO)
IMG Version: 1.08 BD58 CRC: 1ef507d3 (Running)
CFG Version: 1.08 B3F08 CRC: be0d8436 (Running)
Inactive Partition:
IMG Version: 1.08 B058 CRC: 75ee068d
CFG Version: 1.08 B058 CRC: b758e283
nvidia@tegra-ubuntu:/lib/firmware/pcie-switch/tools/prebuilt$

I try to update firmware of PCIe as DRIVE OS document but i can’t find firmware file or config file. it is following my desktop folder:

Don’t exist “/drive-t186ref-foundation/firmwares/bin/t19x/microsemi/” folder

How can i download firmware of config file for updating PCIe?

Please your help!!!

================== My Drive AGX Pegasus Dev Kit====================
/lib/firmware/pcie-switch
nvidia@tegra-ubuntu:/lib/firmware/pcie-switch$ ls
tools
nvidia@tegra-ubuntu:/lib/firmware/pcie-switch$

================= My Desktop folder ==============================
nvidia@Legion-C730:~/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-foundation/firmwares/bin/t19x$ ls -la
total 6208
drwxr-xr-x 9 nvidia nvidia 4096 9월 6 2019 .
drwxr-xr-x 6 nvidia nvidia 4096 9월 6 2019 …
drwxr-xr-x 2 nvidia nvidia 4096 9월 6 2019 bpmp
-rwxr-xr-x 1 nvidia nvidia 295264 9월 6 2019 camera-rtcpu-rce-ddpx.img
-rwxr-xr-x 1 nvidia nvidia 294432 9월 6 2019 camera-rtcpu-rce-ddpx-single.img
-rwxr-xr-x 1 nvidia nvidia 294912 9월 6 2019 camera-rtcpu-rce.img
-rwxr-xr-x 1 nvidia nvidia 295104 9월 6 2019 camera-rtcpu-rce-vmtest.img
drwxr-xr-x 2 nvidia nvidia 4096 9월 6 2019 debug
-rwxr-xr-x 1 nvidia nvidia 109136 9월 6 2019 dram-ecc.bin
drwxr-xr-x 2 nvidia nvidia 4096 9월 6 2019 fskpboot
drwxr-xr-x 3 nvidia nvidia 4096 9월 6 2019 mb1
drwxr-xr-x 2 nvidia nvidia 4096 9월 6 2019 mts
-rwxr-xr-x 1 nvidia nvidia 109312 9월 6 2019 nvtboot_applet.bin
-rwxr-xr-x 1 nvidia nvidia 152328 9월 6 2019 nvtboot.bin
-rwxr-xr-x 1 nvidia nvidia 144808 9월 6 2019 nvtboot_recovery.bin
-rwxr-xr-x 1 nvidia nvidia 188640 9월 6 2019 os_loader.bin
-rwxr-xr-x 1 nvidia nvidia 124752 9월 6 2019 part_loader.bin
-rwxr-xr-x 1 nvidia nvidia 284992 9월 6 2019 qb_cpu.bin
-rwxr-xr-x 1 nvidia nvidia 157472 9월 6 2019 sce-fw.bin
drwxr-xr-x 2 nvidia nvidia 4096 9월 6 2019 spe
-rwxr-xr-x 1 nvidia nvidia 42016 9월 6 2019 t194-rce-start.elf
-rw-r–r-- 1 nvidia nvidia 1032 9월 6 2019 t19x-boden-b01.dtb
-rw-r–r-- 1 nvidia nvidia 886 9월 6 2019 t19x-refs.dtb
-rw-r–r-- 1 nvidia nvidia 1470288 9월 6 2019 tos.img
-rw-r–r-- 1 nvidia nvidia 2318160 9월 6 2019 tos_nonsafety.img
drwxr-xr-x 2 nvidia nvidia 4096 9월 6 2019 warmboot
nvidia@Legion-C730:~/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-foundation/firmwares/bin/t19x$

Hi @jungsuk46d29,

Please refer to below topic for your questions. Thanks!

Hi VickNV

I have already read the topic.

the files indicated in the document do not exist in my host pc(Ubuntu 18.04) and DRIVE AGX Pegasus dev kit(DRIVE OS 10.0 rev2).

this is following file:
drive-t186ref-foundation/firmwares/bin/t19x/microsemi/pcie/bins/firmware/pm74602_pfx_01080058
/drive-t186ref-foundation/firmwares/bin/t19x/microsemi/pcie/bins/ e3550/config_files/pm8534
/lib/firmware/pcie-switch/e3550/config_files/pm8534

Where can i get configuration file or firmware file?

This following is the result of running lspci command on my device.

nvidia@tegra-ubuntu:/lib/firmware/marvell_sata/bins/88SE9345/tools/MLU-88SE9345-for-Nvidia/arm64-1.0.0.5/flash_utility$ lspci
0000:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad0 (rev a1)
0000:01:00.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:01:00.1 Bridge: PMC-Sierra Inc. Device 8534
0000:02:00.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:02:01.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:04:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
0001:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad2 (rev a1)
0001:01:00.0 3D controller: NVIDIA Corporation Device 1eba (rev a1)
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad1 (rev a1)
0004:01:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
nvidia@tegra-ubuntu:/lib/firmware/marvell_sata/bins/88SE9345/tools/MLU-88SE9345-for-Nvidia/arm64-1.0.0.5/flash_utility$

Please your help!!!

It’s mentioned in the post of that topic.

Hi VickNV

Thank for your help.

I checked the firmware by executing restricted_pdk_xxx.run and i try to flash various firmware.

but it is not working eSATA port!

The firmware version in my DRIVE AGX Peagsus Dev Kit is changed from D58 to 058.

0x00000000:0001>version
Firmware Version Major 01. Minor 08. Type 0. Build 058.
Device Id 8534
Device Revision 1
XML File Version 56
0x00000000:0002>

i tried to flash following files:
usecase3.0.pmc, usecase7,0.pmc, x1_default.pmc, usecase4.0.pmc, x1_default.pmc

What firmware should be flashed in order to recognize the SSD through the eSATA port in Xavier-A?

in Xaiver-A

nvidia@tegra-ubuntu:/lib/firmware/pcie-switch/tools/prebuilt$ sudo ./switchtec fw_update /dev/switchtec0 usecase7.0.pmc
Writing the following firmware image to /dev/switchtec0.
File: usecase7.0.pmc
Type: DAT
Version: 1.08 B3F08
Img Len: 0x4982
CRC: 0x1878bf8a
Do you want to continue? [y/N] Y
100% [================================================] Time: 0:00:00 30kB/s

Active Partition:
BOOT Version: 1.08 B058 CRC: 725a8d2e (RO)
IMG Version: 1.08 B058 CRC: 75ee068d (Running)
CFG Version: 1.08 B3F08 CRC: 1878bf8a
Inactive Partition:
IMG Version: 1.08 BD58 CRC: 1ef507d3
CFG Version: 1.08 B058 CRC: fe7729c4 (Running)

nvidia@tegra-ubuntu:/lib/firmware/pcie-switch/tools/prebuilt$ sudo ./switchtec fw_info /dev/switchtec0
Currently Running:
IMG Version: 1.08 B058
Active Partition:
BOOT Version: 1.08 B058 CRC: 725a8d2e (RO)
IMG Version: 1.08 B058 CRC: 75ee068d (Running)
CFG Version: 1.08 B3F08 CRC: 1878bf8a
Inactive Partition:
IMG Version: 1.08 BD58 CRC: 1ef507d3
CFG Version: 1.08 B058 CRC: fe7729c4 (Running)

reset by using aurixreset command.

nvidia@tegra-ubuntu:~$ lspci
0000:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad0 (rev a1)
0000:01:00.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:01:00.1 Bridge: PMC-Sierra Inc. Device 8534
0000:02:00.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:02:01.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:04:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
0001:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad2 (rev a1)
0001:01:00.0 3D controller: NVIDIA Corporation Device 1eba (rev a1)
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad1 (rev a1)
0004:01:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)

Please search in the forum. There should be a few related topics.
You can also check if below helps.

Hi VickNV

I tried to flash various firmware as eSATA ports accessible to only xavier B on dev kit, but eSATA port still doesn’t work on Xaiver-A or Xaiver-B

Please refer to Flashing SPI ROM Image for Marvell 88SE9345 PCIe SATA Controller for the details. Thanks!

Hi VickNV

For working eSATA port on Xaiver-A,

I tried with the steps below, but it doesn’t work.

  1. Flash to pm74602_pfx_01080058\images\switchtec
    _pfx.pmc from pm74602_pfx_01080D58_315391/pm74602_pfx_01080D58/images/switchtec_pfx.pmc by using /dev/ttyUSB15

version
Firmware Version Major 01. Minor 08. Type 0. Build 058.
Device Id 8534
Device Revision 1
XML File Version 56
0x00000000:0003>

  1. Input aurixreset on /dev/ttyUSB3

  2. Update to x1_default.pmc by using switchtec on Xaiver-A

for-Nvidia/arm64-1.0.0.5/flash_utility$ lspci
0000:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad0 (rev a1)
0000:01:00.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:01:00.1 Memory controller: PMC-Sierra Inc. Device 8534
0000:02:00.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:02:01.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:02:02.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:02:03.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:02:04.0 PCI bridge: PMC-Sierra Inc. Device 8534
0000:05:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
0000:06:00.0 RAID bus controller: Marvell Technology Group Ltd. 88SE9485 SAS/SATA 6Gb/s controller (rev c3)
0000:07:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
0001:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad2 (rev a1)
0001:01:00.0 3D controller: NVIDIA Corporation Device 1eba (rev a1)
0004:00:00.0 PCI bridge: NVIDIA Corporation Device 1ad1 (rev a1)
0004:01:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)

  1. Input aurixreset on /dev/ttyUSB3

  2. Update to 9345To9485_RAW_MDU1727_AL0002_NoBIOS.BIN by using /lib/firmware/marvell_sata/bins/88SE9345/tools/MLU-88SE9345-for-Nvidia/arm64-1.0.0.5/flash_utility/MLU

  3. Input aurixreset on /dev/ttyUSB3

$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mtdblock0 31:0 0 64M 0 disk
mtdblock1 31:1 0 512K 0 disk
mtdblock2 31:2 0 256K 0 disk
mtdblock3 31:3 0 512K 0 disk
mtdblock4 31:4 0 16M 0 disk
mmcblk0 179:0 0 7.3G 0 disk
mmcblk0boot0 179:32 0 8M 1 disk
mmcblk0boot1 179:64 0 8M 1 disk
mmcblk0rpmb 179:96 0 4M 0 disk
vblkdev0 253:0 0 30G 0 disk
└─vblkdev0p1 253:1 0 30G 0 part /
vblkdev1 253:16 0 71.7G 0 disk
vblkdev2 253:32 0 4G 0 disk /storage
vblkdev3 253:48 0 160.4G 0 disk /ota/pkg_data
vblkdev4 253:64 0 52.1G 0 disk

This is firmware version of aurix.

Info: Executing cmd: version, argc: 0, args:
SW Version: DRIVE-V5.1.6-E3550-EB-Aurix-With3LSS-ForHyperion-StepA-3.05.04
Compilation date: Jun 25 2019, 14:25:36
Command Executed

What is problem?

Please your help!!!

May I know if SSD via eSATA ports is accessible on Xavier “B” on your side with the firmwware and configuration?

Please follow “To identify the configuration file version” in Flashing the PCIe Switch and Configuration File to check the current configuration on your system.

Hi VickNV

It worked on Xavier-B before updating the firmware.

Now, it is not working Xavier-A and Xavier-B.

I will check configuration file.

1 Like