Last active
September 15, 2023 10:21
-
-
Save copyfun/8f229a20fb3b4e6c2237 to your computer and use it in GitHub Desktop.
Install Windows 10 IoT core on Raspberry Pi 2 using OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download iot core iso file | |
# curl http://go.microsoft.com/fwlink/?LinkId=616847 | |
curl http://download.microsoft.com/download/8/C/B/8CBE5D09-B5C5-462B-8043-DAC64938FDAC/IOT%20Core%20RPi.ISO > IOT-Core-RPi.iso | |
# install p7zip for decompress *.iso and *.msi files | |
sudo port install p7zip | |
# decompress files | |
7z x IOT-Core-RPi.ISO | |
7z x Windows_10_IoT_Core_RPi2.msi | |
# download ffu2img.py to transform the ffu file | |
curl https://raw.githubusercontent.com/t0x0/random/master/ffu2img.py > ffu2img.py | |
# transform the ffu | |
python ffu2img.py File_WindowsIoTRpi2Flash.ffu img.raw | |
# check your sdcard is pluged-in | |
# unmount sdcard (/dev/disk3 is the sdcard slot) | |
diskutil unmountDisk /dev/disk3 | |
# flash the img.raw onto sdcard | |
sudo dd bs=32m if=img.raw of=/dev/disk3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment