www.pudn.com > iMx31_WCE600.rar > sboot.bib


;------------------------------------------------------------------------------ 
; 
; Copyright (C) 2004-2007, Freescale Semiconductor, Inc. All Rights Reserved. 
; THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS 
; AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT 
; 
;------------------------------------------------------------------------------ 
; 
;     OS MEMORY MAP                       BOOTLOADER / IPL MEMORY MAP 
; 
;                   +---- 8800.0000 ----+ 
;       ARGS (4 KB) |                   | ARGS (4 KB) 
;                   +---- 8800.1000 ----+ 
;                   |                   | XLDR Image (2 KB) 
;                   |     8800.1800 ----+ 
;    CSPDDK (32 KB) |                   | 
;                   +---- 8800.9000     | Bootloader / IPL Stack (234 KB) 
;                   |                   | 
;                   |     8803.C000 ----+ 
;                   |                   | Bootloader / IPL Page Table (16 KB) 
;   unused (988 KB) |     8804.0000 ----+ 
;                   |                   | Bootloader Image / NANDCACHE (256 KB) 
;                   |     8808.0000 ----+ 
;                   |                   | IPL Image (256 KB) 
;                   |     880C.0000 ----+ 
;                   |                   | Bootloader / IPL RAM (256 KB) 
;                   +---- 8810.0000 ----+ 
;                   |                   | 
;                   |                   | 
;                   |                   | 
;   NK Code (48 MB) |                   | 
;                   |                   | 
;                   |                   | 
;                   |                   | 
;    **auto-size**  +---- 88B1.0000     | Flash Cache 
;                   |                   | 
;                   |                   | 
;                   |                   | 
;   NK RAM (63 MB)  |                   | 
;                   |                   | 
;                   |                   | 
;                   |                   | 
;                   +---- 8F00.0000 ----+  
;   MBX (16 MB)     |                   |  
;                   +---- 9000.0000 ----+ 
; 
;------------------------------------------------------------------------------ 
 
MEMORY 
; Driver globals area (used to pass config info to kernel, don't change unless  
; you update config.bib) NOTE: We're using physical addresses here. 
;       Name             Start         Size          Type 
;       -------          --------      --------      ---- 
        DRV_GLB          88000000      00001000     RESERVED 
        XLDR             88001000      00000800     RESERVED 
        STACK            88001800      0003A800     RESERVED 
        PAGE_TABLE       8803C000      00004000     RESERVED 
 
        SBOOT            88040000      00040000      RAMIMAGE 
        IPL              88080000      00040000      RESERVED 
        RAM              880C0000      00040000      RAM 
 
; Flash cache (used to store sboot.bin or nk.bin before flashing) 
        FCACHE           88100000      07F00000      RESERVED 
 
CONFIG 
        COMPRESSION=OFF 
        KERNELFIXUPS=ON 
 
; Sboot is build to run out of RAM, so ROMSTART and ROMSIZE correspond to the 
; RAM address range specified above. 
; 
; EVB flash: 80000000 
; 
    ROMSIZE =00040000 
    ROMSTART=88040000 
    ROMWIDTH=32 
 
; ROMOFFSET applies to the BIN file sections and is used to "move" the image 
; into flash.  The bootloader image already on the system will be able to tell 
; that the BIN file is destined for flash (versus RAM) based on the address 
; formed by RAMIMAGE Start plus ROMOFFSET. 
; Flash starts VA 0x80000000 = (0x88040000 + ROMOFFSET) & 0xFFFFFFFF 
; ==> ROM ROMOFFSET = 0xF7FC0000 
 
IF IMGNAND ! 
    ROMOFFSET=F7FC0000 
ENDIF 
 
IF IMGNAND 
; 0x97220000 = (0x88040000 + ROMOFFSET) & 0xFFFFFFFF ==> ROMOFFSET = 0x0F1E0000 
    ROMOFFSET=0F1E0000 
ENDIF 
 
 
MODULES 
;   Name            Path                                            Memory Type 
;   --------------  ----------------------------------------------  ----------- 
    nk.exe          $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\sboot.exe        SBOOT