MTK NAND Flash configuration Support1. First confirm the Flash model, for example: SanDisk sd7dp24c_4g.
2. View Mediatek/build/tools/emigen/mt6572/memorydevicelist_ Mt6572.xls whether there is support for the chip, if not supported, you can go to the MTK official website to download the latest Memorydevicelist_mt6572.xls files.
3. Modify the Mediatek/custom/project_name/preloader/inc/custom_memorydevice.h file, such as the previous sd7dp24c_4g:
#define CS_PART_NUMBER[0] sd7dp24c_4g
4. This time you can use the./mk emigen to generate EMI parameter files (provided that you have compiled previously, if not compiled, you can use the./mk preject_name Emigen Way to compile), the resulting two files are as follows:
out/target/product/project_name/obj/emigen/inc/custom_emi.h
OUT/TARGET/PRODUCT/PROJECT_NAME/OBJ/PRELOADER_OBJ/CUSTOM_EMI.C
(Note that these two files are not copied to the previous Mediatek/custom/project_name/preloader directory)
5. Finally, it should be stated that the use of./MK N PL is also performed./MK Emigen process.
MTK NAND Flash Configuration support