Re: kernel startup is not being called by Bruce
Bruce
Tue Oct 31 14:58:58 CST 2006
So you have an nk.bin, but no workspace. How did you get to this point?
Sounds like you have a board from a vendor, do you have a BSP for it?
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"mahi" <mahi@discussions.microsoft.com> wrote in message
news:F3B68DB6-8460-4640-87CD-DE03F0DFA651@microsoft.com...
> Hai,
> I have one nk.bin.If i use that one the image is loading.But i dont
> have workspace for that.
>
> In the hyperterminal the debug statements are
>
> Completed Update CE image in Flash -- Lauch At:0x80100000 RomAddr:0x80000
> OffsetWindows CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at
> 18:25:00
> ProcessorType=0411 Revision=4
> sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
> 80101030
> Enter OEMInit
> Platform : TrakPod
> Platform Info : Prolificx TrakPod
> Platform Version : 00.01.0014
> Kernel built : Ot1 05Kernel built : %s %s
> 1:11
>
> CTelepod5OAL::InitGPIOs()
> Enable Backup Battery
> CTelepod5OAL::CTelepod5OAL() - Enabling GPIO0 Interrupt for FPGA
> Turning Modem ON
> Enable 10V Supply
> Enable OBD-II
> Enable External I2C Bus
> +OEMKitlInit
> No Kitl Device Been Found!
> KITL Initialization Failed, No debugging support available
> OEMGetExtensionDRAM() 32MB Image build - detecting if we are running on
> 64MB
> board
>
> Sp=ffffc7cc
> PSMFSD:DLL Process Attach
> MAX1139_Init
> Failed to write to I2C Switch
> Failed to read from I2C Switch
> MAX1139_Init Completed
> MAX1139_Init Power Battery:13288
> COM1 Can not be enabled as the debugger is using this port!!
> OEMInterruptEnable: SysIntr:0x22 IRQ:0x15
> OEMInterruptEnable: SysIntr:0x19 IRQ:0x14
> ConfigureAC97Control() - OK
> OEMInterruptEnable: SysIntr:0x14 IRQ:0x19
> VBridge:: VB_INITIALIZED returns [0]
>
> HCI_OpenConnection - Started
> SMSC LAN91C111 WindowsCE.NET 4.1 (NDIS5.0) Driver V2.0 Build#1040803
> LAN91C111 -> BSP Dependent code in driver, also VM is not mapped
> Using Silicon Serial Chip MAC Addresss
> RESET
> Opening port COM7: (rate 115200) for I/O with unit
> OEMInterruptEnable: SysIntr:0x22 IRQ:0x15
> OEMInterruptEnable: SysIntr:0x22 IRQ:0x15
> HCI_OpenConnection - Successful
> OEMInterruptEnable: SysIntr:0x1a IRQ:0x50
> CPXAPCCtrl::Init() pin:48
> CPXAPCCtrl::Init() pin:49
> CPXAPCCtrl::Init() pin:50
> CPXAPCCtrl::Init() pin:51
> CPXAPCCtrl::Init() pin:52
> CPXAPCCtrl::Init() pin:53
> CPXAPCCtrl::Init() pin:54
> CPXAPCCtrl::Init() pin:55
> OEMInterruptEnable: SysIntr:0x10 IRQ:0x51
> CPXAPCCtrl::Init() pin:48
> CPXAPCCtrl::Init() pin:49
> CPXAPCCtrl::Init() pin:50
> CPXAPCCtrl::Init() pin:51
> CPXAPCCtrl::Init() pin:52
> CPXAPCCtrl::Init() pin:53
> CPXAPCCtrl::Init() pin:54
> CPXAPCCtrl::Init() pin:55
> OEMInterruptEnable: SysIntr:0x11 IRQ:0x53
> OEMInterruptEnable: SysIntr:0x12 IRQ:0x17
> OEMInterruptEnable: SysIntr:0x15 IRQ:0x20
> SYS process attach
> SYSSTAT --> Init(0x602ed68)
> We dont use GPIO88 for OC - Disable OC
> Data Abort: Thread=83d796a4 Proc=811bc440 'device.exe'
> AKY=00000005 PC=02cc2030(sdhc_trakpod.dll+0x00002030)
> RA=02cc202c(sdhc_trakpod.dll+0x0000202c) BVA=06000010 FSR=00000007
> OEMInterruptEnable: SysIntr:0x1c IRQ:0x3
> OEMInterruptEnable: SysIntr:0x1e IRQ:0xb
> IOCTL_HAL_DISABLE_WAKE
> OALDisableWakeupSource( 30 )
> CFSOncore::CFSOncore
> OEMInterruptEnable: SysIntr:0x19 IRQ:0x14
> OEMInterruptEnable: SysIntr:0x19 IRQ:0x14
> OEMInterruptEnable: SysIntr:0x1f IRQ:0x42
> OEMInterruptEnable: SysIntr:0x1f IRQ:0x42
> OEMInterruptEnable: SysIntr:0x24 IRQ:0x43
> OEMInterruptEnable: SysIntr:0x24 IRQ:0x43
> OEMInterruptEnable: SysIntr:0x25 IRQ:0x44
> OEMInterruptEnable: SysIntr:0x19 IRQ:0x14
> OEMInterruptEnable: SysIntr:0x25 IRQ:0x44
> Done getting Registry values:
> bpp: 0x10
> CxScreen: 0x280
> CyScreen: 0x1e0
> Display Type: VGA_640X480X60
> VGA 640x480 16bit ~60Hz Display
> LCLK = 10400
> PCD = 3
> TFP410 -> Enable LCD 5v Power
>
> Display Driver Initialization Complete
> Display Driver Initialization Complete
> OEMInterruptEnable: SysIntr:0x19 IRQ:0x14
>
> For this image every thing is ok .But i want to include some catalog items
> .so i created new image.But this new image is not loaded(as i told the
> system
> is hanging after Lauch At:0x80100000 RomAddr:0x80000 offset 0xc!!! ).Means
> from my understanding the launch address for both images are same.But i
> dont
> know where i did mistake.
> My config.bib is
> ;
> ; Copyright (c) Microsoft Corporation. All rights reserved.
> ;
> ;
> ; Use of this source code is subject to the terms of the Microsoft
> end-user
> ; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
> ; If you did not accept the terms of the EULA, you are not authorized to
> use
> ; this source code. For a copy of the EULA, please see the LICENSE.RTF on
> your
> ; install media.
> ;
> ; Memory Map
> ; ----------
> ;
> ; 8000.0000 -+
> ; | Bootloader Stack (64KB)
> ; 8001.0000 -+
> ; | Bootloader RAM (64KB)
> ; 8002.0000 -+
> ; | Bootloader Code (256KB)
> ; 8006.0000 -+
> ; | GAP (reserved for future)
> ; 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
> ; ------- -------- -------- ----
> RSVD 80000000 000FF000 RESERVED
> ARGS 800FF000 00001000 RESERVED
> NK 80100000 03000000 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
> 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
>
> pls guide me..