Hello,
i try to set up a custom board (imx6q) with Windows IoT Core. Only the lvds display is not working under Windows. While booting u-boot, the display is running. I added the
[PcdsFeatureFlag.common]
giMX6TokenSpaceGuid.PcdLvdsEnable|TRUE
to the *.dsc file.
I also added the display timing settings in the display.c file
IMX_DISPLAY_TIMING Kyocera_TCG84 = {
40000000, // PixelClock, 40000000 33260160
800, // HActive
256, // HBlank, Whole line - HActive
600, // VActive
28, // VBlank Whole frame - VActive
128, // HSync - Sync pulse
4, // VSync - Sync pulse
40, // HSyncOffset; - front porch horizontal
1, // VSyncOffset; - front porch vertical
800, // HImageSize
600, // VImageSize
0, // HBorder
0, // VBorder
0, // EdidFlags
0, // Flags
1, // PixelRepetition
32, // Bpp
PIXEL_FORMAT_BGRA32, // PixelFormat
};
and changed this pointer:
*PreferredTimingPtr = Kyocera_TCG84;
The Debug Log seems like i would be initialized correct.
GopDxeInitialize: Enter <\r><\n>
**********************<\r><\n>
Preferred Timing<\r><\n>
**********************<\r><\n>
PixelClock 40000000<\r><\n>
HActive 800<\r><\n>
HBlank 256<\r><\n>
VActive 600<\r><\n>
VBlank 28<\r><\n>
HSync 128<\r><\n>
VSync 4<\r><\n>
HSyncOffset 40<\r><\n>
VSyncOffset 1<\r><\n>
HBorder 0<\r><\n>
VBorder 0<\r><\n>
EdidFlags 0<\r><\n>
Flags 0<\r><\n>
PixelRepetition 1<\r><\n>
BPP 32<\r><\n>
PixelFormat 1<\r><\n>
**********************<\r><\n>
GetPreferredTiming: --GetPreferredTiming<\r><\n>
GopDxeInitialize: - Allocate frame buffer<\r><\n>
GopDxeInitialize: Display Memory: Needed=1920000, Available=8388608<\r><\n>
GopDxeInitialize: - allocating frame buffer... <\r><\n>
AllocateFrameBuffer: Enter<\r><\n>
AllocateFrameBuffer: Frame Buffer AddrP=10000000h<\r><\n>
AllocateFrameBuffer: Frame Buffer Size=800000h<\r><\n>
AllocateFrameBuffer: Allocate FB PhyAddr 10000000 VirtAddr 10000000<\r><\n>
AllocateFrameBuffer: Exit = 0h<\r><\n>
GopDxeInitialize: - Initialize the frame buffer to green<\r><\n>
GopDxeInitialize: - set display configuration to single HDMI (DisplayDevice: 2)<\r><\n>
SetupDisplayMux: - GPR3_REG: 31457280<\r><\n>
ImxSetPll5ReferenceRate: PLL 5 setting (40000000) Target Freq 800000000 Divider 5 PostDiv 4<\r><\n>
ConfigureDisplayInterface: - DisplayInterfaceContextPtr->displayInterface: 0<\r><\n>
InstallProtocolInterface: 9042A9DE-23DC-4A38-96FB-7ADED080516A 4EE893B4<\r><\n>
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39-00A0C969723B 4EE8939C<\r><\n>
GopDxeInitialize: Exit = 0h<\r><\n>
Do i need to enable or change something else?