RonR
Posts: 746
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Thu Jan 09, 2020 8:44 pm

It appears there is a serious flaw in the vl805 upgrade process.

After following the procedure in the first post, the firmware is updated to 000137ad following the next reboot (power cycle required). rpi-eeprom-update is apparently run on each startup, detects that 000137ab is the latest version, and queues up an 'update' to to 000137ab. Following the next reboot, the firmware version is back to 000137ab.

Code: Select all

[email protected]:~# rpi-eeprom-update
BOOTLOADER: up-to-date
CURRENT: Tue 10 Sep 10:41:50 UTC 2019 (1568112110)
 LATEST: Tue 10 Sep 10:41:50 UTC 2019 (1568112110)
VL805: up-to-date
CURRENT: 000137ab
 LATEST: 000137ab
[email protected]:~# vl805 -w vl805_fw_0137ad.bin
VL805 FW version: 000137ab
VL805 EEPROM successfully reprogrammed - please reboot to activate.
[email protected]:~# ls -l /boot/recovery.bin /boot/vl*
ls: cannot access '/boot/recovery.bin': No such file or directory
ls: cannot access '/boot/vl*': No such file or directory
[email protected]:~# reboot

[Power cycle required to successfully boot back up]

[email protected]:~# vl805
VL805 FW version: 000137ad
[email protected]:~# ls -l /boot/recovery.bin /boot/vl*
-rwxr-xr-x 1 root root 60820 Jan  9 20:32 /boot/recovery.bin
-rwxr-xr-x 1 root root 98712 Jan  9 20:32 /boot/vl805.bin
-rwxr-xr-x 1 root root    65 Jan  9 20:32 /boot/vl805.sig
[email protected]:~# reboot

[email protected]:~# vl805
VL805 FW version: 000137ab
[email protected]:~# ls -l /boot/recovery.bin /boot/vl*
ls: cannot access '/boot/recovery.bin': No such file or directory
ls: cannot access '/boot/vl*': No such file or directory

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2199
Joined: Thu Jul 11, 2013 2:37 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Thu Jan 09, 2020 9:21 pm

Can you update your rpi-eeprom package? A recent fix prevents downgrades.
Rockets are loud.
https://astro-pi.org

RonR
Posts: 746
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Thu Jan 09, 2020 9:29 pm

jdb wrote:
Thu Jan 09, 2020 9:21 pm
Can you update your rpi-eeprom package? A recent fix prevents downgrades.

This is on a fresh install of Raspbian Lite on an SD card, updated with apt-get update/upgrade. dpkg -s reports version: 2.4-1

Code: Select all

[email protected]:~# apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done
[email protected]:~# apt-get install rpi-eeprom
Reading package lists... Done
Building dependency tree
Reading state information... Done
rpi-eeprom is already the newest version (2.4-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

RonR
Posts: 746
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 10, 2020 9:14 am

jdb wrote:
Thu Jan 09, 2020 9:21 pm
A recent fix prevents downgrades.

Copying vl805_fw_0137ad.bin to /lib/firmware/raspberrypi/bootloader/beta and /lib/firmware/raspberrypi/bootloader/critical (as vl805-000137ad.bin) and updating the vl805.latest file in each directory stops the unwanted downgrading on reboots.

Your recent fix to prevent downgrades isn't working.

FWIW...
hdparm reports a 30 MB/s improvement with 0137ad over 0137ab.

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 258
Joined: Thu Jun 21, 2018 4:30 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 10, 2020 9:22 am

jdb wrote:
Thu Jan 09, 2020 9:21 pm
Can you update your rpi-eeprom package? A recent fix prevents downgrades.
That fix is only on Github, the Debian package has not been built yet.

RonR
Posts: 746
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 10, 2020 6:10 pm

timg236 wrote:
Fri Jan 10, 2020 9:22 am
jdb wrote:
Thu Jan 09, 2020 9:21 pm
Can you update your rpi-eeprom package? A recent fix prevents downgrades.
That fix is only on Github, the Debian package has not been built yet.

It would have been nice if jdb had said that in the first place.

I wonder how many others who installed the 0137ad discussed in this topic don't realize they've been downgraded back to 0137ab without knowing it?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24559
Joined: Sat Jul 30, 2011 7:41 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 10, 2020 8:46 pm

RonR wrote:
Fri Jan 10, 2020 6:10 pm
timg236 wrote:
Fri Jan 10, 2020 9:22 am
jdb wrote:
Thu Jan 09, 2020 9:21 pm
Can you update your rpi-eeprom package? A recent fix prevents downgrades.
That fix is only on Github, the Debian package has not been built yet.

It would have been nice if jdb had said that in the first place.

I wonder how many others who installed the 0137ad discussed in this topic don't realize they've been downgraded back to 0137ab without knowing it?
He didn't know. There's been a delay in releasing the latest apt/repo stuff due to the Xmas break, and its actually awkward to find out which changes are in and which are out.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I own the world’s worst thesaurus. Not only is it awful, it’s awful."

Chimneyfactory
Posts: 34
Joined: Sun May 19, 2019 1:30 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Tue Jan 14, 2020 4:56 pm

f0rd0prefect wrote:
Thu Jan 09, 2020 12:55 pm
I have a USB3-to-mSATA-converter-board with an uPD720231A from Renesas Electronics (NEC). I use it with an SAMSUNG 860EVO mSATA SSD.
With the firmware release 0137ad the performance is nearly back to normal as it was with the first version (013701).
I always test the SSD performance with https://www.jamesachambers.com/raspberr ... nchmarks/ . After the update the score went up from 69xx to 93xx.
So for me, this is a very useful and great update.
:D
Yes, I too noticed the slight drop in USB3 performance has largely been fixed.

using

Code: Select all

hdparm -t /dev/sda1
five times, then taking the average, I tested the speed of my USB3 SSD against the three releases of firmware version.

Code: Select all

00013701      367.446 MB/sec
000137ab      353.362 MB/sec
999137ad      366.552 MB/sec
So far, working well!

Ian

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 258
Joined: Thu Jun 21, 2018 4:30 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Tue Jan 14, 2020 5:09 pm

Thanks to everyone for testing this. The rpi-eeprom package now contains the 0137ad firmware in the beta release directory. Once we are happy with it we'll probably push this release to 'critical' i.e the default image.

carldani
Posts: 21
Joined: Wed Jan 11, 2012 12:08 am

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Tue Jan 14, 2020 5:56 pm

It seems that the VL805 update process doesn't use flashrom even if you select USE_FLASHROM in rpi-eeprom-update.
I was unable to find any source code for the vl805 utility, so I reverse engineered the VIA VL805 update process from traces of the vl805 utility. cleverca22 was so nice and ran multiple traces and I think I got most (all but one) of the registers figured out.

There is a flashrom patch if anyone is feeling brave enough to test it. I was unable to test it as I don't own a Raspberry Pi 4 Model B.
Testers welcome!

Should I open a separare thread for this?

trejan
Posts: 1094
Joined: Tue Jul 02, 2019 2:28 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Tue Jan 14, 2020 6:06 pm

carldani wrote:
Tue Jan 14, 2020 5:56 pm
It seems that the VL805 update process doesn't use flashrom even if you select USE_FLASHROM in rpi-eeprom-update.
Yes. flashrom is only for the Pi 4 bootcode EEPROM. If you want to flash the VL805 EEPROM directly then you need to use the vl805 utility.
carldani wrote:
Tue Jan 14, 2020 5:56 pm
I think I got most (all but one) of the registers figured out.
I guess you're talking about 0x30004?

carldani
Posts: 21
Joined: Wed Jan 11, 2012 12:08 am

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Wed Jan 15, 2020 11:14 am

trejan wrote:
Tue Jan 14, 2020 6:06 pm
carldani wrote:
Tue Jan 14, 2020 5:56 pm
It seems that the VL805 update process doesn't use flashrom even if you select USE_FLASHROM in rpi-eeprom-update.
Yes. flashrom is only for the Pi 4 bootcode EEPROM. If you want to flash the VL805 EEPROM directly then you need to use the vl805 utility.
And since flashrom supports a flashing a few dozen controllers of all types (including SATA controllers, NICs, graphics cards and more), extending flashrom to support VIA VL805 as well is a natural choice. Funnily enough the flashing interface of the VIA VL805 controller is somewhat similar to the flashing interface of the VIA VT6421A SATA/PATA controller which is already supported by flashrom.
trejan wrote:
Tue Jan 14, 2020 6:06 pm
carldani wrote:
Tue Jan 14, 2020 5:56 pm
I think I got most (all but one) of the registers figured out.
I guess you're talking about 0x30004?
Yes indeed. Do you have any insight about that register?

carldani
Posts: 21
Joined: Wed Jan 11, 2012 12:08 am

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Thu Jan 16, 2020 8:26 am

carldani wrote:
Wed Jan 15, 2020 11:14 am
And since flashrom supports a flashing a few dozen controllers of all types (including SATA controllers, NICs, graphics cards and more), extending flashrom to support VIA VL805 as well is a natural choice. Funnily enough the flashing interface of the VIA VL805 controller is somewhat similar to the flashing interface of the VIA VT6421A SATA/PATA controller which is already supported by flashrom.
trejan wrote:
Tue Jan 14, 2020 6:06 pm
carldani wrote:
Tue Jan 14, 2020 5:56 pm
I think I got most (all but one) of the registers figured out.
I guess you're talking about 0x30004?
Yes indeed. Do you have any insight about that register?
@jdb @timg236 May I ask you if you could look up the meaning of a register indirectly mapped in the PCI config space of the VIA VL805? Specifically, register 0x30004 which gets accessed early in the process of reading or writing the flash chip of the VL805. That's the final piece of information needed to finish flashrom support for the VL805.
Thanks!

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2199
Joined: Thu Jul 11, 2013 2:37 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Thu Jan 16, 2020 10:07 am

This thread is about feedback for the firmware release, not for reverse-engineering efforts of the programming utility.
Rockets are loud.
https://astro-pi.org

carldani
Posts: 21
Joined: Wed Jan 11, 2012 12:08 am

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Thu Jan 16, 2020 6:20 pm

jdb wrote:
Thu Jan 16, 2020 10:07 am
This thread is about feedback for the firmware release, not for reverse-engineering efforts of the programming utility.
My apologies. Shall I open a new thread for that?

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2199
Joined: Thu Jul 11, 2013 2:37 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Thu Jan 16, 2020 10:27 pm

carldani wrote:
Thu Jan 16, 2020 6:20 pm
jdb wrote:
Thu Jan 16, 2020 10:07 am
This thread is about feedback for the firmware release, not for reverse-engineering efforts of the programming utility.
My apologies. Shall I open a new thread for that?
No. I suggest using the flashrom mailing lists.
Rockets are loud.
https://astro-pi.org

wildestpixel
Posts: 29
Joined: Sun May 26, 2019 7:45 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 17, 2020 8:12 am

Having updated my eeprom and VL805 using the BETA channel I'm now on this USB firmware.

I have a new behaviour exhibiting itself with regard to the power cycling of USB on reboot.

I have a Pimoroni Keybow attached that would power cycle itself on reboot and successfully reboot itself as a result, however with this firmware on VL805 (and possibly any changes in the general eeprom ?) the USB doesn't power cycle the same on reboot - as a consequence the Keybow hangs and it has to be disconnected and reconnected to function again.

Naturally I don't want this behaviour and may this evening look at ways to programatically cycle power to the ports at boot or reboot to see if I can achieve a resolve, but wanted to highlight this here.
To infinity and the pond

Pi4B 4GB heading up the small armada

BRX7
Posts: 43
Joined: Sat Aug 31, 2019 11:07 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 17, 2020 9:58 am

I have updated mine ,
it is having some issues in which the sata to usb3 adaptor is dodgy/gone.
I have quirks entry in my cmdline.txt as below
storage.quirks=152d:0578:u



BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Thu 9 Jan 18:25:54 UTC 2020 (1578594354)
LATEST: Thu 9 Jan 18:25:54 UTC 2020 (1578594354)
VL805: up-to-date
CURRENT: 000137ad
LATEST: 000137ad

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2199
Joined: Thu Jul 11, 2013 2:37 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 17, 2020 10:19 am

Define "dodgy".

- Please post the output of dmesg and vcgencmd get_throttled
- Please post a full lsusb -v
- Which version of firmware was the last one that worked correctly?
Rockets are loud.
https://astro-pi.org

BRX7
Posts: 43
Joined: Sat Aug 31, 2019 11:07 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 17, 2020 10:50 am

Code: Select all

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         3
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.95-v7l+ xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:01:00.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x001f
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             4
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.0263 5Gbps power suspend enable connect
   Port 3: 0000.02a0 5Gbps power Rx.Detect
   Port 4: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x000f
  bNumDeviceCaps          1
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x02
      Latency Tolerance Messages (LTM) Supported
    wSpeedsSupported   0x0008
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat           4 micro seconds
    bU2DevExitLat         231 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x2109 VIA Labs, Inc.
  idProduct          0x3431 Hub
  bcdDevice            4.21
  iManufacturer           0
  iProduct                1 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e0
    Ganged power switching
    Ganged overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x002a
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      HIRD Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat           4 micro seconds
    bU2DevExitLat         231 micro seconds
  Container ID Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType      4
    bReserved               0
    ContainerID             {30eef35c-07d5-2549-b001-802d79434c30}
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.19
  iManufacturer           3 Linux 4.19.95-v7l+ xhci-hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:01:00.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0507 highspeed power suspend enable connect
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered
  

BRX7
Posts: 43
Joined: Sat Aug 31, 2019 11:07 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 17, 2020 10:52 am

throttled=0x0

Red bits in dmesg

[ 3.795307] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 3.808512] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 5.291867] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?


[ 198.054787] usb 2-2: Device not responding to setup address.
[ 198.274639] usb 2-2: device not accepting address 9, error -71
[ 198.314801] usb usb2-port2: unable to enumerate USB device

the september 10th eeprom flash was working fine (ab)

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2199
Joined: Thu Jul 11, 2013 2:37 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 17, 2020 10:58 am

Please post the full output of dmesg from a fresh power-on.
Rockets are loud.
https://astro-pi.org

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 258
Joined: Thu Jun 21, 2018 4:30 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 17, 2020 10:58 am

jdb wrote:
Thu Jan 16, 2020 10:27 pm
carldani wrote:
Thu Jan 16, 2020 6:20 pm
jdb wrote:
Thu Jan 16, 2020 10:07 am
This thread is about feedback for the firmware release, not for reverse-engineering efforts of the programming utility.
My apologies. Shall I open a new thread for that?
No. I suggest using the flashrom mailing lists.
For reference, in the near future, rpi-eeprom will no longer use flashrom or the vl805 utility. They are only there as a staging post until the bootloader can do a self update in network or USB MSD mode.

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2199
Joined: Thu Jul 11, 2013 2:37 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 17, 2020 1:25 pm

wildestpixel wrote:
Fri Jan 17, 2020 8:12 am
Having updated my eeprom and VL805 using the BETA channel I'm now on this USB firmware.

I have a new behaviour exhibiting itself with regard to the power cycling of USB on reboot.

I have a Pimoroni Keybow attached that would power cycle itself on reboot and successfully reboot itself as a result, however with this firmware on VL805 (and possibly any changes in the general eeprom ?) the USB doesn't power cycle the same on reboot - as a consequence the Keybow hangs and it has to be disconnected and reconnected to function again.

Naturally I don't want this behaviour and may this evening look at ways to programatically cycle power to the ports at boot or reboot to see if I can achieve a resolve, but wanted to highlight this here.
What's the output of "vcgencmd bootloader_version"?
Rockets are loud.
https://astro-pi.org

wildestpixel
Posts: 29
Joined: Sun May 26, 2019 7:45 pm

Re: VL805 firmware release 0137ad - fixes for Isochronous streams

Fri Jan 17, 2020 1:46 pm

Im not by the pi to run the command but from memory this morning it was the latest in the git repository at the time - 2020-01-09 - Git df0ff18c (BETA) RC3

I know thats been updated since with one with fixed padding - but not made its way to my pi yet
To infinity and the pond

Pi4B 4GB heading up the small armada

Return to “Advanced users”