Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
Mobile Apps GroupsView
Pocketpc
Pocketpc Activesync
Pocketpc Developer
Pocketpc Phone_Edition
Windowsce App Development
Windowsce Embedded
Windowsce Platbuilder

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Apps
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Windowsce Platbuilder Posts  Ask A New Question 

IPSM and Clean Boot

soreeye posted on Monday, March 19, 2007 6: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.
reply

 

IPSM and Clean Boot

Paul G. Tobey [eMVP] posted on Monday, March 19, 2007 11:51 AM

Define "clean boot".

Paul T.
reply

Hi Paul,"Clean boot" will mean that the system will boot up and format the

soreeye posted on Monday, March 19, 2007 7: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
reply

IPSM and Clean Boot

soreeye posted on Tuesday, March 20, 2007 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
reply

That's Windows Mobile, not Windows CE.

Paul G. Tobey [eMVP] posted on Tuesday, March 20, 2007 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.
reply

Hi Paul,Thanks for the answer.I'm building a generic device, i.e, Windows CE.

soreeye posted on Tuesday, March 20, 2007 7: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
reply

I've never mounted it as the root with the hive on it, so I can't answer

Paul G. Tobey [eMVP] posted on Wednesday, March 21, 2007 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.
reply

And you can't use it to XIP from the same flash that is used for storage...

Dean Ramsier posted on Wednesday, March 21, 2007 12:23 PM

And you cannot use it to XIP from the same flash that is used for storage...

--
Dean Ramsier - eMVP
BSQUARE Corporation
reply

IPSM and Clean Boot

soreeye posted on Wednesday, March 21, 2007 7:16 PM

Hi,

How can we check that the XIP is working?

Regards
reply

The device will run, or it won't.

Dean Ramsier posted on Thursday, March 22, 2007 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
reply

 
 

Previous Microsoft Windowsce Platbuilder conversation.