Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Windows IOT Intel - imageapp : ERROR : Package is missing Microsoft.IoTUAP.IoTUAPProductSpecificFM~31bf3856ad364e35~AMD > 64~~.cab #342

Open
selimsyl opened this issue Aug 8, 2020 · 1 comment

Comments

@selimsyl
Copy link

selimsyl commented Aug 8, 2020

Hi,
I'am using IoTCoreImageWizard to build an image. When trying to create Windows IOT image for targeting bsp package below

Intel Atom® Processor E3900 Series, and Intel® Pentium® and Celeron® Processor N- and J-Series (Apollo Lake)

I'am having error below, Could you please help me ? Thank you in advance.

imageapp : ERROR : ThreadId4832 An unhandled exception was thrown: System.IO.FileNotFoundException: Package is missing from \?\C:\Program Files (x86)\Windows Kits\10\MSPackages\Retail\AMD64\fre\Microsoft.IoTUAP.IoTUAPProductSpecificFM31bf3856ad364e35AMD
64~~.cab
Dosya adı: '\?\C:\Program Files (x86)\Windows Kits\10\MSPackages\Retail\AMD64\fre\Microsoft.IoTUAP.IoTUAPProductSpecificFM31bf3856ad364e35AMD64~~.cab'
konum: Microsoft.WindowsPhone.FeatureAPI.EditionPackage.GetPackagePath(String msPackageRoot, String cpuType, String buildType)
konum: Microsoft.WindowsPhone.Imaging.Imaging.GetPackageInfoFromEditionPackage(EditionPackage pkg, String buildType)
konum: Microsoft.WindowsPhone.Imaging.Imaging.ProcessFMs()
konum: Microsoft.WindowsPhone.Imaging.Imaging.GenerateInputFile(List`1 packages)
konum: Microsoft.WindowsPhone.Imaging.Imaging.SelectPackagesToImage(Boolean recovery)
konum: Microsoft.WindowsPhone.Imaging.Imaging.CreateFullImage(Boolean randomizeGptIds, Boolean recovery, Guid imagingSessionId)
konum: Microsoft.WindowsPhone.Imaging.Imaging.ProcessImage(Boolean randomizeGptIds, Boolean recovery)

Build failed

@selimsyl
Copy link
Author

I have tried AddonKit powershell to build image

I have succesfully created workspace output is below

Loading IoTCoreImaging module..
ADK version 10.0.17763.1 found
Warning: arm IoT Core kit not found
Warning: x86 IoT Core kit not found
x64 IoT Core kit version 10.0.17763.253 found
arm64 IoT Core kit version 10.0.17763.253 found
Test certs installed
Opening workspace : C:\iot-adk-addonkit-master\Workspace\IoTWorkspace.xml
Error: arm IoT Core kit not found.
ADK_VERSION : 10.0.17763.1
IOTCORE_VER : 10.0.17763.253
BSP_VERSION : 10.0.0.0
ADDONKITVER : 6.0.200326.1705
HostOS Info : Microsoft Windows 10 Pro - 10.0.18363 - tr-TR
Error: Host OS Enterprise Edition required for using Security functions such as Device Guard
IOTWKSPACE  : C:\iot-adk-addonkit-master\Workspace
OEM_NAME    : Contoso
BSP_ARCH    : arm
BSPPKG_DIR  : C:\iot-adk-addonkit-master\Workspace\Build\arm\pkgs
MSPKG_DIR   : C:\Program Files (x86)\Windows Kits\10\MSPackages\Retail\arm\fre
IoTCorePShell arm 10.0.0.0 Test
PS C:\iot-adk-addonkit-master\Workspace>New-IoTWorkspace C:\MyWorkspace Intel x64
New IoTWorkSpace available at C:\MyWorkspace for x64
Opening workspace : C:\MyWorkspace\IoTWorkspace.xml
x64 IoT Core kit version 10.0.17763.253 found
Corekit install path found OK
ADK_VERSION : 10.0.17763.1
IOTCORE_VER : 10.0.17763.253
BSP_VERSION : 10.0.0.0
ADDONKITVER : 6.0.200326.1705
HostOS Info : Microsoft Windows 10 Pro - 10.0.18363 - tr-TR
Error: Host OS Enterprise Edition required for using Security functions such as Device Guard
IOTWKSPACE  : C:\MyWorkspace
OEM_NAME    : Intel
BSP_ARCH    : amd64
BSPPKG_DIR  : C:\MyWorkspace\Build\amd64\pkgs
MSPKG_DIR   : C:\Program Files (x86)\Windows Kits\10\MSPackages\Retail\amd64\fre
Copying Registry.Version
Copying Custom.Cmd
Copying Provisioning.Auto
Copying OEM.Sample
Copying Device.SystemInformation
Copying DeviceLayout.GPT4GB
Copying DeviceLayout.GPT8GB-R
Copying DeviceLayout.MBR4GB
Copying DeviceLayout.MBR8GB-R
Workspace ready!
IoTCorePShell amd64 10.0.0.0 Test
PS C:\MyWorkspace>

But I am having error at Import-IoTBSP step, output is below

PS C:\MyWorkspace>importpkg *
Copying Appx.Certs
Copying Custom.BCD
Copying Custom.OOBEApp
Copying Custom.Settings
Warning: C:\MyWorkspace\Common\Packages\Device.SystemInformation already exist.
Warning: C:\MyWorkspace\Common\Packages\DeviceLayout.GPT4GB already exist.
Warning: C:\MyWorkspace\Common\Packages\DeviceLayout.GPT8GB-R already exist.
Warning: C:\MyWorkspace\Common\Packages\DeviceLayout.MBR4GB already exist.
Warning: C:\MyWorkspace\Common\Packages\DeviceLayout.MBR8GB-R already exist.
Copying Recovery.GPT-BCD
Copying Recovery.GPT-BcdEdit
Copying Recovery.MBR-BCD
Copying Recovery.MBR-BcdEdit
Warning: C:\MyWorkspace\Common\Packages\Registry.Version already exist.
Copying Security.BitLocker
Copying Security.DeviceGuard
Copying Security.DeviceGuardTest
Copying Security.SecureBoot
Copying Security.SecureBootTest
Copying Settings.HotKey
Copying Appx.IoTCoreDefaultApp
Copying Appx.IoTOnboardingTask
Copying AzureDM.Services
Warning: C:\MyWorkspace\Source-x64\Packages\OEM.Sample already exist.
Warning: C:\MyWorkspace\Common\ProdPackages\Custom.Cmd already exist.
Warning: C:\MyWorkspace\Common\ProdPackages\Provisioning.Auto already exist.
Copying Recovery.WinPE
IoTCorePShell amd64 10.0.0.0 Test
PS C:\MyWorkspace>$Source = "C:\Program Files (x86)\Intel IoT\Source-x64\BSP"
IoTCorePShell amd64 10.0.0.0 Test
PS C:\MyWorkspace>Import-IoTBSP APLx64 $Source
Processing C:\Program Files (x86)\Intel IoT\Source-x64\BSP\APLx64
(PkgBldr.Common) : error : Failed to load schema resource stream Schemas.Schema.OnecorePackageInfo.xsd for input Schema\OnecorePackageInfo.xsd.
Error: C:\MyWorkspace\Source-x64\BSP\APLx64\Packages\APL64.CMD\APL64.CMD.pkg.xml pkggen failed
You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

You cannot call a method on a null-valued expression.
At C:\iot-adk-addonkit-master\Tools\IoTCoreImaging\IoTWorkspace.ps1:870 char:21
+                 if (-not $pkgnames.contains($definedpkg)) {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

BSP copy completed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant