| 21c9fbd8 | 07-Jan-2025 |
Shawn Lin <shawn.lin@rock-chips.com> |
PCI: add AER dump support
=> pci e unable to get syscon device for rockchip,pipe-grf snps pcie3phy FW update! size 8192 pcie@fe280000: PCIe Linking... LTSSM is 0x0 pcie@fe280000: PCIe Link up, LTSSM
PCI: add AER dump support
=> pci e unable to get syscon device for rockchip,pipe-grf snps pcie3phy FW update! size 8192 pcie@fe280000: PCIe Linking... LTSSM is 0x0 pcie@fe280000: PCIe Link up, LTSSM is 0x30011 pcie@fe280000: PCIE-0: Link up (Gen1-x2, Bus0) => nvme scan => pci aer 01.00.0 AER Capability found at offset 0x40 UESta: DLP-- SDES-- TLP-- FCP-- CmpltTO-- CmpltAbrt-- UnxCmplt-- RxOF-- MalfTLP-- ECRC-- UnsupReq-- ACSViol-- UEMsk: DLP-- SDES-- TLP-- FCP-- CmpltTO-- CmpltAbrt-- UnxCmplt-- RxOF-- MalfTLP-- ECRC-- UnsupReq-- ACSViol-- UESvrt: DLP+ SDES- TLP+ FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- CESta: RxErr-- BadTLP-- BadDLLP-- Rollover-- Timeout-- NonFatalErr-- CEMsk: RxErr-- BadTLP-- BadDLLP-- Rollover-- Timeout-- NonFatalErr-- AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
Change-Id: Ie861fc0f1e9b70468cb27f40fa00458339cd2b4e Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
show more ...
|
| 6a8f377c | 28-May-2024 |
William Wu <william.wu@rock-chips.com> |
cmd: rockusb: Fix usb3 switch for multi block dev
For multi block dev, the upgrade tool support to switch block dev, however, if switch to usb3, the current code will do rkusb_fini() to reinitialize
cmd: rockusb: Fix usb3 switch for multi block dev
For multi block dev, the upgrade tool support to switch block dev, however, if switch to usb3, the current code will do rkusb_fini() to reinitialize the g_rkusb->ums, and get the default the block dev.
Test on RK3576 EVB1 with EMMC and UFS block device.
1. Enter Maskrom. 2. Download loader. 3. Switch to EMMC via upgrade tool. 4. Switch to USB3 via upgrade tool.
We can find that after switch to usb3, the block dev switch back to UFS, rather than the expected EMMC.
Scandev: scsi 0 m0 Bootdev: scsi 0 RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0xee4c000 |usb device is high-speed -mmc@2a330000: 0 scandev: mmc 0 m0 RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x747c000 \rockusb switch to usb3 RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0xee4c000 usb device is super-speed
With this patch, when do switch to usb3, it avoid to call the rkusb_fini() and rkusb_init().
Change-Id: I26ae7e12e1c014c53e7c69b93f813cb5041af263 Signed-off-by: William Wu <william.wu@rock-chips.com>
show more ...
|