Hello,
I am working in Pxa270 with Wince5.0. After download the Nk.bin in Sdram,it
cant jumb to image. i am getting the given below in my hyperterminal.

ROMHDR at Address 80100044h
Download successful!
Jumping to image at 0x80101000 (physical 0xA0101000)...
!OEMEthGetFrame
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x0000000F

>>here stoped(nothing happend after this)<<<


is it kernel initialization problem? if it is, please let me know the
possibilities to solve this problem. Do i need any modification in
config.bib? please help me .

here i have given config.bib and oemaddress table.
config.bib
-----------
MEMORY

IF IMGFLASH!

; Name Start Size Type
; ------- -------- -------- ----
RSVD 80000000 000FF000 RESERVED
ARGS 800FF000 00001000 RESERVED
NK 80100000 03000000 RAMIMAGE
RAM 83100000 00F00000 RAM
ENDIF

IF IMGFLASH

RSVD 80000000 000FF000 RESERVED
ARGS 800FF000 00001000 RESERVED
NK 86600000 03000000 RAMIMAGE
RAM 80100000 03F00000 RAM
ENDIF
; Reserve ZBANK virtual block (No physical memory
; is required to back this virtual range).
;
ZBANK 96500000 00100000 RESERVED


CONFIG

IF IMGFLASH !
AUTOSIZE=ON
ENDIF

KERNELFIXUPS=ON

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

IF IMGPROFILER
PROFILE=ON
ELSE
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
ELSE
ROMFLAGS=10
ENDIF
ELSE
IF IMGNOTALLKMODE
ROMFLAGS=02
ELSE
ROMFLAGS=00
ENDIF
ENDIF

g_oalAddressTable
-------------------------
DCD 0x80000000, 0xA0000000, 64 ; SANDGATEII: SDRAM (64MB).
DCD 0x84000000, 0x5C000000, 1 ; InternalSRAM
DCD 0x84100000, 0x58000000, 1 ; Internal memory PM
registers.
DCD 0x84200000, 0x4C000000, 1 ; USB host controller.
DCD 0x84300000, 0x48000000, 1 ; Memory controller.
DCD 0x84400000, 0x44000000, 1 ; LCD controller.
DCD 0x84500000, 0x40000000, 32 ; Memory-mapped registers
DCD 0x88500000, 0x0C000000, 1 ; SANDGATEII: Ethernet
controller.
DCD 0x88600000, 0x04000000, 32 ; Secondary flash (32MB).
DCD 0x8A600000, 0x00000000, 1 ; nCS0: Boot Flash (64MB).
DCD 0x00000000, 0x00000000, 0 ; end of table




thanks,
sakthi

Re: Problem in Jumbing to image by Voidcoder

Voidcoder
Thu Mar 09 03:15:01 CST 2006

First add some additional debug output to your bootloader
to verify if it really jumps to the OS image entry point.

Next verify that it reaches the OS entry. Find
StartUp function in your OAL sources, must be
somewhere in the *.S file. The way you will check
it is just your capabilities and imagination. You can debug
it using a h/w debugger, print something to UART, blick a led,
toggle a GPIO pin or whatever you want. Here you probably
will find some low-level init like memory controller configuration,
IO configuration, core clock and power configuration,
etc. Double check all the startup stuff and your OEMAddressTable
as may be something is wrong here.

Next, when the controll is passed to KernelStart, the kernel
will perform some additional startup actions (eg. setup the MMU
using the information from your OEMAddressAtble) and then
the controll is passed to your OEMInit function. So put again
some debug printing in there to see if you reach this place.



"sathiyakeerthi" <sathiyakeerthi@discussions.microsoft.com> wrote in message
news:1D27F456-D3F3-47F0-A6E3-A44E8CCE1E97@microsoft.com...
> Hello,
> I am working in Pxa270 with Wince5.0. After download the Nk.bin in Sdram,it
> cant jumb to image. i am getting the given below in my hyperterminal.
>
> ROMHDR at Address 80100044h
> Download successful!
> Jumping to image at 0x80101000 (physical 0xA0101000)...
> !OEMEthGetFrame
> Got EDBG_CMD_JUMPIMG
> Got EDBG_CMD_CONFIG, flags:0x0000000F
>
>>>here stoped(nothing happend after this)<<<
>
>
> is it kernel initialization problem? if it is, please let me know the
> possibilities to solve this problem. Do i need any modification in
> config.bib? please help me .
>
> here i have given config.bib and oemaddress table.
> config.bib
> -----------
> MEMORY
>
> IF IMGFLASH!
>
> ; Name Start Size Type
> ; ------- -------- -------- ----
> RSVD 80000000 000FF000 RESERVED
> ARGS 800FF000 00001000 RESERVED
> NK 80100000 03000000 RAMIMAGE
> RAM 83100000 00F00000 RAM
> ENDIF
>
> IF IMGFLASH
>
> RSVD 80000000 000FF000 RESERVED
> ARGS 800FF000 00001000 RESERVED
> NK 86600000 03000000 RAMIMAGE
> RAM 80100000 03F00000 RAM
> ENDIF
> ; Reserve ZBANK virtual block (No physical memory
> ; is required to back this virtual range).
> ;
> ZBANK 96500000 00100000 RESERVED
>
>
> CONFIG
>
> IF IMGFLASH !
> AUTOSIZE=ON
> ENDIF
>
> KERNELFIXUPS=ON
>
> ; @CESYSGEN IF !NK_NKNOCOMP
> COMPRESSION=ON
> ; @CESYSGEN ENDIF !NK_NKNOCOMP
> ; @CESYSGEN IF NK_NKNOCOMP
> COMPRESSION=OFF
> ; @CESYSGEN ENDIF NK_NKNOCOMP
>
> IF IMGPROFILER
> PROFILE=ON
> ELSE
> 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
> ELSE
> ROMFLAGS=10
> ENDIF
> ELSE
> IF IMGNOTALLKMODE
> ROMFLAGS=02
> ELSE
> ROMFLAGS=00
> ENDIF
> ENDIF
>
> g_oalAddressTable
> -------------------------
> DCD 0x80000000, 0xA0000000, 64 ; SANDGATEII: SDRAM (64MB).
> DCD 0x84000000, 0x5C000000, 1 ; InternalSRAM
> DCD 0x84100000, 0x58000000, 1 ; Internal memory PM
> registers.
> DCD 0x84200000, 0x4C000000, 1 ; USB host controller.
> DCD 0x84300000, 0x48000000, 1 ; Memory controller.
> DCD 0x84400000, 0x44000000, 1 ; LCD controller.
> DCD 0x84500000, 0x40000000, 32 ; Memory-mapped registers
> DCD 0x88500000, 0x0C000000, 1 ; SANDGATEII: Ethernet
> controller.
> DCD 0x88600000, 0x04000000, 32 ; Secondary flash (32MB).
> DCD 0x8A600000, 0x00000000, 1 ; nCS0: Boot Flash (64MB).
> DCD 0x00000000, 0x00000000, 0 ; end of table
>
>
>
>
> thanks,
> sakthi