zoukankan      html  css  js  c++  java
  • 6410支持256M内存的修改记录

    1、更改C:\WINCE600\PLATFORM\SMDK6410\SRC\INC\MemParam_mDDR.inc

       

    ; 31th register in P1MEMCFG shoud be set as '0' to support one cke control

    DMC1_MEM_CFG        EQU    ((1<<30)+(0<<21)+(0<<18)+(2<<15)+(0<<14)+(0<<13)+(0<<7)+(0<<6)+(3<<3)+(2<<0))    ; colum A0~A9

    2、

     DMC1_CHIP0_CFG        EQU    ((1<<16)+(0x50<<8)+(0xF0<<0))    ; BRC (Linear Address Mapping)

    3、更改 C:\WINCE600\PLATFORM\SMDK6410\SRC\INC\oemaddrtab_cfg.inc

    g_oalAddressTable

        ; mDDR 128 MB

            ;DCD     0x80000000, 0x50000000,  64     ; 64 MB DRAM

            [ SMDK6410_X5D

            DCD     0x80000000, 0x60000000,   64     ; 64 MB DRAM

            |

            DCD     0x80000000, 0x50000000,  256    ; 256 MB DRAM

            ]

    4、在C:\WINCE600\PLATFORM\SMDK6410\SRC\OAL\OALLIB\init.c中添加

    BOOL

    OEMGetExtensionDRAM(

        LPDWORD lpMemStart,

        LPDWORD lpMemLen

        )

    {

        *lpMemStart = 0x88000000;

        *lpMemLen   = 0x08000000;

          

        return TRUE;   

      

    }

    转自:http://blog.21ic.com/user1/801/archives/2010/66583.html

  • 相关阅读:
    修改滚动条样式
    svg转png
    封装普通数据为树菜单结构数据模式
    js调用打印机打印
    jq 上传下载进度条
    html内容溢出部分...
    html调用html的方法
    4 人类社会及其发展规律
    7 社会主义
    8 共产主义
  • 原文地址:https://www.cnblogs.com/xfdarm/p/1674011.html
Copyright © 2011-2022 走看看