Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Load PCI device driver not in "BuiltIn" time

0 views
Skip to first unread message

ydlu

unread,
Jan 5, 2010, 1:25:45 PM1/5/10
to
Hi:
I had developed a PCI device driver, when it build and loaded from
platform builder from "bib" and "reg" files. And driver running.
However, this driver still on progress/developing, so everytime the
driver was update, the NK.BIN have to deploy to all developers. I had
used the "ActivateDeviceEx" API to load another "stream device driver"
and driver was loaded and running good. But not the PCI device driver?
How and what APIs I could use to load a "PCI device driver" into CE
OS? or the device driver have to do something else?

Thanks

Bruce Eitman [eMVP]

unread,
Jan 5, 2010, 3:19:17 PM1/5/10
to
I think that you would need to do that with the PCI BUS driver which
enumerates the devices on the BUS and starts drivers only when it starts up.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT Eurotech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

Eurotech Inc.
www.Eurotech.com

"ydlu" <yudi...@gmail.com> wrote in message
news:e3d2b6db-e44d-4de2...@f5g2000yqh.googlegroups.com...

KMOS

unread,
Jan 5, 2010, 3:29:03 PM1/5/10
to
Besides to what Bruce said, sometimes PCI BUS driver not only enumerate but
also allocates resources (IRQ/ IO/ Memory) for the peripherals.
Even the enumeration itself, is not just simply detect the existing of the
peripheral but also need to detect the resources and write back the
address/IRQ/SYSINTR to registry before activate the device driver.
So you really need to know the detail of PCI BUS and do whatever it does to
activate a PCI based driver properly.

"Bruce Eitman [eMVP]" <bruce.eit...@Eurotech.com.nospam> wrote in
message news:%23r2EcRk...@TK2MSFTNGP06.phx.gbl...

ydlu

unread,
Jan 12, 2010, 11:54:53 AM1/12/10
to
On Jan 5, 2:29 pm, "KMOS" <kmos_inval...@rocketmail.com> wrote:
> Besides to what Bruce said, sometimes PCI BUS driver not only enumerate but
> also allocates resources (IRQ/ IO/ Memory) for the peripherals.
> Even the enumeration itself, is not just simply detect the existing of the
> peripheral but also need to detect the resources and write back the
> address/IRQ/SYSINTR to registry before activate the device driver.
> So you really need to know the detail of PCI BUS and do whatever it does to
> activate a PCI based driver properly.
>
> "Bruce Eitman [eMVP]" <bruce.eitman.nos...@Eurotech.com.nospam> wrote in
> messagenews:%23r2EcRk...@TK2MSFTNGP06.phx.gbl...

>
>
>
> >I think that you would need to do that with the PCI BUS driver which
> >enumerates the devices on the BUS and starts drivers only when it starts
> >up.
>
> > --
> > Bruce Eitman (eMVP)
> > Senior Engineer
> > Bruce.Eitman AT Eurotech DOT com
> > My BLOGhttp://geekswithblogs.net/bruceeitman
>
> > Eurotech Inc.
> >www.Eurotech.com
>
> > "ydlu" <yudian...@gmail.com> wrote in message

> >news:e3d2b6db-e44d-4de2...@f5g2000yqh.googlegroups.com...
> >> Hi:
> >> I had developed a PCI device driver, when it build and loaded from
> >> platform builder from "bib" and "reg" files. And driver running.
> >> However, this driver still on progress/developing, so everytime the
> >> driver was update, the NK.BIN have to deploy to all developers. I had
> >> used the "ActivateDeviceEx" API to load another "stream device driver"
> >> and driver was loaded and running good. But not the PCI device driver?
> >> How and what APIs I could use to load a "PCI device driver" into CE
> >> OS? or the device driver have to do something else?
>
> >> Thanks- Hide quoted text -
>
> - Show quoted text -

Thanks.
The PCI device driver could be loaded from "compact flash" card, not
included in NK.BIN.
when I defined the Loader "SystemPath" include the the path of
"Compact flash" card directory.
So this issue was solved.

Thanks
Lu

0 new messages