Question on Bandon / Lubbock Config.bib file:

From: JeffS (anonymous_at_discussions.microsoft.com)
Date: 04/29/04


Date: Thu, 29 Apr 2004 00:11:06 -0700

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

  • 128M sdram configuration
    ... Now I want to set the configuration of 128M SDRAM. ... IF IMGFLASH! ... DCD nCS4_BASE_C_VIRTUAL, ... Writing 0x80076BD8 to flash address 0xB8340000. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: To test the Flash
    ... however I don't know anything about the EJDebug tool. ... Using EJDebug emulator i have downloaded the eboot into SDRAM. ... as the location of SDRAM it goes to the Flash start address. ... can download code into the sdram and run it. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: =?ISO-8859-15?Q?G=FCnstiger_Echtzeiteinplatinenrechner?=
    ... einen Einplatinenrechner mit dem Echtzeitbetriebssystem RTOS-UH und den Sprachen C und Pearl vertreiben. ... ohne WLAN und mit 32 MB SDRAM und 64 MB Flash, oder auch 64 MB SDRAM und ... 128 MB Flash. ... Normen einhält, aber man muß sowas ja immer insgesamt testen. ...
    (de.sci.electronics)
  • Re: =?ISO-8859-15?Q?G=FCnstiger_Echtzeiteinplatinenrechner?=
    ... einen Einplatinenrechner mit dem Echtzeitbetriebssystem RTOS-UH und den ... 180 Euro sind schon recht teuer für das, ... ohne WLAN und mit 32 MB SDRAM und 64 MB Flash, oder auch 64 MB SDRAM und ... 128 MB Flash. ...
    (de.sci.electronics)
  • sdram configuration,pls help
    ... Now I want to set the configuration of 128M SDRAM. ... IF IMGFLASH! ... DCD nCS4_BASE_C_VIRTUAL, ... and Platform builder printed the word"Kernel debugger is waiting to ...
    (microsoft.public.development.device.drivers)