;
;Copyright (c) David Vescovi. All rights reserved.
;Part of Project DrumStix
;Windows Embedded Developers Interest Group (WE-DIG) community project.
;http://www.we-dig.org
;Copyright (c) Microsoft Corporation. All rights reserved.
;
;******************************************************************************
; TITLE: EBOOT.BIB
;
; Ethernet Boot Loader Source Module
;
; Memory Map
; ----------
;
; 8000.0000 -+
; | Bootloader Stack (64KB)
; 8001.0000 -+
; | GAP (reserved for future)
; 8002.0000 -+
; | Bootloader Code (256KB)
; 8006.0000 -+
; | GAP (reserved for future)
; 800B.0000 -+
; | Bootloader RAM
; 800F.F000 -+
; | ARGS (4KB)
; 8010.0000 -+
; |
; | OS (NK) Code (48MB)
; |
; 8310.0000 -+ **auto-size**
; |
; | OS (NK) RAM (15MB)
; |
; 8400.0000 -+
;
;******************************************************************************
MEMORY
; Name Start Size Type
; ------- -------- -------- ----
STACK 80000000 00010000 RESERVED
RSVD1 80010000 00010000 RESERVED
IF IMGFLASH
EBOOT 80020000 00040000 RAMIMAGE
ELSE
EBOOT 81000000 00040000 RAMIMAGE
ENDIF
RSVD2 80060000 00050000 RESERVED
RAM 800B0000 0004F000 RAM
ARGS 800FF000 00001000 RESERVED
CONFIG
AUTOSIZE=OFF
COMPRESSION=OFF
PROFILE=OFF
KERNELFIXUPS=ON
IF IMGFLASH
; The bootloader is fixed up to run from RAM, but is stored in flash. ROMOFFSET
; adjusts the .bin file record headers so that they lie in flash (this tells the
; bootloader already on the device to store the image in flash).
; This number is calculated from EBOOT start and the virtual noncashed address of
; EBOOT in FLASH
; downloadable via eboot itself
ROMOFFSET=3C9E0000
; u-boot sre org at zero
; ROMOFFSET=7FFE0000
ROMSTART=80020000
ELSE
;debug RAM based version
ROMOFFSET=20000000
ROMSTART=81000000
ENDIF
ROMWIDTH=32
ROMSIZE=00040000
SRE=ON
MODULES
; Name Path Memory Type
; ------ ---------------------------------------------- -----------
nk.exe $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\eboot.exe EBOOT