Re: nk.bin size and memory

From: QS (qs_at_nowhere.com)
Date: 05/13/04


Date: Thu, 13 May 2004 09:00:43 -0400

Thank you! My config.bib like this(a little bit long)
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; Use of this source code is subject to the terms of the Microsoft end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to use
; this source code. For a copy of the EULA, please see the LICENSE.RTF on
your
; install media.
;
MEMORY
IF IMGMULTIXIP
#define CHAIN_ADDRESS 80220000
    CHAIN $(CHAIN_ADDRESS) 00001000 RESERVED
    pdwXIPLoc 00000000 $(CHAIN_ADDRESS) FIXUPVAR

    NK 80221000 009DF000 RAMIMAGE
    REGION1 80C00000 00100000 RAMIMAGE
    RAM 80D00000 03300000 RAM
ELSE
 ; 16 MB of RAM (note: AUTOSIZE will adjust boundary)
 IF IMGRAM16
    NK 80220000 009E0000 RAMIMAGE
    RAM 80C00000 00400000 RAM
 ENDIF

 ; 28 MB of RAM (default) (note: AUTOSIZE will adjust boundary)
 ; This value will cause the RAM auto-detect feature to trigger
 IF IMGRAM16 !
 IF IMGRAM32 !
 IF IMGRAM64 !
    NK 80220000 009E0000 RAMIMAGE
    RAM 80C00000 01000000 RAM
 ENDIF
 ENDIF
 ENDIF

 ; 32 MB of RAM (note: AUTOSIZE will adjust boundary)
 IF IMGRAM32
    NK 80220000 009E0000 RAMIMAGE
    RAM 80C00000 01400000 RAM
 ENDIF

 ; 64 MB of RAM (note: AUTOSIZE will adjust boundary)
 IF IMGRAM64
    NK 80220000 009E0000 RAMIMAGE
    RAM 80C00000 03400000 RAM
 ENDIF
ENDIF

; Hard reset the system on a software reboot?
;
IF BSP_HARDRESET
    pdwHardReset 00000000 1 FIXUPVAR
ELSE
    pdwHardReset 00000000 0 FIXUPVAR
ENDIF

   FRAMEBUF 88000000 81000000 RESERVED ; ddi_stpc.dll
   VGA 800A0000 00020000 RESERVED
   PCMCIABUF 800D0000 00010000 RESERVED
   STMICRO 8018C000 00030000 RESERVED
   NSCIRDA 801BC000 00020000 RESERVED
   AUDIOBUF 801FC000 00002000 RESERVED
   LOADRBUF 801FFF00 00000100 RESERVED
   EDBG 80200000 00020000 RESERVED ; EDBG DMA buffer

CONFIG
   AUTOSIZE=ON

IF IMGMULTIXIP
   RAM_AUTOSIZE=ON
   ROM_AUTOSIZE=ON
   DLLADDR_AUTOSIZE=ON

   XIPSCHAIN=$(CHAIN_ADDRESS)

   AUTOSIZE_ROMGAP=10000
   AUTOSIZE_DLLADDRGAP=0
   AUTOSIZE_DLLDATAADDRGAP=0
   AUTOSIZE_DLLCODEADDRGAP=0
ENDIF

; @CESYSGEN IF !NK_NKNOCOMP
   COMPRESSION=ON
; @CESYSGEN ENDIF !NK_NKNOCOMP
; @CESYSGEN IF NK_NKNOCOMP
   COMPRESSION=OFF
; @CESYSGEN ENDIF NK_NKNOCOMP

IF IMGPROFILER
   PROFILE=ON
ELSE
   PROFILE=OFF
ENDIF

   KERNELFIXUPS=ON

;
; ROMFLAGS is a bitmask of options for the kernel
; ROMFLAGS 0x0001 Disallow Paging
; ROMFLAGS 0x0002 Not all KMode
; ROMFLAGS 0x0010 Trust Module only
;
IF IMGTRUSTROMONLY
; IF IMGNOTALLKMODE
; ROMFLAGS=12
; ELSE
       ROMFLAGS=10
; ENDIF
ELSE
; IF IMGNOTALLKMODE
; ROMFLAGS=2
; ELSE
       ROMFLAGS=0
; ENDIF
ENDIF

IF _TGTCPUFAMILY=x86
    ROMOFFSET=80000000
ENDIF

IF IMGTINYFSRAM
    FSRAMPERCENT=0x00000080
ENDIF

"Yannick Chamming's [eMVP]" <ychammings_nospam@adeset.com> wrote in message
news:OUbBXGOOEHA.1340@TK2MSFTNGP12.phx.gbl...
> Blankwhat is the content of your CONFIG.BIB ?
>
> --
> ----------------------------------------------------------------
> Yannick Chamming's (eMVP)
> ADESET
> Windows Embedded Manager
> ychammings AT adeset DOT com>
> http://www.adeset.com
> Tél : +33 (0)4.72.18.57.77
> Fax : +33 (0)4.72.18.57.78
> ----------------------------------------------------------------
>
> "QS" <qs@nowhere.com> a écrit dans le message de
> news:uZCLkgFOEHA.3744@TK2MSFTNGP11.phx.gbl...
> I created a CE image and I keep adding components to it. The I get" Error:
> Image is too large for current RAM and RAMIMAGE settings" error message
when
> I try to build new image. My CEPC memory is 64MB and the image size is
about
> 27 MB.
>
>
> What should I do???? Add more memory to my CEPC or I can change setting to
> let it pass???
>
>
> Thanks a looot!
>
>



Relevant Pages

  • Re: boot loader build error
    ... I mean the memory section of the config.bib ... NK 80040000 02f40000 RAMIMAGE ... RAM 90090000 07f70000 RAM ... > ENDIF ...
    (microsoft.public.windowsce.platbuilder)
  • Re: boot loader build error
    ... I mean the memory section of the config.bib ... NK 80040000 02f40000 RAMIMAGE ... RAM 90090000 07f70000 RAM ... > ENDIF ...
    (microsoft.public.windowsce.embedded)
  • Re: Minimum startup
    ... - The ARM vectors can be relocated to high memory, ... and your RAM section would start wherever physical RAM is located on ... Now, if your loader is actually going to be copied to and run from SDRAM, ... then your RAMIMAGE section should be using SDRAM physical addresses. ...
    (microsoft.public.windowsce.platbuilder)
  • Prefetch Abort in FileSys
    ... I figured maybe I was just short of RAM. ... I know that possibly this is a memory mapping setup problem. ... Booting kernel with existing memory configuration: ... ; @CESYSGEN ENDIF CE_MODULES_TKTEST ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Filesys failed to initialize registry dirty, trying clean...
    ... ; @CESYSGEN ENDIF SHELL_MODULES_EXPLORER ... And my OS design has already added RAM based registry and RAM/ROM filesystem. ... try to create a kernel with RAM based registry and RAM/ROM filesystem first. ...
    (microsoft.public.windowsce.platbuilder)