Hello everyone!
I'm currently in progress of startuping wince nk on a custom board created by my company. but starting now, wo meet encountered problem -- after runing eboot ,but it do't jump to the kenerlstart!
about this problem , my setting follow as these;
image_cfg.h:
#define DEVICE_RAMA_PA OMAPL13X_EMIFB_BASE_PA
#define DEVICE_RAMA_SIZE 0x08000000
//------------------------------------------------------------------------------
// // Define: IMAGE_SHARE_ARGS_xxx
// // Following constants define location and maximal size of arguments shared
// between loader and kernel. For actual structure see args.h file.
//
#define IMAGE_SHARE_ARGS_PA 0xC3FFF800 // Match 'ARGS' in eboot.bib
#define IMAGE_SHARE_ARGS_SIZE 0x00000800 // Match 'ARGS' in eboot.bib
#define IMAGE_SHARE_KITL_EMAC_BUF_PA 0xC3F3F800 // Match 'EMACBUF' in eboot.bib
#define IMAGE_SHARE_KITL_EMAC_BUF_SIZE 0x00006000 // Match 'EMACBUF' in eboot.bib
#define IMAGE_SHARE_NDIS_EMAC_BUF_PA 0xC3F3F800 // Match 'EMACBUF' in config.bib
#define IMAGE_SHARE_NDIS_EMAC_BUF_SIZE 0x000C0000 // Match 'EMACBUF' in config.bib
//------------------------------------------------------------------------------
//
// Define: IMAGE_WINCE_xxx
//
// Following constants define Windows CE OS image layout.
//
#define IMAGE_WINCE_CODE_PA 0xC0000000 // Match 'NK' in config.bib
#define IMAGE_WINCE_CODE_SIZE 0x02000000 // Match 'NK' in config.bib
#define IMAGE_WINCE_DATA_PA 0xC2000000 // Match 'RAM' in config.bib
#define IMAGE_WINCE_DATA_SIZE 0x0193F800 // Match 'RAM' in config.bib
#define IMAGE_WINCE_DISPLAY_PA 0xC393F800 // Match 'DISPLAY' in config.bib
#define IMAGE_WINCE_DISPLAY_SIZE 0x00600000 // Match 'DISPLAY' in config.bib
#define IMAGE_WINCE_EXTENSIONRAM_PA 0xC4000000 // Match 'EXTENSIONRAM' in config.bib
#define IMAGE_WINCE_EXTENSIONRAM_SIZE 0x04000000 // Match 'EXTENSIONRAM' in config.bib
//------------------------------------------------------------------------------
//
// Define: IMAGE_EBOOT_xxx
//
// Following constants define EBOOT image layout.
//
#define IMAGE_EBOOT_CODE_PA 0xC7F60000 // Match 'EBOOT' in eboot.bib
#define IMAGE_EBOOT_CODE_SIZE 0x00040000 // Match 'EBOOT' in eboot.bib
#define IMAGE_EBOOT_DATA_PA 0xC7FA0000 // Match 'RAM' in eboot.bib
#define IMAGE_EBOOT_DATA_SIZE 0x00040000 // Match 'RAM' in eboot.bib
#define IMAGE_EBOOT_STACK_PA 0xC7FE0000 // Match 'STACK' in eboot.bib
#define IMAGE_EBOOT_STACK_SIZE 0x00020000 // Match 'STACK' in eboot.bib
addrtab_cfg.inc
g_oalAddressTable
DCD 0x80000000, 0xC0000000, 128 ; DDR2 (128MB)
DCD 0x90000000, 0x01800000, 8 ; SoC Peripherals
DCD 0x90800000, 0xB0000000, 1 ; DDR registers
DCD 0x91100000, 0xFFFEE000, 1 ; AINTC registers
DCD 0x91200000, 0x60000000, 32 ; EMIFA CS2 (NOR flash)
DCD 0x93200000, 0x80000000, 1 ; 128K shared RAM (on-chip)
DCD 0x00000000, 0x00000000, 0 ; End of Table.
config.bib
MEMORY
NK 80000000 02000000 RAMIMAGE
RAM 82000000 0173F800 RAM
DISPLAY 8373F800 00600000 RESERVED
EMACBUF 83D3F800 000C0000 RESERVED
ARGS 83DFF800 00000800 RESERVED
IF BSP_64MB_DDR
#if defined BSP_DSPLINK
DSPLINK 83E00000 00200000 RESERVED
EXTENSIONRAM 84000000 00000000 RESERVED
#else
EXTENSIONRAM 83E00000 00200000 RESERVED
#endif
ELSE
#if defined BSP_DSPLINK
DSPLINK 83E00000 00200000 RESERVED
EXTENSIONRAM 84000000 04000000 RESERVED
#else
EXTENSIONRAM 83E00000 04200000 RESERVED
#endif
ENDIF
;
; This fix-up variable determines the amount of memory the BSP
; reserves for Watson dump capture. The current default behavior is
; to default to zero unless the image has SYSGEN_WATSON_DMPGEN
; defined. The default size is 300KiB.
;
; If WATSONBUFFERSIZE is defined, use its value. Otherwise use 300KiB.
;
; @CESYSGEN IF CE_MODULES_OSAXST0
#if $(WATSONBUFFERSIZE)!=$()
nk.exe:dwOEMDrWatsonSize 00000000 $(WATSONBUFFERSIZE) FIXUPVAR
#else
nk.exe:dwOEMDrWatsonSize 00000000 0x4B000 FIXUPVAR
#endif
; @CESYSGEN ENDIF
;-------------------------------------------------------------------------------
CONFIG
; @CESYSGEN IF !NK_NKNOCOMP
COMPRESSION=ON
; @CESYSGEN ENDIF !NK_NKNOCOMP
; @CESYSGEN IF NK_NKNOCOMP
COMPRESSION=OFF
; @CESYSGEN ENDIF NK_NKNOCOMP
KERNELFIXUPS=ON
AUTOSIZE=ON
IF IMGFLASHNB
ROMSTART=80000000
ROMWIDTH=32
ROMSIZE=2000000
ENDIF
IF IMGPROFILER
PROFILE=ON
ELSE
PROFILE=OFF
ENDIF
;IF IMGFLASH
; ROMOFFSET=8C000000
;ENDIF
IF IMGTRUSTROMONLY
ROMFLAGS=10
ELSE
ROMFLAGS=00
ENDIF
FSRAMPERCENT=0x30303030
ebootnandflash.bib
MEMORY
; Name Start Size Type
; ------- -------- -------- ----
IF BSP_64MB_DDR
EBOOTNANDFLASH C3F60000 00040000 RAMIMAGE
RAM C3FA0000 00040000 RAM
STACK C3FE0000 00020000 RESERVED
ELSE
EBOOTNANDFLASH C7F60000 00040000 RAMIMAGE
RAM C7FA0000 00040000 RAM
STACK C7FE0000 00020000 RESERVED
ENDIF
ARGS C3DFF800 00000800 RESERVED
EMACBUF C3D3F800 000C0000 RESERVED ; EMAC buffer space
CONFIG
COMPRESSION = OFF
PROFILE = OFF
KERNELFIXUPS = ON
SRE = ON
ROMFLAGS = 0
ROMOFFSET = 0
IF BSP_64MB_DDR
ROMSTART = C3F60000
ELSE
ROMSTART = C7F60000
ENDIF
ROMWIDTH = 32
ROMSIZE = 00040000
MODULES
; Name Path Memory Type
; ----------- ------------------------------------------------------------------ -----------
nk.exe $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\ebootnandflash.exe EBOOTNANDFLASH
regards
thanks in advance!