For project reasons, we need to upgrade Samsung 6410 of memory from 128 to 256. Because the original BSP only supports 128, therefore, to support 256 of the memory, manually modify the BSP package as follows:
Use environment: wince6, smdk6410, two k4x1g163pe 128 memory
1. oemaddrtab_cfg.inc File
; DCD 0x80000000, 0x50000000,128; 128 MB dram
Changed:
DCD 0x80000000, 0x50000000,256; 256 MB dram
2. memparam_mddr.inc
Dmc1_mem_cfg Equ (1 <30) + (0 <21) + (0 <18) + (2 <15) + (0 <14) + (0 <13) + (0 <7) + (0 <6) + (2 <3) + (2 <0 ))
Changed:
Dmc1_mem_cfg Equ (1 <30) + (0 <21) + (0 <18) + (2 <15) + (0 <14) + (0 <13) + (0 <7) + (0 <6) + (3 <3) + (2 <0 ))
Dmcw.chip0_cfg equ (1 <16) + (0x50 <8) + (0xf8 <0 ))
Changed:
Dmcw.chip0_cfg equ (1 <16) + (0x50 <8) + (0xf0 <0 ))
3. D: \ wince600 \ platform \ smdk6410 \ SRC \ oal \ oallib \ init. c
added
bool oemgetextensiondram (lpdword pmemorystart, lpdword pmemorylength)
{< br> * pmemorystart = 0x88000000;
* pmemorylength = 0x08000000; // 128 M