AricGamma / BSP-aw1689

BSP for Allwinner A64
MIT License
20 stars 4 forks source link

Add additional display resolutions #1

Open EndlessDelirium opened 7 years ago

EndlessDelirium commented 7 years ago

Currently the display resolution seems to be fixed to 1280x800px on Pine64. It would be awesome if the most popular resolutions could be supported by this BSP.

Command> SetDisplayResolution 1024 600

Set Display Resolution and Orientation

Your device only supports one display resolution
I can't change the existing device resolution settings
AricGamma commented 7 years ago

We haven't built a display adapter in Windows system. Instead, the display output is supported in UEFI , so the resolution is unmodifiable in Windows. If you want to change the resolution, you can rebuild a UEFI with a new resolution in sysconfig. Refer to this repo for more information about UEFI https://github.com/Leeway213/WinIoTBoot

The config file is ./edk2/SunxiPlatform/pack/chips/[chip id]/config/pine64/sys_config.fex. Find HDMI configuration and modify it.

Sent from my Xiaomi Redmi Note 4X using FastHub

EndlessDelirium commented 7 years ago

Thanks for the speedy reply. The unmodified sys_config.fex looks like being configured for the Pine64 MIPI DSI attached 7" touchpanel? That however doesn't work at my end.

Furthermore I couldn't figure out how to change the HDMI resolution to 1024 x 600.

;screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50) ; (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)

Is it possible to somehow configure a resolution that isn't mentioned in that list?

AricGamma commented 7 years ago

About the MIPI DSI issue, need different adapters for different screen model because of their different specification. This BSP is not an all-round software indeed. And actually we are working for the display engine on Windows right now. We will support some common screen model, and also we can open a SDK for different screen model to adapt.