搜档网
当前位置:搜档网 › MT6572 eMMC NAND Switch Guide

MT6572 eMMC NAND Switch Guide

MT6572 eMMC NAND Switch Guide

Preliminary Information

Revision: 0.10

Legal Disclaimer

BY OPENING OR USING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS (“MEDIATEK SOFTWARE”) RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVE S ARE PROVIDED TO BUYER ON AN “AS-IS” BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER’S SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.

BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.

THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF LAWS PRINCIPLES.

Revision History

Table of Contents

MT6572 eMMC NAND Switch Guide (1)

Preliminary Information (1)

Revision: 0.10 (1)

Release Date: April 11, 2013 (1)

Legal Disclaimer (2)

Revision History (3)

Table of Contents (4)

1Abstract (5)

1.1Audience (5)

1.2Software layers or module (5)

1.3Applicable Base-Band Chips (5)

1.4Applicable SW version and branches (5)

2Configuration (6)

2.1Memory Part Setting (6)

2.2GPIO Configuration (7)

2.3Project Configuration (7)

2.4Linux Kernel Configuration (8)

3Trouble Shooting (9)

3.1Check List (9)

3.2Debug information (9)

1 Abstract

This document is designed to help user to switch a load between eMMC and NAND. In this document, it will cover those necessary configurations relative memory setting when switching, but won’t cover other HW configuration or feature configuration.

1.1 Audience

Software engineers, hardware engineers or system application who need to know the software configuration and customization about eMMC and NAND.

1.2 Software layers or module

System Platform, DRAM/eMMC/NAND

1.3 Applicable Base-Band Chips

Support on MT6572.

1.4 Applicable SW version and branches

ALPS.JB3.MP

ALPS.GB3

2 Configuration

In this section, it will show how to configure a software load when booting device change (eMMC to NAND ). There are 4 mandatory configurations when switch to eMMC/NAND.

- Memory Setting

- GPIO Configuration

- Project Configuration

- Linux Kernel Configuration

2.1 Memory Part Setting

Choose the memory part from MTK memory AVL, and specify it in

\alps\mediatek\custom\{project}\preloader\inc\custom_MemoryDevice.h

?Configure the part number and it associated EMI clock rate as below two definition in

custom_MemoryDevice.h

where CS_PART_NUMBER[0] is the memory part number, and EMI_CLK is EMI clock rate.

◆For LPDDR2+eMMC memory part, please define EMI_CLK as 266M

◆For LPDDR2+NAND memory part, please define EMI_CLK as 266M

◆For LPDDR1+NAND memory part, please define EMI_CLK as 200M

2.2 GPIO Configuration

Since eMMC and NAND different pin count and pin mux on MT6572, the configuration of GPIO is a must for changing booting memory device.

MT6572 booting device pin configuration, please modify in

When using eMMC

below

2.3 Project Configuration

For eMMC and NAND switch, there are several feature options in project make file need to be configured.

Please follow below table to set up those necessary options.

MT6572 booting device pin configuration, please modify in

\alps\mediatek\config\{project}\ProjectConfig.mk

Note 1:”generic_nand” in RESOURE_OVERLAY_SUPPORT option field is only for NAND.

2.4 Linux Kernel Configuration

For eMMC and NAND switch, there are several kernel options need to be specified. Please follow below table to set up those necessary options.

MT6572 booting device pin configuration, please modify in

alps\mediatek\config\{ project } \autoconfig\kconfig\project

Note: Kernel options doesn’t need “space” between option name and its value

3 Trouble Shooting

3.1 Check List

This section will provide check list for customer to do self review after the modification done.

3.2 Debug information

If customer encounters any problem during switch eMMC and NAND, please provide below information to MTK

相关主题