Re: Help! kernel cannot startup with mainstone III
- From: Kelvin Leung <KelvinLeung@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 15 May 2007 01:19:00 -0700
Hi Blake,
Thanks a lot of your help. Your suggestion seems solve the problem (There is
still no problem until now).
However, your code do not work with my DOC (disk on chip). It stucks with
the following code below:
Press [ENTER] to launch image stored in flash or [SPACE] to cancel.
Initiating image launch in 0 seconds. DiskOnChip Initialization Done...
PartitionSize (Hex): 2400000
RealPartitionSize (Hex): 2000000
UnitSize (Hex): 40000
Loading... Please wait...
System ready!
Preparing for download...
INFO: Using device name: 'MAINSTN52394'
Download successful! Jumping to image at 0x80300000 (physical 0xA0300000)...
How can I solve the boot up with DOC? since my software skill is not so
good.....
Thanks a lot.
Regards,
"Blake" wrote:
Hi Kelvin,.
Try to clean memory first in the bootloader because your memory may still
keep some data when you turn on/off the machine quickly.
I put the code for your reference.
void OEMLaunch(DWORD dwImageStart, DWORD dwImageLength, DWORD dwLaunchAddr,
const ROMHDR *pRomHdr)
{
.............
// Wait for PB connection...
//
if (g_DownloadImage)
{
................
}
// Clean Boot : Clean RAM space
memset((LPVOID)pRomHdr->ulRAMStart, 0, pRomHdr->ulRAMEnd -
pRomHdr->ulRAMStart);
..............
SpinForever();
}
--
I hope it is useful ^_^
Best Regards,
Blake Chang
"Kelvin Leung" <KelvinLeung@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7389B1FB-8AC1-415A-A65B-B65B8B8037C5@xxxxxxxxxxxxxxxx
Hi all,
I have a urgent problem with my mainstone III board that I cannot startup
Windows CE 5.0 after download NK.bin through Ethernet.
The message is shown on the hyperterminal in startup:
****** OEMVerifyMemory checking physical range [ 0xA0300000 ==> 0xA1A25FFF
]...
****** RAM address ******
rom_offset=0x0.
ROMHDR at Address 80300044h
Download successful! Jumping to image at 0x80301000 (physical
0xA0301000)...
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
Windows 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 =
8030699c
XSCDBG:Trace initialized: CFG:81a50d0c Buffer: 81a4f7f8, 14f0
Sp=ffffc7cc
After Sp=ffffc7cc, the startup procedure stops. What is my problem with my
image??
Thanks a lot of your help.
Regards,
- Follow-Ups:
- References:
- Prev by Date: Re: Why my sd card read/write speed is so slow?
- Next by Date: Re: SNTP does not sync continuously
- Previous by thread: Re: Help! kernel cannot startup with mainstone III
- Next by thread: Re: Help! kernel cannot startup with mainstone III
- Index(es):
Relevant Pages
|