The UEFI of Windows 10 IoT with IMX8MM can not read the PCIE bus2, But The Linux OS with IMX8MM can

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

The UEFI of Windows 10 IoT with IMX8MM can not read the PCIE bus2, But The Linux OS with IMX8MM can

319 Views
Tunglu
Contributor I

Dear sir

We use the "SECO TrizepsVIII-Mini"(IMX8MM) CPU for  Windows 10 IoT enterprise.

We try to add a PCI device by Ti XIO2001a , but the UEFI of Windows 10 IoT enterprise OS can not read it.

But, If we use the same hardware by reinstall the Linux OS, we can read the PCI device at the PCI Bus2 well before PCIE to PCI bridge(XIO2001a , PCIe bus1) .

Like this: IMX8MM PCIE pin->PCIE bridge(bus0)->PCIE to PCI bridge(bus1)->PCI fpga chip(Bus2)

Tunglu_0-1719993483684.png

 

We chceck the UEFI code of PCEI(iMX8PciExpress.c) in the NXP BSP of "mu_platform_nxp" folder.

(.\mu_platform_nxp\Silicon\ARM\NXP\iMX8Pkg\Drivers\PciExpress\iMX8PciExpress.c)

and Trizeps8mini_2GB.dsc file.

We make sure the UEFI code of PCEI for IMX8MM donot support the giMX8TokenSpaceGuid.PcdPcie1SwitchSupport.(Only support to read the PCIE BUS0,BUS1)

/////////////////////////////////////

I try to use the IMX8MQ PCIE Config Base address setting to "Trizeps8mini_2GB.dsc"(IMX8MM)

Trizeps8mini_2GB.dsc-->

.

.

.

#
# PCIE
#
# PCIe 1 Host config space is fixed at 0x33800000. The memory range from
# 0x18000000 - 0x1FFFFFFF is assigned for PCIe 1. The memory layout defined
# by the boot loader is as below
#
# PCIe Device Config Space : 0x18F00000 - 0x18F80000
# PCIe Device Memory Space : 0x18000000 - 0x1FF00000
giMX8TokenSpaceGuid.PcdPcie1Enable|TRUE
giMX8TokenSpaceGuid.PcdPcie1ControlBaseAddress|0x33800000
#giMX8TokenSpaceGuid.PcdPcie1DeviceMemoryBase|0x18000000-->IMX8MM PCIE address
#giMX8TokenSpaceGuid.PcdPcie1DeviceMemorySize|0x07F00000
#giMX8TokenSpaceGuid.PcdPcie1DeviceConfigBase|0x18F00000
#giMX8TokenSpaceGuid.PcdPcie1DeviceConfigSize|0x00080000
#giMX8TokenSpaceGuid.PcdPcie1SwitchSupport|FALSE
giMX8TokenSpaceGuid.PcdPcie1DeviceMemoryBase|0x19000000-->IMX8Mq PCIE address
giMX8TokenSpaceGuid.PcdPcie1DeviceMemorySize|0x06F00000
giMX8TokenSpaceGuid.PcdPcie1DeviceConfig0Base|0x1FF00000
giMX8TokenSpaceGuid.PcdPcie1DeviceConfig0Size|0x00080000
giMX8TokenSpaceGuid.PcdPcie1SwitchSupport|TRUE
giMX8TokenSpaceGuid.PcdPcie1DeviceConfig1Base|0x18000000
giMX8TokenSpaceGuid.PcdPcie1DeviceConfig1Size|0x01000000
giMX8TokenSpaceGuid.PcdPcie1InternalRefClock|TRUE
giMX8TokenSpaceGuid.PcdPcie1MaxLinkSpeed|2
giMX8TokenSpaceGuid.PcdPcie1ResetGpio|TRUE

But I still only can read the PCIE to PCI device(XIO2000a), can not read the PCI device in the BUS2

 

//////////////////////////////////////

Win10 Iot UEFI debug message

U-Boot 2019.04-00065-g8c0fefe8ec-dirty (Jul 01 2024 - 14:03:55 +0800)

CPU: Freescale i.MX8MMQ rev1.0 at 1600MHz
CPU: Industrial temperature grade (-40C to 105C) at 49C
Reset cause: POR
Model: i.MX8MM
DRAM: 2 GiB
Modul: 59B25.C2Hxx.Hxx
Keith & Koep Trizeps VIII Mini V3R1 i.MX 8M Mini Quad 1600MHz (industrial) with 2GB-S-32bit RAM booting from eMMC.
MCU MKV11Z64VFM7
LVDS (single)
FPGA LCMXO3LF 2100E
Ethernet RTL8211FI
Audio WM8983

setup_iomux_fec: PCBrevision=5
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC..
board_supports_uhs=1 module:2, version:5
Trizeps VIII Mini V3R1 USDHC1 do not set VMMC Voltage back to 3.3V
Trizeps VIII Mini V3R1 USDHC1 set VMMC Voltage 1.8V
OK
No panel detected: default to G104XVN01
Display: G104XVN01 (1024x768)
Video: 1024x768x24
Bx5 Init Sequence
QuickLogic ArcticLink III Bx5 (0x64) found
wait_for_sr_state: Arbitration lost sr=12 cr=98 state=202
In: serial
Out: serial
Err: serial

BuildInfo:
- ATF
- U-Boot 2019.04-00065-g8c0fefe8ec-dirty

switch to partitions #0, OK
mmc0(part 0) is current device (MMC)
EMMC BootStorage User: 28 GB
EMMC BootStorage Boot: 4 MB
EMMC BootStorage Rpmb: 4 MB
Module Assumed Art-No:<59B25.C2Hx4.Hxx>
setup_pcie: Environment pcie=wifionboard,internal_wifi=0,pcie_ext=1
PCIE: Configure for external PCIe Slot
flash target is MMC:0
Net: 100Mb (ethspeed)
board_phy_config: Setting up PhyLED Control....
eth0: ethernet@30be0000
Fastboot: Normal
Normal Boot
Hit <ESC> key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device (MMC)
EMMC BootStorage User: 28 GB
EMMC BootStorage Boot: 4 MB
EMMC BootStorage Rpmb: 4 MB
Module Assumed Art-No:<59B25.C2Hx4.Hxx>
EXT_CSD[179], PARTITION_CONFIG:
BOOT_ACK: 0x1
BOOT_PARTITION_ENABLE: 0x1
PARTITION_ACCESS: 0x0
starting USB...
USB0: USB EHCI 1.00
USB1: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Trizeps VIII Mini V3R1 USDHC2 set VMMC Voltage 3300000
** Unrecognized filesystem type **
Try Booting IoT...
switch to partitions #1, OK
mmc0(part 1) is current device (MMC)
EMMC BootStorage User: 28 GB
EMMC BootStorage Boot: 4 MB
EMMC BootStorage Rpmb: 4 MB
Module Assumed Art-No:<59B25.C2Hx4.Hxx>

MMC read: dev # 0, block # 3066, count 4096 ... 4096 blocks read: OK
switch to partitions #1, OK
mmc0(part 1) is current device (MMC)
EMMC BootStorage User: 28 GB
EMMC BootStorage Boot: 4 MB
EMMC BootStorage Rpmb: 4 MB
Module Assumed Art-No:<59B25.C2Hx4.Hxx>
## Loading kernel from FIT Image at 40800000 ...
Using 'conf-1' configuration
Trying 'uefi' kernel subimage
Description: UEFI
Type: Kernel Image
Compression: uncompressed
Data Start: 0x408000a4
Data Size: 2064384 Bytes = 2 MiB
Architecture: ARM
OS: Linux
Load Address: 0x50004000
Entry Point: 0x50004000
Hash algo: sha256
Hash value: 15fd33460cbd818e42b1c6c866dbf1747e1915b941ea3f1fd6143f444b97d701
Verifying Hash Integrity ... sha256+ OK
Loading Kernel Image ... OK
Command-Line (2)

Starting kernel ...


UEFI Debug Serial Port Init
found Trizeps
UEFI firmware (version built at 18:19:01 on Jun 12 2024)
found Trizeps
found Trizeps
iMX8PCIe: PCIe0 configured with internal reference clock.
iMX8PCIe: IOMUXC_GPR_GPR14 0x4B4C9400
iMX8PCIe: PCIe0 Link speed change failed!
iMX8PCIe: PCIe0 Link up, Gen speed: 1
iMX8PCIe: Scanning device B: 00 00 F: 00
iMX8PCIe: PcieGetPciConfigAddress-->BusNumber == 0 && DevNumber == 0,B0,D0,address=0x33800000
iMX8PCIe: 2PciePciRead====VendorId0===0x16C3,address=0x33800000,B=0,D=0
iMX8PCIe: 2PciePciRead====VendorId1===0x16C3
iMX8PCIe: 2PciePciRead====DeviceId===0xABCD
iMX8PCIe: 2PciePciRead====CacheLineSize===0x0
iMX8PCIe: 2PciePciRead====LatencyTimer===0x0
iMX8PCIe: 2PciePciRead====HeaderType===0x1
iMX8PCIe: 2PciePciRead====BIST===0x0
iMX8PCIe: Configuring B:00 D:00 F:00
iMX8PCIe: PcieGetPciConfigAddress-->BusNumber == 0 && DevNumber == 0,B0,D0,address=0x33800000
iMX8PCIe: 1111 IS_PCI_BRIDGE=======01

iMX8PCIe: Pci Bridge to set pcie package
iMX8PCIe: Pci Synopsys set reg ++++++++++++++++++++++++++++++++++++++++++++++++++++++
iMX8PCIe: PCI_COMMAND_OFFSET 0x4 red reg=0x507
iMX8PCIe: PCI_COMMAND_OFFSET 0x4 write reg=0x507
iMX8PCIe: PcieGetPciConfigAddress-->BusNumber == 0 && DevNumber == 0,B0,D0,address=0x33800000
iMX8PCIe: Current memory resource 0x19000000 Size 0x06F00000
iMX8PCIe: Scanning device B: 01 00 F: 00
iMX8PCIe: PcieGetPciConfigAddress-->BusNumber == 1 && DevNumber == 0,B1,D0,address=0x1FF00000
iMX8PCIe: 2PciePciRead====VendorId0===0x104C,address=0x1FF00000,B=1,D=0
iMX8PCIe: 2PciePciRead====VendorId1===0x104C
iMX8PCIe: 2PciePciRead====DeviceId===0x8240
iMX8PCIe: 2PciePciRead====CacheLineSize===0x0
iMX8PCIe: 2PciePciRead====LatencyTimer===0x0
iMX8PCIe: 2PciePciRead====HeaderType===0x1
iMX8PCIe: 2PciePciRead====BIST===0x0
iMX8PCIe: Configuring B:01 D:00 F:00
iMX8PCIe: PcieGetPciConfigAddress-->BusNumber == 1 && DevNumber == 0,B1,D0,address=0x1FF00000
iMX8PCIe: 1111 IS_PCI_BRIDGE=======01

iMX8PCIe: Pci Bridge to set pcie package
iMX8PCIe: Current memory resource 0x19000000 Size 0x06F00000
iMX8PCIe: Current memory resource 0x19000000 Size 0x06F00000
iMX8PCIe: XIO2001 set reg ++++++++++++++++++++++++++++++++++++++++++++++++++++++
iMX8PCIe: XIO2001 set reg ------------------------------------------------------
iMX8PCIe: PCI_COMMAND_OFFSET 0x4 red reg=0x0
iMX8PCIe: PCI_COMMAND_OFFSET 0x4 write reg=0x6
iMX8PCIe: PcieGetPciConfigAddress-->BusNumber == 1 && DevNumber == 0,B1,D0,address=0x1FF00000
iMX8PCIe: Current memory resource 0x19000000 Size 0x06F00000
iMX8PCIe: Scanning device B: 02 00 F: 00
iMX8PCIeiMX8PCIe: 2PciePciRead====VendorId0===0xFFFF,address=0x18000000,B=2,D=0
iMX8PCIe: PcieDevicePresent PciDevice->Hdr.VendorId=0xffff No Pcie device found B=2,D=0
iMX8PCIe: PcieSimpleScanBusAndAssignResource-->No Pci device found
iMX8PCIe: Current memory resource 0x19000000 Size 0x06F00000
iMX8PCIe: Allocating memory resource 0x19000000 size 0x00100000
iMX8PCIe: Current memory resource 0x19100000 Size 0x06E00000
iMX8PCIe: Scanning device B: 01 01 F: 00
iMX8PCIe: PcieGetPciConfigAddress false at --Bus1,D1,F0-MaxBusNumber15-----
iMX8PCIe: PcieSimpleScanBusAndAssignResource-->No Pci device found
iMX8PCIe: Current memory resource 0x19100000 Size 0x06E00000
iMX8PCIe: Allocating memory resource 0x19100000 size 0x00100000
iMX8PCIe: Current memory resource 0x19200000 Size 0x06D00000
iMX8PCIe: Scanning device B: 00 01 F: 00
iMX8PCIe: PcieGetPciConfigAddress false at --Bus0,D1,F0-MaxBusNumber15-----
iMX8PCIe: PcieSimpleScanBusAndAssignResource-->No Pci device found
iMX8PCIe: ===============================
iMX8PCIe: Root Complex Configuration space address 0x33800000,bus0,dev0
iMX8PCIe: ===============================
iMX8PCIe: PCI [00] 0xABCD16C3 0x00100507 0x06040001 0x00010000
iMX8PCIe: PCI [10] 0x18000000 0x00000000 0x00010100 0x20001010
iMX8PCIe: PCI [20] 0x19101900 0x0000FFF0 0x00000000 0x00000000
iMX8PCIe: PCI [30] 0x00000000 0x00000040 0x00000000 0x000201DF
iMX8PCIe: PCI [40] 0xDBC35001 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [50] 0x01817005 0xBB954000 0x00000000 0x00000000
iMX8PCIe: PCI [60] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [70] 0x00420010 0x00008000 0x0010201F 0x0073CC12
iMX8PCIe: PCI [80] 0x30110040 0x00000000 0x004003C0 0x00010018
iMX8PCIe: PCI [90] 0x00000000 0x0000041F 0x00000000 0x00000006
iMX8PCIe: PCI [A0] 0x00010002 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [B0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [C0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [D0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [E0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [F0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PcieGetPciConfigAddress-->BusNumber == 1 && DevNumber == 0,B1,D0,address=0x1FF00000
iMX8PCIe: ----------------------------------
iMX8PCIe: Device Configuration space 0x1FF00000,bus1,dev0
iMX8PCIe: PCI [00] 0x8240104C 0x00100006 0x06040000 0x00010000
iMX8PCIe: PCI [10] 0x00000000 0x00000000 0x00020201 0x02A01111
iMX8PCIe: PCI [20] 0x19001900 0x0001FFF1 0x00000000 0x00000000
iMX8PCIe: PCI [30] 0x00000000 0x00000040 0x00000000 0x00020000
iMX8PCIe: PCI [40] 0x0000480D 0x00000000 0x06035001 0x00400008
iMX8PCIe: PCI [50] 0x00887005 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [60] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [70] 0x00720010 0x00008002 0x00192000 0x00063C11
iMX8PCIe: PCI [80] 0x10110040 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [90] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [A0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [B0] 0x00000000 0x00070000 0x00000000 0x00000000
iMX8PCIe: PCI [C0] 0x01000001 0x00120108 0x32142000 0x00000000
iMX8PCIe: PCI [D0] 0x00000000 0x8600025F 0x00000000 0x00000040
iMX8PCIe: PCI [E0] 0x00000000 0x00000000 0x00080443 0x01C0007F
iMX8PCIe: PCI [F0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: +++++++++++++++++++++++++++++++++

//////////////////////////////////////

Linux OS debug message

U-Boot SPL 2020.04-13429-g5458581fbe (May 16 2024 - 14:40:43 +0800)
Choose dram_timing_v1r2_2GB_K4F6E3S4HM
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
NOTICE: Configuring TZASC380
NOTICE: RDC off
NOTICE: BL31: v2.0(release):rel_imx_5.4.3_2.0.0-0-gf1a195b5c-dirty
NOTICE: BL31: Built : 09:13:33, Jul 7 2020
NOTICE: sip svc init
ERROR: Error initializing runtime service opteed_fast


U-Boot 2020.04-13429-g5458581fbe (May 16 2024 - 14:40:43 +0800)

CPU: i.MX8MMQ rev1.0 at 1600MHz
CPU: Industrial temperature grade (-40C to 105C) at 35C
Reset cause: POR
Model: i.MX8MM
DRAM: 2 GiB
Modul: 59B25.x2Hxx.Hxx
This is a Keith & Koep GmbH Trizeps VIII Mini running a i.MX 8M Mini Quad 1600MHz (industrial) with 2GB,32bit RAM and booting from eMMC.
MCU MKV11Z64VFM7
LVDS (single)
FPGA LCMXO3LF 2100E
Ethernet RTL8211
Audio WM8983

setup_iomux_fec: PCBrevision=5
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial

BuildInfo:
- ATF f1a195b
- U-Boot 2020.04-13429-g5458581fbe

switch to partitions #0, OK
mmc0(part 0) is current device
PCIE: Configure for external PCIe Slot
flash target is MMC:0
Net: 100Mb (ethspeed)

Warning: ethernet@30be0000 MAC addresses don't match:
Address in ROM is 64:d2:41:09:2b:49
Address in environment is 64:d2:41:06:ca:ba
eth0: ethernet@30be0000
Fastboot: Normal
Normal Boot
Hit <ESC> key to stop autoboot: 2
U-Boot SPL 2020.04-13429-g5458581fbe (May 16 2024 - 14:40:43 +0800)
Choose dram_timing_v1r2_2GB_K4F6E3S4HM
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
NOTICE: Configuring TZASC380
NOTICE: RDC off
NOTICE: BL31: v2.0(release):rel_imx_5.4.3_2.0.0-0-gf1a195b5c-dirty
NOTICE: BL31: Built : 09:13:33, Jul 7 2020
NOTICE: sip svc init
ERROR: Error initializing runtime service opteed_fast


U-Boot 2020.04-13429-g5458581fbe (May 16 2024 - 14:40:43 +0800)

CPU: i.MX8MMQ rev1.0 at 1600MHz
CPU: Industrial temperature grade (-40C to 105C) at 35C
Reset cause: POR
Model: i.MX8MM
DRAM: 2 GiB
Modul: 59B25.x2Hxx.Hxx
This is a Keith & Koep GmbH Trizeps VIII Mini running a i.MX 8M Mini Quad 1600MHz (industrial) with 2GB,32bit RAM and booting from eMMC.
MCU MKV11Z64VFM7
LVDS (single)
FPGA LCMXO3LF 2100E
Ethernet RTL8211
Audio WM8983

setup_iomux_fec: PCBrevision=5
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial

BuildInfo:
- ATF f1a195b
- U-Boot 2020.04-13429-g5458581fbe

switch to partitions #0, OK
mmc0(part 0) is current device
PCIE: Configure for external PCIe Slot
flash target is MMC:0
Net: 100Mb (ethspeed)

Warning: ethernet@30be0000 MAC addresses don't match:
Address in ROM is 64:d2:41:09:2b:49
Address in environment is 64:d2:41:06:ca:ba
eth0: ethernet@30be0000
Fastboot: Normal
Normal Boot
Hit <ESC> key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
** Unrecognized filesystem type **
** Invalid partition 8 **
** Unrecognized filesystem type **
28342784 bytes read in 658 ms (41.1 MiB/s)
Booting from mmc ...
loading fdt..
** Unrecognized filesystem type **
trying from fat....
45578 bytes read in 25 ms (1.7 MiB/s)
loadftdfat ok
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Using Device Tree in place at 0000000043000000, end 000000004300e209

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.24 (test@h) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT Fri Jun 7 09:42:08 CST 2024
[ 0.000000] Machine model: Keith & Koep GmbH pConXS III ATM0700 i.MX8MM Trizeps8-Mini
[ 0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
.......
[ 3.503083] imx6q-pcie 33800000.pcie: Link up
[ 3.506557] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 3.507457] imx6q-pcie 33800000.pcie: Link up
[ 3.513614] hub 2-0:1.0: USB hub found
[ 3.517194] imx6q-pcie 33800000.pcie: Link up, Gen1
[ 3.517282] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00
[ 3.520965] hub 2-0:1.0: 1 port detected
[ 3.525830] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 3.533192] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 2 mkt segment 2 supported-hw 0x4 0x4
[ 3.536122] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 3.544339] Hot alarm is canceled. GPU3D clock will return to 64/64
[ 3.550311] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fefffff]

[ 3.550339] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400

[ 3.566301] debugfs: Directory '30020000.sai' with parent 'wm8983-audio' already present!
[ 3.569665] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 3.576233] asoc-simple-card sound-wm8983: wm8983 <-> 30020000.sai mapping ok
[ 3.583863] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[ 3.590158] asoc-simple-card sound-wm8983: ASoC: no DMI vendor name!
[ 3.597318] pci 0000:00:00.0: supports D1
[ 3.614346] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold

[ 3.622435] pci 0000:01:00.0: [104c:8240] type 01 class 0x060400

[ 3.628890] pci 0000:01:00.0: supports D1 D2
[ 3.644093] pci 0000:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 3.652372] pci_bus 0000:02: extended config space not accessible

[ 3.658610] pci 0000:02:00.0: [e159:0001] type 00 class 0x028000

[ 3.664715] pci 0000:02:00.0: reg 0x10: [io 0x0000-0x00ff]
[ 3.670342] pci 0000:02:00.0: reg 0x14: [mem 0x00000000-0x00000fff]
[ 3.678649] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 3.685309] pci 0000:00:00.0: BAR 0: assigned [mem 0x18000000-0x180fffff]
[ 3.692115] pci 0000:00:00.0: BAR 14: assigned [mem 0x18100000-0x181fffff]
[ 3.699000] pci 0000:00:00.0: BAR 6: assigned [mem 0x18200000-0x1820ffff pref]
[ 3.706234] pci 0000:00:00.0: BAR 13: assigned [io 0x1000-0x1fff]
[ 3.712423] pci 0000:01:00.0: BAR 14: assigned [mem 0x18100000-0x181fffff]
[ 3.719314] pci 0000:01:00.0: BAR 13: assigned [io 0x1000-0x1fff]
[ 3.725501] pci 0000:02:00.0: BAR 1: assigned [mem 0x18100000-0x18100fff]
[ 3.732314] pci 0000:02:00.0: BAR 0: assigned [io 0x1000-0x10ff]
[ 3.738427] pci 0000:01:00.0: PCI bridge to [bus 02]
[ 3.743399] pci 0000:01:00.0: bridge window [io 0x1000-0x1fff]
[ 3.749517] pci 0000:01:00.0: bridge window [mem 0x18100000-0x181fffff]
[ 3.756360] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.761589] pci 0000:00:00.0: bridge window [io 0x1000-0x1fff]
[ 3.767695] pci 0000:00:00.0: bridge window [mem 0x18100000-0x181fffff]
[ 3.774807] pcieport 0000:00:00.0: PME: Signaling with IRQ 224
[ 3.781760] pcieport 0000:00:00.0: AER: enabled with IRQ 224

////////////////////////////////////

How can I do to fix the problem.

 

Download the SECO uefi code at:
https://drive.google.com/file/d/1w0Sch16-pna1udHr7uvpUeMGo1zkHg6f/view?usp=drive_link
The zip file seco_uefi_code_mu_platform_nxp.zip have two folder:
mu_platform_nxp ->Add the pcie switch function to "Trizeps8mini_2GB"
mu_platform_nxp_org -> seco org uefi code only support pcie bus0,1
buildme64.sh ->firmware " "Trizeps8mini_2GB"" building command file.
We build the the firmwae file "firmware.tr8m.bin" by command " /buildme64.sh -b Tr8m -t all"

 

0 Kudos
Reply
5 Replies

241 Views
Tunglu
Contributor I

@michal_hromadka 

Dear Sir

Do you need my uefi code of  "mu_platform_nxp" folder?

Because the code of SECO UEFI is differnet with the NXP bsp of "8MMINILPD4-EVK"(NXP EVM board).

0 Kudos
Reply

213 Views
michal_hromadka
NXP Employee
NXP Employee

Dear @Tunglu 

 

It would help. 

 

Best Regards,

Michal

0 Kudos
Reply

136 Views
Tunglu
Contributor I

@michal_hromadka
Dear Sir
You can download the SECO uefi code at:
https://drive.google.com/file/d/1w0Sch16-pna1udHr7uvpUeMGo1zkHg6f/view?usp=drive_link
The zip file seco_uefi_code_mu_platform_nxp.zip have two folder:
mu_platform_nxp ->Add the pcie switch function to "Trizeps8mini_2GB"
mu_platform_nxp_org -> seco org uefi code only support pcie bus0,1
buildme64.sh ->firmware " "Trizeps8mini_2GB"" building command file.
We build the the firmwae file "firmware.tr8m.bin" by command " /buildme64.sh -b Tr8m -t all"

0 Kudos
Reply

73 Views
michal_hromadka
NXP Employee
NXP Employee

Dear @Tunglu ,

Thank you for the sources and details.

I've contact our development team to help us resolve the issue. I'll let you know as soon as we make some progress.

Best Regards,

Michal

 

0 Kudos
Reply

259 Views
michal_hromadka
NXP Employee
NXP Employee

Dear Tunglu,

@Tunglu 

 

Thank you for the detailed description of the issue. Please, let us analyze the logs and then we will let you know.

 

Best Regards,

Michal

0 Kudos
Reply