AnsweredAssumed Answered

How do I configure the T2080's PCI controller to use the AMD E8860?

Question asked by Bas Vermeulen on Feb 16, 2018

Hi,

 

I am using the QorIQ SDK v2.0 in order to boot a T2080 with an AMD E8860 GPU connected to the PCI Express slot.

 

The E8860 uses the following resources:

 

[ 0.676753] pci 0002:01:00.0: reg 0x10: [mem 0x1000f0000000-0x1000ffffffff 64
bit pref]
[ 0.676765] pci 0002:01:00.0: reg 0x18: [mem 0xc41000000-0xc4103ffff 64bit]
[ 0.676773] pci 0002:01:00.0: reg 0x20: [io 0x22100-0x221ff]
[ 0.676786] pci 0002:01:00.0: reg 0x30: [mem 0xc41040000-0xc4105ffff pref]

 

It fails to allocate the io memory and the second memory resource with:

 

[ 0.805865] pci 0002:01:00.0: BAR 0: assigned [mem 0xc40000000-0xc4fffffff 64bit pref]
[ 0.812477] pci 0002:01:00.0: BAR 2: no space for [mem size 0x00040000 64bit]
[ 0.818295] pci 0002:01:00.0: BAR 2: failed to assign [mem size 0x00040000 64bit]
[ 0.824468] pci 0002:01:00.0: BAR 6: no space for [mem size 0x00020000 pref]
[ 0.830206] pci 0002:01:00.0: BAR 6: failed to assign [mem size 0x00020000 pref]
[ 0.836293] pci 0002:01:00.1: BAR 0: no space for [mem size 0x00004000 64bit]
[ 0.842117] pci 0002:01:00.1: BAR 0: failed to assign [mem size 0x00004000 64bit]

 

Do I have to modify the device-tree to give the PCI express controller more space to work with?

What is the correct procedure to fix this, and is there any documentation about this?

 

I am attaching the dmesg output of my board.

 

Thanks in advance,

 

Bas Vermeulen

Attachments

Outcomes