本帖最后由 wb4916 于 2015-6-2 18:07 编辑
sinc00 发表于 2015-4-20 14:31
搞定了。
总结一下,官方文档有两个错误的地方:
1、sys_config.fex不对
http://www.cubie.cc/forum.php?mod=viewthread&tid=4220
Cubieboard2-Android-Cubie-Screen 模组调试说明 修正1可以显示了 windows ANSI.txt
!!!!说明书不会告诉你的!!!!
还需要拷贝:
Z:\wyb\android-cbcs-source\CB2\kernel_config\cubieboard2_config (这个文件貌似不是太重要)
拷贝为:V:\lichee\linux-3.4\.config
Z:\wyb\android-cbcs-source\CB2\sys_config\sys_config.fex (这个文件重要,但是原始拷贝过去,被光亮,LCD还是不会有显示了。需要修改!确认分辨率为800*480,即为480p)
;-------------------------------------------------------------------------------
;disp init configuration
;
;disp_mode (0:screen0<screen0,fb0> 1:screen1<screen1,fb0> 2:two_diff_screen_diff_contents<screen0,screen1,fb0,fb1>
; 3:two_same_screen_diff_contets<screen0,screen1,fb0> 4:two_diff_screen_same_contents<screen0,screen1,fb0>)
;screenx_output_type (0:none; 1:lcd; 2:tv; 3:hdmi; 4:vga)
;screenx_output_mode (used for tv/hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50 5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60 11:pal 14:ntsc)
;screenx_output_mode (used for vga output, 0:1680*1050 1:1440*900 2:1360*768 3:1280*1024 4:1024*768 5:800*600 6:640*480 10:1920*1080 11:1280*720)
;fbx format (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
;fbx pixel sequence (0:ARGB 1:BGRA 2:ABGR 3:RGBA) --- 0 for linux, 2 for android
;lcd0_bright (lcd0 init bright,the range:[0,256],default:197
;lcd1_bright (lcd1 init bright,the range:[0,256],default:197
;-------------------------------------------------------------------------------
[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 1
;screen0_output_mode = 4
screen0_output_mode = 2
;----------------------------------------------------------------------------------
;boot display configuration
;output_type (0:none; 1:lcd; 2:tv; 3:hdmi; 4:vga)
;output_mode (used for tv/hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50 5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60 11:pal 14:ntsc)
;output_mode (used for vga output, 0:1680*1050 1:1440*900 2:1360*768 3:1280*1024 4:1024*768 5:800*600 6:640*480 10:1920*1080 11:1280*720)
;auto_hpd (auto detect hdmi/cvbs/ypbpr plug in)
;----------------------------------------------------------------------------------
[boot_disp]
output_type = 1
;output_mode = 4
output_mode = 2
auto_hpd = 1
4.2 系统配置
路径:lichee/tools/pack/chips/sun7i/configs/android/sugar-cubieboard2/sys_config.fex
V:\lichee\tools\pack\chips\sun7i\configs\android\sugar-cubieboard2\sys_config.fex
主要配置 disp_init ctp_para lcd0_para 部分
具体配置:
[disp_init]
[ctp_para]
[lcd0_para]
|