Re: some question about WM5 update loader



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?


.



Relevant Pages

  • Re: some question about WM5 update loader
    ... make sure how large your NK partition. ... The RAMDISK is only for providing a root filesystem in ULDR which will ... a couple MB of RAMDISK space should be plenty. ... is 10M ramdisk created in it), but still plenty of RAM, I suppose. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix v2
    ... use find_e820_area to find addess for new RAMDISK, ... panic if can not find space for new RAMDISK ... Reserving virtual address space above 0xf57fe000 ... Scan SMP from c0000000 for 1024 bytes. ...
    (Linux-Kernel)
  • Re: GraphicRAM als Partition oder Hauptspeicher?
    ... auf die Ramdisk zu kopieren und dort zu starten. ... Festplatten sind riesig und sehr schnell. ... wesentliche Unterschied ist das intelligente Caching ... Mit einer Ramdisk limitiert man den für Caching nutzbaren RAM, ...
    (de.comp.hardware.graphik)
  • Re: another error with md malloc based fs
    ... fully in ram. ... > i have 1,6 Gigs free Memory, and i say ok get me 750Megs from ... swappable, or a kernel-memory-based RAMdisk, which uses wired-down ... memory from within the kernel. ...
    (freebsd-stable)
  • Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix v2
    ... use find_e820_area to find addess for new RAMDISK, ... panic if can not find space for new RAMDISK ... Reserving virtual address space above 0xf57fe000 ... Scan SMP from c0000000 for 1024 bytes. ...
    (Linux-Kernel)