MT6572M 不断重启
注:
1) LCD为FWVGA, 已修改驱动
2) NAND+DDR2
72M实现FWVGA的公司越来越多了
log 为啥 copy 不上来?
log如下:
pass,index=3 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=4 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=5 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=6 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=7 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=8,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=9,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=10,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=11,rdata=B54B
[PWRAP] _pwrap_Test] pass,index=6 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=7 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=8,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=9,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=10,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=11,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=12,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=13,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=14,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=15,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=16,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=17,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=18,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=19,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=20,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=21,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=22,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=23,rdata=6A97
[PWRAP] _pwrap_init_reg_clock
[PMIC_WRAP]wrap_init pass,the return value=0.
[platform_vusb_on] PASS
[USBD] USB PRB0 LineState: 0
[PLFM] Keep stay in USB Mode
[pmic6323_init] Preloader Start..................
[pmic6323_init] PMIC CHIP Code = 8227
pl pmic powerkey Press
[pmic6323_init] powerKey = 1
[pmic6323_init] is USB in = 45060
[pmic6323_init] Done...................
[PLFM] Init PWRAP: OK(0)
[PLFM] Init PMIC: OK(0)
[PLFM] chip[CA01]
[BLDR] Build Time: 20131008-113808
==== Dump RGU Reg ========
RGU MODE: 4D
RGU LENGTH: FFE0
RGU STA: 0
RGU INTERVAL: FFF
RGU SWSYSRST: 0
after set KP enable: KP_SEL = 0x0 !
mt_usb_calibraion: input_reg = 0x0
mt_usb_calibraion: term_vref = 0x0, clkref = 0x0, vrt_vref = 0x0,
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=3966
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=0
[RTC] get_frequency_meter: input=0x0, ouput=0
[RTC] bbpu = 0x1, con = 0x427
[RTC] RTC_CON=0x427
[RTC] RTC_SPAR0=0x40
[RTC] RTC_SPAR0=0x40
[RTC] irqsta = 0x0, pdn1 = 0x0, pdn2 = 0x201, spar0 = 0x40, spar1 = 0x800
[RTC] new_spare0 = 0x0, new_spare1 = 0x1, new_spare2 = 0x1, new_spare3 = 0x1
[RTC] bbpu = 0x1, con = 0x426
pl pmic powerkey Press
power key is pressed
[PLFM] Power key boot!
[RTC] rtc_bbpu_power_on done
Enter mtk_kpd_gpio_set!
kpd debug column : 107, 108, 0, 0, 0, 0, 0, 0
kpd debug row : 110, 111, 112, 0, 0, 0, 0, 0
[EMI] DDR2
[EMI] eMMC/NAND ID = C8,BC,90,55,54,0,0,0,0
[EMI] MDL number = 0
[EMI] EMI clock = 266
[EMI] DQSI = 0xB0, (0x80, 0xE0)
[EMI] Window = 37
[EMI] DRAMC rank 0 calibration passed
[EMI] EMI_DQSI = 0x1001080F
[EMI] EMI_DQSA = 0x00A400A4
[EMI] EMI_DQSC = 0x00000000
[EMI] EMI_IDLA = 0x02020202
[EMI] EMI_IDLI = 0x00000000
[EMI] EMI_IDLJ = 0x00000000
[MEM] complex R/W mem test pass
Recognize NAND: ID [C8 BC 90 55 54 ], Device Name [NCPPS4N2A], Page Size [ _data]: bmt_index=0xFFE-- Skip bad block: 4094
[load_bmt_data]: bmt_index=0xFFD-- Skip bad block: 4093
[load_bmt_data]: bmt_index=0xFFC-- Skip bad block: 4092
[load_bmt_data]: bmt_index=0xFFB-- Match bmt signature @ block: 0xFFB
BMT Checksum is: 0xEE
Valid BMT, version v1
bmt found at block: 4091, mapped block: 5
Load bmt data success @ block 0xFFB
BMT v1. total 5 mapping:
0x100 -> 0xFB0
0x3F9 -> 0xFB1
0x998 -> 0xFB2
0xEBA -> 0xFB3
0xFAE -> 0xFB4
[PLFM] Init Boot Device: OK(0)?
怎么COPY不上来?
你现在能全屏显示吗?
log终于弄上来了, 好像是有几个 乱码的原因
完整 log:
pass,index=3 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=4 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=5 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=6 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=7 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=8,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=9,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=10,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=11,rdata=B54B
[PWRAP] _pwrap_Test] pass,index=6 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=7 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=8,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=9,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=10,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=11,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=12,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=13,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=14,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=15,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=16,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=17,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=18,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=19,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=20,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=21,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=22,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=23,rdata=6A97
[PWRAP] _pwrap_init_reg_clock
[PMIC_WRAP]wrap_init pass,the return value=0.
[platform_vusb_on] PASS
[USBD] USB PRB0 LineState: 0
[PLFM] Keep stay in USB Mode
[pmic6323_init] Preloader Start..................
[pmic6323_init] PMIC CHIP Code = 8227
pl pmic powerkey Press
[pmic6323_init] powerKey = 1
[pmic6323_init] is USB in = 45060
[pmic6323_init] Done...................
[PLFM] Init PWRAP: OK(0)
[PLFM] Init PMIC: OK(0)
[PLFM] chip[CA01]
[BLDR] Build Time: 20131008-113808
==== Dump RGU Reg ========
RGU MODE: 4D
RGU LENGTH: FFE0
RGU STA: 0
RGU INTERVAL: FFF
RGU SWSYSRST: 0
after set KP enable: KP_SEL = 0x0 !
mt_usb_calibraion: input_reg = 0x0
mt_usb_calibraion: term_vref = 0x0, clkref = 0x0, vrt_vref = 0x0,
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=3966
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=0
[RTC] get_frequency_meter: input=0x0, ouput=0
[RTC] bbpu = 0x1, con = 0x427
[RTC] RTC_CON=0x427
[RTC] RTC_SPAR0=0x40
[RTC] RTC_SPAR0=0x40
[RTC] irqsta = 0x0, pdn1 = 0x0, pdn2 = 0x201, spar0 = 0x40, spar1 = 0x800
[RTC] new_spare0 = 0x0, new_spare1 = 0x1, new_spare2 = 0x1, new_spare3 = 0x1
[RTC] bbpu = 0x1, con = 0x426
pl pmic powerkey Press
power key is pressed
[PLFM] Power key boot!
[RTC] rtc_bbpu_power_on done
Enter mtk_kpd_gpio_set!
kpd debug column : 107, 108, 0, 0, 0, 0, 0, 0
kpd debug row : 110, 111, 112, 0, 0, 0, 0, 0
[EMI] DDR2
[EMI] eMMC/NAND ID = C8,BC,90,55,54,0,0,0,0
[EMI] MDL number = 0
[EMI] EMI clock = 266
[EMI] DQSI = 0xB0, (0x80, 0xE0)
[EMI] Window = 37
[EMI] DRAMC rank 0 calibration passed
[EMI] EMI_DQSI = 0x1001080F
[EMI] EMI_DQSA = 0x00A400A4
[EMI] EMI_DQSC = 0x00000000
[EMI] EMI_IDLA = 0x02020202
[EMI] EMI_IDLI = 0x00000000
[EMI] EMI_IDLJ = 0x00000000
[MEM] complex R/W mem test pass
Recognize NAND: ID [C8 BC 90 55 54 ], Device Name [NCPPS4N2A], Page Size [ _data]: bmt_index=0xFFE-- Skip bad block: 4094
[load_bmt_data]: bmt_index=0xFFD-- Skip bad block: 4093
[load_bmt_data]: bmt_index=0xFFC-- Skip bad block: 4092
[load_bmt_data]: bmt_index=0xFFB-- Match bmt signature @ block: 0xFFB
BMT Checksum is: 0xEE
Valid BMT, version v1
bmt found at block: 4091, mapped block: 5
Load bmt data success @ block 0xFFB
BMT v1. total 5 mapping:
0x100 -> 0xFB0
0x3F9 -> 0xFB1
0x998 -> 0xFB2
0xEBA -> 0xFB3
0xFAE -> 0xFB4
[PLFM] Init Boot Device: OK(0)?
load_pt from 1F5C0000
Redirect 0xFAE to 0xFB4
load_pt find valid pt at 1F5C0000 sq 8
find pt
part PRELOADER size 0 80000
part PRO_INFO size 80000 100000
part NVRAM size 180000 180000
part PROTECT_F size 300000 180000
part PROTECT_S size 480000 180000
part SECCFG size 600000 20000
part UBOOT size 620000 60000
part BOOTIMG size 680000 600000
part RECOVERY size 30313-191916'
[LIB] CFG read size '0x4000' '0x1860'
[LIB] Name =
[LIB] Config = 0x22, 0x22
0x31,0x41,0x35,0x35
[platform_vusb_on] PASS
[TOOL] <UART> wait sync time 150ms->137ms
[TOOL] <UART> receieved data: ()
[PART] Image with part header
[PART] name : LK
[PART] addr : FFFFFFFFh
[PART] size : 233940
[PART] magic: 58881688h
[PART] load "UBOOT" from 0x0000000000620200 (dev) to 0x80020000 (mem) [SUCCESS]
[PART] load speed: 19038KB/s, 233940 bytes, 12ms
Battery exist
[0xE]=0x5
[SECRO] Don't read
[AUTHEN] rsa.N length = 1024 bytes
[AUTHEN] rsa.E length = 20 bytes
[LIB] NS-CHIP
[LIB] Don't check
Device APC domain init setup:
[PLFM] boot reason: 0
[PLFM] boot mode: 0
[PLFM] META COM0: 0
[PLFM] <0x800D0008>: 0x0
[PLFM] boot time: 601ms
[BLDR] jump to 0x80020000
[BLDR] <0x80020000>=0xEA000007
[BLDR] <0x80020004>=0xEA00308B
arm clock set finished
[PROFILE] ------- set clock takes 0 ms --------
[GPIO] mt_gpio_set_default_chip: mt_gpio_set_default() done
[PROFILE] -------misc init takes 622 ms --------
[PROFILE] ------- i2c init takes 0 ms --------
[PROFILE] ------- clock init takes 0 ms --------
mtk_wdt_mode LK config mode value=51
mtk_wdt_mode_config LK mode value=10, tmp:22000010
U wdt init takes 4 ms --------
[LCM Auto Detect] [0] - [ili9806_mcu_6572] lcm_get_params, ==
[DISP] - LCD_PowerOn. 0xffc0ff5f, 0xffffff8f
lcm_compare_id, == id1 = 0x00009826
[success]
[mtkfb] LCM TYPE: DBI
[mtkfb] LCM INTERFACE: PARALLEL
[mtkfb] LCM resolution: 480 x 854
[PROFILE] -------disp preinit takes 10 ms --------
[LEDS]LK: leds_init: mt65xx_backligh ] disp_bls_init : srcWidth = 480, srcHeight = 854
RDMA: w=480, h=854, pitch=1440, mode=0
dbi_init, 190
[DDP] disp_bls_init : srcWidth = 480, srcHeight = 854
dbi_init, 195
dbi_init, 200
dbi_init, 205
boot_mode = 0
dbi_init, 208
不断重启, uart log 都是这样的
没有修改 LCM驱动, 分辨率设置为 320*480, 是可以开机的, 可以连接360手机助手, 不过没有显示
还刚开始调FWVGA?
MTK做了分辨率的限制。会重启的。
已经修改了 显示相关驱动,
LK能全屏显示了?
不能, 在 LK就重启了
现在搞好了么
兄弟,搞好了,在群里分享一下
还是不行,就先用72A 或者72AF 调试吧 。
搞好了,
屏的问题(一定要用带 RAM的屏, 驱动也要正确)
72M 支持 480x854, 没有切屏, 显示正常
不错啊,这么多人都搞定这个了
那你们调屏的驱动不是很麻烦么?
另外你们分多次刷,每次刷最大多少?320x480?
这个是改代码的,不要分几次刷,另外cmd和vdo模式都可以啊
这个每家的方法不同
你们最大到多少分辨率?
大家都是大神啊,咱想破脑袋都没搞出来
咋整的啊兄弟,指点下,谢谢!
thank pro hihi
请问 能否把解决的方案给大家分享一下
分三次刷了,显示很卡,偶尔可以显示完整屏,不过一会儿就乱了,不知道为什么?