SSD is not working on T2080RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SSD is not working on T2080RDB

393 Views
VenkatVellanki
Contributor I

Hello, 

I am working with T2080 custom board having ssd nvme connected to processor over pcie

I have successfully loaded uboot and linux into T2080 and able to see SSD getting enumerated in both uboot and linux

At Linux using lspci i am able to see the device enumeration as well but i am unable to access the SSD and it is not getting listed in cat /proc/devices

Below is the ERROR code obtained while booting Linux 

PCI: Probing PCI hardware
fsl-pci ffe240000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x8000080000010000-0x800008000001ffff] (bus address [0x0000-0xffff])
pci_bus 0000:00: root bus resource [mem 0xc00000000-0xc1fffffff] (bus address [0xe0000000-0xffffffff])
pci_bus 0000:00: root bus resource [bus 00]
iommu: Removing device ffe240000.pcie from group 28
iommu: Adding device 0000:00:00.0 to group 31
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:00.0: PCI bridge to [bus 01-ff]
fsl-pci ffe250000.pcie: PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [io 0x8000080000021000-0x8000080000030fff] (bus address [0x0000-0xffff])
pci_bus 0001:00: root bus resource [mem 0xc20000000-0xc3fffffff] (bus address [0xa0000000-0xbfffffff])
pci_bus 0001:00: root bus resource [bus 00-01]
pci 0001:00:00.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
iommu: Removing device ffe250000.pcie from group 29
iommu: Adding device 0001:00:00.0 to group 28
iommu: Adding device 0001:01:00.0 to group 28
pci 0001:00:00.0: PCI bridge to [bus 01-ff]
fsl-pci ffe260000.pcie: PCI host bridge to bus 0002:00

pci_bus 0002:00: root bus resource [io 0x8000080000032000-0x8000080000041fff] (bus address [0x0000-0xffff])
pci_bus 0002:00: root bus resource [mem 0xc40000000-0xc5fffffff] (bus address [0xa0000000-0xbfffffff])
pci_bus 0002:00: root bus resource [bus 00]
pci 0002:00:00.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
iommu: Removing device ffe260000.pcie from group 30
iommu: Adding device 0002:00:00.0 to group 29
pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0002:00:00.0: PCI bridge to [bus 01-ff]
PCI: Cannot allocate resource region 0 of device 0000:00:00.0, will remap
PCI: Cannot allocate resource region 6 of device 0001:00:00.0, will remap
PCI: Cannot allocate resource region 0 of device 0001:01:00.0, will remap
pci 0000:00:00.0: BAR 6: no space for [mem size 0x01000000 pref]
pci 0000:00:00.0: BAR 6: failed to assign [mem size 0x01000000 pref]
pci 0000:00:00.0: BAR 0: no space for [io size 0x0004]
pci 0000:00:00.0: BAR 0: failed to assign [io size 0x0004]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0: bridge window [io 0x8000080000010000-0x800008000001ffff]
pci 0000:00:00.0: bridge window [mem 0xc00000000-0xc1fffffff]
pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
pci 0001:00:00.0: BAR 6: no space for [mem size 0x01000000 pref]
pci 0001:00:00.0: BAR 6: failed to assign [mem size 0x01000000 pref]
pci 0001:01:00.0: BAR 0: assigned [mem 0xc20000000-0xc20003fff 64bit]
pci 0001:00:00.0: PCI bridge to [bus 01]
pci 0001:00:00.0: bridge window [io 0x8000080000021000-0x8000080000030fff]
pci 0001:00:00.0: bridge window [mem 0xc20000000-0xc3fffffff]
pci 0002:00:00.0: BAR 6: no space for [mem size 0x01000000 pref]
pci 0002:00:00.0: BAR 6: failed to assign [mem size 0x01000000 pref]
pci 0002:00:00.0: PCI bridge to [bus 01]
pci 0002:00:00.0: bridge window [io 0x8000080000032000-0x8000080000041fff]
pci 0002:00:00.0: bridge window [mem 0xc40000000-0xc5fffffff]
HugeTLB registered 4.00 MiB page size, pre-allocated 0 pages
HugeTLB registered 16.0 MiB page size, pre-allocated 0 pages
HugeTLB registered 64.0 MiB page size, pre-allocated 0 pages
HugeTLB registered 256 MiB page size, pre-allocated 0 pages

Please do help me resolve this error

Thanks and Regards,
Venkat V

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

343 Views
LFGP
NXP TechSupport
NXP TechSupport

We don't have a step by step for your case, but please go to the next link regard PCI BAR error 

https://community.nxp.com/t5/T-Series/ERROR-PCI-memory-allocation-BAR-Registers-on-T1042D4RDB-64B/m-...

and you need the respected driver for your SSD

0 Kudos
Reply