Re: How to Add RAM File System



Hi ed jaeger,
I think I faced the same problem as you. I could not use command line
"build -c" to build "ramdisk.dll" but only ramdisk_lib.lib using WM5 AKU2.
I checked the sources file, and found a macro "DOSYSGEN=1" defined in the
file. To get the target file is ramdisk.dll, I remove the macro, however the
building process failed, and the error message appeared as below:"BUILD:
[01:0000000056:ERRORE] NMAKE : U1073: don't know how to make
'C:\WM525\public\common\sdk\lib\ARMV4I\debug\coredll.lib'"

Could any body give me some ideas? thanks!
ricky


"ed jaeger" 來函:

Sorry for the mistake. I WAS able to execute the loader, and it registers
the ramdisk (I see it using the remote registry). Now, onto the next step,
writing a program to load the dll and create a disk. Does anyone have any
sample code they would be willing to share?

"Paul G. Tobey [eMVP]" wrote:

You can't *execute* it? Sounds like you built it for the wrong processor or
something. You'll have to be more specific...

Paul T.

"ed jaeger" <edjaeger@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:52CC37EC-9385-4C1E-BD78-8CEAC0037C4E@xxxxxxxxxxxxxxxx
Paul --

Thanks for the information, but this is for testing purposes only. We
have
an application that runs on Windows Mobile 2003, and uses third party
software that utilizes temporary file storage while processing. When we
port
to Windows Mobile 5.0, the application slows down, and eventually crashes
which we suspect is due to the persistent store of files in Windows Mobile
5.0, and the operation of the compaction thread as explained in the
following
link (search for filesys.exe to get to the right spot).

http://blogs.msdn.com/windowsmobile/

The quickest way for us to test this theory by setting up a RAMDISK, and
pointing our third party software there, so that it can thrash away at
memory. Our long term solution is to get them to modify their software to
use RAM, or to get our PPC vendor to include a RAMDISK in their WM50
offering.

That said, I have successfully built ramdisk.dll, and have created
ceramdrv.exe, but am unable to execute ceramdrv.exe on my device. Any
thoughts?


"Paul G. Tobey [eMVP]" wrote:

You are *not* permitted by your Platform Builder license to redistribute
a
RAM disk build as part of a Windows CE configuration. This would be an
*illegal* use of PB/Windows CE! If you need a commercial and
redistributable RAM disk to run on top of Windows CE, you'll need to find
another source.

Paul T.

"ed jaeger" <ed jaeger@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AFA4BFD9-B20C-415F-A71A-BEE75F657015@xxxxxxxxxxxxxxxx
Thank you all for this informative posting. I am also trying to get a
RAMDISK to use in my Windows Mobil application. I have a 120 day trial
version of the Windows CE 5.0 platform builder, and built a
representative
version of the WM5.0 OS I am using. I dragged and dropped the RAM and
ROM
File System into my catalog, as noted in this thread. I checked that
all
of
the dependencies it requires are set, and I re-built (build and Sysgen)
the
OS. I see that the RAMDISK library files (ramdisk_lib) were re-built
in
the
directory C:\WINCE500\PUBLIC\COMMON\OAK\LIB\ARMV4I\RETAIL, but I don't
have a
RAMDISK.DLL anywhere??? Is there something I am missing?

Thanks for any help.


"Dean Ramsier" wrote:

You most likely don't want BINFS (which is the Binary Rom Image File
System
component you described). This is a specific file system that is used
to
page the operating system from a block device. It might automatically
include components from the RAM Disk block driver since it is probably
tested with that, but is otherwise completely unrelated.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"gd.shukla" <gdshukla@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7BAA766E-F7BC-4B7C-976F-64F0C2411890@xxxxxxxxxxxxxxxx
Hi

I have successfully added ramdisk into win ce. I needed to add the
"Binary
Rom Image File System" component. Also there is ceramdrv maned
folder
below
ramdisk. If added as an application, upon execution, it also creates
a
ramdisk.
Thanks everyone.
--
GD Shukla


"gd.shukla" wrote:

Hi
Actually, I wanted to ask about the RAMDisk only. I have added
thesysgen
variable, SYSGEN_RAMDISK, and also included the ramdisk.dll into my
nk.bin
along with the registry entries. But Windows CE doesnot mount the
ramdisk
on
startup although i've given in the registry as autoload. In the
storage
manager controlpanel applet, it also lets me format the ramdisk and
mount
it,
but still it does not appear in the folder list under "my device".

Actually my main problem is that I have strataflash which works
fine
but
when it gets full, it doesn't let me delete any files and becomes
almost
unusable. I have to reformat it to use it but that deletes all the
files
present. I wanted ramdisk just to check if this is a problem with
the
file
system or my flash only. Other than that my flash driver works
fine.
Would
you please help me on that.
Thanks
--
GD Shukla


"Dean Ramsier" wrote:

Note that this is also referred to as the object store, and is a
proprietary
file system. You can also mount a RAM drive, using a dedicated
area
of
RAM
for a storage area and mount any file system you like on top of
it.
For
that, you'll need the RAMDISK driver from the public tree.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Michael S. Schaffner, P.E." <mschaffner@xxxxxxxxxxxxxxxxxxxxxxx>
wrote
in
message news:ubKvnBnJGHA.3100@xxxxxxxxxxxxxxxxxxxxxxx
Drag over the RAM and ROM File System component from the
catalog
under
File Systems to your OS design.
See File Systems under the Windows CE help documentation.

--
Michael Schaffner, P.E.
Senior Software Engineer
Windows CE Technical Group
Applied Data Systems


"gd.shukla" <gdshukla@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:4673F315-900E-4598-B75E-67DEAA2313C5@xxxxxxxxxxxxxxxx
Hi

I want to include RAM File System into my image but dont know
how
to. I
have
searched the internet and the documentation but to no avail.
Can anyone please tell me how to include RAM File System
Component
into
your
image.

Thanks in advance
--
GD Shukla














.



Relevant Pages

  • Re: How to Add RAM File System
    ... RAMDISK to use in my Windows Mobil application. ... I dragged and dropped the RAM and ROM ... File System into my catalog, ...
    (microsoft.public.windowsce.embedded)
  • Re: How to Add RAM File System
    ... RAM disk build as part of a Windows CE configuration. ... RAMDISK to use in my Windows Mobil application. ... File System into my catalog, ...
    (microsoft.public.windowsce.embedded)
  • Re: How to Add RAM File System
    ... to Windows Mobile 5.0, the application slows down, and eventually crashes ... or to get our PPC vendor to include a RAMDISK in their WM50 offering. ... RAM disk build as part of a Windows CE configuration. ... File System into my catalog, ...
    (microsoft.public.windowsce.embedded)
  • Re: How to Add RAM File System
    ... the ramdisk. ... to Windows Mobile 5.0, the application slows down, and eventually crashes ... RAM disk build as part of a Windows CE configuration. ... File System into my catalog, ...
    (microsoft.public.windowsce.embedded)
  • Re: Ramdisk Load error with Remote Boot Service?
    ... There is no particular requirement to have RAM double size of your image. ... (depending on your image memory consumption). ... Service Manager included with the windows embedded development package. ... proceeded through "Loading Ramdisk Image" until about the 75% mark when I ...
    (microsoft.public.windowsxp.embedded)