Create INF File

  • Thread starter Thread starter bermubermu
  • Start date Start date
B

bermubermu

Hi to all,

I have a question...

For adding component in Component Designer, I can do it with INF file.
My hardwares don't have inf file. The drivers for my hardware are like
*.dll's and *.sys

If I don't have INF file, Should I create it?
If the answer are yes, plese, let me know how.

Regards and thanks to all,

David
 
If the drivers don't come with an INF file, you will have to create the
service and PNP resources manually. You can use any similiar drivers that
are in the database as a guide. What is the hardware?

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.
 
I Sean and thanks for answer me.

I will try to explain you.
I use a AIMB motherboard, and I want to install two PCI - Advantech,
one for input signals and other for output signals.
The two PCI works fine in all version of windows, but if I put file
dirvers in a new component with component designer, and create a new
repository with repository path the path of the drivers files, the
target designer give me an error when I try to burn the final image.

If you can help me, I would be very apreciate you.

Thanks and excue my english, I-m learning and I don't write very well.

David
 
bermubermu said:
I Sean and thanks for answer me.

I will try to explain you.
I use a AIMB motherboard, and I want to install two PCI - Advantech,
one for input signals and other for output signals.
The two PCI works fine in all version of windows, but if I put file
dirvers in a new component with component designer, and create a new
repository with repository path the path of the drivers files, the
target designer give me an error when I try to burn the final image.

If you can help me, I would be very apreciate you.

Thanks and excue my english, I-m learning and I don't write very well.

David
What error do you get? It's easier for us to help you if you're
specific. My guess would be that you've created the repository and
imported it, but not actually selected it from the component properties.
 
Hi Adora,

I will explain the steps that I have done.

First of all, I execute TAP.exe from utility folder. That's create
device.pmq file with all the information about my hardware.
I open the Component Designer and import device.pmq file. This file
contain a 88 hardware, and install succefuly 80. Then, I must to create
8 component, one for each hardware that don't create with this way.

One of the hardware, is a Advantech PCI. If I see the driver for this
PCI, I only see one file, a *.sys file.
In Component Designer, i create a new component and a new Repository.
The path of the repository I put the path of *.sys of PCI. I put the
new repository in repository box in setting of new component.

Save and exit the program.

In target designer, I put device and Advantech PCI as a component from
my computer. I Check and I have 4 errors. I put new components (NT
Loader, Spanish and English language pack, Explorer Shell and another
that I don't remember now) and the chek are correct. Then, I create the
new image, but I have errors with path of files from my new component
Advantech PCI.

I hope that I explain my problem as well I know

Thanks,

David
 
Hi, more specify, my error in buil process are:

R: Building: "Advantech PCI-1752 [Version 1.0, R2]"...
R: Warning 1116: Building unreleased component: "Advantech PCI-1752
[Version 1.0, R2]"
Error 1005 (0x3ED) in "PlatformLib::CopySrcFile2": File not found:
"Ads1752.dll"

Thanks,
 
Make sure that you have assoicated the Repository with the component in the
SLD. If they are not you will have to add the repository to the component,
re-import he SLD, and try building again.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.
 
I Sean,

I'm really sorry for my repetitive message.
I think that the problem are exactly this, that I don't add the files
correctly in the repository.
I create 3 or 4 components, with *.dll, *.sys and *.exe files, and I
create only one repository for all. In the path of Repository, I put
C:/Windows Embedded Data/Repository/ and I associate in Repository box
of each component, my new repository. I don't have any errors in any
phase, but when I create the image: ERROR 1005: File not found.

How I can check if the files are correctly associate with the
repository?

Thanks for all,

David
 
To start with the files need to be in a directory other than the c:\Windows
Embedded Data\...
In the SLD, the Repository must point this other directory. When the SLD is
important than the files are copied to the c:\Windows Embedded
Data\Repository..

Take a look at the exercises in the XP Embedded Advanced book.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.
 
Back
Top