Re: Question on Bandon / Lubbock Config.bib file:

From: Dean Ramsier (dramsiernospam_at_accelentnospam.com)
Date: 04/29/04


Date: Thu, 29 Apr 2004 08:45:39 -0400

I don't see anything wrong, what makes you think it isn't working?

-- 
Dean Ramsier - eMVP
Accelent Systems
http://www.accelent.com
"JeffS" <anonymous@discussions.microsoft.com> wrote in message
news:5EB0C50C-CC2E-449F-A200-58C438EC1CBA@microsoft.com...
> Question on Bandon / Lubbock Config.bib file:
> If the image is loaded into Flash, the full contiguous 64megs of SDRAM is
used (32 megs for the OS
> & 28 megs for the RAM).  However, when the OS is run directly from the
FLASH, still only
> 28megs is allocated for the RAM.  Why not all 32+28megs?
>
>
> ******From the Bandon (very similar to Cotulla)
Config.bib**************************
> ;       Name|Virtual/Cached |Size| Region Type
> MEMORY
> IF IMGFLASH !
> IF IMGRECOVERY !
>           NK    80288000  02000000 RAMIMAGE     ; SDRAM 32MB: [8028
8000 -> 8228 7FFF]
> ELSE ; IMGRECOVERY !
>           NK    80289000  001C0000 RAMIMAGE
> ENDIF ; IMGRECOVERY !
>           RAM   82288000  01A30000 RAM          ; SDRAM 28MB: [8228
8000 -> 83CB 7FFF]
>           EDBG  83F8D000  00020000 RESERVED     ; x20000 for EBOOT - 3 mem
pools of 24K
> ENDIF
>
>
> IF IMGFLASH
>            IF BUILD_ROM_BIN
>             NK 98380000  01F80000 RAMIMAGE  ; FLASH 32MB - 0x80000: Locate
above EBOT
>            ENDIF
>            IF BUILD_ROM_NB0
>             NK 98300000  01E00000 RAMIMAGE  ; FLASH 32MB - Replace EBOOT
Image
>            ENDIF
>
>           RAM   820B8000  01C00000 RAM          ; SDRAM 28MB: [820B
8000 -> 83CB 7FFF]
> ENDIF
>
>
> *****Proposed Change**********************************************
>
> If the image is running in flash, should'nt config.bib be changed :
>
> IF IMGFLASH
>            IF BUILD_ROM_BIN
>             NK 98380000  01F80000 RAMIMAGE  ; FLASH 32MB - 0x80000: Locate
above EBOT
>            ENDIF
>            IF BUILD_ROM_NB0
>             NK 98300000  01E00000 RAMIMAGE  ; FLASH 32MB - Replace EBOOT
Image
>            ENDIF
>
>           RAM   800B8000  03C00000 RAM          ; SDRAM 28MB+32MB:
[800B8000->83CB7FFF]
> ENDIF
>
> I tried this but could not get winCE to recognize the extra 32megs as RAM.
This seems
> amazing since it works correctly when it boots CE from the SDRAM.  This
would seem
> to imply that all the low level stuff, memmap.inc, etc are set correctly
to recognize
> the full 64megs of SDRAM.
>
> Thanks in advance for any input,  Jeff
>


Relevant Pages

  • boot.bib & config.bib
    ... IF IMGFLASH! ... ENDIF ... image and configuration block ... IF IMGNOTALLKMODE ...
    (microsoft.public.windowsce.platbuilder)
  • Understanding the build system
    ... !ENDIF ... And in one of the source files I have: ... First I built my platform with IMGFLASH turned off it was built correctly ...
    (microsoft.public.windowsce.platbuilder)
  • Problem with IMGFLASH option of platform
    ... The symptom I observed is that the performance of FTP server ... if I upload a file to \temp { ... IF IMGFLASH! ... ENDIF ...
    (microsoft.public.windowsce.platbuilder)