Windows10 IoT on iMX8M-Quad

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

Windows10 IoT on iMX8M-Quad

6,821 Views
aniketwaje
Contributor I

Hello Team,

I'm porting windows 10 IoT Enterprise to my custom board (imx8mq). I am using BSP version 1.2.1.

I followed Quick start guide and able to create a WinPE SD card. Now I wanted to flash firmware on SD card.

Where firmware.bin has to be flashed? While creating WinPE SD card my SD card has been partitioned in 2 drives H: and F: for H: it labled WinPE. and for F: it shows empty. 

I continued by flashing firmware in F: and tried booting from SD card boot mode. My HDMI display shows windows logo and starts installing windows IoT into eMMC. After successful installation it prompts rebooting. After rebooting it takes me to BIOS (BIOS image attached for reference) and even after hitting continue nothing happens.

Then I manually rebooted board in eMMC boot mode. I get stuck in Starting Kernel (logs attached for reference) and also there is no display over HDMI.

This same happens even if I flash firmware in H: drive

My custom board supports HDMI and MIPI-DSI. I am not using any converter for the display.

bios.JPG

0 Kudos
Reply
10 Replies

6,699 Views
Frantisek_Prochaska
NXP Employee
NXP Employee

Hi @aniketwaje ,

your description looks like there's no bootable device recognized by the UEFI. The guide describes how to add WinPe to the SD card. You could tell if it has been done correctly by examining the card. It will contain a lot of files and an "EFI" directory. If you have jumper-ed the board to load boot firmware from SD card remember to re-flash it as the card gets reformatted everytime you put WinPe there.

Good luck

0 Kudos
Reply

6,799 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @aniketwaje ,

In the BIOS screen are other inputs registered correctly? (for example, are you able to switch between other options? or are you able to select any other options besides ''Continue''?)

 

Is the size of your SD card at least 8 GB? 


Have you tried using other SD cards to discard that the issue comes from a faulty SD card?

The Quick Start Guide section regarding flashing the image to the SD card recommends the board to be in SD Card Boot Mode in order to successfully boot into Windows 10 IoT Enterprise. 

Have you tried booting into the WinPE installer again? This is done by renaming the folder ''_efi'' at the root of your SD card to ''EFI''.

Let me know if this was of any help.

Best regards,
Hector.

0 Kudos
Reply

6,794 Views
aniketwaje
Contributor I

Hello @hector_delgado 

Thank you for quick reply.

In BIOS screen I am able to select boot next value and also able to save it. but after reboot the value values get reset, but I am unable to change boot order, boot option apart from that I am able to change languages, Boot Manager etc. but same it gets reset after reboot.

Size of my SD card is 16GB (HC) Class 10 with speed of 10 MB/s.

Yes I am using 2 same SD cards. If one is faulty other should work, but its same for both SD cards.

In SD card boot mode I end up with BIOS screen and if I switch boot mode to eMMC with SD card inserted I end up with "Starting Kernel" log and No display over HDMI.

Yes I re-tried booted into WinPE by renaming _efi to EFI still results are same.

Thank you.

0 Kudos
Reply

6,784 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @aniketwaje ,

Have you verified that previous versions of Windows 10 IoT Enterprise work without any issues? I would suggest trying previous releases to ensure that there's no compatibility issues with your board.

I would also suggest that if the prebuilt images used in the Quick Start Guide don't work then try building an image as instructed in the User Guide (https://www.nxp.com/docs/en/user-guide/IMXWGU.pdf).

Let me know if any of these fixes your issue.

Best regards,
Hector.

0 Kudos
Reply

6,777 Views
aniketwaje
Contributor I

Hello @hector_delgado ,

I tried previous versions 1.2.0 binaries as well as source it ended up same in BIOS. The noticeable thing is in BIOS I was unable to set any configs.

 However, I also tried versions previous then 1.2.0 binaries, in that I was unable to created SD card as it gave mem error in Injecting Galcore (Graphic) driver in SD card.

Are there any working logs for Windows IoT for imx8mq SoM available? If yes can you please share ? 

Thank you !

0 Kudos
Reply

6,755 Views
aniketwaje
Contributor I

Hello @hector_delgado 

Any Updates ??

Thank you !!

0 Kudos
Reply

6,737 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @aniketwaje ,

Could you please follow section 3.1 of the Quick Start Guide and send the logs for further troubleshooting?

Thanks in advance,
Hector.

0 Kudos
Reply

6,729 Views
aniketwaje
Contributor I

Hello @hector_delgado ,

Below are the logs when I boot from eMMC boot mode , Where I am having no display

U-Boot SPL 2021.04-00445-g5ef62652ae (Oct 13 2022 - 10:09:52 +0000)
Can't find PMIC:PFUZE100
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3200MTS<Enter>=Select Entry
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
Trying to boot from MMC2


U-Boot 2021.04-00445-g5ef62652ae (Oct 13 2022 - 10:09:52 +0000)

CPU: i.MX8MQ rev2.1 1300 MHz (running at 800 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 56C
Reset cause: POR
Model: NXP i.MX8MQ EVK
DRAM: 3 GiB
setup_typec: tcpc init failed, err=-62
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0imx8m_hdmi_probe
cdn_api_checkalive: keep-alive counter did not increment for 10us...
HDMI enable failed, ret -1!
(1280 x 720)
[0] display-controller@32e00000, video
[1] hdmi@32c00000, display
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated

BuildInfo:
- ATF 24ddf8f

switch to partitions #0, OK
mmc1 is current device
flash target is MMC:1
Net: Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.

Fastboot: Normal
Normal Boot
starting USB...
Bus usb@38100000: Failed to initialize board for imx8m USB
probe failed, error -5
Bus usb@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@38200000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
switch to partitions #0, OK
mmc1 is current device

MMC read: dev # 1, block # 3946, 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: 512ecc4f0d6276f6aff0624d7887cdba51d305ac7d82b48ba4d5bfd2185e06e1
Verifying Hash Integrity ... sha256+ OK
Loading Kernel Image

Starting kernel ...


UEFI Debug Serial Port Init
UEFI firmware (version 2020-06-07 built at 10:13:33 on Oct 13 2022)

 

 

 

 

And when I boot form SD card, I end up with BIOS screen on Serial debug, Attached is the image

 

0 Kudos
Reply

6,710 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @aniketwaje ,

Unfortunately, we don't provide support for Windows 10 IoT Enterprise on custom boards. We only provide support for Windows 10 IoT Enterprise on our EVKs. I ran common troubleshooting with you before in hopes your issue would be hastily solved. I apologize for any inconvenience caused by this.

I hope your problem is solved soon.

Best regards,
Hector. 

0 Kudos
Reply

6,740 Views
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @aniketwaje ,

Sorry for the late response, I'm currently checking your issue. Thank you for waiting.

Best regards,
Hector.

0 Kudos
Reply