If you wanna flash a ffu into an emmc or you cannot get an SD card reader, you need to flash a UEFI image first.
Please refered to this document.
There are 3 tools that can be used to flash the ffu to a Pine64 board:
-
Using Windows 10 IoT Dash Board;
-
Using "IoTCoreImageHelper" tool which is part of "IoT Core Kits";
-
Using "dism.exe" in under "C:\Windows\System32".
Notice: In fact, both tool 1 and tool 2 depend on "dism.exe". They just provide a graphic user interface to call "dism.exe".
-
Switch to "Set up a new device" tab;
-
Select "Custom" option for "Device type". Click "browse" button to pick your ffu file and select a correct drive;
-
Provide some provision information such as device name, password and wlan profile;
-
Check the licence item box to accept the software licence and install.
PS: After the progress finished, an error message "Failed to write provisioning file to microSD card" will be shown. The reason is that "IoT Dash Board" cannot write the provision configuration(device name, password & wlan profile) into microSD card. We are dealing with this issue. Please just ignore. Device name and password will be set to default.
This tool is very simple. Just select the SD card and browse to pick image file to flash.
How to get this tool:
Download the Raspberry Pi setup tool from here and install. Then get the "IoTCoreImageHelper" tool under the "C:\Program Files (x86)\Microsoft IoT" directory.
- Start command prompt as an administrator;
- Insert your microSD card to your PC;
- Type "diskpart" to enter diskpart tool, then type "list disk" to show all disks;
- Note the disk ID of your microSD card(0, 1 or 2 etc);
DISKPART\> list disk
Disk ### Status Size Free Dyn Gpt
----------------------------------------------------
Disk 0 Online 931 GB 0 B
Disk 1 Online 7456 MB 5120 KB *
-
Type command below to flash image to SD card.
Dism.exe /Apply-Image /ImageFile:[ffu_path] /ApplyDrive:\\.\PhysicalDrive[disk_number] /SkipPlatformCheck
Notice: Please confirm the disk id seriously. It may damage your important data if flashing a wrong disk.