Re: Do I always need an SDK in order to build drivers?
- From: Bradley Remedios <bremedios@xxxxxxxxx>
- Date: Thu, 23 Oct 2008 13:52:29 -0700 (PDT)
On Oct 23, 1:09 pm, minorguy <minor...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Can I just build our driver once for each of the different
processor types x86, ARM, and MIPS and then give those out to everyone?
I think that the main benefit to using the various SDKs is that it
could let you know at compile time that your software is using
something that is not available on the target platform. If you
_really_ need this functionality, I would probably look into creating
a build system to build all of the targets to take the bite out of
that work.
In terms of whether it is possible, at least with Windows CE 4.2 it
was as long as anything you use / do in your driver is supported
across all the platforms, and each platform has a Catalog
Configuration that is compatible with what your driver / software
requires.
For example, I once had to write a driver against Windows CE 4.2 for a
platform that I had no SDK or BSP (binary or otherwise) for. To build
my driver I basically chose an ARM BSP from Platform Builder, created
an OSDesign and selected Catalog Items that corresponded to the device
that I was targeting. I then used Platform Builder to create a driver
for the newly created "fake" platform. I don't see why you couldn't
create an SDK based on that "fake" BSP and use that to develop against
though.
It
would seem that I can’t build unless I have at least one SDK for each type
(and I don’t have a one for MIPS yet). But can I be reasonably sure that if I
build an ARM version or our driver against one system’s SDK that it will work
on a different ARM system? This is assuming that the BSP includes the
components that I need, which in my case is USB host support. What's the
normal way for handling this?
My second question is, do you know of a way that I can set up some sort of
generic ARM system for testing? I have set up a CEPC for development and
testing, but that only requires a standard x86 PC. Is there some similar
hardware for ARM and MIPS that is recommended as a standard development
platform?
I would probably purchase ARM and MIPs systems that are simliar (if
not identical) to the systems that you will be targeting your software
for. I don't think that there is any "standard" or "recommended"
development platforms as that really just comes down to what the
requirements are for your product.
Hope this helps,
Brad.
.
- Follow-Ups:
- Re: Do I always need an SDK in order to build drivers?
- From: minorguy
- Re: Do I always need an SDK in order to build drivers?
- References:
- Do I always need an SDK in order to build drivers?
- From: minorguy
- Do I always need an SDK in order to build drivers?
- Prev by Date: Re: Do I always need an SDK in order to build drivers?
- Next by Date: Re: Do I always need an SDK in order to build drivers?
- Previous by thread: Re: Do I always need an SDK in order to build drivers?
- Next by thread: Re: Do I always need an SDK in order to build drivers?
- Index(es):
Relevant Pages
|