Hi,
I have a 8MP CPU with 4GB DDR. When the system is ready to enter WinPE, the system will crash.
I use windbg to observe the problem. I see "Missing Image Name". I guess the problem is related to
DDR size?
Since i have an sd card with a windows 10 IoT image, I flashed the EVK bootloader in the sd card.
I can boot into WinPE normally. I only modify the DDR parameter in the same sdcard. The sd card is put
in my system, but the system will crash on boot wiepe screen.
Do you have any ideas?
Hi @aber,
we will try to test DDR with same internal organization in EVK with DDR slot. If you want, you can send our DDR timing.c file and we can test it with that too. DDR training will not be for EVK, but it could run.
Best Regards, Jakub
Hi Aber,
I have build firmware with your lpddr4_timing_4g.c and memory set to 4GB in dsc file
giMX8TokenSpaceGuid.PcdBank1MemorySize|0x0000000040000000. WinPE installation and Windows are running fine on our EVK with DDR slot with MT53E1G32D2FW-046 AUT:B chip. This chip should have the same inner organization as yours. Also Memtest86+ was able to run without error.
WinPE BSOD could be caused by different schematic in general. But if you are able to successfully install and run Windows with my binary, which was build from NXP BSP without any other changes than DDR size and timing, I would really propose to try Memtest86+ to test memory setting within UEFI environment.
Best Regards, Jakub
Hi @aber,
I am sorry, but according current NXP policies we are not allowed to give out any source codes and binaries without full release process.
1. Can you please make sure, that you are building with "-c" parameter for full rebuild? E.g.: ./buildme64.sh -b 8Mp -c -t all -fw -bc debug
2. Are you able to build firmware from BSP for NXP EVK and run in successfully? (If EVK is availlable for you)
3. Is Memtest86+ running with your firmware without error?
Best Regards, Jakub
Hi jakub_zigacek
1. Can you please make sure, that you are building with "-c" parameter for full rebuild? E.g.: ./buildme64.sh -b 8Mp -c -t all -fw -bc debug
req: I always compile with - c, so I should clear it before compiling
./buildme64.sh -b MX8M_PLUS_EVK -t all -c
2. Are you able to build firmware from BSP for NXP EVK and run in successfully? (If EVK is availlable for you)
req:We have tried using the development board for bsp and it was not a problem
3. Is Memtest86+ running with your firmware without error?
req: Memtest86+is a USB boot image, and the running mode has not been found yet
Hi @aber,
to run Memtest86+ you need to download free version from their website https://www.memtest86.com/download.htm. Unzip it and browse memtest86-usb.img file with 7-Zip File Manager. Then copy EFI folder from \memtest86-usb.img\0.MemTest86.fat to your Windows installation SD card. You need to replace the EFI folder created on SD card when Windows 10 IoT installation was applied to the SD card. UEFI will run Memtest86+ instead of WinPE. At least on EVK it works like that for me. I think that UEFI searches for BOOTAA64.efi file and uses the one it finds.
Another possibility is to test available memory from uboot shell with md command, or read something with mmc command from SD card to address on the end of 4GB. But Memtest86 seems easer for me to use. And it test exactly the memory areas reported to Windows as available.
Best Regards, Jakub
Can you make sure you are also applying windows10.0-kb5019275-arm64_c6c2abc31137d43e762304bd1542ba413d2b8b9e.msu to the WinPE image as well?
This is our guide for how to update the WinPE image. You will need to install all of the NXP drivers to the WinPE image, as well as update it with the .msu referenced above. https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-mount-and-customize?vie...
Thanks. I looked at NXP's build script, and it appears the script automatically installs all patches in the /kbpatch/ folder for the Windows IoT Enterprise image, but does not do the same for the WinPE image. To fix this, please add the following lines to the make-winpe-enterprise.cmd script in Step 2.6, immediately after line 565: