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

📄 xldr.bib

📁 i.Mx31 bootloader(for WinCE6.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.
;
;******************************************************************************
MEMORY

;   Name     Start     Size      Type
;   -------  --------  --------  ----
;   
    XLDR     00000000  00001800  RAMIMAGE   ; 6K (4K for extra romimage page + 2K actual XLDR code. Comments below)
    RAM      00001800  0003E000  RAM        ; romimage wants a RAM section even though we will not use it
                                            ; just specify 256K

CONFIG

    AUTOSIZE=OFF
    COMPRESSION=OFF
    PROFILE=OFF
    KERNELFIXUPS=ON

    ;ROM* creates xldr.nb0 file
    ;Notes:
    ; 1) romimage always adds a 4K page to the beginning of file. To get rid of this 4K page
    ;    we'll specify additional 4K space for RAMIMAGE (above) and then cut it off from
    ;    xldr.nb0 by specifying romstart at an offset of 4k.
    ; 2) since RAMIMAGE compiles with range 0x0->0x01800 and we chop off first 4K,
    ;    and flash the remaining 2K at 0x00 on flash; it means we can't have
    ;    absolute addressing in XLDR code. Only relative addresses should be used.
    ; 2) if xldr.nb1 is generated you can safely ignore it if it contains only
    ;    pTOC and other debugging data since we don't need them. Look at the generated
    ;    file xldr.map to make sure that your code does not overflow beyond 2k boundary.
    ;
    ROMSTART=00001000       ; chop off first 4K specified in RAMIMAGE above.
    ROMWIDTH=32
    ROMSIZE=00000800        ; XLDR is 2KB.


    ; ROMOFFSET adjusts the .bin file record headers to that they lie in flash 
    ; (this tells the bootloader already on the device to store the image in flash).
    ;
    ; 00000000 + AA70000 = AA700000 (virtual cached) = 00000000 (physical)
    ; (starting address of bootloader in flash as defined in image_cfg.h)
    ;
    ROMOFFSET=0x97200000

MODULES

;   Name    Path                                                            Memory Type
;   ------  ----------------------------------------------                  -----------
    nk.exe  $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\xldr.exe     XLDR

⌨️ 快捷键说明

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