3/07/2013

How to add a new eMCP on QRD8x25 platform

1 add code
\modem_proc\build\ms\flash_type_8X25.cfg

FlashType: FLASH_KML5U000HM_B505
EBI1_ID: O
EBI2_ID: S
Description: samsung 4gB + 8gb JEDEC eMCP class 100 tlc

2 copy file to
\modem_proc\build\ms\flash_8X25\custFLASH_KML5U000HM_B505.h
\modem_proc\build\ms\flash_8X25\targetFLASH_KML5U000HM_B505.h

3 add defined(FLASH_KML5U000HM_B505)
\modem_proc\core\systemdrivers\clkregim\src\proc\mpss\clkrgm_mpss_sdram_7627.c
#if ...|| defined(FLASH_KML5U000HM_B505)
#define CLKRGM_SDRAM_EBI_TRFC 1200

#if ...|| defined(FLASH_KML5U000HM_B505)
#define CLKRGM_SDRAM_EBI_TCKE_TCK 2

4 copy file to
\modem_proc\core\boot\secboot\cfg_data\7627\ebi1\ebi1_kml5u000hm_b505.cfg

5 copy and modify like SSKxLYM_FLASH_xxx.CMD
change USES_FLASH_xxx=yes to USES_FLASH_KML5U000HM_B505=yes

6 add code
\modem_proc\build\ms\boot_targets_nonsec.min
#samsung 4gB + 8gb JEDEC eMCP class 100 tlc
ifeq ($(USES_FLASH_KML5U000HM_B505), yes)
COPY_CFG_DATA += cp -Rf $(CFG_DATA_TARGET)/ebi1/ebi1_kml5u000hm_b505.cfg $(CFG_DATA)/ebi1/ebi1.cfg ;
endif

No comments:

Post a Comment