wince6.0如何扩大内存

u011214128 2013-06-27 08:37:35
通过设置环境变量IMGRAM128=1,编译后,重新加载系统,内存还是不变
...全文
293 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
简单并快乐着 2013-07-04
  • 打赏
  • 举报
回复
首先包装bootloader要初始化正确内存,保证跑起来,然后再告诉系统才是修改config.bib的。
u011214128 2013-07-01
  • 打赏
  • 举报
回复
config.bib 具体要什么改,请高手帮忙。
zhujinqiang 2013-07-01
  • 打赏
  • 举报
回复
搜 config.bib
kyokof 2013-06-29
  • 打赏
  • 举报
回复
config.bib,修改下就行
  • 打赏
  • 举报
回复
一切关于内存相关的东西都要改。如:内存映射,config.bib,关于内存大小定义的宏,还有对应几个寄存器要改。 寄存器要怎么改具体要看你的内存芯片怎么接,到底几行几列。
Benjay77 2013-06-27
  • 打赏
  • 举报
回复
你要在设备选项里设置
一介布衣萧萧 2013-06-27
  • 打赏
  • 举报
回复
config.bib中配置内存
  • 打赏
  • 举报
回复
x86的没见过,我只弄过2410/6410
码农老王(JN) 2013-06-27
  • 打赏
  • 举报
回复
过段时间要把64MB内存升级为128MB,持续关注
u011214128 2013-06-27
  • 打赏
  • 举报
回复
C:\WINCE600\OSDesigns\OSDesign9\OSDesign9\RelDir\CEPC_x86_Debug\config.bib如何配置内存 MEMORY #if (defined IMGPPC || defined IMGTPC) IF IMGPERSISTENTSTORAGE ! This line is left here on purpose to indicate IMGPERSISTENTSTORAGE is a required for building smartfon / ppc images. Please check your environment settings. ENDIF IMGPERSISTENTSTORAGE ! IF IMGRAMFMD ! This line is left here on purpose to indicate IMGRAMFMD is a required for building smartfon / ppc images. Please check your environment settings. ENDIF IMGRAMFMD ! NK 81200000 00A00000 RAMIMAGE #if defined IMGRAM16 #error IMGRAM16 unsupported on PPC/smartfon. #elif defined IMGRAM32 #error IMGRAM32 unsupported on PPC/smartfon. #elif defined IMGRAM64 RAM 81C00000 02400000 RAM #elif defined IMGRAM128 RAM 81C00000 06400000 RAM nk.exe:dwOEMTotalRAM 0 08000000 FIXUPVAR #elif defined IMGRAM256 RAM 81C00000 0E400000 RAM nk.exe:dwOEMTotalRAM 0 10000000 FIXUPVAR #elif defined IMGRAM512 RAM 81C00000 1E400000 RAM nk.exe:dwOEMTotalRAM 0 20000000 FIXUPVAR #else ; Default 96 MB Config RAM 81C00000 04000000 RAM nk.exe:dwOEMTotalRAM 0 06000000 FIXUPVAR #endif FRAMEBUF 800A0000 00020000 RESERVED PCMCIABUF 800D0000 00010000 RESERVED ; Debug Ethernet packet buffers EDBG 801DC000 00020000 RESERVED AUDIOBUF 801FC000 00002000 RESERVED UNUSED 801FE000 00000004 RESERVED LOADRBUF 801FFF00 00000100 RESERVED ; Note: The RAMFMD entries need corresponding platform.reg entries. RAMFMD 80200000 01000000 RESERVED ; ; SKU fixupvar ; should uniquely identify the device you are building ; A 6 byte number unique in the Ethernet MAC address space ; dwSKUInfo is the first 4 bytes ; dwSKUInfoLW is the last 2 bytes (LW = LoWord) ; dwSKUInfo 00000000 57454350 FIXUPVAR IF _TGTPROJ=wpc dwSKUInfoLW 00000000 00005750 FIXUPVAR ENDIF IF _TGTPROJ=smartfon dwSKUInfoLW 00000000 00005450 FIXUPVAR ENDIF #else #if defined IMGRAM16 ; 16 MB of RAM (note: AUTOSIZE will adjust boundary) NK 80220000 009E0000 RAMIMAGE RAM 80C00000 00400000 RAM #elif defined IMGRAM32 ; 32 MB of RAM (note: AUTOSIZE will adjust boundary) NK 80220000 009E0000 RAMIMAGE RAM 80C00000 01400000 RAM #elif defined IMGRAM64 ; 64 MB of RAM (note: AUTOSIZE will adjust boundary) NK 80220000 009E0000 RAMIMAGE RAM 80C00000 03400000 RAM #elif defined IMGRAM128 ; 128 MB of RAM (note: AUTOSIZE will adjust boundary) NK 80220000 009E0000 RAMIMAGE RAM 80C00000 07100000 RAM nk.exe:dwOEMTotalRAM 0 08000000 FIXUPVAR #elif defined IMGRAM256 ; 256 MB of RAM (note: AUTOSIZE will adjust boundary) NK 80220000 009E0000 RAMIMAGE RAM 80C00000 0EB00000 RAM nk.exe:dwOEMTotalRAM 0 10000000 FIXUPVAR #elif defined IMGRAM512 ; 512 MB of RAM (note: AUTOSIZE will adjust boundary) NK 80220000 009E0000 RAMIMAGE RAM 80C00000 1E000000 RAM nk.exe:dwOEMTotalRAM 0 20000000 FIXUPVAR #else ; 28 MB of RAM (default) (note: AUTOSIZE will adjust boundary) ; This value will cause the RAM auto-detect feature to trigger NK 80220000 009E0000 RAMIMAGE RAM 80C00000 01000000 RAM #endif DMA 80100000 00030000 RESERVED ; Native DMA reserved. BOOTARGS 801FFF00 00000100 RESERVED ; Boot arguments EDBG_DMA 80200000 00020000 RESERVED ; EDBG DMA buffer #endif (defined IMGPPC || defined IMGTPC) ; Hard reset the system on a software reboot? ; IF BSP_HARDRESET nk.exe:pdwHardReset 00000000 1 FIXUPVAR ELSE nk.exe:pdwHardReset 00000000 0 FIXUPVAR ENDIF ; This fix-up variable is a bitfield that can be used to initialize ; the OAL debug zones per oal_log.h. Uncomment the line and ; change the hexadecimal bits to enable the desired zones. The ; default value (0x0000000B) enables the OAL_LOG_ERROR, ; OAL_LOG_WARN, and OAL_LOG_INFO zones, and will be used by ; OEMInit if the line remains commented out. ; ; nk.exe:initialOALLogZones 00000000 0x0000000B FIXUPVAR ; This fix-up variable is a bitfield that can be used to initialize ; the Kernel debug zones per kernel.h. Uncomment the line and ; change the hexadecimal bits to enable the desired zones. The ; default value (0x00000100) enables the ZONE_DEBUG. ; ; kernel.dll:initialKernelLogZones 00000000 00000110 FIXUPVAR ; This fix-up variable determines the amount of memory the BSP ; reserves for Watson dump capture. The current default behavior is ; to default to zero unless the image has SYSGEN_WATSON_DMPGEN ; defined. The default size is 300KiB. ; ; @CESYSGEN IF CE_MODULES_OSAXST0 ; @CESYSGEN ENDIF CONFIG AUTOSIZE=ON ; @CESYSGEN IF !NK_NKNOCOMP COMPRESSION=ON ; @CESYSGEN ENDIF !NK_NKNOCOMP ; @CESYSGEN IF NK_NKNOCOMP ; @CESYSGEN ENDIF NK_NKNOCOMP IF IMGPROFILER PROFILE=ON ELSE PROFILE=OFF ENDIF KERNELFIXUPS=ON IF IMGPERSISTENTSTORAGE FSRAMPERCENT=0x00000010 ENDIF IF IMGTINYFSRAM FSRAMPERCENT=0x00000080 ENDIF IF IMG_SMARTFON_TINYFS FSRAMPERCENT=0x000000ff ENDIF ; ; ROMFLAGS is a bitmask of options for the kernel ; ROMFLAGS 0x0001 Disallow Paging ; ROMFLAGS 0x0010 Trust Module only ; IF IMGTRUSTROMONLY ROMFLAGS=10 ELSE ROMFLAGS=0 ENDIF IF _TGTCPUFAMILY=x86 ROMOFFSET=80000000

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧