Mobile Apps - IPSM and Clean Boot

Asked By soreeye
19-Mar-07 06:21 AM
Hi,

I've implemented a installable file system with Intel PSM (IPSM).
I would like to find out how can I do a clean boot?

I read that we have to put a "CheckForFormat" in the \profile directory,
however the IPSM porting guide does not have a /profile registry key.
Hence where should I put the "CheckForFormat" in the registry in order
to do a clean boot?


Thanks.
IPSM
(1)
CE
(1)
OALIoCtlHalQueryFormatPartition
(1)
IOCTL_HAL_GET_HIVE_CLEAN_FLAG
(1)
CheckForFormat
(1)
EMVP
(1)
PSM
(1)
MSFTNGP
(1)
  Paul G. Tobey [eMVP] replied...
19-Mar-07 11:51 AM
Define "clean boot".

Paul T.
  soreeye replied...
19-Mar-07 07:12 PM
Hi Paul,

to factory default.
Hence all user's settings, installed program and data will be wipe out.
By the way, is this the standard definition?

The IPSM is mounted as a root and bootable, with hive registry.


Thanks
  soreeye replied...
20-Mar-07 12:14 AM
Hi,

Reference to:
http://blogs.msdn.com/ce_base/archive/2006/02/09/How-OEMs-implement-Clean-Boot-on-WM5.aspx

How can I ensure that the OALIoCtlHalQueryFormatPartition function is
being called when the “CheckForFormat” registry is set? Where should
this registry key be entered?

I noticed that the IOCTL_HAL_GET_HIVE_CLEAN_FLAG function was being
called, is there any place in the registry that I can disable this?


Regards
  Paul G. Tobey [eMVP] replied...
20-Mar-07 11:12 AM
That's Windows Mobile, not Windows CE.  It's quite possible, given that
OALIoCtlHalQueryFormatPartition is not documented in the help, that it's
*never* sent on a generic Windows CE device.  If you are building a Windows
Mobile device, you are not permitted by your agreement with Microsoft to
discuss here the details of that kit.  You need to use the support channel
that you get as a Windows Mobile OEM.

If you are building a generic device, what you are trying to do is simply
format a disk, it sounds like.  Contact Intel for some utilities for doing
things like formatting a PSM filesystem or see if you got anything from them
already.  I don't recall how I ended up with it, but I have a utility DLL
that exports some functions for formatting, etc.  If you had that, simply
unmounting the existing filesystem and then formatting it should allow you
to get a 'clean' filesystem without even needing, necessarily, to reboot.

Paul T.
  soreeye replied...
20-Mar-07 07:34 PM
Hi Paul,

Thanks for the answer.
I'm building a generic device, i.e, Windows CE.
Since it is mounted as root with the hive registry in it, can I unmount
and format without rebooting?

I've written to Intel about the formatting portion, waiting for their reply.

May I know if Windows CE 6 provides a driver which replaces the IPSM to
XiP and persists data on the same pieces of Flash?
Does Windows CE 6 provides an easier platform to create a platform which
has persistent storage like Windows Mobile 5?


Regards
  Paul G. Tobey [eMVP] replied...
21-Mar-07 11:47 AM
I've never mounted it as the root with the hive on it, so I can't answer
definitively.  Sorry.

No, not as far as I know, with respect to CE6 and PSM replacement.  Of
course, you can use the Microsoft flash driver and so on, but it's different
than PSM as far as what it can do, so it's not really a direct replacement.

Paul T.
  Dean Ramsier replied...
21-Mar-07 12:23 PM
And you cannot use it to XIP from the same flash that is used for storage...

--
Dean Ramsier - eMVP
BSQUARE Corporation
  soreeye replied...
21-Mar-07 07:16 PM
Hi,

How can we check that the XIP is working?

Regards
  Dean Ramsier replied...
22-Mar-07 11:14 AM
The device will run, or it won't.  If build your image to run from flash,
and you have your filesystem on the same flash device then as soon as the
driver attempts to access the flash your device will hang.  IPSM handles
this problem, the MS driver does not.

--
Dean Ramsier - eMVP
BSQUARE Corporation
Create New Account
help
Platform Builder templates for CE 2003 & CE 5.0? Mobile Apps I downloaded Windows Embedded CE 6.0 and was hoping that it would include templates for CE 2003 & CE 5.0. Can someone tell me where I can get these? I am not locating Platofrm Builder or Windows Embedded CE for these older versions on the Microsoft download pages. WindowsCE Embedded Discussions Windows Embedded CE 6.0 (1) EMVP (1) DLLs (1) NathanKerr (1) Platofrm (1) Tobey (1) FBCC7A80716C (1 thing as CE2003) or CE5 device with any tool other than Platform Builder for Windows CE <your target version> . You can buy the other versions of Platform Builder from the same
Programmatically setting static IPv6 address in Winodws CE Mobile Apps Hi, Does anyone know how to set a static IPv6 address for an adapter in Windows CE(CE 5.0 or WM 5.0 or WM 6.0). I know it can be done using the ipv6 utility available in CE (using the command "ipv6 -p <interface index / static ipv6 address"), but I don't want http: / / GuruCE.com Consultancy, training and development services. Hi Michel, Thanks for the reply. Windows CE uses dual-stack architecture, so the device will have both IPv4 and IPv6 addresses assigned an adapter. Any idea? Best regards, Sandeep keywords: Programmatically, setting, static, IPv6, address, in, Winodws, CE description: Hi, Does anyone know how to set a static IPv6 address for an adapter in Windows CE(CE 5.0 or WM 5.0 or WM 6.0). I know it can be
build an EBOOT that starts from 0x00000000 Mobile Apps I'm trying to build an CE CE 5.0 EBOOT image (on an ARM processor) that runs at address 0x00000000 (that's t, build, an, EBOOT, that, starts, from, 0x00000000 description: I'm trying to build an CE CE 5.0 EBOOT image (on an ARM processor) that runs at address 0x00000000 (that's
New development windows ce 5 vs windows ce 6 Mobile Apps If one was looking to develop a new project what is the consensus of which ce to use? Say I wanted my project to work on both windows ce 5 and 6. But I really do not want to build two different projects using two different CE bases. I know CE 6 is suppose to be backward compatible with CE 6 apps / dlls / so 'well behaved' ce 5 projects should run on CE 6 but would it be better just to start