Saturday, October 21, 2017

Adding Non-BSP Drivers to Windows 10 IoT Core

Windows 10 IoT Core has a significantly different way of handling drivers over a traditional Windows OS.  In particular, BSP drivers are compiled into the image during FFU creation.

If you are looking to install Windows 10 IoT Core on a different device than the FFU was built for, you can install drivers at run time on the device. Early on, while trying to find a commercial Windows 10 IoT Core platform, I did extensive testing with Intel Compute Sticks and can verify that the Wi-Fi module (Intel AC 7265) in the STK1AW32SC can is fully functional after installing a driver.

Basically, follow these steps, but copy the driver for the device from Intel.  You will need a Windows 10 driver (not Windows 7/8.1) and may need to search through the INFs to find the correct device ID.

The command itself is simple-  Use PowerShell to connect to the device, CD to the directory you copied the files to and run:
devcon.exe dp_add DRIVERINF.inf 
After rebooting, the device will be functional.  So far, I've only used this method for Wi-Fi drivers.  I would not expect all drivers to work, especially if they call APIs not available on Windows 10 IoT Core or install additional components.

No comments:

Post a Comment