Failed to deploy Windows IoT LTSC 2021 image to i.MX8M Plus EVK board

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

Failed to deploy Windows IoT LTSC 2021 image to i.MX8M Plus EVK board

Jump to solution
1,655 Views
benlaj1
Contributor I

Hello,

I've been following the i.MX Windows 10 IoT User’s Guide Rev. W1.1.0, 6/2022 to deploy Windows IoT LTSC 2021 image to my i.MX8M Plus EVK board but could not boot to my prepared WinPE based installation media on a microSD card. I'm not building anything, I just want to use the available prebuilt W21H2-1-1-0 binaries injected into Windows IoT LTSC 2021 image and deployed with WinPE coming with 2004 ADK.  

I've flashed the boot firmware on EVK eMMC using UUU, created my WinPE based Windows installer on a SD card but it just doesn't seem to boot on it. When booting on SD, I see nothing on the serial console so it seems to not be bootable and if I set EVK to boot on eMMC, it does nothing with inserted SD card and console output ends with this:

Tianocore/EDK2 firmware version 2020-02
Press ESCAPE for boot options

Pressing any keys here does nothing and I don't know what to do if I stop boot to land in u-boot. I've flashed to same boot firmware found on eMMC on a separate SD card to check if I can boot on it and get same result has when booting on eMMC, except the reported MMC target is different. Can somebody help me find what I did wrong or what I can do to properly install Windows IoT LTSC 2021 image to i.MX8M Plus EVK board?

Also, it would have been great to have successful log, output or capture in the user guide steps to help validate/compare if followed steps are OK. I know batch files ends with "success" when it should be OK but even then I did not succeed with my install process...

I would really appreciate someone support on this.

Regards

 

0 Kudos
1 Solution
1,624 Views
michal_hromadka
NXP Employee
NXP Employee

Hello  @benlaj1 ,

your steps are right, but HDMI output (J17) for MP board is not supported, yet. If you want to connect LCD to board - need iMX-MIPI-HDMI converter connected to DSI MIPI port (for fullHD  resolution) or iMX-LVDS-HDMI converter connected to LVDS0 port (for lower resolution). 

Regards,

Michal

View solution in original post

0 Kudos
7 Replies
1,625 Views
michal_hromadka
NXP Employee
NXP Employee

Hello  @benlaj1 ,

your steps are right, but HDMI output (J17) for MP board is not supported, yet. If you want to connect LCD to board - need iMX-MIPI-HDMI converter connected to DSI MIPI port (for fullHD  resolution) or iMX-LVDS-HDMI converter connected to LVDS0 port (for lower resolution). 

Regards,

Michal

0 Kudos
1,613 Views
benlaj1
Contributor I

Hello @michal_hromadka,

I'll try to get my hand on one of those converter. Since you pointed out that limitation, I've checked in the release note document and kind of understand out your extra details now. I also checked the supported board section and I noticed I have a 700-46370 REV B base board while the document points out it is supported on 700-46370 REV X1 base board. Will it work on my setup or not? Where can I find the board REV difference (B1 vs X1), maybe I can patch it on my side...

Regards 

0 Kudos
1,646 Views
michal_hromadka
NXP Employee
NXP Employee

Hello @benlaj1 ,

You are probably using LCD with HDMI port, right? Where do you have connected HDMI connector on the board? 

Regards,

Michal

0 Kudos
1,598 Views
Julia23
Contributor I

Hello @michal_hromadka,

I have the same problem like benlaj1 .

I use also the i.MX 8M Plus EVK boad and want to install Windows IoT Enterprise 2021 LTSC 21H2 ARM64. I use the WIN10_1.1.0_BINARIES.

I have connected a HDMI Monitor on J17 and get the same debug output like benlaj1. The Windows installation over the SD Card doesn't start.

Have you any idea where could be the problem?

Regards, 

Julia

0 Kudos
1,584 Views
michal_hromadka
NXP Employee
NXP Employee

Hello @Julia23 ,

As I mentioned above, the HDMI output (J17) for MP board is not supported, yet. So, you are probably booting correctly but don't see the graphic output. For LCD connection you have to use IMX-MIPI-HDMI or IMX-LVDS_HDMI convertor connected to DSI MIPI or LVDS0 connector on the board for now.

Regards,

Michal

0 Kudos
1,580 Views
benlaj1
Contributor I

Hello, 

I was able to get my hands on a IMX-MIPI-HDMI converter and I was successfully able to complete the image installation and start working with a Windows IoT LTSC 2021 image onto my i.MX8M Plus EVK board. The trace output on the console doesn't mention anymore the failure to detect any video link. Just to add details you can see the failed output mentions this:

 [*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19

While the successful output mentions this:

[*]-Video Link 0 (1920 x 1080)
[0] lcd-controller@32e80000, video
[1] mipi_dsi@32e60000, video_bridge
[2] adv7535@3d, panel

You also need to boot on eMMC with inserted SD card which will then proceed to Win10 installation on eMMC (after OOBE, SD card is no more required)

Thanks for the support @michal_hromadka !

Regards

0 Kudos
1,642 Views
benlaj1
Contributor I

Hello @michal_hromadka,

Yes, I have an LCD connected to HDMI OUT port (J17) on my board but I was getting no output on it either. I was hoping to see some splash or installer progression but no signal shown. I have also left board idle for 30 minutes since it is mentioned that it takes time in the documentation but nothing conclusive happened. I have disconnected HDMI connector just in case and tried again with no changes. If I'm referring to user guide step 6 in common steps section, it is not mentioned if board should be configured to boot on microSD or eMMC. As mentioned in my first post, I tried both. When booting on prepared WinPE microSD, it doesn't output anything on debug port. This is the complete debug output when no HDMI is connected when booting on eMMC with prepared WinPE microSD inserted (pressing ESCAPE or anything else at the end does nothing):

U-Boot SPL 2021.04-00442-g6efff2a47b (Jun 23 2022 - 19:01:35 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
WDT: Not found!
Trying to boot from BOOTROM
image offset 0x0, pagesize 0x200, ivt offset 0x0
NOTICE: BL31: v2.4(release):lf-5.10.72-2.2.0-4-g24ddf8f9a
NOTICE: BL31: Built : 19:01:54, Jun 23 2022


U-Boot 2021.04-00442-g6efff2a47b (Jun 23 2022 - 19:01:35 +0000)

CPU: i.MX8MP[8] rev1.1 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 26C
Reset cause: POR
Model: NXP i.MX8MPlus LPDDR4 EVK board
DRAM: 6 GiB
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x50]
SNK.Power3.0 on CC1
PDO 0: type 0, 5000 mV, 3000 mA [E]
PDO 1: type 0, 9000 mV, 3000 mA []
PDO 2: type 0, 15000 mV, 3000 mA []
PDO 3: type 0, 20000 mV, 2250 mA []
Requesting PDO 3: 20000 mV, 2250 mA
Source accept request
PD source ready!
tcpc_pd_receive_message: Polling ALERT register, TCPC_ALERT_RX_STATUS bit failed, ret = -62
Power supply on USB2
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19

[0] lcd-controller@32e80000, video
[1] mipi_dsi@32e60000, video_bridge
[2] adv7535@3d, panel
adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated

BuildInfo:
- ATF 24ddf8f

switch to partitions #0, OK
mmc2(part 0) is current device
flash target is MMC:2
Net: eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
starting USB...
Bus dwc3@38100000: Failed to initialize board for imx8m USB
probe failed, error -62
Bus dwc3@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus dwc3@38200000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
switch to partitions #1, OK
mmc2(part 1) is current device

MMC read: dev # 2, block # 3880, count 4096 ... 4096 blocks read: OK
## Loading kernel from FIT Image at 40480000 ...
Using 'conf-1' configuration
Trying 'uefi' kernel subimage
Description: UEFI
Type: Kernel Image
Compression: uncompressed
Data Start: 0x404800a4
Data Size: 2064384 Bytes = 2 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x50004000
Entry Point: 0x50004000
Hash algo: sha256
Hash value: b2a68b3d42d1eeb0af384b4598eb0f7c62d71e2fc3077e2402543226fa2875b9
Verifying Hash Integrity ... sha256+ OK
Loading Kernel Image
adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19

Starting kernel ...


UEFI Debug Serial Port Init
UEFI firmware (version 2020-02 built at 19:04:00 on Jun 23 2022)


Tianocore/EDK2 firmware version 2020-02
Press ESCAPE for boot options

0 Kudos