⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.bib

📁 freescale i.mx31 BSP CE5.0全部源码
💻 BIB
字号:
;
; 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.
;
;------------------------------------------------------------------------------
; 
;   Copyright (C) 2004-2006, Freescale Semiconductor, Inc. All Rights Reserved
;   THIS SOURCE CODE IS CONFIDENTIAL AND PROPRIETARY AND MAY NOT
;   BE USED OR DISTRIBUTED WITHOUT THE WRITTEN PERMISSION OF
;   FREESCALE SEMICONDUCTOR, INC.
; 
;------------------------------------------------------------------------------
;
;     OS MEMORY MAP                       BOOTLOADER MEMORY MAP
;
;                   +---- 8800.0000 ----+
;       ARGS (4 KB) |                   | ARGS (4 KB)
;                   +---- 8800.1000 ----+
;    CSPDDK (32 KB) |                   |
;                   +---- 8800.9000     | Bootloader Stack (236 KB)
;                   |                   |
;                   |     8803.C000 ----+
;                   |                   | Bootloader Page Table (16 KB)
;   unused (988 KB) |     8804.0000 ----+
;                   |                   | Bootloader Image (256 KB)
;                   |     8808.0000 ----+
;                   |                   | Bootloader RAM (512 KB)
;                   +---- 8810.0000 ----+
;                   |                   |
;                   |                   |
;                   |                   |
;   NK Code (48 MB) |                   |
;                   |                   |
;                   |                   |
;                   |                   |
;    **auto-size**  +---- 88B1.0000     | Flash Cache
;                   |                   | 
;                   |                   |
;                   |                   |
;   NK RAM (79 MB)  |                   |
;                   |                   |
;                   |                   |
;                   |                   |
;                   +---- 9000.0000 ----+
;
;------------------------------------------------------------------------------


;**************************** MEMORY SECTION ***************************
MEMORY

; ----------------- Reserved Region Mapping (1 MB) ---------------------
;   Start Addr      End Addr        Mem Type    Region Name     Size
;   0x88000000      0x88000FFF      SDRAM       ARGS              4 KB
;   0x88001000      0x88008FFF      SDRAM       CSPDDK           32 KB
;   0x88009000      0x880FFFFF      SDRAM       RSVD            988 KB
; ----------------------------------------------------------------------
;                   Name        Address     Size        Type
                    ARGS        88000000    00001000    RESERVED
                    CSPDDK      88001000    00008000    RESERVED
                    RSVD        88009000    000F7000    RESERVED

IF IMGFLASH !

IF BSP_POCKETPC 
; --------------------------- RAM image (Windows Mobile) ---------------
;   Start Addr      End Addr        Mem Type    Region Name     Size
;   0x88000000      0x880FFFFF      SDRAM       reserved         1 MB
;   0x88100000      0x8B0FFFFF      SDRAM       NK              48 MB
;   0x8B100000      0x8D0FFFFF      SDRAM       RAM             32 MB
;   0x8D100000      0x8FFFFFFF      SDRAM       RAMFMD          47 MB
; ----------------------------------------------------------------------
;                   Name        Address     Size        Type
                    NK          88100000    03000000    RAMIMAGE
                    RAM         8B100000    02000000    RAM
                    RAMFMD      8D100000    02F00000    RESERVED
ENDIF

IF BSP_POCKETPC !
; --------------------------- RAM image (Windows CE) -------------------
;   Start Addr      End Addr        Mem Type    Region Name     Size
;   0x88000000      0x880FFFFF      SDRAM       reserved         1 MB
;   0x88100000      0x8B0FFFFF      SDRAM       NK              48 MB
;   0x8B100000      0x8FFFFFFF      SDRAM       RAM             79 MB
; ----------------------------------------------------------------------
;                   Name        Address     Size        Type
                    NK          88100000    03000000    RAMIMAGE
                    RAM         8B100000    04F00000    RAM
ENDIF

ENDIF

IF IMGFLASH
; --------------------- FLASH image with EBOOT -------------------------
;   Start Addr      End Addr        Mem Type    Region Name     Size
;   0x80000000      0x8003FFFF      FLASH       resident EBOOT    256 KB
;   0x80040000      0x81FFFFFF      FLASH       NK              31.75 MB
;   0x88000000      0x880FFFFF      SDRAM       reserved            1 MB
;   0x88100000      0x8BFFFFFF      SDRAM       RAM               127 MB
; ----------------------------------------------------------------------
    IF IMGEBOOT
;                   Name        Address     Size        Type
                    NK          80040000    01FC0000    RAMIMAGE
                    RAM         88100000    07F00000    RAM
    ENDIF

; ------------------- FLASH image without EBOOT ------------------------
;   Start Addr      End Addr        Mem Type    Region Name     Size
;   0x80000000      0x81FFFFFF      FLASH       NK                 32 MB
;   0x88000000      0x880FFFFF      SDRAM       reserved            1 MB
;   0x88100000      0x8BFFFFFF      SDRAM       RAM               127 MB
; ----------------------------------------------------------------------
    IF IMGEBOOT !
;                   Name        Address     Size        Type
                    NK          80000000    02000000    RAMIMAGE
                    RAM         88100000    07F00000    RAM
    ENDIF
ENDIF

; @CESYSGEN IF PMC_MODULES_BSP

IF IMGCHECKAPPSIGS !
    ; set this FIXUPVAR to zero to enable DLLs and EXEs to be loaded
    ; from outside of the image without checking the image signature
    gfCheckSignatures   00000000    00000000    FIXUPVAR
ENDIF   ; IMGCHECKAPPSIGS !

    dwProfileBufferMax  00000000  00200000 FIXUPVAR

; @CESYSGEN ENDIF PMC_MODULES_BSP

;**************************** CONFIG SECTION ***************************
CONFIG

; ---------------------- All Image Types Settings ----------------------
;   KERNELFIXUPS = ON (sections to which the kernel can write are 
;                      relocated to the start of RAM)
;   SRE = ON (Romimage.exe produces an .sre file)
; ----------------------------------------------------------------------
    KERNELFIXUPS=ON

; --------------------------- RAM image --------------------------------
;   AUTOSIZE = ON (allows NK and RAM space to resize automatically)
;   ROMSIZE  = 0x04000000 (64 MB)
;   ROMSTART = 0x88000000 (SDRAM virtual address base)
;   ROMWIDTH = 32 (32-bit wide memory, entire image in one file)
;
; Note:  Since we run the bootloader with MMU on, we do not need to
;        adjust virtual addresses back to physical.  If we need
;        to adjust to physical, the calculation would look something
;        like this:
;
;   ROMOFFSET = (SDRAM_PHYSICAL_START - ROMSTART) % 0x100000000
;             = (0xC0000000 - 0x88000000) % 0x100000000 = 0x38000000
; ----------------------------------------------------------------------
IF IMGFLASH !
    AUTOSIZE=ON
    ROMSIZE=04000000
    ROMSTART=88000000
    ROMWIDTH=32

; @CESYSGEN IF PMC_MODULES_BSP
    IF IMGRECOVERY
        ; ROMOFFSET = (FLASH PHYSICAL ADDRESS - NK_PHSYICAL_START) % 0x100000000
        ;           = ( 0x80080000            -  0x88100000      ) % 0x100000000 = 
        ROMOFFSET=F7F80000
    ENDIF
; @CESYSGEN ENDIF PMC_MODULES_BSP

ENDIF

; ------------------- FLASH image with/without EBOOT -------------------
;   ROMSIZE  = 0x02000000 (32 MB)
;   ROMSTART = 0x80000000 (SDRAM base + 2 MB offset for reserved region)
;   ROMWIDTH = 32 (32-bit wide memory, entire image in one file)
;   ROMOFFSET = (FLASH_PHYSICAL_START - ROMSTART) % 0x100000000
;             = (0x80000000 - 0x80000000) % 0x100000000 = 0x00000000
; ----------------------------------------------------------------------
IF IMGFLASH
    ROMSIZE=02000000
    ROMSTART=80000000
    ROMWIDTH=32
    ROMOFFSET=00000000
ENDIF

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


; ---------------------- Profiling-enabled kernel ----------------------
;   PROFILE = ON (includes profiler structure and symbols in image)
; ----------------------------------------------------------------------
IF IMGPROFILER
   PROFILE=ON
ENDIF

; --------------------- Profiling-disabled kernel ----------------------
;   PROFILE = OFF (does not include profiler structure and symbols)
; ----------------------------------------------------------------------
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -