config.bib

来自「ARM9基于WINDOWSCE的BSP源代码」· BIB 代码 · 共 183 行

BIB
183
字号
;
; The content of this file or document is CONFIDENTIAL and PROPRIETARY 
; to Jade Technologies Co., Ltd.  It is subjected to the terms of a    
; License Agreement between Licensee and Jade Technologies Co., Ltd.   
; restricting among other things, the use, reproduction, distribution  
; and transfer.  Each of the embodiments, including this information   
; and any derivative work shall retain this copyright notice.          
;                                                                      
; Copyright (c) 2004 - 2005 Jade Technologies Co., Ltd.                
; All rights reserved.                                                 
;  
; ----------------------------------------------------------------
; File:     config.bib,v
; Revision: 1.0
; ----------------------------------------------------------------
; $
;

; ----------------------------------------------------------------------

MEMORY

        ; ** Reserved section **
        ; SPACE1 88000000  00008000  comment    ; Eboot stack space
        DRV_GLB  88008000  00001000  RESERVED	; Boot Args
        ; SPACE2 88009000  00007000  comment    ; Empty
        EDBG     88010000  00020000  RESERVED 	; EthDbg Buffers

IF EXEFLASH !
        ; ** Default case - image run from RAM ** 

IF IMGEBOOT !
	; ** No Eboot **
        NK       88070000  01F90000  RAMIMAGE
        RAM      8A000000  01EE0000  RAM
ENDIF
IF IMGEBOOT
	; ** Eboot **
        BLDR     88030000  00040000  RESERVED	; (Eboot) Bldr + Bldr RAM
        NK       88070000  01F90000  RAMIMAGE
        RAM      8A000000  01EE0000  RAM
ENDIF
ENDIF


IF EXEFLASH
	; ** image run from FLASH **

IF IMGEBOOT !
	; ** No Eboot **
        NK       80080000  01F80000  RAMIMAGE	; Flash (upto 32Mb)
        RAM      88070000  03E70000  RAM
ENDIF

IF IMGEBOOT
	; ** Eboot **
        NK       80100000  01F00000  RAMIMAGE	; Flash (upto 32Mb)
        BLDR     88030000  00040000  RESERVED	; (Eboot) Bldr + Bldr RAM
        RAM      88070000  03E70000  RAM
ENDIF
ENDIF

        ; Location of the DMA LLIs (as set in platform.h & platform.inc)
        DMA_LIST 8BEE0000  00020000  RESERVED   ; DMA list buffer

        ; NOTE: space required for Frame Buffer (as set in platform.h & platform.inc)
        ; SPACE3 8BF00000  00100000  comment    ; CLCD Frame Buffer

; ----------------------------------------------------------------------

CONFIG

IF EXEFLASH !
	AUTOSIZE=ON
ENDIF

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

        KERNELFIXUPS=ON

    ; ROMOFFSET causes the BIN file sections to be placed at the correct 
    ; RAM address before the MMU is turned on.  After the MMU is enabled, 
    ; the OEMAddressTable (in mapx20t.inc) defines the mapping.
    ;
    ; To calculate ROMOFFSET, the following unsigned int32 equations apply:
    ;
    ;    ROMOFFSET        = [Addr before MMU] - [Addr after MMU]
    ; or 
    ;    [Addr after MMU] = [Addr before MMU] - ROMOFFSET
    ;
IF EXEFLASH !
    ; [Addr before MMU] = 0x0007.0000
    ; [Addr after MMU]  = 0x8807.0000
        ROMOFFSET=78000000
ENDIF
IF EXEFLASH
    ; [Addr before MMU] = 0xC400.0000
    ; [Addr after MMU]  = 0x8000.0000
        ROMOFFSET=44000000
ENDIF


; ........................................................................

IF IMG_NBX
        ; This section creates the nk.nbX files for flashing

IF EXEFLASH !
        ROMSTART=88070000
ENDIF

IF EXEFLASH        
IF IMGEBOOT !
        ROMSTART=80080000
ENDIF
IF IMGEBOOT
        ROMSTART=80100000
ENDIF
ENDIF ; EXEFLASH

        ROMWIDTH=32

; Select ROMSIZE according to how much space is needed (the build
; tools will pad to given size, which can result in unnecessary
; waits for flash to finish programming nothing into ROM
; We keep the size as small as possible to reduce length FLASH
; programming time
IF DEBUG
	; For Debug version
        ROMSIZE=01900000	; 23 Meg
ENDIF
IF DEBUG !
	; For Release version
  ;      ROMSIZE=00C00000	; 12 Meg 
  			ROMSIZE=01100000	; 17 Meg
ENDIF

ENDIF ; IMG_NBX

;adjust store-memory and program-memory, default value is 0x80808080
;		FSRAMPERCENT=0x90909090

; ........................................................................

IF IMGPROFILER
   PROFILE=ON
ENDIF
IF IMGPROFILER !
   PROFILE=OFF
ENDIF

; ........................................................................
;

; 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
    ENDIF
    IF IMGNOTALLKMODE !
       ROMFLAGS=10
    ENDIF
ENDIF

IF IMGTRUSTROMONLY !
    IF IMGNOTALLKMODE
       ROMFLAGS=2
    ENDIF
    IF IMGNOTALLKMODE !
       ROMFLAGS=0
    ENDIF
ENDIF


; EOF config.bib

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?