Re: [edk2] PCI OpROM driver

Subject: Re: [edk2] PCI OpROM driver

From: Neeraj Ladkani <neeraj.ladkani@gmail.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2014-03-13 02:42:20

>>I think, that's no the reason not to register the driver (entrypoint code). Block IO installs in the START section (not in entrypoint) of my driver.

Since your device pci config will report it as storage adapter( before even finding out optom rom details) , it can be assumed that this adapter will be not be used during boot (due to onboard storage controller) so invoking option rom can be skipped, so I suggest disable other storage controllers on your board and try once.

Good luck.

Thanks
Neeraj



On Wed, Mar 12, 2014 at 6:30 PM, Onipchuk Vladimir <v-onipchuk@yandex.ru> wrote:

> 11.03.2014, 20:34, "Igor Sharovar" <igor.sharovar@gmail.com>:
> Is your driver present in a list of PCI devices if you run "pci" Shell command?
> Igor Sharovar

Not driver, but my device present in a "pci" list.
In drivers list after "drivers" command my driver not present.
But after "loadpcirom" - my driver present in a "drivers" list.

> 11.03.2014, 17:46, "Neeraj Ladkani" <neeraj.ladkani@gmail.com>:
> Can you try disabling SATA/RAID and other on board storage controllers ? there might be a possibility that BIOS finds block IO protocol produced by primary storage controller and skips loading your adapter's oprom (I am assuming your adapter is a storage adapter) since > this is a desktop board
>
> Neeraj

I think, that's no the reason not to register the driver (entrypoint code). Block IO installs in the START section (not in entrypoint) of my driver.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel



--
Thanks
Neeraj