D945GTP Components trouble

R

Rich Noonan

I've successfully created a target image with custom components once,
so I thought I knew what I was doing, but now I'm stuck with several
problems making components for this Intel D945GTP board.

The first issue is the display driver for the 82945G. I'm doing an INF
import to Component Designer and it appears to go ok, but with these
warnings:

Warning:C:\Windows Embedded Data\Repositories\Intel82945G\ialmnt5.inf:
[DelFiles] needs to be processed by the user.
+++ CRITICAL ERROR +++:An error occurred when trying to add a registry
resource HKEY_LOCAL_MACHINE\Software\INTEL\.
+++ CRITICAL ERROR +++:An error occurred when trying to add a registry
resource HKEY_LOCAL_MACHINE\Software\Intel\Display\.
+++ CRITICAL ERROR +++:An error occurred when trying to add a registry
resource HKEY_LOCAL_MACHINE\Software\Intel\Display\igfxcui\.
+++ CRITICAL ERROR +++:An error occurred when trying to add a registry
resource HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\Notify\igfxcui\.
Warning:C:\Windows Embedded Data\Repositories\Intel82945G\ialmnt5.inf:
[Rotation.AddReg] is Empty.
Info:Completed processing file [Import succeeded] : C:\Windows
Embedded Data\Repositories\Intel82945G\ialmnt5.inf
The component goes into the database just fine, but then when I add it
in Target Designer I get errors that the repository can't be found:

Warning 1121: Can not find the resource iAlmCoIn.dll for Intel(R)
82945G Express Chipset Family
Warning 1121: in the following search path:
\\USER-37B9AC601C\Repositories\\{67C85615-B0C5-42EA-8B8A-E8AB47DB2B1D},
\\USER-37B9AC601C\Repositories\{022716D8-0CF0-4779-B94C-8E52EB36709C},
\\USER-37B9AC601C\Repositories\{347677C8-8935-4d30-8DDA-FB6D701ACF47},
\\USER-37B9AC601C\Repositories\{484C9D34-846E-40E2-A2E6-FF2771A303D5}
Warning 1121: The estimated configuration size may not be accurate.

This same warning text is repeated for every file in the component.
I'm going step by step through the instructions linked from this MSDN
page:

http://msdn.microsoft.com/library/d...p/html/xehowhowtocomponentizedevicedriver.asp

Any suggestions on where I may have gone wrong in this process?

Thanks-
Rich
 
A

Andy Allred [MS]

Regarding the Repository questions:
The MSDN link you mentioned regarding componentizing drivers covers the
repository creation process that appears you may have missed. In that step
by step doc the repository is created in Step 4. Basically you create a
repository object in the SLD, point that rep object to a folder on your dev
machine (ocated near your SLD), associate the components with that rep
object, place all your driver files into the rep folder you created.

So to recap:
- create a folder and place all the driver files in it
- create a rep object in the SLD
- link the component objects to the rep object following the instructions in
Step 4 in that MSDN doc
- Now when you import the component the rep folder will be copied to the rep
root with the windows rep folders you listed, so then you'd have 5 folders
(4 for windows and 1 for each component repository you import).

This series of blog articles walks through the end to end process to
componentize an app and also covers the rep stuff:
http://blogs.msdn.com/embedded/articles/460335.aspx

--
Andy

This posting is provided "AS IS" with no warranties, and confers no rights.

------------------
Rich Noonan said:
I've successfully created a target image with custom components once,
so I thought I knew what I was doing, but now I'm stuck with several
problems making components for this Intel D945GTP board.

The first issue is the display driver for the 82945G. I'm doing an INF
import to Component Designer and it appears to go ok, but with these
warnings:

Warning:C:\Windows Embedded Data\Repositories\Intel82945G\ialmnt5.inf:
[DelFiles] needs to be processed by the user.
+++ CRITICAL ERROR +++:An error occurred when trying to add a registry
resource HKEY_LOCAL_MACHINE\Software\INTEL\.
+++ CRITICAL ERROR +++:An error occurred when trying to add a registry
resource HKEY_LOCAL_MACHINE\Software\Intel\Display\.
+++ CRITICAL ERROR +++:An error occurred when trying to add a registry
resource HKEY_LOCAL_MACHINE\Software\Intel\Display\igfxcui\.
+++ CRITICAL ERROR +++:An error occurred when trying to add a registry
resource HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\Notify\igfxcui\.
Warning:C:\Windows Embedded Data\Repositories\Intel82945G\ialmnt5.inf:
[Rotation.AddReg] is Empty.
Info:Completed processing file [Import succeeded] : C:\Windows
Embedded Data\Repositories\Intel82945G\ialmnt5.inf
The component goes into the database just fine, but then when I add it
in Target Designer I get errors that the repository can't be found:

Warning 1121: Can not find the resource iAlmCoIn.dll for Intel(R)
82945G Express Chipset Family
Warning 1121: in the following search path:
\\USER-37B9AC601C\Repositories\\{67C85615-B0C5-42EA-8B8A-E8AB47DB2B1D},
\\USER-37B9AC601C\Repositories\{022716D8-0CF0-4779-B94C-8E52EB36709C},
\\USER-37B9AC601C\Repositories\{347677C8-8935-4d30-8DDA-FB6D701ACF47},
\\USER-37B9AC601C\Repositories\{484C9D34-846E-40E2-A2E6-FF2771A303D5}
Warning 1121: The estimated configuration size may not be accurate.

This same warning text is repeated for every file in the component.
I'm going step by step through the instructions linked from this MSDN
page:

http://msdn.microsoft.com/library/d...p/html/xehowhowtocomponentizedevicedriver.asp

Any suggestions on where I may have gone wrong in this process?

Thanks-
Rich
 
R

Rich Noonan

Thanks for the pointer, Andy.

Specifically it was item 13 under step 4 which I missed. I failed to
associate the Component with the Repository. For some reason this step
was not required on the first component I created.

Here's the problem now. I did create a Repository previously and files
did get copied into the database controlled part of the filesystem, but
the lack of component to respository association left things broken.
I've updated my component with repository info, component revision
auto-incremented, and I went to re-import the component to the
database. The database manager can't copy the files in again b/c the
files already exist. So, I delete the components and the repository
from the database. However, I got an error when I deleted the
repository and all files. Files were not deleted and I still can't
import the new .sld and components.

Any suggestions on how to get this cleaned up? Did I make a misstep in
how I removed the components and repository from the db? Why won't the
db manager take steps necessary to overwrite an existing component and
associated files? Seems like a case for a warn, confirm, do it anyway
dialog rather than prevent the action altogether.

Thanks-
Rich
 
R

Rich Noonan

Sorry to respond to my own, but just wanted to clear up the
foolishness.

My files were copied from CD and that's why they had read-only set. It
had nothing to do with the database. As long as the Database Manager
is the only connection to the db at that time you can easily delete or
update components and repositories.

-Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top