Re: need help trying to integrate IPSM

Tech-Archive recommends: Speed Up your PC by fixing your registry



Try this: Change the PSM managed area to exclude the small block area of the
flash from PSM. You don't say whether you're using P30B or P30T chips
(bottom or top). Whichever it is, exclude the area of the flash that is
small blocks. If you're booting from that flash, too (the bootloader is at
flash physical address 0), P30B is the easiest to use, since the small
blocks will be in the bootloader area and you're probably not trying to give
them to PSM, anyway. Whatever you're using, exclude the small block portion
of the flash from PSM.

If you've already done that and it still doesn't work, exclude the last byte
or two of the area you are currently managing from the managed area (yes, it
makes no sense; just try it; I had weird problems and by reducing the
managed area length by 1, from 0x600000 + 0x02000000 to 0x600000 +
0x01ffffff, everything started working).

Paul T.

"gol" <gol@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D6E42159-1248-4EE4-A293-0C17618AFF80@xxxxxxxxxxxxxxxx
Hi all,
I'm trying to include Intel PSM in our system, but with no success. There
are many things that I don't know, or don't understand.
We work with windows CE 6.0, PXA270, MAINSTONEIII bsp, P30 single 64MB
flash. We have IPSM version 4.0. We work with MCPII_MODULE. The reason we
are
using PSM is because we want to be able to save some small text files in
flash memory. No more than that.

I worked according to the instructions in the Porting Guide of the PSM. I
calculated the flash starting address according to the table in
oemaddrtab_cfg.inc. In the table it is 0x9AA00000, but this is cached. In
ifm_sys.c I need to put an uncached address, therefore it is 0xBAA00000.
(As
far as I understand the gap between them - 0x20000000- is set by
DUAL_MAP_OFFSET). But in what situations do I have to change this value?

I didn't specify a full map of the flash, only what I need. I only have
one
SA (Sub-Array), which I located in the address 59MB after flash start, and
gave it a size of 4MB(1MB is left for safety). This way I don't touch the
boot and the image code. For our needs 4 MB is much more than enough. I
don't
know whether it's ok to do it like that.

In the file psmfsd.reg In the section which is "no root no hive" I erased
all extras, and now there is only "PSM1", with volume name "IPSM1". In the
other sections of that same .reg file I only changed the volume name to
"IPSM1". I don't really understand what I have to write in the batch file-
mainstoneiii.bat. Do I need to set ROOT, HIVE_REGISTRY or both? (as of now
they're both set).

What I want is that when the system comes up, I'll be able to see the
directory "IPSM1". I don't really care whether it's inside "My Device", or
anywhere else, I just want to be able to know where it is, be able to
insert
files inside it, write some text to these files, and the files be saved in
flash.

And what about checking some check-boxes in the catalog? Which ones need
to
be checked? As of now what I have checked is from Storage Devices\MSFlash
Drivers\Intel StrataFlash NOR Driver , from File Systems and Data
Store\File
System-Internal\RAM and ROM File System, from File Systems and Data
Store\Registry Storage\Hive-based Registry. Are these correct? Should I
check
some others?

What happens now in my system is that there is no IPSM in it. I wait until
after the system comes up, and then try to look for the IPSM directory,
and
of course, I can't find it. Probably because it isn't there..
Please help me in solving this problem.
Thank you all very much for your time



.



Relevant Pages

  • Re: need help trying to integrate IPSM
    ... As I mentioned, I left the first 59MB out of PSM, leaving the ... What I'm doing now in the catalog is checking ROM-only File System instead ... exclude the area of the flash that is ...
    (microsoft.public.windowsce.platbuilder)
  • Re: need help trying to integrate IPSM
    ... I had this problem where, on certain-sized P30 flash devices, PSM seemed to ... of the flash chip were part of the managed area. ... Waiting for bootable file system to be mounted. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: IPSM & P30
    ... I've given up trying to explain why PSM does anything (why was the error ... managed area length set to 48MB which is the end of my flash chips. ... P30T flash chips with the same settings and the filesystem ... I think IPSM code could be written better than it is. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: need help trying to integrate IPSM
    ... I checked and unchecked some catalog items. ... As I mentioned, I left the first 59MB out of PSM, leaving the ... exclude the area of the flash that is ...
    (microsoft.public.windowsce.platbuilder)
  • Re: some tempers evoke, fine, and eat. Others how enquire
    ... It's very opposite today, I'll exclude pretty or Daoud will flash the doors. ...
    (sci.crypt)