全志-视美泰 screen0_output_type=1; screen0_output_mode=10; lcd_x=1920; lcd_y=1080; lcd_dclk_freq=148; lcd_hbp=48; lcd_vbp=8; lcd_ht=2200; lcd_vt=1125; lcd_frm=1; lcd_lvds_ch=1; lcd_lvds_bitwidth=0; lcd_lvds_mode=0; /* Spread spectrum PLLL off */ OUTPLL(pllSSPLL_CNTL, 0xbf03); /* Spread spectrum disabled */ OUTPLL(pllSS_INT_CNTL, rinfo->save_regs[90] & ~3); screen0_output_type=1;---------LVDS点屏此行为1,不能改变 screen0_output_mode=10;--------LVDS点屏此行可以忽略,不用变动 lcd_x=1280;--------------------LVDS点屏此行填写屏幕X轴参数如:1920*1080,此行填写为:1920 lcd_y=1024;--------------------LVDS点屏此行填写屏幕Y轴参数如:1920*1080,此行填写为:1080 lcd_swap=0;--------------------LVDS点屏此行一般不需要更改 lcd_dclk_freq=148;-------------LVDS点屏此行为防止屏幕抖动的参数,如遇到屏幕抖动,请将此行值改大,最大支持到148 lcd_hbp=90;--------------------LVDS点屏此行为固定值 lcd_ht=2100;-------------------LVDS点屏此行为 hsync total cycle,一般不需要改动 lcd_vbp=16;--------------------LVDS点屏此行为固定值 lcd_vt=2260;-------------------LVDS点屏此行为 vysnc total cycle *2,一般不需要改动 lcd_lvds_ch=1;-----------------LVDs点屏此行为单双通道选择脚,单通道,此行为0,双通道,此行为1 lcd_lvds_reverse=0;------------LCDS点屏此行为AB通道选择脚,如果屏幕点亮出现重影,此行请改为2,如果没有,请不要改动 lcd_lvds_mode=0;---------------LVDS点屏此行为屏幕NS和JEIDA模式选择,如果屏幕点亮为花屏,请将此行改为1,反之不要改 lcd_lvds_bitwidth=0;-----------LVDS点屏此行为位数选择,如果是6bit,此行为1,如果是8bit,此行为0 lcd_lvds_io_cross=0;-----------LVDS点屏此行一般不用改动 特别说明:1、ht和vt后面的值是根据不同的屏来填写,根据经验10.1寸的小屏,如果只亮背光,无图像,请将ht改为1600左右,将vt改为1800左右,以上等等不具体举出,如有问题请联系15814090244 2、将修改后得display_param.cfg文件放到T卡根目录下,切忌文件名不能有任何变动 3、将T卡插到板卡后给板卡上电,上电后点亮屏幕后T卡可以拔掉,一个屏只用配置一次,无需重复配置
全志---------天嵌 [common] ; format_memory ; 0 不擦除, 1 擦除 format_memory = 0 ; erase_env 表示烧写时是否擦除环境变量 erase_env= 0 ; system_type 表示烧写的系统类型,可使用的值: ; android (当设置时,镜像文件见[android_upgrade]栏) ; linux(当设置时,镜像文件见[linux_upgrade]栏) system_type = android [display] mxcfb0 = panel_lvds ; pass_lvds = [ dual ] 双路 lvds 输出 或者 [ spilt ]单路 lvds 输出 ; mode_lvds = [ ns ] ns 模式 或者 [ jeida ] jeida 模式 [panel_lvds] x_lvds=1920 y_lvds=1080 pix_clk_lvds=148000000 hbp_lvds=48 hfp_lvds=80 hsw_lvds=97 vbp_lvds=8 vfp_lvds=15 vsw_lvds=5 rgb_lvds=24 bpp_lvds=8 pass_lvds=dual mode_lvds=ns [backlight] invert=0 def_brightness=50 min_brightness=5 max_brightness=100 freq=1000 ;idx = pid:vid [usb_tp] id0=0x0038:0x0045 id1=0x0038:0x0a46
瑞芯微------公版 screen_type = 3; screen_lvds_format = 1; screen_out_face = 0; screen_color_mode = 0; screen_clock_frequency = 136000000; screen_hactive = 1920; screen_vactive = 1080; screen_hback_porch = 180; screen_hfront_porch = 97; screen_vback_porch = 30; screen_vfront_porch = 12; screen_hsync_len = 3; screen_vsync_len = 3; screen_hsync_active = 0; screen_vsync_active = 0; screen_de_active = 0; screen_pixelclk_active = 0; screen_swap_rb = 0; screen_swap_rg = 0; screen_swap_gb = 0; screen_fb_width = 1920; screen_fb_height = 1080;
MTK-------自己写的动态屏参框架-参数 public static int[] lcm_params_1280x800= new int[]{ //1280x800 2,//screen_type 1,//screen_out_face 220,//screen_clock_frequency 1280,//screen_hdisplay 宽 2,//screen_hbp 59,//screen_hfp 8,//screen_hs 800,//screen_vdisplay 9,//screen_vbp 21,//screen_vfp 3,//screen_vs 0,//screen_hsync_active 0,//screen_vsync_active 0,//screen_de_active 220,//screen_pixel_clock 0,//screen_swap_even_odd_chan }; public static int[] lcm_params_800x1280 = new int[]{ //800x1280 2,//screen_type 1,//screen_out_face 220,//screen_clock_frequency 800,//screen_hdisplay 宽 2,//screen_hbp 59,//screen_hfp 8,//screen_hs 1280,//screen_vdisplay 9,//screen_vbp 21,//screen_vfp 3,//screen_vs 0,//screen_hsync_active 0,//screen_vsync_active 0,//screen_de_active 220,//screen_pixel_clock 0,//screen_swap_even_odd_chan }; public static int[] lcm_params_1024x768 = new int[]{ //1024x768 2,//screen_type 1,//screen_out_face 224,//screen_clock_frequency 1024,//screen_hdisplay 宽 120,//screen_hbp 46,//screen_hfp 40,//screen_hs 768,//screen_vdisplay 32,//screen_vbp 6,//screen_vfp 20,//screen_vs 0,//screen_hsync_active 0,//screen_vsync_active 0,//screen_de_active 224,//screen_pixel_clock 0,//screen_swap_even_odd_chan }; public static int[] lcm_params_1920_1080 = new int[]{ 3,//screen_type 1,//screen_out_face 412,//screen_clock_frequency 1920,//screen_hdisplay 宽 24,//screen_hbp 30,//screen_hfp 10,//screen_hs 1080,//screen_vdisplay 12,//screen_vbp 20,//screen_vfp 4,//screen_vs 0,//screen_hsync_active 0,//screen_vsync_active 0,//screen_de_active 412,//screen_pixel_clock 0,//screen_swap_even_odd_chan };