今天在调试宏途的LCD屏时,开始是开机屏幕不亮,背光都不亮,可能板子已经损坏,一般通过测试电流电压简单验证,(注:硬件引脚没焊好也会引起读lcd id出现错误!!!)出现这个问题一般是因为引脚没焊好,可以找硬件帮忙;
焊接好后背光点亮,但是一直停在logo区,无法进入系统,如果logo显示不正常,这个原因一般是u-boot读不对lcd id导致加载kernel加载不了lcd驱动导致kernel死掉!;
U-Boot 2010.12-00001-gf3d69f8-dirty (Aug 222013 - 15:20:30)
DRAM: 256 MiB
NAND: The type of nand flash is 2KB page, so use default configuration!
512 MiB
MMC: after set sd clk, CLK_GEN5:60000
mv_sdh: 0
Using default environment
In: serial
Out: serial
Err: serial
sci_efuse_calibration data:0
is_bat_low adc_value:784,comp_vbat:3500
mingwei ubootvol:3546,adc4200:928,adc3600:796
GEN0 1d382360
Bad block table found at page 262080,version 0x03
Bad block table found at page 262016,version 0x03
nand_read_bbt: Bad block at 0x00001f700000
nand_read_bbt: Bad block at 0x00001f780000
ANA_RTC_INT_RSTS is 0x820000b4
value of it 0x1
calibrate detecting
U-Boot 2010.12-00001-gf3d69f8-dirty (Aug 222013 - 15:20:30)
DRAM: 256 MiB
NAND: The type of nand flash is 2KB page, so use default configuration!
512 MiB
MMC: after set sd clk, CLK_GEN5:60000
mv_sdh: 0
Using default environment
In: serial
Out: serial
Err: serial
sci_efuse_calibration data:0
is_bat_low adc_value:783,comp_vbat:3500
mingwei ubootvol:3541,adc4200:928,adc3600:796
GEN0 1d382360
Bad block table found at page 262080,version 0x03
Bad block table found at page 262016,version 0x03
nand_read_bbt: Bad block at 0x00001f700000
nand_read_bbt: Bad block at 0x00001f780000
ANA_RTC_INT_RSTS is 0x820000b4
value of it 0x0
calibrate detecting
U-Boot 2010.12-00001-gf3d69f8-dirty (Aug 222013 - 15:20:30)
DRAM: 256 MiB
NAND: The type of nand flash is 2KB page, so use default configuration!
512 MiB
MMC: after set sd clk, CLK_GEN5:60000
mv_sdh: 0
Using default environment
In: serial
Out: serial
Err: serial
sci_efuse_calibration data:0
is_bat_low adc_value:782,comp_vbat:3500
mingwei ubootvol:3537,adc4200:928,adc3600:796
GEN0 1d382360
Bad block table found at page 262080,version 0x03
Bad block table found at page 262016,version 0x03
nand_read_bbt: Bad block at 0x00001f700000
nand_read_bbt: Bad block at 0x00001f780000
test if there is a need to update spl......
yaffs: Mounting /backupfixnv
save exit: isCheckpointed 0
test if there is a need to updatefixnv......
yaffs: Mounting /backupfixnv
save exit: isCheckpointed 0
Reading fixnv to 0x00480000
yaffs: Mounting /fixnv
Copy /fixnv/fixnvchange.bin to0x00480000... st_size = 65540
[load_sector_to_memory]sync the latestfile......
save exit: isCheckpointed 0
yaffs: Mounting /productinfo
Copy /productinfo/productinfobkup.bin to0x00490000... st_size = 3076
[load_sector_to_memory]sync the latestfile......
save exit: isCheckpointed 0
SN1 = 18731502756478 SN2 =
DOWNLOAD : Pass; WRITESN : UnTested; CFT :UnTested; ANTENNA : UnTested; IMEI : UnTested; MobileTV : UnTested;
Last error: PASS
yaffs: Mounting /runtimenv
[load_sector_to_memory]both of the filesare not correct......
save exit: isCheckpointed 0
do_dcdc_work 60
adc chan 10, value 779
dcdc_calibrate default 1200mv, from 1174mvto 1230mv
dcdc_calibrate failure
[sc8810fb_probe]
[lcdc_mcu_init] LCDC_CTRL: 0x3
[lcdc_mcu_init] LCDC_BG_COLOR: 0xffffff
@fool2[lcdc_calc_lcm_timing] ahb_clk: 0xfa
@fool2[lcdc_calc_lcm_timing] ahb_clk: 0xfa
@fool2[lcdc_lcm_configure] LCM_CTRL: 0x4
@fool2[lcdc_update_lcm_timing]LCM_PARAMETER0: 0x7ff08df
nt35510_read_id 10
;……..;
Error: no valid bmp image at fa
yaffs: Mounting nothing all the file are not right!!! ???
yaffs: Mounting /productinfo
lcdid_buf = 0
Copy /productinfo/lcdid.file to0x0fc85ee8... st_size = 8
lcdid_buf1 =0
save exit: isCheckpointed 0
lcd_id 没有匹配对
如果logo显示正常,至少读取lcd id是正确的,这个原因可能是系统记载到了不同平台的代码,导致各种偏移量出现错误,kernel无法正常运行,导致kernel死掉;
[ 6.104000]df20: 00000000 00000200 cf15c000 c48fece4 cf0bd0e0 cf13bec0 00000000 cf13bf00
[ 6.112000] df40: 000001dc 00000400 00000000 c46709c4 00000002 cf13bec000000002 cf13bec0
[ 6.120000] df60: ffffffff c4671a3c cf150af0 c4a5a650 c4a5a690 c4557468 cf150ac0c4a5a650
[ 6.128000] df80: cf15c000 cf15c000 cf15dfcc c48e7a28 00000000 c48e7e18cf027ee4 cf15c000
[ 6.136000] dfa0: cf15dfd4 c4575e78 cf13bec0 cf15dfd4 c466f0c4 cf13bec000000000 00000000
[ 6.144000] dfc0: 00000000 c466f104 cf027ed8 c4575e94 00000000 00000000cf15dfd8 cf15dfd8
[ 6.152000] dfe0: 00000000 cf027ed8 c4575e18 c452ea18 00800013 c452ea1800000000 00000000
[ 6.161000] [
[ 6.170000] [
[ 6.179000] [
[ 6.187000] [
[ 6.196000] [
[ 6.204000] [
[ 6.212000] [
[ 6.220000] [
[ 6.229000] Code: e5841070 e1a0c11c e5843060 e085200c (e19560bc)
[ 6.235000] ##: Some locks are being holded.
或者是fmark未打开,损坏,导致无法刷新屏幕;
[ 93.390000] init: sys_prop: permission denied uid:10012 gid:10012name:persist.msms.phone_default
[ 93.436000] UMP<2>: New session opened
[ 93.437000] Mali<2>: Session starting
[ 93.450000] Mali<2>: Session has ended
[ 93.450000] UMP<2>: Session closed
[ 93.454000] init: sys_prop: permission denied uid:10012 gid:10012name:persist.msms.phone_default
[ 93.493000] lcdc: sprd_lcdc_sync time out!!!!!
[ 93.493000] sprdfb can not do pan_display !!!!
[ 93.633000] lcdc: sprd_lcdc_sync time out!!!!!
[ 93.633000] sprdfb can not do pan_display !!!!
[ 93.783000] lcdc: sprd_lcdc_sync time out!!!!!
[ 93.783000] sprdfb can not do pan_display !!!!
[ 93.914000] lcdc: sprd_lcdc_sync time out!!!!!
[ 93.914000] sprdfb can not do pan_display !!!!
[ 94.022000] init: sys_prop: permission denied uid:10012 gid:10012name:persist.msms.phone_default
[ 94.035000] init: sys_prop: permission denied uid:10012 gid:10012name:persist.msms.phone_default
[ 94.043000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.043000] sprdfb can not do pan_display !!!!
[ 94.085000] init: sys_prop: permission denied uid:10012 gid:10012name:persist.msms.phone_default
[ 94.183000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.183000] sprdfb can not do pan_display !!!!
[ 94.314000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.314000] sprdfb can not do pan_display !!!!
[ 94.443000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.443000] sprdfb can not do pan_display !!!!
[ 94.541000] logs4modem is waiting for /sdcard being mounted
[ 94.583000] rtc alarm set at 1356998644, now 1356998525, rtc delta-28861.842999999
[ 94.594000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.594000] sprdfb can not do pan_display !!!!
[ 94.644000] logs4android is waiting for /sdcard being mounted
[ 94.724000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.724000] sprdfb can not do pan_display !!!!
[ 94.853000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.854000] sprdfb can not do pan_display !!!!
[ 94.983000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.983000] sprdfb can not do pan_display !!!!
[ 95.124000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.124000] sprdfb can not do pan_display !!!!
[ 95.264000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.264000] sprdfb can not do pan_display !!!!
[ 95.393000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.393000] sprdfb can not do pan_display !!!!
[ 95.543000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.543000] sprdfb can not do pan_display !!!!
[ 95.683000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.683000] sprdfb can not do pan_display !!!! [ 94.594000] sprdfb can not do pan_display!!!!
[ 94.644000] logs4android is waiting for /sdcard being mounted
[ 94.724000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.724000] sprdfb can not do pan_display !!!!
[ 94.853000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.854000] sprdfb can not do pan_display !!!!
[ 94.983000] lcdc: sprd_lcdc_sync time out!!!!!
[ 94.983000] sprdfb can not do pan_display !!!!
[ 95.124000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.124000] sprdfb can not do pan_display !!!!
[ 95.264000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.264000] sprdfb can not do pan_display !!!!
[ 95.393000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.393000] sprdfb can not do pan_display !!!!
[ 95.543000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.543000] sprdfb can not do pan_display !!!!
[ 95.683000] lcdc: sprd_lcdc_sync time out!!!!!
[ 95.683000] sprdfb can not do pan_display !!!!
0@C
出现的是一直提示lcdc: sprd_lcdc_sync time out,发现是FMARK引脚并未打开!
注:
1. 如果烧机后开机出现花屏且一直无法进入系统,可能的原因是下载了错误的工程软件,或者是配置了错误的LCD配置!这个主要是参考主干版本上lcd适配表,这个比分支上的lcd适配维护的更加完善!
2. 开机背光灯点亮,但是主屏不亮,这个原因一般就是没读对lcd 的id导致u-boot根本加载不了lcd的驱动,连开机的第一张图片都加载不对,也就是showlogo出错了,抓取分析u-boot的log,要么就是lcd配置出现问题,要么就是待适配的lcd id 本身就出现了错误,这个编译验证就可以解决!--z6_wvga_alx ,lcd ic:r68120,lcd moulde:CONFIG_COMB_LCD_MODULE_TYPE_WD43060AF_WVGA_R68120.
3. Lcd几个非常重要的寄存器需要格外注意,0x3500—TE_ON ;0x3600—MADCL;0x3A00—dataformat;0xBE—VCOM等等的寄存器,是调整lcd显示效果必须注意的!