An analysis of the UART log that Android cannot boot

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.