AnsweredAssumed Answered

T2081 PCIe problem

Question asked by gyosun shim on Jan 27, 2016
Latest reply on Jul 26, 2017 by evaneimer

Hi All,

 

I am using the T2081 board made.

PCIex4 lanes of the T2081 has confirmed that the recognition by connecting to Altera FPGA.

 

* boot log

...

PCIe4: Root Complex, x4 gen1, regs @ 0xfe270000

  01:00.0     - 1172:0004 - Does not fit any class

......

PCI host bridge /pcie@ffe270000  ranges:

MEM 0x0000000c40000000..0x0000000c4fffffff -> 0x00000000e0000000

  IO 0x0000000ff8030000..0x0000000ff803ffff -> 0x0000000000000000

 

# lspci

00:00.0 Class 0604: 1957:0839

01:00.0 Class ff00: 1172:0004 <-- Altera FPGA

 

# cat /proc/iomem

00000000-ffffffff : System RAM

c40000000-c4fffffff : /pcie@ffe270000

  c40000000-c4fffffff : PCI Bus 0000:01

    c40000000-c400003ff : 0000:01:00.0

    c40000400-c400007ff : 0000:01:00.0

    c40000800-c40000bff : 0000:01:00.0

fe8000000-fefffffff : fe8000000.nor

........

 

Use the mmap64 receive an error as shown in Table 1, we read the 0xc40000000 address.

Table 1

Machine check in kernel mode.

Caused by (from MCSR=a000): Load Error Report

Guarded Load Error Report

Oops: Machine check, sig: 7 [#1]

SMP NR_CPUS=24 CoreNet Generic

Modules linked in:

CPU: 0 PID: 1719 Comm: console_mmap Not tainted 3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6 #7

task: c0000000e069d540 ti: c0000000e0e00000 task.ti: c0000000e0e00000

NIP: 0000000010000f88 LR: 0000000010000f58 CTR: c000000000306128

REGS: c0000000e0e03ea0 TRAP: 0000   Not tainted  (3.12.37-rt51-QorIQ-SDK-V1.8+gf488de6)

MSR: 000000000002f000 <CE,EE,PR,FP,ME>  CR: 28000288  XER: 20000000

SOFTE: 1

 

 

GPR00: 0000000010000f58 00000000ffc7d2c0 00000000f7e7a4c0 0000000000000025

GPR04: 000000000fee0544 0000000000000000 0000000000004000 0000000010002185

GPR08: 0000000000000000 00000000f7e72000 00000000f7e72000 00000000ffc7d230

GPR12: 0000000044000222 000000001001a570 00000000100f0000 0000000000000000

GPR16: 0000000000000000 00000000100f46cc 00000000100f46bc 00000000100f0000

GPR20: 00000000100f48d8 0000000044444444 0000000000000000 000000001010f508

GPR24: 0000000000000000 000000001010f448 0000000000000000 00000000f7e76f18

GPR28: 00000000f7e77840 0000000000000000 000000000ffed344 00000000ffc7d2c0

NIP [0000000010000f88] 0x10000f88

LR [0000000010000f58] 0x10000f58

Call Trace:

---[ end trace 83d2ce4957171a6e ]---

 

 

[READ 10 BYTE DATA from 0x00000000]

Bus error

 

What's the problem?

If I may be so FPGA logic problem?

Attach the boot log.

 

Thank you.

Best regards,

gyosun.

Original Attachment has been moved to: t2081_boot.log.zip

Outcomes