DuinOS Installation – Windows (Using dd)
This document provides information showing how to install DuinOS using a Windows based PC. For more information about DuinOS and its usage, refer to the here.
Requirements
Step 1
Download the latest DuinOS and unzip to c:\ drive on your PC. The unzipped DuinOS.img file should be about 1 GB.
Step 2
Download the dd for Windows utility via the here.
Note: Version 0.5 or later is needed.
After download, unzip and place the dd utility to the “c:\dd-0.5” folder.
Launch a DOS command prompt with administrator privilege.
Without administrator privilege, you will not be able to complete steps in the later sections.
Refer to the here for information, showing how to launch DOS command prompt with administrator privilege:
From the DOS command prompt window, navigate to the C:\dd-0.5 folder.
Step 3
In this section, we will work through the steps to configure the MicroSD flash storage card with DuinOS.
Insert the MicroSD flash storage to the USB-to-MicroSD adapter. Then, insert the USB-to-MicroSD adapter to the PC.
Wait for your PC to detect and recognize the MicroSD storage and make not of the drive letter assigned to the MicroSD storage (as shown in the figure below)
From the DOS command window, execute the following command to launch Diskpart:
diskpart
Next, execute the following command to display all detected disk partitions:
list disk
From the list of detected storage partition, identify the one assigned to the MicroSD storage
(For this example, ‘Disk 1” is assigned to the MicroSD storage)
Execute the following command to select “Disk 1”:
select disk 1
Next, execute the following command to remote previously configured file partition from “Disk 1”:
clean
Execute the following command to create a primary file partition:
create partition primary
Execute the following command to set the partition active:
active
Execute the following command to exit Diskpart:
exit
From the dd directory, execute the following command:
dd --list
You will see a list of storage devices, similar to the following screen:
From the list of storage devices, look for the device listed as removeable media, which is the Micro-SD card. Make note of volume information and assigned drive letter, similar to the following screen:
Scroll down further to look for partition information associate with removable media, similar to the following screen.
For this example in this application note, the volume and partition for the removable media are \\?\Device\HarddiskVolume15 and \\?\Device\Harddisk1\Partition1 respectively.
Next, make note of the partition 0 information, similar to the following screen.
For this example it’s \\?\Device\Harddisk1\Partition0
Execute the following command, using the dd command to place DuinOS onto the MicroSD card.
dd of={Partition 0 on MicroSD} if={DuinOS image file} bs=1M
For the example in this application note, the command is as follow:dd of=\\?\Device\Harddisk1\Partition0 if=c:\DuinOS.img bs=1M
Be patient, it takes 6 ~ 7 minutes or longer to complete the task, depending the the MicroSD card’s read/write speed.
After the process to place DuinOS onto the MicroSD card is completed, you work station’s screen should look similar to the following.
Remove the MicroSD card from your development workstation.
Step 4
Insert the MicroSD configured with DuinOS from the earlier steps into the MicroSD slot on the 86Duino board and apply power..
During startup, when the MicroSD card with DuinOS is detected, the 86Duino board will boot from the MicroSD card instead of its internal flash.
Refer to the here to learn more about DuinOS.
The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.