按这样修改
setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 vmalloc=256M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled
后,实际物理size更小了,640x480
我看到fb0下也确实只有640x480p这个需要怎么去改,让fb0下有1920x1080p,我想是不是这样了才会支持?
root@sabresd_6dq:/ # wm size
Physical size: 640x480
root@sabresd_6dq:/ # cd /sys/class/graphics/f
fb0/ fb1/ fbcon/
root@sabresd_6dq:/ # cd /sys/class/graphics/fb0
root@sabresd_6dq:/sys/class/graphics/fb0 # cat m
mode modes
root@sabresd_6dq:/sys/class/graphics/fb0 # cat modes
V:640x480p-60
V:640x480p-60
root@sabresd_6dq:/sys/class/graphics/fb0 #
huiyun.han@fhsjdz.com
replace a display that supports 1080P
Hi michael,
If you want to set the HDMI display 1920*1080p, you can set the Kernel command line (bootargs) in the u-boot.
video=mxcfb1:dev=hdmi,1920x1080M@60,
Hope this can help you
Best Regards
Rita
这个设了,没用。
setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 vmalloc=256M init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled
而且我在/sys/class/graphics/fb0 查看modes
只有U:1024x768p-60
fb1
只有U:240x320p-60
Hi michael,
你好,请问你这里板子是买的NXP官网的开发板还是自己参考我们开发板设计的?我看到你的uboot里内核参数设置了,你这里是要LVDS和HDMI同时显示么?
Best Regards
Rita
Rita,
买的官网板子,目前是只需要显示HDMI。
Hi michael,
只HDMI显示的话,你设置:
video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off
video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=384M
就可以了,你上面的设置是LVDS和HDMI同时显示的话,显示的分辨率是1024*768p这个的。HDMI单独显示是可以实现1080P的。你改一下再试试~~
Best Regards
Rita
按这样修改
setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 vmalloc=256M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled
后,实际物理size更小了,640x480
我看到fb0下也确实只有640x480p这个需要怎么去改,让fb0下有1920x1080p,我想是不是这样了才会支持?
root@sabresd_6dq:/ # wm size
Physical size: 640x480
root@sabresd_6dq:/ # cd /sys/class/graphics/f
fb0/ fb1/ fbcon/
root@sabresd_6dq:/ # cd /sys/class/graphics/fb0
root@sabresd_6dq:/sys/class/graphics/fb0 # cat m
mode modes
root@sabresd_6dq:/sys/class/graphics/fb0 # cat modes
V:640x480p-60
V:640x480p-60
root@sabresd_6dq:/sys/class/graphics/fb0 #
huiyun.han@fhsjdz.com
Hi michael,
I have tried it on my board. Runing the andorid6.0 BSP. It works well on my side. My u-boot kernal command lines settting are as follows:
When the board boot up, the Physical size: 1920x1080.
I think your problem is caused by your HDMI screen. You can have a check.
Have a nice day
Rita
Rita,
thanks,我换了一个支持1080p显示屏确实可以了。
我还有个问题,就是u-boot kernal command lines是烧录完成后启动板子时设置,但我想在build代码时就把这个编译进去需要修改哪里的代码?
Hello michael,
Android 6.0里面我还没有改过,不过以前老的版本的BSP里面我弄过,是可以的。
你可以参考一下。
Have a great day,
Rita
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
ok,thanks
Hi michael,
If your problem have solved, could you help close this thread by click mark correct botton? Thanks.
If you have new questions you can create new thread in our community.
Have a great day,
Rita
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi michael,
Here which board are you using?
Have a nice day
Rita
Rita 你好,
我板子 imx 6 Series
主芯片看到是,MCIMX6Q6AVT10AD