PC Review Forums Newsgroups Windows XP Windows XP Embedded porting XP hardware driver

Reply

porting XP hardware driver

 
Thread Tools Rate Thread
Old 13-02-2007, 12:56 PM   #1
FCBfreak
Guest
 
Posts: n/a
Default porting XP hardware driver


Hi,

I understand Windows XP Embedded is based on the same binaries as
Windows XP Professional.

And existing Win32®-based applications can be ported with little or no
modification.

Does this mean an external hardware driver (e.g. for webcam) that
originally was meant for Windows 2000/Win XP is runnable on a Windows
XP Embedded platform without modification?

Thanks in advance!

  Reply With Quote
Old 13-02-2007, 04:12 PM   #2
crus
Guest
 
Posts: n/a
Default Re: porting XP hardware driver

Hello FCB fan,
YES the XP PRO driver could be used on XPE without change, BUT you should
have provided in your image components to install new hardware AND
everything your device needs to work.
That's the hard part of the work, but no mods to the driver is needed.

Regards


"FCBfreak" <fcbfanatic19@yahoo.com> ha scritto nel messaggio
news:1171371395.549884.269980@a75g2000cwd.googlegroups.com...
Hi,

I understand Windows XP Embedded is based on the same binaries as
Windows XP Professional.

And existing Win32®-based applications can be ported with little or no
modification.

Does this mean an external hardware driver (e.g. for webcam) that
originally was meant for Windows 2000/Win XP is runnable on a Windows
XP Embedded platform without modification?

Thanks in advance!



  Reply With Quote
Old 14-02-2007, 06:40 PM   #3
KM
Guest
 
Posts: n/a
Default Re: porting XP hardware driver

The answer to your question is Yes.
For an application, while porting to XPe, it is typically required to satisfy all dependencies in your image to get it working.
Tools are used from Dependency Explorer to Filemon/Regmon and Inctrl5/RegSnap.
Drivers typically are easier to port. If you have the driver INF you can just import it with Component Designer. You are still
responsible though to get all the drier dependencies in your image. Although for drivers the dependencies are typically very minimal
(kernel, ntdll, etc.) and usually are present in every image you create anyway.

You may want to read a general FAQ for the product:
http://msdn2.microsoft.com/en-US/library/ms838350.aspx

--
=========
Regards,
KM


"FCBfreak" <fcbfanatic19@yahoo.com> wrote in message news:1171371395.549884.269980@a75g2000cwd.googlegroups.com...
Hi,

I understand Windows XP Embedded is based on the same binaries as
Windows XP Professional.

And existing Win32®-based applications can be ported with little or no
modification.

Does this mean an external hardware driver (e.g. for webcam) that
originally was meant for Windows 2000/Win XP is runnable on a Windows
XP Embedded platform without modification?

Thanks in advance!


  Reply With Quote
Old 16-02-2007, 01:32 PM   #4
FCBfreak
Guest
 
Posts: n/a
Default Re: porting XP hardware driver

On 14 feb, 19:40, "KM" <konstmor@nospam_yahoo.com> wrote:
> The answer to your question is Yes.
> For an application, while porting to XPe, it is typically required to satisfy all dependencies in your image to get it working.
> Tools are used from Dependency Explorer to Filemon/Regmon and Inctrl5/RegSnap.
> Drivers typically are easier to port. If you have the driver INF you can just import it with Component Designer. You are still
> responsible though to get all the drier dependencies in your image. Although for drivers the dependencies are typically very minimal
> (kernel, ntdll, etc.) and usually are present in every image you create anyway.
>
> You may want to read a general FAQ for the product:http://msdn2.microsoft..com/en-US/library/ms838350.aspx
>
> --
> =========
> Regards,
> KM
>
> "FCBfreak" <fcbfanati...@yahoo.com> wrote in messagenews:1171371395.549884.269980@a75g2000cwd.googlegroups.com...
>
> Hi,
>
> I understand Windows XP Embedded is based on the same binaries as
> Windows XP Professional.
>
> And existing Win32®-based applications can be ported with little or no
> modification.
>
> Does this mean an external hardware driver (e.g. for webcam) that
> originally was meant for Windows 2000/Win XP is runnable on a Windows
> XP Embedded platform without modification?
>
> Thanks in advance!


I did some research on the internet, but it isn't quite clear yet.

Before installing XPe on a platform with no image preinstalled, you
always have to start with a WinXP install to the target platform
because otherwise you won't be able to run the "tap.exe" analyzer
tool, right?

Furthermore I don't understand how the preinstallation of WinXP to the
target platform would have to be done, which tools would have to be
used etc.
On a desktop system you would install XP by running the installation
CD, but embedded boards don't support this feature.

  Reply With Quote
Old 16-02-2007, 05:44 PM   #5
KM
Guest
 
Posts: n/a
Default Re: porting XP hardware driver

> I did some research on the internet, but it isn't quite clear yet.

> Before installing XPe on a platform with no image preinstalled, you
> always have to start with a WinXP install to the target platform
> because otherwise you won't be able to run the "tap.exe" analyzer tool, right?


Not necessarily. You can also start with:
- boot to DOS and execute TA.exe. THis will produce PMQ file with very small number of components enumeratied vs TAP
approach. It is also possible that you will have to add some hardware related components manually to your config to be abel to boot
it.

- boot to WInPE and execute TAP. This approach is similar to XP Pro install but saves you from isnatlling the entire OS. TAP
result here is probably the more efficient too if you think about minimizing your image footpint.
http://msdn2.microsoft.com/en-us/library/ms932909.aspx

All these approaches are described in the product documentations: http://msdn2.microsoft.com/en-us/library/ms940856.aspx

> Furthermore I don't understand how the preinstallation of WinXP to the
> target platform would have to be done, which tools would have to be
> used etc.
> On a desktop system you would install XP by running the installation
> CD, but embedded boards don't support this feature.


Each embedded board is unique so there is no common steps. But you may try to:
- connect external/internal CD-ROM drive (do you have IDE on the board?) and boot to PE or XP Pro install CD
- use floppy disk to boot to DOS
- boot from UFD (USB Flash Disk) to DOS/PE/another XPe image (assuming your board has USB 1.1 or 2.0 supported)
- prepare the target storage to boot to PE, for instance (WINPE 2.0 can perfectly boot off a HDD)
- etc.

After all, you don't necessarily have to go by TAP/PMQ approach. You can add platform components to your image manually if you know
your hardware and the drivers required (read the board manual and specs).

--
=========
Regards,
KM



  Reply With Quote
Old 17-02-2007, 06:48 PM   #6
FCBfreak
Guest
 
Posts: n/a
Default Re: porting XP hardware driver

On 16 feb, 18:44, "KM" <konstmor@nospam_yahoo.com> wrote:
> > I did some research on the internet, but it isn't quite clear yet.
> > Before installing XPe on a platform with no image preinstalled, you
> > always have to start with a WinXP install to the target platform
> > because otherwise you won't be able to run the "tap.exe" analyzer tool, right?

>
> Not necessarily. You can also start with:
> - boot to DOS and execute TA.exe. THis will produce PMQ file with very small number of components enumeratied vs TAP
> approach. It is also possible that you will have to add some hardware related components manually to your config to be abel to boot
> it.
>
> - boot to WInPE and execute TAP. This approach is similar to XP Pro install but saves you from isnatlling the entire OS. TAP
> result here is probably the more efficient too if you think about minimizing your image footpint.
> http://msdn2.microsoft.com/en-us/library/ms932909.aspx
>
> All these approaches are described in the product documentations:http://msdn2.microsoft.com/en-us/library/ms940856.aspx
>
> > Furthermore I don't understand how the preinstallation of WinXP to the
> > target platform would have to be done, which tools would have to be
> > used etc.
> > On a desktop system you would install XP by running the installation
> > CD, but embedded boards don't support this feature.

>
> Each embedded board is unique so there is no common steps. But you may try to:
> - connect external/internal CD-ROM drive (do you have IDE on the board?) and boot to PE or XP Pro install CD
> - use floppy disk to boot to DOS
> - boot from UFD (USB Flash Disk) to DOS/PE/another XPe image (assuming your board has USB 1.1 or 2.0 supported)
> - prepare the target storage to boot to PE, for instance (WINPE 2.0 can perfectly boot off a HDD)
> - etc.
>
> After all, you don't necessarily have to go by TAP/PMQ approach. You can add platform components to your image manually if you know
> your hardware and the drivers required (read the board manual and specs).
>
> --
> =========
> Regards,
> KM


Thanks for helping!

I think I will install WinXP first (CD-ROM drive) & then XP Embedded.

The embedded board indeed has an IDE-connector.
See: http://www.win-ent.com/IP-06058.htm
But what about the power cable and jumper settings then?

I guess the following book could be of great use:
http://www.amazon.com/Windows-Embed...g/dp/0929392779

  Reply With Quote
Old 19-02-2007, 04:57 PM   #7
FCBfreak
Guest
 
Posts: n/a
Default Re: porting XP hardware driver

On 17 feb, 19:48, "FCBfreak" <fcbfanati...@yahoo.com> wrote:
> On 16 feb, 18:44, "KM" <konstmor@nospam_yahoo.com> wrote:
>
>
>
>
>
> > > I did some research on the internet, but it isn't quite clear yet.
> > > Before installing XPe on a platform with no image preinstalled, you
> > > always have to start with a WinXP install to the target platform
> > > because otherwise you won't be able to run the "tap.exe" analyzer tool, right?

>
> > Not necessarily. You can also start with:
> > - boot to DOS and execute TA.exe. THis will produce PMQ file with very small number of components enumeratied vs TAP
> > approach. It is also possible that you will have to add some hardware related components manually to your config to be abel to boot
> > it.

>
> > - boot to WInPE and execute TAP. This approach is similar to XP Pro install but saves you from isnatlling the entire OS. TAP
> > result here is probably the more efficient too if you think about minimizing your image footpint.
> > http://msdn2.microsoft.com/en-us/library/ms932909.aspx

>
> > All these approaches are described in the product documentations:http://msdn2.microsoft.com/en-us/library/ms940856.aspx

>
> > > Furthermore I don't understand how the preinstallation of WinXP to the
> > > target platform would have to be done, which tools would have to be
> > > used etc.
> > > On a desktop system you would install XP by running the installation
> > > CD, but embedded boards don't support this feature.

>
> > Each embedded board is unique so there is no common steps. But you may try to:
> > - connect external/internal CD-ROM drive (do you have IDE on the board?) and boot to PE or XP Pro install CD
> > - use floppy disk to boot to DOS
> > - boot from UFD (USB Flash Disk) to DOS/PE/another XPe image (assuming your board has USB 1.1 or 2.0 supported)
> > - prepare the target storage to boot to PE, for instance (WINPE 2.0 can perfectly boot off a HDD)
> > - etc.

>
> > After all, you don't necessarily have to go by TAP/PMQ approach. You can add platform components to your image manually if you know
> > your hardware and the drivers required (read the board manual and specs).

>
> > --
> > =========
> > Regards,
> > KM

>
> Thanks for helping!
>
> I think I will install WinXP first (CD-ROM drive) & then XP Embedded.
>
> The embedded board indeed has an IDE-connector.
> See:http://www.win-ent.com/IP-06058.htm
> But what about the power cable and jumper settings then?
>
> I guess the following book could be of great use:http://www.amazon.com/Windows-Embed...g/dp/092939...- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -


And after 120 days the installed image on the board expires? Or is
this only the case for the development tools which are used to create
the XP Embedded image for the target board?

  Reply With Quote
Old 19-02-2007, 06:12 PM   #8
KM
Guest
 
Posts: n/a
Default Re: porting XP hardware driver

> I think I will install WinXP first (CD-ROM drive) & then XP Embedded.

If you got CD-ROM working on the target, perhaps WINPE would be a faster
approach.

> The embedded board indeed has an IDE-connector.
> See: http://www.win-ent.com/IP-06058.htm
> But what about the power cable and jumper settings then?


If you don't have spare power cables on the device you could always use
another power supply, or, easier, just use a power cable from another open
PC that you turn on around the same time as the device.
Jumper settings should be documented in the board manual.

Regards,
KM


  Reply With Quote
Old 19-02-2007, 06:17 PM   #9
KM
Guest
 
Posts: n/a
Default Re: porting XP hardware driver

> And after 120 days the installed image on the board expires? Or is
> this only the case for the development tools which are used to create
> the XP Embedded image for the target board?


Development tool expiration is independent of the image expiration.
If you got eval toolkit it will expire in 120 days (I believe 120 days you
mentioned applies here).
With eval toolkit you won't be able to build production images either.

When you got full version of the tools and trying to build an image. If you
don't type the right PID in TD config settings your runtime will expire in
90 days.

Regards,
KM

PS. I never remember which is which when it comes to the XPe expiration day
limits. It may be vise versa - 120 days for runtime, 90 days for the
toolkit.


  Reply With Quote
Old 20-02-2007, 06:01 PM   #10
FCBfreak
Guest
 
Posts: n/a
Default Re: porting XP hardware driver

On 19 feb, 19:17, "KM" <konstmor@nospam_yahoo.com> wrote:
> > And after 120 days the installed image on the board expires? Or is
> > this only the case for the development tools which are used to create
> > the XP Embedded image for the target board?

>
> Development tool expiration is independent of the image expiration.
> If you got eval toolkit it will expire in 120 days (I believe 120 days you
> mentioned applies here).
> With eval toolkit you won't be able to build production images either.
>
> When you got full version of the tools and trying to build an image. If you
> don't type the right PID in TD config settings your runtime will expire in
> 90 days.
>
> Regards,
> KM
>
> PS. I never remember which is which when it comes to the XPe expiration day
> limits. It may be vise versa - 120 days for runtime, 90 days for the
> toolkit.


A runtime operating system license (which includes the PID) can be
purchased in order to build a full-fuctioning run-time image.
http://msdn2.microsoft.com/en-us/library/ms940172.aspx

So a distributable image can be build by using the eval toolkit
(restricted time use of development tools) or is this only possible
with the full "Windows XP Embedded" product?

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off