1. Hardware Preparation
(1) Raspberry Pi 2
(2) 8G Class 10 Micro SD card
(3) LCD monitor (if using VGA, an HDMI to VGA adapter is needed)
(4) Mouse
(5) PC for installing Windows 10 (needs physical installation, not virtual machine; this article is not mandatory)
2. Software Preparation
(1) Windows 10 IoT Raspberry Pi firmware (Windows_IoT_Core_RPI2_BUILD.zip)
Firmware download link:
https://connect.microsoft.com/windowsembeddedIoT/Downloads/DownloadDetails.aspx?DownloadID=57782
(2) Windows ADK tools (deployment tools)
After installing Visual Studio 2015 RC, related tools will be available (not required to have Windows 10)
Can also be downloaded separately (the installation package is large, but the required part is about 50MB)
https://go.microsoft.com/fwlink/p/?LinkId=526740
(3) PowerShell (version 4.0, comes with Windows 8.1)
(4) Install Visual Studio 2015 RC (for development)
3. Writing Windows 10 IoT Firmware
The process of installing Windows 10 IoT is essentially writing to the Micro SD card. Considering that the current Windows 10 preview is not stable, I only installed Windows 10 in a virtual machine, and the writing was done on a Windows 8.1 platform.
(1) Open the Deployment and Imaging Tools Environment command dialog, find the SD card disk number
Insert the SD card directly into the computer (if supported), or use a USB to interface module. Run the diskpart command.
Then run the list disk command to enumerate the physical disks in the current system.
My laptop has three systems: one is an SSD, one is a regular disk, and the other is the SD card we just inserted. We need to remember that the disk number after the SD card is “2” for the following commands. (Input the Exit command to exit the current command dialog)
(2) Write Windows IoT firmware
Extract the Windows_IoT_Core_RPI2_BUILD.zip file to get a Flash.ffu file (802MB), which we need to write to the SD card. I wrote a batch process to complete this writing process, as shown in the picture:
PhysicalIDrive2 (this number 2 is what we found using the diskpart command), executing this command completes the writing of the Windows 10 IoT firmware.
4. Starting Windows 10 IoT System
Insert the SD card into the Raspberry Pi 2, connect the LCD monitor, insert the network cable, and power on. If everything is normal, users should see the Windows 10 logo (as shown in the top right of the first image). After a moment of black screen and a long wait (several minutes), the final screen will appear (it will reboot once in between).
Mouse support is available, but only two areas are operable: system settings and power off or restart. As shown in the picture:
The overall mouse operation feels smooth, but the system startup is somewhat slow, and the system seems unstable and prone to crashes.
5. Communication Interconnection
(1) PowerShell operations
Run PowerShell as an administrator and input the following commands to start the WinRM service and add the Raspberry Pi as a trusted host.
Log in to the Windows 10 IoT system and input the following commands
Username: Administrator Password: default is p@ssw0rd
After successful login, you can input commands to query some information; for details, refer to the official PowerShell usage instructions
(2) FTP service
The system supports FTP service by default, allowing for uploading or downloading related files via FTP.
Username: Administrator Password: p@ssw0rd, same as the system login user and password.
6. Program Development
The next blog post will introduce content related to programming on the Windows 10 IoT system, stay tuned.
7. References
(1) Official deployment instructions
http://ms-iot.github.io/content/win10/SetupRPI.htm
(2) PowerShell operation instructions
http://ms-iot.github.io/content/win10/samples/PowerShell.htm
(3) User articles
http://bbs.ickey.cn/group-topic-id-48099.html
Thanks to Ye Fan
Lastly, the Raspberry Pi Chinese website PC version has been revamped, welcome Pi friends to experience.
Leave a Comment
Your email address will not be published. Required fields are marked *