How to upgrade the memory from 256 m to in wince6

Source: Internet
Author: User

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

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.