Invalid PCIe Header while Loading AMDGPU on T1040RDB Hi I am using T1040RDB board with E9171 AMDGPU connected via pcie, while loading this driver i am getting following error root@t1042d4rdb:~# insmod /amdgpu.ko [drm] amdgpu kernel modesetting enabled. [drm] initializing kernel modesetting (POLARIS12 0x1002:0x6987 0x1787:0x2389 0x80). amdgpu 0001:01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported [drm] register mmio base: 0x80000000 [drm] register mmio size: 262144 [drm] PCIE atomic ops is not supported [drm] add ip block number 0 [drm] add ip block number 1 [drm] add ip block number 2 [drm] add ip block number 3 [drm] add ip block number 4 [drm] add ip block number 5 [drm] add ip block number 6 [drm] add ip block number 7 [drm] add ip block number 8 amdgpu 0001:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xadde amdgpu 0001:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xadde amdgpu 0001:01:00.0: amdgpu: Unable to locate a BIOS ROM amdgpu 0001:01:00.0: amdgpu: Fatal error during GPU init amdgpu 0001:01:00.0: amdgpu: amdgpu: finishing device. Attempt to iounmap early bolted mapping at 0x0000000000000000 amdgpu: probe of 0001:01:00.0 failed with error -22 PCIE log root@t1042d4rdb:~# lspci -vvv 0001:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0820 (rev 10) (prog-if 00 [Normal decode]) Device tree node: /sys/firmware/devicetree/base/pcie@ffe250000/pcie@0 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Latency: 0, Cache Line Size: 32 bytes Interrupt: pin ? routed to IRQ 21 IOMMU group: 21 Region 0: Memory at (32-bit, non-prefetchable) Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00000000-0000ffff [size=64K] Memory behind bridge: 80000000-9fffffff [size=512M] Prefetchable memory behind bridge: 0000000c10000000-0000000c4fffffff [size=1G] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [44] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [4c] Express (v2) Root Port (Slot-), MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: CorrErr- NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s, Exit Latency L0s <2us ClockPM- Surprise- LLActRep- BwNot+ ASPMOptComp- LnkCtl: ASPM Disabled; RCB 128 bytes, Disabled- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s (ok), Width x1 (downgraded) TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt+ RootCap: CRSVisible- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR- 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd- AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, ARIFwd- AtomicOpsCtl: ReqEn- EgressBlck- LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [100 v1] Advanced Error Reporting 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- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 RootCmd: CERptEn- NFERptEn- FERptEn- RootSta: CERcvd- MultCERcvd- UERcvd- MultUERcvd- FirstFatal- NonFatalMsg- FatalMsg- IntMsg 0 ErrorSrc: ERR_COR: 0000 ERR_FATAL/NONFATAL: 0000 Kernel driver in use: pcieport 0001:01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa [Radeon 540X/550X/630 / RX 640 / E9171 MCM] (rev 80) (prog-if 00 [VGA controller]) Subsystem: Hightech Information System Ltd. Device 2389 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Latency: 0, Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 41 IOMMU group: 21 Region 0: Memory at c10000000 (64-bit, prefetchable) [size=256M] Region 2: Memory at c20000000 (64-bit, prefetchable) [size=2M] Region 4: I/O ports at 1100 [size=256] Region 5: Memory at 80000000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at 80040000 [disabled] [size=128K] Capabilities: [48] Vendor Specific Information: Len=08 Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 8GT/s, Width x8, ASPM L1, Exit Latency L1 <1us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s (downgraded), Width x1 (downgraded) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Not Supported, TimeoutDis- NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- AtomicOpsCap: 32bit+ 64bit+ 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS- LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 Capabilities: [150 v2] Advanced Error Reporting 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- AdvNonFatalErr+ CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [200 v1] Physical Resizable BAR BAR 0: current size: 256MB, supported: 256MB 512MB 1GB 2GB 4GB Capabilities: [270 v1] Secondary PCI Express LnkCtl3: LnkEquIntrruptEn- PerformEqu- LaneErrStat: 0 Capabilities: [2b0 v1] Address Translation Service (ATS) ATSCap: Invalidate Queue Depth: 00 ATSCtl: Enable-, Smallest Translation Unit: 00 Capabilities: [2c0 v1] Page Request Interface (PRI) PRICtl: Enable- Reset- PRISta: RF- UPRGI- Stopped+ Page Request Capacity: 00000020, Page Request Allocation: 00000000 Capabilities: [2d0 v1] Process Address Space ID (PASID) PASIDCap: Exec+ Priv+, Max PASID Width: 10 PASIDCtl: Enable- Exec- Priv- Capabilities: [320 v1] Latency Tolerance Reporting Max snoop latency: 0ns Max no snoop latency: 0ns Capabilities: [328 v1] Alternative Routing-ID Interpretation (ARI) ARICap: MFVC- ACS-, Next Function: 1 ARICtl: MFVC- ACS-, Function Group: 0 Capabilities: [370 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=0us PortTPowerOnTime=170us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=0ns L1SubCtl2: T_PwrOn=10us Kernel modules: amdgpu 0001:01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] Subsystem: Hightech Information System Ltd. Device aae0 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Latency: 0, Cache Line Size: 32 bytes Interrupt: pin B routed to IRQ 17 IOMMU group: 21 Region 0: Memory at 80060000 (64-bit, non-prefetchable) [size=16K] Capabilities: [48] Vendor Specific Information: Len=08 Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 8GT/s, Width x8, ASPM L1, Exit Latency L1 <1us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s (downgraded), Width x1 (downgraded) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Not Supported, TimeoutDis- NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- AtomicOpsCap: 32bit+ 64bit+ 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 Capabilities: [150 v2] Advanced Error Reporting 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- AdvNonFatalErr+ CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [328 v1] Alternative Routing-ID Interpretation (ARI) ARICap: MFVC- ACS-, Next Function: 0 ARICtl: MFVC- ACS-, Function Group: 0 dmesg log: U-Boot 2021.04+fsl+gf7b43f8b4c1 (Mar 01 2022 - 07:31:56 +0000) CPU0: T1040E, Version: 1.0, (0x85280010) Core: e5500, Version: 2.0, (0x80241020) Clock Configuration: CPU0:1400 MHz, CPU1:1400 MHz, CPU2:1400 MHz, CPU3:1400 MHz, CCB:600 MHz, DDR:800 MHz (1600 MT/s data rate) (Asynchronous), IFC:300 MHz QE:300 MHz FMAN1: 600 MHz QMAN: 300 MHz PME: 300 MHz L1: D-cache 32 KiB enabled I-cache 32 KiB enabled Reset Configuration Word (RCW): 00000000: 0c18000e 0e000000 00000000 00000000 00000010: 66000002 80000002 68106000 01000000 00000020: 00000000 00000000 00000000 00032810 00000030: 00000000 0342500f 00000000 00000000 Board: T1040RDB Board rev: 0x01 CPLD ver: 0x06, vBank: 0 I2C: ready DRAM: Detected UDIMM 18KSF51272AZ-1G6K1 2 GiB left unmapped 2 GiB (DDR3, 64-bit, CL=11, ECC on) Flash: 256 MiB L2: 256 KiB enabled Corenet Platform Cache: 256 KiB enabled Using SERDES1 Protocol: 102 (0x66) WARN: pls set popts->cpo_sample = 0x54 in /ddr.c to optimize cpo SEC0: RNG instantiated MMC: No max bus width provided. Assume 8-bit supported. FSL_SDHC: 0 Loading Environment from MMC... *** Warning - bad CRC, using default environment PCIe1: Root Complex, no link, regs @ 0xfe240000 PCIe1: Bus 00 - 00 PCIe2: Root Complex, x1 gen2, regs @ 0xfe250000 02:00.0 - 1002:6987 - Display controller 02:00.1 - 1002:aae0 - Multimedia device PCIe2: Bus 01 - 02 PCIe3: Root Complex, no link, regs @ 0xfe260000 PCIe3: Bus 03 - 03 PCIe4: Root Complex, no link, regs @ 0xfe270000 PCIe4: Bus 04 - 04 In: serial Out: serial Err: serial SERDES Reference : 0x66 Net: Initializing Fman MMC read: dev # 0, block # 2080, count 128 ... Fman1: Data at 7fb20508 is not a firmware VSC9953 L2 switch initialized No ethernet found. Hit any key to stop autoboot: 0 => mmc dev 0 switch to partitions #0, OK mmc0 is current device => setenv bootargs root=/dev/mmcblk0p2 rw rootwait console=ttyS0,115200 => fatload mmc 0:1 0x1000000 uImage WARNING: adjusting available memory to 30000000 8485109 bytes read in 389 ms (20.8 MiB/s) => fatload mmc 0:1 0x2000000 t1040rdb.dtb WARNING: adjusting available memory to 30000000 30773 bytes read in 29 ms (1 MiB/s) => bootm 0x1000000 - 0x2000000 WARNING: adjusting available memory to 30000000 ## Booting kernel from Legacy Image at 01000000 ... Image Name: Linux-5.15.71+g95448dd0dc9b Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 8485045 Bytes = 8.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 02000000 Booting using the fdt blob at 0x2000000 Uncompressing Kernel Image Loading Device Tree to 03fe5000, end 03fff834 ... OK OF: reserved mem: initialized node qman-fqd, compatible id fsl,qman-fqd OF: reserved mem: initialized node qman-pfdr, compatible id fsl,qman-pfdr OF: reserved mem: initialized node bman-fbpr, compatible id fsl,bman-fbpr MMU: Supported page sizes 4 KB as direct 4096 KB as direct 16384 KB as direct 65536 KB as direct 262144 KB as direct 1048576 KB as direct MMU: Book3E HW tablewalk not supported Linux version 5.15.71+g95448dd0dc9b (oe-user@oe-host) (powerpc64-fsl-linux-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 SMP Wed Feb 8 03:38:28 UTC 2023 Using CoreNet Generic machine description printk: bootconsole [udbg0] enabled CPU maps initialized for 1 thread per core ----------------------------------------------------- phys_mem_size = 0x80000000 dcache_bsize = 0x40 icache_bsize = 0x40 cpu_features = 0x0000000300800394 possible = 0x0000000300900396 always = 0x0000000300800394 cpu_user_features = 0xcc008000 0x08000000 mmu_features = 0x000a0010 firmware_features = 0x0000000000000000 ----------------------------------------------------- ioremap() called early from .of_iomap+0x4c/0x84. Use early_ioremap() instead CoreNet Generic board barrier-nospec: using isync; sync as speculation barrier Zone ranges: DMA [mem 0x0000000000000000-0x000000007fffffff] Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000000000-0x000000007fffffff] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff] MMU: Allocated 2112 bytes of context maps for 255 contexts percpu: Embedded 24 pages/cpu s60888 r0 d37416 u262144 Built 1 zonelists, mobility grouping on. Total pages: 517120 Kernel command line: root=/dev/mmcblk0p2 rw rootwait console=ttyS0,115200 printk: log_buf_len individual max cpu contribution: 4096 bytes printk: log_buf_len total cpu_extra contributions: 12288 bytes printk: log_buf_len min size: 16384 bytes printk: log_buf_len: 32768 bytes printk: early log buf free: 13112(80%) Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 1923292K/2097152K available (13112K kernel code, 2400K rwdata, 4384K rodata, 452K init, 262K bss, 173860K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 trace event string verifier disabled rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. rcu: RCU restricting CPUs from NR_CPUS=24 to nr_cpu_ids=4. rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16 mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe040000, max 4 CPUs mpic: ISU size: 512, shift: 9, mask: 1ff mpic: Initializing for 512 sources clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x8a60dd6a9, max_idle_ns: 440795204056 ns clocksource: timebase mult[1aaaaaab] shift[24] registered Console: colour dummy device 80x25 pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) e500 family performance monitor hardware support registered rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... smp: Brought up 1 node, 4 CPUs devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes, linear) NET: Registered PF_NETLINK/PF_ROUTE protocol family audit: initializing netlink subsys (disabled) audit: type=2000 audit(0.044:1): state=initialized audit_enabled=0 res=1 Machine: fsl,T1040RDB SoC family: QorIQ T1040 SoC ID: svr:0x85280010, Revision: 1.0 Found FSL PCI host bridge at 0x0000000ffe250000. Firmware bus number: 0->1 PCI host bridge /pcie@ffe250000 ranges: MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000 MEM 0x0000000c10000000..0x0000000c4fffffff -> 0x0000000c10000000 Prefetch IO 0x0000000ff8010000..0x0000000ff801ffff -> 0x0000000000000000 Ran out of outbound PCI ATMUs for IO resource /pcie@ffe250000: PCICSRBAR @ 0x7f000000 setup_pci_atmu: end of DRAM 80000000 /pcie@ffe250000: Setup 64-bit PCI DMA window /pcie@ffe250000: DMA window size is 0x7f000000 platform ff6000000.qman-portal: Adding to iommu group 0 platform ff6004000.qman-portal: Adding to iommu group 1 platform ff6008000.qman-portal: Adding to iommu group 2 platform ff600c000.qman-portal: Adding to iommu group 3 platform ff6010000.qman-portal: Adding to iommu group 4 platform ff6014000.qman-portal: Adding to iommu group 5 platform ff6018000.qman-portal: Adding to iommu group 6 platform ff601c000.qman-portal: Adding to iommu group 7 platform ff6020000.qman-portal: Adding to iommu group 8 platform ff6024000.qman-portal: Adding to iommu group 9 platform ffe100300.dma: Adding to iommu group 10 platform ffe101300.dma: Adding to iommu group 11 platform ffe114000.sdhc: Adding to iommu group 12 platform ffe210000.usb: Adding to iommu group 13 platform ffe211000.usb: Adding to iommu group 14 platform ffe220000.sata: Adding to iommu group 15 platform ffe221000.sata: Adding to iommu group 16 platform ffe318000.qman: Adding to iommu group 17 platform ffe31a000.bman: Adding to iommu group 18 fsl-pci ffe250000.pcie: Adding to iommu group 19 platform ffe140000.qe: Adding to iommu group 20 software IO TLB: mapped [mem 0x0000000003fee000-0x0000000007fee000] (64MB) PCI: Probing PCI hardware fsl-pci ffe250000.pcie: PCI host bridge to bus 0001:00 pci_bus 0001:00: root bus resource [io 0x8000080000010000-0x800008000001ffff] (bus address [0x0000-0xffff]) pci_bus 0001:00: root bus resource [mem 0x80000000-0x9fffffff] pci_bus 0001:00: root bus resource [mem 0xc10000000-0xc4fffffff 64bit pref] pci_bus 0001:00: root bus resource [bus 00-01] pci_bus 0001:00: busn_res: [bus 00-01] end is updated to ff pci 0001:00:00.0: [1957:0820] type 01 class 0x060400 pci 0001:00:00.0: reg 0x10: [mem 0x7f000000-0x7fffffff] pci 0001:00:00.0: supports D1 D2 pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold fsl-pci ffe250000.pcie: Removing from iommu group 19 pci 0001:00:00.0: Adding to iommu group 21 pci 0001:01:00.0: [1002:6987] type 00 class 0x030000 pci 0001:01:00.0: reg 0x10: [mem 0xe0000000-0xefffffff 64bit pref] pci 0001:01:00.0: reg 0x18: [mem 0x1000ffe00000-0x1000ffffffff 64bit pref] pci 0001:01:00.0: reg 0x20: [io 0x8000080000011100-0x80000800000111ff] pci 0001:01:00.0: reg 0x24: [mem 0xfffc0000-0xffffffff] pci 0001:01:00.0: reg 0x30: [mem 0xfffe0000-0xffffffff pref] pci 0001:01:00.0: enabling Extended Tags pci 0001:01:00.0: supports D1 D2 pci 0001:01:00.0: PME# supported from D1 D2 D3hot D3cold pci 0001:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0001:00:00.0 (capable of 63.008 Gb/s with 8.0 GT/s PCIe x8 link) pci 0001:01:00.0: Adding to iommu group 21 pci 0001:01:00.1: [1002:aae0] type 00 class 0x040300 pci 0001:01:00.1: reg 0x10: [mem 0x1200ffffc000-0x1200ffffffff 64bit] pci 0001:01:00.1: enabling Extended Tags pci 0001:01:00.1: supports D1 D2 pci 0001:01:00.1: Adding to iommu group 21 pci 0001:00:00.0: PCI bridge to [bus 01-ff] pci 0001:00:00.0: bridge window [io 0x8000080000011000-0x8000080000011fff] pci 0001:00:00.0: bridge window [mem 0xe0000000-0xefffffff] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01 pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 01 PCI: Cannot allocate resource region 0 of device 0001:00:00.0, will remap PCI: Cannot allocate resource region 0 of device 0001:01:00.0, will remap PCI: Cannot allocate resource region 2 of device 0001:01:00.0, will remap PCI: Cannot allocate resource region 5 of device 0001:01:00.0, will remap PCI: Cannot allocate resource region 6 of device 0001:01:00.0, will remap PCI: Cannot allocate resource region 0 of device 0001:01:00.1, will remap pci 0001:00:00.0: BAR 0: no space for [mem size 0x01000000] pci 0001:00:00.0: BAR 0: failed to assign [mem size 0x01000000] pci 0001:01:00.0: BAR 0: assigned [mem 0xc10000000-0xc1fffffff 64bit pref] pci 0001:01:00.0: BAR 2: assigned [mem 0xc20000000-0xc201fffff 64bit pref] pci 0001:01:00.0: BAR 5: assigned [mem 0x80000000-0x8003ffff] pci 0001:01:00.0: BAR 6: assigned [mem 0x80040000-0x8005ffff pref] pci 0001:01:00.1: BAR 0: assigned [mem 0x80060000-0x80063fff 64bit] pci 0001:00:00.0: PCI bridge to [bus 01] pci 0001:00:00.0: bridge window [io 0x8000080000010000-0x800008000001ffff] pci 0001:00:00.0: bridge window [mem 0x80000000-0x9fffffff] pci 0001:00:00.0: bridge window [mem 0xc10000000-0xc4fffffff 64bit pref] pci_bus 0001:00: Some PCI device resources are unassigned, try booting with pci=realloc pci_bus 0001:00: resource 4 [io 0x8000080000010000-0x800008000001ffff] pci_bus 0001:00: resource 5 [mem 0x80000000-0x9fffffff] pci_bus 0001:00: resource 6 [mem 0xc10000000-0xc4fffffff 64bit pref] pci_bus 0001:01: resource 0 [io 0x8000080000010000-0x800008000001ffff] pci_bus 0001:01: resource 1 [mem 0x80000000-0x9fffffff] pci_bus 0001:01: resource 2 [mem 0xc10000000-0xc4fffffff 64bit pref] 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 HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages Freescale Elo series DMA driver fsl-elo-dma ffe100300.dma: #0 (fsl,eloplus-dma-channel), irq 28 fsl-elo-dma ffe100300.dma: #1 (fsl,eloplus-dma-channel), irq 29 fsl-elo-dma ffe100300.dma: #2 (fsl,eloplus-dma-channel), irq 30 fsl-elo-dma ffe100300.dma: #3 (fsl,eloplus-dma-channel), irq 31 fsl-elo-dma ffe100300.dma: #4 (fsl,eloplus-dma-channel), irq 76 fsl-elo-dma ffe100300.dma: #5 (fsl,eloplus-dma-channel), irq 77 fsl-elo-dma ffe100300.dma: #6 (fsl,eloplus-dma-channel), irq 78 fsl-elo-dma ffe100300.dma: #7 (fsl,eloplus-dma-channel), irq 79 fsl-elo-dma ffe101300.dma: #0 (fsl,eloplus-dma-channel), irq 32 fsl-elo-dma ffe101300.dma: #1 (fsl,eloplus-dma-channel), irq 33 fsl-elo-dma ffe101300.dma: #2 (fsl,eloplus-dma-channel), irq 34 fsl-elo-dma ffe101300.dma: #3 (fsl,eloplus-dma-channel), irq 35 fsl-elo-dma ffe101300.dma: #4 (fsl,eloplus-dma-channel), irq 80 fsl-elo-dma ffe101300.dma: #5 (fsl,eloplus-dma-channel), irq 81 fsl-elo-dma ffe101300.dma: #6 (fsl,eloplus-dma-channel), irq 82 fsl-elo-dma ffe101300.dma: #7 (fsl,eloplus-dma-channel), irq 83 iommu: Default domain type: Translated iommu: DMA domain TLB invalidation policy: strict mode pci 0001:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none pci 0001:01:00.0: vgaarb: bridge control possible pci 0001:01:00.0: vgaarb: setting as boot device (VGA legacy resources not available) vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti PTP clock support registered Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource timebase NET: Registered PF_INET protocol family IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) TCP: Hash tables configured (established 16384 bind 16384) UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) NET: Registered PF_UNIX/PF_LOCAL protocol family RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. pci 0001:01:00.1: D0 power state depends on 0001:01:00.0 PCI: CLS 32 bytes, default 64 workingset: timestamp_bits=62 max_order=19 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered Installing knfsd (copyright (C) 1996 okir@monad.swb.de). ntfs: driver 2.1.32 [Flags: R/O]. jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. io scheduler mq-deadline registered io scheduler kyber registered pcieport 0001:00:00.0: PME: Signaling with IRQ 21 bman_portal ff4000000.bman-portal: Portal initialised, cpu 0 bman_portal ff4004000.bman-portal: Portal initialised, cpu 1 bman_portal ff4008000.bman-portal: Portal initialised, cpu 2 bman_portal ff400c000.bman-portal: Portal initialised, cpu 3 qman_portal ff6000000.qman-portal: Portal initialised, cpu 0 qman_portal ff6004000.qman-portal: Portal initialised, cpu 1 qman_portal ff6008000.qman-portal: Portal initialised, cpu 2 qman_portal ff600c000.qman-portal: Portal initialised, cpu 3 Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled printk: console [ttyS0] disabled serial8250.0: ttyS0 at MMIO 0xffe11c500 (irq = 36, base_baud = 18750000) is a 16550A_FSL64 printk: console [ttyS0] enabled printk: console [ttyS0] enabled printk: bootconsole [udbg0] disabled printk: bootconsole [udbg0] disabled serial8250.0: ttyS1 at MMIO 0xffe11c600 (irq = 36, base_baud = 18750000) is a 16550A_FSL64 serial8250.0: ttyS2 at MMIO 0xffe11d500 (irq = 37, base_baud = 18750000) is a 16550A_FSL64 serial8250.0: ttyS3 at MMIO 0xffe11d600 (irq = 37, base_baud = 18750000) is a 16550A_FSL64 ePAPR hypervisor byte channel driver brd: module loaded loop: module loaded st: Version 20160209, fixed bufsize 32768, s/g segs 256 fsl-sata ffe220000.sata: Sata FSL Platform/CSB Driver init scsi host0: sata_fsl ata1: SATA max UDMA/133 irq 68 fsl-sata ffe221000.sata: Sata FSL Platform/CSB Driver init scsi host1: sata_fsl ata2: SATA max UDMA/133 irq 69 fsl_espi ffe110000.spi: cs=0, init_csmode=0x100008 fsl_espi ffe110000.spi: cs=3, init_csmode=0x100008 spi-nor spi0.0: n25q512ax3 (65536 Kbytes) ftl_cs: FTL header not found. fsl_espi ffe110000.spi: irq = 53 platform ffe488000.port: Adding to iommu group 19 platform ffe489000.port: Adding to iommu group 22 platform ffe48a000.port: Adding to iommu group 23 platform ffe48b000.port: Adding to iommu group 24 platform ffe48c000.port: Adding to iommu group 25 fsl_dpaa_mac ffe4e6000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e6000) failed fsl_dpaa_mac ffe4e6000.ethernet: FMan MEMAC fsl_dpaa_mac ffe4e8000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e8000) failed fsl_dpaa_mac ffe4e8000.ethernet: FMan MEMAC fsl_dpaa_mac ffe4e0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e0000) failed fsl_dpaa_mac ffe4e0000.ethernet: FMan MEMAC fsl_dpaa_mac ffe4e2000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e2000) failed fsl_dpaa_mac ffe4e2000.ethernet: FMan MEMAC fsl_dpaa_mac ffe4e4000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e4000) failed fsl_dpaa_mac ffe4e4000.ethernet: FMan MEMAC fsl_dpaa_mac ffe4e6000.ethernet: Using random MAC address: 12:52:59:6f:b5:14 fsl_dpaa_mac ffe4e6000.ethernet eth0: Probed interface eth0 fsl_dpaa_mac ffe4e8000.ethernet: Using random MAC address: b6:c0:77:ea:80:a4 fsl_dpaa_mac ffe4e8000.ethernet eth1: Probed interface eth1 fsl_dpaa_mac ffe4e0000.ethernet: Using random MAC address: a2:37:b7:e3:92:03 fsl_dpaa_mac ffe4e0000.ethernet eth2: Probed interface eth2 fsl_dpaa_mac ffe4e2000.ethernet: Using random MAC address: b2:5f:6d:e5:98:02 fsl_dpaa_mac ffe4e2000.ethernet eth3: Probed interface eth3 fsl_dpaa_mac ffe4e4000.ethernet: Using random MAC address: fe:71:82:b0:a4:22 fsl_dpaa_mac ffe4e4000.ethernet eth4: Probed interface eth4 e1000: Intel(R) PRO/1000 Network Driver e1000: Copyright (c) 1999-2006 Intel Corporation. e1000e: Intel(R) PRO/1000 Network Driver e1000e: Copyright(c) 1999 - 2015 Intel Corporation. igb: Intel(R) Gigabit Ethernet Network Driver igb: Copyright (c) 2007-2014 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-pci: OHCI PCI platform driver ehci-fsl: Freescale EHCI Host controller driver fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller ata1: No Device OR PHYRDY change,Hstatus = 0xa0000000 ata2: No Device OR PHYRDY change,Hstatus = 0x80000000 ata2: SATA link down (SStatus 10 SControl 300) fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1 ata1: SATA link down (SStatus 10 SControl 300) fsl-ehci fsl-ehci.0: irq 44, io mem 0xffe210000 fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2 fsl-ehci fsl-ehci.1: irq 45, io mem 0xffe211000 fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected usbcore: registered new interface driver usb-storage i2c_dev: i2c /dev entries driver mpc-i2c ffe118000.i2c: timeout 1000000 us mpc-i2c ffe118100.i2c: timeout 1000000 us mpc-i2c ffe119000.i2c: timeout 1000000 us mpc-i2c ffe119100.i2c: timeout 1000000 us i2c i2c-1: Added multiplexed i2c bus 4 i2c i2c-1: Added multiplexed i2c bus 5 i2c i2c-1: Added multiplexed i2c bus 6 i2c i2c-1: Added multiplexed i2c bus 7 pca954x 1-0077: registered 4 multiplexed busses for I2C switch pca9546 ptp_qoriq: device tree node missing required elements, try automatic configuration pps pps0: new PPS source ptp0 sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper caam ffe300000.crypto: device ID = 0x0a12040000000000 (Era 6) caam ffe300000.crypto: job rings = 4, qi = 1 platform ffe301000.jr: Adding to iommu group 26 platform ffe302000.jr: Adding to iommu group 27 platform ffe303000.jr: Adding to iommu group 28 platform ffe304000.jr: Adding to iommu group 29 mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using ADMA 64-bit caam algorithms registered in /proc/crypto caam ffe300000.crypto: caam pkc algorithms registered in /proc/crypto caam ffe300000.crypto: rng crypto API alg registered prng-caam caam ffe300000.crypto: registering rng-caam Device caam-keygen registered Freescale hypervisor management driver fsl-hv: no hypervisor found ipip: IPv4 and MPLS over IPv4 tunneling driver Initializing XFRM netlink socket NET: Registered PF_INET6 protocol family Segment Routing with IPv6 In-situ OAM (IOAM) with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered PF_PACKET protocol family NET: Registered PF_KEY protocol family Key type dns_resolver registered drmem: No dynamic reconfiguration memory found ALSA device list: No soundcards found. Waiting for root device /dev/mmcblk0p2... mmc0: new high speed SDHC card at address e624 mmcblk0: mmc0:e624 SS08G 7.40 GiB mmcblk0: p1 p2 random: crng init done EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled. VFS: Mounted root (ext4 filesystem) on device 179:2. devtmpfs: mounted Freeing unused kernel image (initmem) memory: 452K This architecture does not have kernel memory protection. Run /sbin/init as init process INIT: version 2.99 booting Starting udev udevd[248]: starting version 3.2.10 udevd[249]: starting eudev-3.2.10 fsl_dpaa_mac ffe4e0000.ethernet fm1-gb0: renamed from eth2 Freescale QUICC Engine UART device driver fsl_dpaa_mac ffe4e2000.ethernet fm1-gb1: renamed from eth3 ffe142200.ucc: ttyQE0 at MMIO 0xffe142200 (irq = 40, base_baud = 9375000) is a QE ucc_uart ffe142200.ucc: UCC3 assigned to /dev/ttyQE0 fsl_dpaa_mac ffe4e4000.ethernet fm1-gb2: renamed from eth4 fsl_dpaa_mac ffe4e6000.ethernet fm1-gb3: renamed from eth0 fsl_dpaa_mac ffe4e8000.ethernet fm1-gb4: renamed from eth1 FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: disabled. sysctl: cannot stat /proc/sys/net/ipv4/tcp_syncookies: No such file or directory hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --verbose option to see the details of our search for an access method. Fri Mar 9 12:34:56 UTC 2018 hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --verbose option to see the details of our search for an access method. INIT: Entering runlevel: 5 Configuring network interfaces... done. Starting random number generator daemon. Starting OpenBSD Secure Shell server: sshd done. hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --verbose option to see the details of our search for an access method. Starting network benchmark server: netserver. Starting system log daemon...0 Starting internet superserver: xinetd. daemon not start due to lack of /dev/watchdog QorIQ SDK (FSL Reference Distro) 3.4.1 t1042d4rdb ttyS0 Re: Invalid PCIe Header while Loading AMDGPU on T1040RDB Hi @June_Lu Please find below results, root@t1042d4rdb:~# lspci -vvv -s 01:00.0 0001:01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa [Radeon 540X/550X/630 / RX 640 / E9171 MCM] (rev 80) (prog-if 00 [VGA controller]) Subsystem: Hightech Information System Ltd. Device 2389 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Latency: 0, Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 41 IOMMU group: 21 Region 0: Memory at c10000000 (64-bit, prefetchable) [size=256M] Region 2: Memory at c20000000 (64-bit, prefetchable) [size=2M] Region 4: I/O ports at 1100 [size=256] Region 5: Memory at 80000000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at 80040000 [size=128K] Capabilities: [48] Vendor Specific Information: Len=08 Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 8GT/s, Width x8, ASPM L1, Exit Latency L1 <1us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s (downgraded), Width x1 (downgraded) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Not Supported, TimeoutDis- NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- AtomicOpsCap: 32bit+ 64bit+ 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS- LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 Capabilities: [150 v2] Advanced Error Reporting 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- AdvNonFatalErr+ CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [200 v1] Physical Resizable BAR BAR 0: current size: 256MB, supported: 256MB 512MB 1GB 2GB 4GB Capabilities: [270 v1] Secondary PCI Express LnkCtl3: LnkEquIntrruptEn- PerformEqu- LaneErrStat: 0 Capabilities: [2b0 v1] Address Translation Service (ATS) ATSCap: Invalidate Queue Depth: 00 ATSCtl: Enable-, Smallest Translation Unit: 00 Capabilities: [2c0 v1] Page Request Interface (PRI) PRICtl: Enable- Reset- PRISta: RF- UPRGI- Stopped+ Page Request Capacity: 00000020, Page Request Allocation: 00000000 Capabilities: [2d0 v1] Process Address Space ID (PASID) PASIDCap: Exec+ Priv+, Max PASID Width: 10 PASIDCtl: Enable- Exec- Priv- Capabilities: [320 v1] Latency Tolerance Reporting Max snoop latency: 0ns Max no snoop latency: 0ns Capabilities: [328 v1] Alternative Routing-ID Interpretation (ARI) ARICap: MFVC- ACS-, Next Function: 1 ARICtl: MFVC- ACS-, Function Group: 0 Capabilities: [370 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=0us PortTPowerOnTime=170us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=0ns L1SubCtl2: T_PwrOn=10us Kernel modules: amdgpu U-boot: => reginfo TLBCAM entries entry 00: V: 1 EPN 0xfffff000 RPN 0x7ffff000 size:4 KiB entry 01: V: 1 EPN 0xfe000000 RPN 0xffe000000 size:16 MiB entry 02: V: 1 EPN 0xe0000000 RPN 0xfe0000000 size:256 MiB entry 03: V: 1 EPN 0x80000000 RPN 0xc00000000 size:1 GiB entry 04: V: 1 EPN 0xf8000000 RPN 0xff8000000 size:256 KiB entry 05: V: 1 EPN 0xf4000000 RPN 0xff4000000 size:16 MiB entry 06: V: 1 EPN 0xf5000000 RPN 0xff5000000 size:16 MiB entry 07: V: 1 EPN 0xf6000000 RPN 0xff6000000 size:16 MiB entry 08: V: 1 EPN 0xf7000000 RPN 0xff7000000 size:16 MiB entry 09: V: 1 EPN 0xf0000000 RPN 0xf00000000 size:4 MiB entry 10: V: 1 EPN 0xff800000 RPN 0xfff800000 size:64 KiB entry 11: V: 1 EPN 0xffdc0000 RPN 0xfffdc0000 size:256 KiB entry 12: V: 1 EPN 0x00000000 RPN 0x00000000 size:1 GiB entry 13: V: 1 EPN 0x40000000 RPN 0x40000000 size:1 GiB entry 14: V: 1 EPN 0x00000000 RPN 0x00000000 size:1 GiB entry 15: V: 1 EPN 0x40000000 RPN 0x40000000 size:1 GiB entry 16: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 17: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 18: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 19: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 20: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 21: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 22: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 23: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 24: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 25: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 26: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 27: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 28: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 29: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 30: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 31: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 32: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 33: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 34: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 35: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 36: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 37: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 38: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 39: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 40: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 41: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 42: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 43: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 44: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 45: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 46: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 47: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 48: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 49: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 50: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 51: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 52: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 53: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 54: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 55: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 56: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 57: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 58: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 59: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 60: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 61: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 62: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB entry 63: V: 0 EPN 0x30000000 RPN 0x30000000 size:4 KiB Local Access Window Configuration LAWBARH00: 0x0000000f LAWBARL00: 0xe8000000 LAWAR00: 0x81f0001b (EN: 1 TGT: 0x1f SIZE: 256 MiB) LAWBARH01: 0x0000000f LAWBARL01: 0xf4000000 LAWAR01: 0x81800018 (EN: 1 TGT: 0x18 SIZE: 32 MiB) LAWBARH02: 0x0000000f LAWBARL02: 0xf6000000 LAWAR02: 0x83c00018 (EN: 1 TGT: 0x3c SIZE: 32 MiB) LAWBARH03: 0x0000000f LAWBARL03: 0xffdf0000 LAWAR03: 0x81f00010 (EN: 1 TGT: 0x1f SIZE: 128 KiB) LAWBARH04: 0x0000000f LAWBARL04: 0x00000000 LAWAR04: 0x81d00015 (EN: 1 TGT: 0x1d SIZE: 4 MiB) LAWBARH05: 0x0000000f LAWBARL05: 0xff800000 LAWAR05: 0x81f0000f (EN: 1 TGT: 0x1f SIZE: 64 KiB) LAWBARH06: 0x0000000c LAWBARL06: 0x00000000 LAWAR06: 0x8000001b (EN: 1 TGT: 0x00 SIZE: 256 MiB) LAWBARH07: 0x0000000f LAWBARL07: 0xf8000000 LAWAR07: 0x8000000f (EN: 1 TGT: 0x00 SIZE: 64 KiB) LAWBARH08: 0x0000000c LAWBARL08: 0x10000000 LAWAR08: 0x8010001b (EN: 1 TGT: 0x01 SIZE: 256 MiB) LAWBARH09: 0x0000000f LAWBARL09: 0xf8010000 LAWAR09: 0x8010000f (EN: 1 TGT: 0x01 SIZE: 64 KiB) LAWBARH10: 0x0000000c LAWBARL10: 0x20000000 LAWAR10: 0x8020001b (EN: 1 TGT: 0x02 SIZE: 256 MiB) LAWBARH11: 0x0000000f LAWBARL11: 0xf8020000 LAWAR11: 0x8020000f (EN: 1 TGT: 0x02 SIZE: 64 KiB) LAWBARH12: 0x0000000c LAWBARL12: 0x30000000 LAWAR12: 0x8030001b (EN: 1 TGT: 0x03 SIZE: 256 MiB) LAWBARH13: 0x0000000f LAWBARL13: 0xf8030000 LAWAR13: 0x8030000f (EN: 1 TGT: 0x03 SIZE: 64 KiB) LAWBARH14: 0x00000000 LAWBARL14: 0x00000000 LAWAR14: 0x00000000 (EN: 0 TGT: 0x00 SIZE: 2 Bytes) LAWBARH15: 0x00000000 LAWBARL15: 0x00000000 LAWAR15: 0x8100001f (EN: 1 TGT: 0x10 SIZE: 4 GiB) IFC Controller Registers CSPR0:0xE8000101 AMASK0:0xF8000000 CSOR0:0x0000000C IFC_FTIM0:0x40050005 IFC_FTIM1:0x35001A13 IFC_FTIM2:0x0410381C IFC_FTIM3:0x00000000 CSPR1:0xFF800083 AMASK1:0xFFFF0000 CSOR1:0x8510A100 IFC_FTIM0:0x0E18070A IFC_FTIM1:0x32390E18 IFC_FTIM2:0x01E0501E IFC_FTIM3:0x00000000 CSPR2:0xFFDF0085 AMASK2:0xFFFF0000 CSOR2:0x00000000 IFC_FTIM0:0xE00E000E IFC_FTIM1:0x0E001F00 IFC_FTIM2:0x0E20001F IFC_FTIM3:0x00000000 CSPR3:0x00000000 AMASK3:0x00000000 CSOR3:0x0000000C IFC_FTIM0:0x00000000 IFC_FTIM1:0x00000000 IFC_FTIM2:0x00000000 IFC_FTIM3:0x00000000 CSPR4:0x00000000 AMASK4:0x00000000 CSOR4:0x0000000C IFC_FTIM0:0x00000000 IFC_FTIM1:0x00000000 IFC_FTIM2:0x00000000 IFC_FTIM3:0x00000000 CSPR5:0x00000000 AMASK5:0x00000000 CSOR5:0x0000000C IFC_FTIM0:0x00000000 IFC_FTIM1:0x00000000 IFC_FTIM2:0x00000000 IFC_FTIM3:0x00000000 CSPR6:0x00000000 AMASK6:0x00000000 CSOR6:0x0000000C IFC_FTIM0:0x00000000 IFC_FTIM1:0x00000000 IFC_FTIM2:0x00000000 IFC_FTIM3:0x00000000 CSPR7:0x00000000 AMASK7:0x00000000 CSOR7:0x0000000C IFC_FTIM0:0x00000000 IFC_FTIM1:0x00000000 IFC_FTIM2:0x00000000 IFC_FTIM3:0x00000000 => CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | ttyUSB0 Re: Invalid PCIe Header while Loading AMDGPU on T1040RDB Please provide
lspci -vvv -s 01:00.0
Output
Your currecnt DTS
Input "reginfo" in the U-boot.
Thanks Re: Invalid PCIe Header while Loading AMDGPU on T1040RDB Below log suggests that T1040 read returns garbage, suggesting an issue with the outbound window configuration.
amdgpu 0001:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xadde.
Which might suggest that the PCIe outbound window programming might be missing.
Can you please share the full the kernel bootargs used for T1040RDB with AMDGPU. Re: Invalid PCIe Header while Loading AMDGPU on T1040RDB @Ganesh3955 Have you solved the issue? if not, please kindly provide:
Below log suggests that T1040 read returns garbage, suggesting an issue with the outbound window configuration.
amdgpu 0001:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xadde.
Which might suggest that the PCIe outbound window programming might be missing.
Can you please share the full the kernel bootargs used for T1040RDB with AMDGPU.
View full article