Re: some question about WM5 update loader
- From: "yuanfei.work@xxxxxxxxx" <yuanfei.work@xxxxxxxxx>
- Date: 28 Dec 2006 06:12:47 -0800
Thank for your reply K.S. I had done more debugging, I found that in
call to GlobalMemoryStatus, dwTotalPhys is only 0x01bxxxxx that is only
29M plus.
when I check the makeimg.out I can see start of free RAM is 903xxxxx
and end of RAM is 94000000, so the total ram should be 60M plus
and Oemaddresstable is also mapped in 64M of RAM in space of 90000000
to 94000000
in main os memory.cfg.xml
<ROMIMAGE ID="NK" STORAGE_ID="Flash" ROMFLAGS="2"
FSRAMPERCENT="0x00000004" FREE_SPACE_BUFFER="0x40000"/>
the FSRAMPERCENT is only 0x00000004 so the RAM reserved for filesys
should be only 16K.
Is there anything I missed out, if the 29M is right, where is other
RAM?
K. S. Huang wrote:
Firstly, make sure how large your NK partition.
Since during the update procedure, it will need twice of the size of NK
parition for working and backing up OS Image.
As you know there is a 32MB limitation for every process space, so that if
the NK partition is exceeding 10MB the update could be failure.
The RAMDISK is only for providing a root filesystem in ULDR which will
mount the original Root FS in "OS Root" folder.
In general case, a couple MB of RAMDISK space should be plenty.
While the source code of RAWFS and ROMFILTER is shipped with Magneto AKU, it
could be helpful on debugging.
<yuanfei.work@xxxxxxxxx>
???????:1167296424.213634.142710@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello everyone, I know this may not be the proper place to ask about
WM5, but I already run out of options.
Error during update: Function: NkUpdate::WritePartition, Line: 286,
Hr: 0x80004005, GetLastError: 8
the error shows , it is not enough memory, but I got 60M of RAM ( there
is 10M ramdisk created in it), but still plenty of RAM, I suppose. How
much RAM does this kernel parttion update required?
I can update a normal package, and even bigger than kernel package.
and also. what is the RAMDISK for? Do I need it, if yes, how bigger it
is required?
.
- Follow-Ups:
- Re: some question about WM5 update loader
- From: K. S. Huang
- Re: some question about WM5 update loader
- References:
- some question about WM5 update loader
- From: yuanfei.work@xxxxxxxxx
- Re: some question about WM5 update loader
- From: K. S. Huang
- some question about WM5 update loader
- Prev by Date: Re: activesync connecting...connecting
- Next by Date: Re: custome sdk Message
- Previous by thread: Re: some question about WM5 update loader
- Next by thread: Re: some question about WM5 update loader
- Index(es):
Relevant Pages
|
|