CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 5475|回复: 4

A20驱动原子4.3寸TFTLCD问题

[复制链接]
发表于 2016-5-31 17:32:03 | 显示全部楼层 |阅读模式
我在cubieboard2上外接TFTLCD(CUP8080接口,16位),修改sys_config.fex文件和lcd0_panel_cfg.c文件后系统无法启动,只有绿灯闪烁,这是什么意思,求大神指点。

info->lcd_cpu_if        = 4;        //0:18bit 4:16bit
info->lcd_frm           = 2;        //0: disable; 1: enable rgb666 dither; 2:enable rgb656 dither
info->lcd_if            = 1;        //0:hv(sync+de); 1:8080; 2:ttl; 3:lvds



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

发表于 2016-6-1 15:05:28 | 显示全部楼层



把lcd0_panel_cfg.c复原看看是不是这个.c导致的
回复 支持 反对

使用道具 举报

发表于 2016-6-2 09:43:01 | 显示全部楼层
接入串口,看看启动打印,直接明了 :) 

回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-6-2 11:15:16 | 显示全部楼层
aaron 发表于 2016-6-2 09:43
接入串口,看看启动打印,直接明了 :) 

Starting kernel ...

port_to_index err: port 1, port_num 18, please check sys_config.fex
script_init:lcd1_para->lcdd18 gpio cfg invalid, please check sys_config.fex!
port_to_index err: port 1, port_num 19, please check sys_config.fex
script_init:lcd1_para->lcdd19 gpio cfg invalid, please check sys_config.fex!
port_to_index err: port 1, port_num 20, please check sys_config.fex
script_init:lcd1_para->lcdd20 gpio cfg invalid, please check sys_config.fex!
port_to_index err: port 1, port_num 21, please check sys_config.fex
script_init:lcd1_para->lcdd21 gpio cfg invalid, please check sys_config.fex!
port_to_index err: port 1, port_num 22, please check sys_config.fex
script_init:lcd1_para->lcdd22 gpio cfg invalid, please check sys_config.fex!
port_to_index err: port 1, port_num 23, please check sys_config.fex
script_init:lcd1_para->lcdd23 gpio cfg invalid, please check sys_config.fex!
port_to_index err: port 1, port_num 24, please check sys_config.fex
script_init:lcd1_para->lcdclk gpio cfg invalid, please check sys_config.fex!
port_to_index err: port 1, port_num 25, please check sys_config.fex
script_init:lcd1_para->lcdde gpio cfg invalid, please check sys_config.fex!
port_to_index err: port 1, port_num 26, please check sys_config.fex
script_init:lcd1_para->lcdhsync gpio cfg invalid, please check sys_config.fex!
port_to_index err: port 1, port_num 27, please check sys_config.fex
script_init:lcd1_para->lcdvsync gpio cfg invalid, please check sys_config.fex!
aw_pm_init: not support super standby.
aw_pm_init: script_parser_fetch err.
notice: ir_wakeup = 0.
can't get item for emac_power gpio !
rtc_hw_init(416) err: set clksrc to external losc failed! rtc time will be wrong
sunxi_rtc_gettime(34): err, losc_err_flag is 1

这是打印出来,麻烦帮忙看看是哪里设置的问题
回复 支持 反对

使用道具 举报

发表于 2016-6-2 14:47:58 | 显示全部楼层
nice三国其中 发表于 2016-6-2 11:15
Starting kernel ...

port_to_index err: port 1, port_num 18, please check sys_config.fex

系统配置文件,sys_config.fex配置不规范/错误引起,可以根据全志的LCD调试文档,排查配置,LVDS和RGB IO的功能复用是不一样的.这个文档,在论坛可以找到 :) 
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-4-28 02:32 , Processed in 0.025062 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部