Re: hang up after kernel start
- From: "Michel Verhagen (eMVP)" <mverhagen@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 08 Jun 2006 15:21:26 +1200
Did you disable the MMU in the bootloader before jumping to CE? Is all KMode set? Better to show us your sysgen'ed ce.bib memory and config section so we know what's actually been set.
BTW: Any specific reason why you leave a gap between space for NK and RAM (iow, why not set the NK length to 2ED0000 or lower the RAM start address and increasing the RAM length)?
Regards,
Michel Verhagen, eMVP
Embedded Fusion
www.embeddedfusion.com
mverhagen at embeddedfusion dot com
sathiyakeerthi wrote:
HI,
I am working with Wince5.0 in Pxa270.
Hyperteminal output
...
OEMPreDownload completed...
1.DownloadImagegive the OEM a chance to verify memory
****** OEMVerifyMemory checking physical range [ 0xA0230000 ==> 0xA0A03227 ]...
****** RAM address ******
check for flash image. Start erasing if it is.
OEMStartEraseFlash: called
end.
rom_offset=0x0.
OEMContinueEraseFlash: called
OEMWriteFlash: called
INFO: FlashWrite: flash programmed successfully!
DownloadImage completed
ROMHDR at Address 80230044h
INFO: FlashWrite: flash programmed successfully!
Download successful! Jumping to image at 0x80231000 (physical 0xA0231000)...
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
here hang up<<<<<<<<<<<
The boot loader successfully jumps to correct physical launch address. After Jump to the physical launch address, LED can glow before the kernelstart call. i think that Some where hang up in the kernelstart. Please give me a guidance to solve this problem and how to debug the kernelstart functions.
here i have enclosed startup.s, config.bib, oaladdress table.
Startup.s
bl PreInit
tst r10, #RCSR_HARD_RESET
beq OALStartUp
ALIGN
LEAF_ENTRY OALStartUp
add r0, pc, #g_oalAddressTable - (. + 8)
mov r11, r0
>>>> LED glow at this place<<<<<<<<
b KernelStart
nop
nop
nop
nop
nop
nop
config.bib
MEMORY
IF IMGFLASH!
; Name Start Size Type
; ------- -------- -------- ----
RSVD 80000000 000FF000 RESERVED
ARGS 800FF000 00001000 RESERVED
Display 80100000 00130000 RESERVED
NK 80230000 02870000 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
AUTOSIZE=ON
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
g_oalAddressTable
DCD 0x80000000, 0xA0000000, 64 ; SANDGATEII: SDRAM (64MB).
DCD 0x84000000, 0x5C000000, 1 ; BULVERDE: Internal SRAM (64KB bank 0).
DCD 0x84100000, 0x58000000, 1 ; BULVERDE: Internal memory PM registers.
DCD 0x84200000, 0x4C000000, 1 ; BULVERDE: USB host controller.
DCD 0x84300000, 0x48000000, 1 ; BULVERDE: Memory controller.
DCD 0x84400000, 0x44000000, 1 ; BULVERDE: LCD controller.
DCD 0x84500000, 0x40000000, 32 ; BULVERDE: Memory-mapped registers (peripherals).
DCD 0x88500000, 0x0C000000, 1 ; SANDGATEII: nCS3: SMSC 91C111 Ethernet controller.
DCD 0x88600000, 0x04000000, 32 ; SANDGATEII: nCS1: Secondary flash (32MB).
DCD 0x8A600000, 0x00000000, 1 ; SANDGATEII: nCS0: Boot Flash (64MB).
DCD 0x00000000, 0x00000000, 0 ; end of table
;------------------------------------------------------------------------------
END
thanks,
sathiya
--
.
- Follow-Ups:
- Re: hang up after kernel start
- From: sathiyakeerthi
- Re: hang up after kernel start
- References:
- hang up after kernel start
- From: sathiyakeerthi
- hang up after kernel start
- Prev by Date: Re: USB flash disk
- Next by Date: Re: Filesys failed to initialize registry dirty, trying clean...
- Previous by thread: hang up after kernel start
- Next by thread: Re: hang up after kernel start
- Index(es):
Relevant Pages
|