phjanderson / marvin

Marvin - Android kernel build tool
GNU General Public License v3.0
14 stars 8 forks source link

screen resolution picuntu 3188 #2

Open danielprint opened 10 years ago

danielprint commented 10 years ago

Hello, I am trying to run a kernel that supports 1024x768 resolution because it is a screen 8 "I have kept for experiments, already tried to make the kernel with 480p however it did not work, is there any way to do this? If yes where I could find?

Thank you in advance for your excellent work

lurepheonix commented 10 years ago

You could run "make menuconfig" and there may be an option to set the resolution manually.

However, I've only forked this, so I'm not sure this option is present here. However, if there is no sign of it here, take another kernel source from Github. I definitely saw it somewhere.

danielprint commented 10 years ago

I changed the resolution via xorg.conf, however the signal that she keeps sending is 1920X1080, I'll try to change directly in rk_hdmi.h

lurepheonix commented 10 years ago

I think you should deal with drivers/video/display/screen frst. In the Picuntu kernel source I have found no option for framebuffer with resolution 1024_768, so you need to add this. However, you could try use an existing config for some 1024_768 screen, but I do not know if that will do. Then, in this case, via option "./marvin menuconfig_device" you should edit the config used for your device and under "Device drivers / Graphics / Display device / LCD panel select" choose the option you have added (or try that 1024*768 screen).

Some modification of drivers/video/rockchip/hdmi may also be necessary.

danielprint commented 10 years ago

followed what you said and it worked in parts, changed the specifications of the monitor in drivers / video / display / screen and also in the kernel and ran well, but I'm having trouble changing drivers / video / rockchip / hdmi / rk_hdmi.h, you have any idea what I need to do? I think I should change

define HDMI_VIDEO_DEFAULT_MODE HDMI_1920X1080P_60HZ // HDMI_1280x720p_60HZ

but all changes that I tried went wrong