8MP CPU with 2D DDR bootloader display error for Windows 10 IoT

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

8MP CPU with 2D DDR bootloader display error for Windows 10 IoT

8,927件の閲覧回数
hankwang
Contributor V

Hi.

  I have a 8MP PU board with 2G DDR. I modify the device tree and configure it to 2GB.

  But the bootloader shows 3GiB. The configuration in yocto bsp uboot is the same. Uboot can show 2GB.

    Did I miss some files?

    Attached is the 2GB file I modified.

ラベル(1)
0 件の賞賛
返信
8 返答(返信)

8,835件の閲覧回数
jakub_zigacek
NXP Employee
NXP Employee

Hi @hankwang,

here is patch for BSP 1.4.1 for i.MX8M Plus EVK with 2GB. You still need to use timing file prepared for your board.

I hope it will work for you better than the 4GB variant.

Best Regards, Jakub

0 件の賞賛
返信

8,459件の閲覧回数
hankwang
Contributor V

Hi @jakub_zigacek  Could you provide me with DDR 4GB patch file? The file is such like this

8MP2GB_BSP_1.4.1_ver_01.zip.
 
I can install Win10 with DDR 2GB. Because there is a compatibility issue between sdcard and 8MP. So I changed others sdcard,  and my device can install Win10 normally and apply the 2GB patch file you provided.
 
But the same device has DDR 4GB. The hardware is the same, except that the DDR has changed from 2G to 4G.
 
When the device with 4G DDR, enter winpe and prepare to install win10. When progress start to 1%. the system display BSOD.
The message shows STSTEM THREAD EXCEPTION NOT HANDLED. I  think this is 4G DDR parameters setting issue.
 
So, Could you provide me 4G DDR patch files, such like 2GB patch files?
 
The DDR is MT53E1G32D2FW-046 WT:B
0 件の賞賛
返信

8,435件の閲覧回数
hankwang
Contributor V

Hey, do you have any updates regarding the 4GB DDR patch files?

 

0 件の賞賛
返信

8,408件の閲覧回数
jakub_zigacek
NXP Employee
NXP Employee

Hi @hankwang,

sorry for delay. Change to 4GB is easier, you only need to set Bank1 to 1GB size. No relocations as in 2GB patch are needed.

giMX8TokenSpaceGuid.PcdBank1MemorySize|0x0000000040000000

To see correct size in Windows, there is an adjustment in SmbiosPlatformDxe.c too.

But when you use different DDR chip, you need to always use DDR timing file prepared specifically for your DDR and board with DDR tool.

uboot-imx/board/freescale/imx8mp_evk/lpddr4_timing.c

It could work with timing file from different board + DDR chip couple, but only by chance when DDR chips are similar enough and one cannot rely on it. The crashing with 2GB patch could be due to this reason.

Best Regards, Jakub

0 件の賞賛
返信

8,788件の閲覧回数
hankwang
Contributor V

Hi @jakub_zigacek 
Thank you for your patch. The DDR size changed from 6G to 2GB.

But I have a problem, the system cannot jump to winpe. I see a boot menu screen. Do you have any idea?

I made sure there were some windows folder on the SD card.

 

0 件の賞賛
返信

8,762件の閲覧回数
jakub_zigacek
NXP Employee
NXP Employee

Hi @hankwang,

do you have at hand an EVK board to test if the SD card will enter win PE?

Tip: If you remove or rename install.cmd.txt on SD card, win PE will start, but will not rewrite emmc content, instead you will end with open command window.

If the content of SD card is correct, than it looks like UEFI is not able to find SD card. It could happened i.g. when SD port is connected to differently then in EVK board. Can you please check, if you have SD card on SDHC2?

jakub_zigacek_0-1694090948231.png

If not, you need to adjust it in mu_platform_nxp/NXP/MX8M_PLUS_EVK/AcpiTables/Dsdt-Sdhc.asl and  mu_platform_nxp/NXP/MX8M_PLUS_EVK/MX8M_PLUS_EVK.dsc files.

  # uSDHCx | iMX8M EVK Connections
  #-------------------------------------
  # uSDHC1 | N/A
  # uSDHC2 | SD Card slot
  # uSDHC3 | eMMC
  # uSDHC4 | N/A
  #
  giMXPlatformTokenSpaceGuid.PcdSdhc1Base|0x30B40000
  giMXPlatformTokenSpaceGuid.PcdSdhc2Base|0x30B50000
  giMXPlatformTokenSpaceGuid.PcdSdhc3Base|0x30B60000
  giMXPlatformTokenSpaceGuid.PcdSdhc4Base|0x00000000

  giMXPlatformTokenSpaceGuid.PcdSdhc1Enable|FALSE
  giMXPlatformTokenSpaceGuid.PcdSdhc2Enable|TRUE
  giMXPlatformTokenSpaceGuid.PcdSdhc3Enable|TRUE
  giMXPlatformTokenSpaceGuid.PcdSdhc4Enable|FALSE

  giMXPlatformTokenSpaceGuid.PcdSdhc1CardDetectSignal|0xFF00
  giMXPlatformTokenSpaceGuid.PcdSdhc1WriteProtectSignal|0xFF01
  giMXPlatformTokenSpaceGuid.PcdSdhc2CardDetectSignal|0xFF00
  giMXPlatformTokenSpaceGuid.PcdSdhc2WriteProtectSignal|0xFF00
  giMXPlatformTokenSpaceGuid.PcdSdhc2DeviceType|0x1
  giMXPlatformTokenSpaceGuid.PcdSdhc3CardDetectSignal|0xFF00
  giMXPlatformTokenSpaceGuid.PcdSdhc3WriteProtectSignal|0xFF00
  giMXPlatformTokenSpaceGuid.PcdSdhc3DeviceType|0x8
  giMXPlatformTokenSpaceGuid.PcdSdhc4CardDetectSignal|0xFF00
  giMXPlatformTokenSpaceGuid.PcdSdhc4WriteProtectSignal|0xFF01

Best Regards, Jakub

0 件の賞賛
返信

8,884件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @hankwang 

I hope you are doing well
 
Please try to build the image without OPTEE enabled. 
As the IMX8M Mini EVK has 2 GB LPDDR4, One can look into its configuration as a reference.
 
Thanks & Regards
Sanket Parekh
0 件の賞賛
返信

8,850件の閲覧回数
hankwang
Contributor V

Sorry , 8MM's imx8mm_evk_nt_defconfigfile also enable OP-TEE feature. Where can I disable optee functionality?

0 件の賞賛
返信