meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hw:via805 [2019/12/20 21:56] niziakhw:via805 [2020/10/15 14:48] (current) niziak
Line 1: Line 1:
-VIA VL805 chipset+====== VIA VL805 chipset ====== 
 + 
 VL805 ‧ VL806 - Super Speed USB 3.0 Host Controller VL805 ‧ VL806 - Super Speed USB 3.0 Host Controller
 +
 [[https://www.via-labs.com/product_show.php?id=48]] [[https://www.via-labs.com/product_show.php?id=48]]
 +
 +  * VL805 - 4 port USB3 controller
 +  * VL806 - 2 port USB3 controller
  
 ====== Description ====== ====== Description ======
Line 38: Line 44:
  
 </code> </code>
 +
 +===== Issues =====
 +
 +[[https://bugzilla.redhat.com/show_bug.cgi?id=1409098|Bug 1409098 - Enabling AMD IOMMU blocks function of Via VL805 USB 3.0 chipset [NEEDINFO]]]
 +[[https://bugzilla.redhat.com/show_bug.cgi?id=1376455|Bug 1376455 - AMD IOMMU blocks function of Via VL805 USB 3.0 chipset ]]
 +<file /etc/default/grub>
 +GRUB_CMDLINE_LINUX_DEFAULT="iommu=soft"
 +</file>
 +<code bash>
 +update-grub
 +</code>
 +
 +
 ====== Firmware ====== ====== Firmware ======
  
 Versions: Versions:
 +  * 00013400 (Old firmware on my PCI-X card) {{ :hw:via805:hc150.bin.gz |}}
   * 00013701 (Raspberry4)   * 00013701 (Raspberry4)
-  * 00013704 (Windows Driver)+  * 00013703 (Windows Driver) {{ :hw:via805:via-usb3-vl805vl806-fw-update-tool.rar |}} 
 +  * 00013704 (Windows Driver) {{ :hw:via805:via_vl805_806_fw_013704_www.station-drivers.com_.zip |}}
   * 000137ab   * 000137ab
  
  
-Firmwarest are available in Raspberry Pi 4 eeprom repo:+Firmwares are available in Raspberry Pi 4 eeprom repo:
   * https://github.com/raspberrypi/rpi-eeprom   * https://github.com/raspberrypi/rpi-eeprom
   * https://www.geeks3d.com/20191101/raspberry-pi-4-new-firmware-reduces-power-consumption-and-boards-temperatures/   * https://www.geeks3d.com/20191101/raspberry-pi-4-new-firmware-reduces-power-consumption-and-boards-temperatures/
 +
 +
 +
 +
 +====== Update ======
 +I decided to use Windows XP VirtualBox based guest system and use [[https://docs.oracle.com/cd/E97728_01/F12469/html/pcipassthrough.html|PCI pass through]] feature
 +
 +<code bash>VBoxManage modifyvm "VM name" --pciattach 04:00.0@01:05.0</code>
 +
 +{{:hw:vl805_before.png?direct&200|}}
 +
 +<code>
 +Targeted VID = 1106
 +Targeted PID = 3483
 + 
 +ISP file size: 24246(DW)
 +
 +FW file = 013704.bin
 +VL805/VL806 is found.
 +Bus=1, Dev=5, Func=0
 +, Chip Verision=B1
 + 
 +Cannot Recognize SPI Flash, Try Default Flash Command To Download...
 +spi erase
 +
 +pageSizeDW = 64
 +
 +wait while programming...
 +
 +Update ISP Success.
 +</code>
 +
 +
 +[[https://ubuntuforums.org/archive/index.php/t-2390208.html]]
 +After some research I was able to successfully upgrade after editing the SpiFlash.ini file with the parameters of the 25P10VP chip on my board.
 +
 +I added the following:
 +
 +<file | SpiFlash.ini>
 +
 +
 +21=25P10VP
 +
 +
 +
 +[25P10VP]
 +FlashID = 202011
 +ReadID = 9F
 +WriteEnable = 06
 +WriteStatus = 01
 +ChipErase = C7
 +ReadData = 03
 +ReadStatus = 05
 +PageProgram = 02
 +ClockRate = 32
 +PageSize = 10
 +
 +</file>
 +
 +<code>
 +Targeted VID = 1106
 +Targeted PID = 3483
 + 
 +ISP file size: 24246(DW)
 +
 +FW file = 013704.bin
 +VL805/VL806 is found.
 +Bus=1, Dev=5, Func=0
 +, Chip Verision=B1
 + 
 +Match gFlashType No. = 21, FlashType = 25P10VP
 +
 +spi erase
 +
 +pageSizeDW = 64
 +
 +wait while programming...
 +
 +Update ISP Success.
 +
 +</code>
 +
 +To detach the same device, use:
 +
 +<code bash>VBoxManage modifyvm "VM name" --pcidetach 04:00.0</code>