Similar to complex r/w mem test fail in the Preloader stage, please contact with the company;
[SD0] DAT CRC Error, please play patch:alps00787669;
NAND Project:
Init:command r=-1 ' Mount Ubifs [email protected]/system wait '
Init:command r=-1 ' Mount Ubifs [email protected]/data nosuid nodev wait '
Init:command r=-1 ' Mount Ubifs [email protected]/cache nosuid nodev wait '
eMMC Project:
Init:command r=-1 ' Mount Ext4/[email protected]/system noatime ro remount wait '
Init:command r=-1 ' Mount Ext4/[email protected]/data noatime nosuid nodev wait Noauto_da_alloc,discard '
Init:command r=-1 ' Mount Ext4/[email protected]/cache noatime nosuid nodev wait Noauto_da_alloc,discard '
Any error that resembles a NAND project or eMMC project appears, follow [FAQ05169] [Storage] How to readback the image of any partition from the phone
A description of the partition data for the read back; for NAND projects, page only and page +spare are required two ways
Exception stack appears in log, provide the corresponding version of symbols (must be the same as the version of the problem machine in which the log was fetched): \kernel\out\vmlinux
Other Notes:
[SD0] SET_CLK (52000kHz): SCLK (50000kHz) indicates that eMMC works in the preloader phase at 52MHZ
!!!, MSDC0 set<200000khz> source<200000khz> says eMMC works in the kernel phase at 200MHZ
For data CRC Error,time out in log, it is often necessary to reduce the EMMC's operating frequency, and the PL, LK, and kernel phase CLK settings are
\mediatek\platform\mt6xxx\preloader\src\drivers\msdc.c
void Msdc_config_clock (struct mmc_host *host, int DDR, u32 Hz)
\mediatek\platform\mt6xxx\lk\msdc.c
void Msdc_config_clock (struct mmc_host *host, int DDR, u32 Hz)
\mediatek\platform\mt6xxx\kernel\drivers\mmc-host\sd.c
static void Msdc_set_mclk (struct msdc_host *host, int DDR, u32 Hz)
The corresponding reduced frequency processing modification points for the following three files to remove MSDC_UHS1, you can view the patch:alps00787669 modification to further understand:
\mediatek\custom\project\lk\cust_msdc.c
\mediatek\custom\project\preloader\msdc_cust.c
\mediatek\custom\project\kernel\core\src\board.c
An analysis of the UART log that Android cannot boot