Re: hang up after kernel start

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Just for fun, try to leave the MMU enabled and don't flush anything. That should *not* work, but I'm debugging similar behavior here and I'm just curious if it works for you as well (because for me it does...)

Let me know!

Michel Verhagen, eMVP
Embedded Fusion
www.embeddedfusion.com
mverhagen at embeddedfusion dot com

sathiyakeerthi wrote:
Thanks, Before jump, I disabled the MMU, and I&D caches by the given below steps

mov r1, #0x0078
mcr p15, 0, r1, c1, c0, 0
; Jump to 'PhysicalStart'.
mov pc, r0
nop
nop
nop
nop
PhysicalStart
; Flush the I&D TLBs.
mcr p15, 0, r2, c8, c7, 0 ; Flush the I&D TLBs
; Jump to the physical launch address. This should never return...
mov pc, r3
nop
nop
nop


Here I have enclosed the ce.bib memory and config section

Ce.bib

MEMORY

; Name Start Size Type
; ------- -------- -------- ----
RSVD 80000000 000FF000 RESERVED
ARGS 800FF000 00001000 RESERVED
Display 80100000 00130000 RESERVED
NK 80230000 02870000 RAMIMAGE
RAM 83100000 00F00000 RAM


; Reserve ZBANK virtual block (No physical memory
; is required to back this virtual range).
;
ZBANK 96500000 00100000 RESERVED


CONFIG

AUTOSIZE=ON
KERNELFIXUPS=ON

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

PROFILE=ON

;
; ROMFLAGS is a bitmask of options for the kernel
; ROMFLAGS 0x0001 Disallow Paging
; ROMFLAGS 0x0002 Not all KMode
; ROMFLAGS 0x0010 Trust Module only
;
ROMFLAGS=00




Thanks,
sathiya

--
.



Relevant Pages

  • Re: kernel startup is not being called
    ... Display Driver Initialization Complete ... Reserve ZBANK virtual block (No physical memory ... ; @CESYSGEN ENDIF!NK_NKNOCOMP ... ; ROMFLAGS 0x0001 Disallow Paging ...
    (microsoft.public.windowsce.platbuilder)
  • Re: kernel startup is not being called
    ... We dont use GPIO88 for OC - Disable OC ... Reserve ZBANK virtual block (No physical memory ... ; @CESYSGEN ENDIF!NK_NKNOCOMP ... ; ROMFLAGS 0x0001 Disallow Paging ...
    (microsoft.public.windowsce.platbuilder)
  • Migration BSP for WinCE50 problem
    ... RAM, eboot RAMIMG, nk RAM, nk RAMIMAGE, nk MEMDEFS, ethdbg buffs) ... Reserve ZBANK virtual block (No physical memory ... ; @CESYSGEN ENDIF!NK_NKNOCOMP ... ; ROMFLAGS 0x0001 Disallow Paging ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem in Jumbing to image
    ... First add some additional debug output to your bootloader ... Reserve ZBANK virtual block (No physical memory ... ; @CESYSGEN ENDIF!NK_NKNOCOMP ... ; ROMFLAGS 0x0001 Disallow Paging ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Launch(UINT32 pFunc) function at startup.s
    ... RAM 83100000 00F00000 RAM ... Reserve ZBANK virtual block (No physical memory ... ; @CESYSGEN ENDIF!NK_NKNOCOMP ... ; ROMFLAGS 0x0001 Disallow Paging ...
    (microsoft.public.windowsce.platbuilder)