Open selimsyl opened 4 years ago
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
Hi, I'am using IoTCoreImageWizard to build an image. When trying to create Windows IOT image for targeting bsp package below
I'am having error below, Could you please help me ? Thank you in advance.