Skip to contentSkip to conversation

New: Driver fails to flash ROM to Renesas uPD720201/uPD720202 when using not officially supported SPI Flash

Bug 218190 [email protected] 1 participant 1 message Nov 26, 2023 USB

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=218190

            Bug ID: 218190
           Summary: Driver fails to flash ROM to Renesas
                    uPD720201/uPD720202 when using not officially
                    supported SPI Flash
           Product: Drivers
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: high
          Priority: P3
         Component: USB
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

My uPD720201 is using XT25F04B SPI Flash, which is not officially supported, according to User Manual document. Because of this, register 0xF0 (RENESAS_ROM_CONFIG -> External ROM Configuration Register) is 0x0000. This register contains configuration for SPI Flash, thus when xhci-pci-renesas driver tries to upload the firmware into ROM, it corrupts SPI Flash and fails, resulting the hub working from ROM, or not working at all. In this case, the RENESAS_ROM_CONFIG register needs to be set to appropriate value, in this case, 0x700 worked properly, and so far, for most of non officially supported SPI Flashes, 0x700 worked fine.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.