title | author | ms.author | ms.date | ms.topic | description | keywords |
---|---|---|---|---|---|---|
Creating Board Supported Packages (BSP) |
parameshbabu |
pabab |
08/22/2017 |
article |
Learn how to create board supported packages in order to start assembling and manufacturing your device. |
windows iot, image creation, bsp, windows iot, board supported package |
Board Support Packages (BSP) is a collection of drivers/settings required to run IoT Core on a hardware platform. These are provided by the hardware vendors/silicon vendors.
There are two steps to creating your own BSP:
- First, find where you can get BSPs for supported platforms below.
- Second, learn how to create your own BSP by following the steps listed in the IoT Manufacturing guide.
Note
You can copy the bsp cab files to a folder, say C:\MyBSPs\
, and set BSPPKG_DIR=C:\MyBSPs\
in the IoTCoreShell to use these files in the imaging process.
Raspberry drivers are available at ms-iot/bsp.
Steps to create the drivers :
-
Check out ms-iot/bsp project.
-
Build the bcm2386 solution (Release or Debug)
- You can also download the prebuilt binaries from rpibsp.zip.
-
Launch IoTCoreShell, select arm
- In ms-iot/bsp project folder, run
tools\binexport.cmd Release (or) Debug C:\RPiBSP
to export the binaries toC:\RPiBSP
folder. If you are using prebuilt binaries, you can skip this step and unzip the binaries toC:\RPiBSP
. - Run
C:\RPiBSP\build.cmd
to create the cabs in the build output folder (iot-adk-addonkit\Build\arm\pkgs
) - Run
buildpkg all
to process all cab files
- In ms-iot/bsp project folder, run
Note
To build a retail image, you will need to rerun the build.cmd to sign the bsp driver binaries with cross certificates. See IoT Core Manufacturing Guide for detailed instructions.
Bay Trail drivers are available at IO Drivers, Graphics drivers
Steps to create the drivers :
-
Download the drivers
-
Copy the cab files to the build output folder (
iot-adk-addonkit\Build\x86\pkgs
) -
Launch IoTCoreShell, select x86
- Run
buildpkg all
to process all cab files
- Run
You can also recreate the cab files with the below script, the cab files will be created in the build output folder (set the DIR_ROOT value appropriately).
-
Launch IoTCoreShell, select x86
-
Create .cmd file copy below snippet and run from above launch shell window.
@echo off setlocal set DIR_ROOT=D:\IntelBSP\BYT\333669_002_bsp_windows_10_iot_core-32_bit set OEM_NAME=Intel set SIGNFILES=None call inf2cab.cmd %DIR_ROOT%\Drivers\x86\GPIO\iaiogpio.inf BYT.GPIO call inf2cab.cmd %DIR_ROOT%\Drivers\x86\HSUART\iaiouart.inf BYT.UART call inf2cab.cmd %DIR_ROOT%\Drivers\x86\I2C\iaioi2c.inf BYT.I2C call inf2cab.cmd %DIR_ROOT%\Drivers\x86\SPI\iaiospi.inf BYT.SPI set DIR_ROOT=D:\IntelBSP\BYT\INTEL_HDGraphics_Win10IoTCore_v36.19.0_1227_PV call inf2cab.cmd %DIR_ROOT%\emgd_gfx_36_19_0_1227\igdlh.inf GFX.Build1227 endlocal
The BSP supporting Apollo Lake is available at Apollo Lake BSP.
The BSP supporting Braswell/Cherry trail are available at Braswell BSP.
Tip
The published BSP works with Windows 10 ADK release 1703 (15063).
Follow the steps below to use this BSP with the Windows 10 ADK release 1709 (16299) with iot-adk-addonkit version 4.0 or later.
- Download the BSP package and install
- Copy files from
C:\Program Files (x86)\Intel IoT\Source-<arch>
toiot-adk-addonkit\Source-<arch>
- Launch IoTCoreShell, select arch (x64 / x86) as required
- In the IoTCoreShell, run the below command to convert the BSP files to latest format and build
- run
.\bsptools\<bspname>\convert.cmd
buildbsp <bspname>
- run
Joule drivers are available at Joule BSP.
Steps to create the drivers :
-
Download the Intel5xx_WinIoT_*_BSP.zip
-
Copy the Intel5xx folder from the zip file to (
iot-adk-addonkit\Source-x64\BSP\
) -
Launch IoTCoreShell, select x64
- Run
buildpkg all
to create all cab files, including the Joule BSP cab files. - Alternatively you can use
buildbsp Intel5xx
to build Joule BSP cabs only.
- Run
The files will be available in the build output folder (iot-adk-addonkit\Build\x64\pkgs
)
DragonBoard drivers are available at DragonBoard 410C Software under Windows 10 IoT Core section.
Steps to create the drivers :
-
Download the *_db410c_BSP.zip and extract to a folder say
C:\download\DB410c_BSP
-
Launch IoTCoreShell, select arm
- Run
.\bsptools\QCDB410C\export.cmd C:\download\DB410c_BSP C:\MyBSPs\QCDB410C
to export the required bsp cab files to a directory sayC:\MyBSPs\QCDB410C
. set BSPPKG_DIR=C:\MyBSPs\QCDB410C
to specify the location of the bsp cabs. See the BSPFM.xml file for the cab files it looks for inBSPPKG_DIR
.- Run
buildpkg all
to create the oem packages - Run
buildimage <productname> <test> or <retail>
to build the image
- Run