DuinOS Installation – Mac OS X

This document provides information showing how to install DuinOS using Mac OS X. For more information about DuinOS and its usage, refer to the here.

Requirements

  1. A blank MicroSD storage card (1 GB or larger)
  2. sd_card

  3. An USB to MicroSD adapter
  4. sd_reader

Step 1

Download the latest DuinOS and unzip to the root folder. The unzipped DuinOS.img file should be about 1 GB.

1124

Step 2

In step 2, we will go over the process to copy DuinOS onto the MicroSD card.

Insert a blank MicroSD flash storage card to an USB-to-MicroSD adapter and insert the adapter to your computer.

55

After the MicroSD card is detected and recognized, an icon similar to the following shows up on desktop.

1117

Next, launch a terminal window.

1117

From the terminal window, execute the following command:

    diskutil list

1117

You can see a list of storage devices, similar to the following screen:

0011

From the list of storage devices, identify the one associates with the MicroSD card.

For the example in this application note, /dev/disk1 is the MicroSD card.

1117

Make note of the storage device name and partition identifier associate with the MicroSD card.

For the example in this application note, the partition identifier is disk1s1.

1117

Next, we need to remove the MicroSD card partition with the following command:

    diskutil umount /dev/disk1s1

1119

(If the MicroSD card you are using has been configured with multiple partitions, repeat the above for each partition.)

After MicroSD partition is removed, we can see the confirmation as shown in the following screen.

1119

At the same time, the icon represting the MicroSD partition also disappears from the desktop.

1120

Then, execute the following command to place DuinOS onto the MicroSD card:

    dd of={MicroSD device ID} if={DuinOS image file name} bs=1m

For the example in this application note, the command is as follow:
     dd of=/dev/disk1 if=/DuinOS.img bs=1m

1123

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 is completed, remove the USB-to-MicroSD adapter from the computer and remove the MicroSD card from the adapter.

12121

Step 3

Next, we will use the configured MicroSD card as the boot storage for an 86Duino board.

Insert the MicroSD configured with DuinOS from the earlier steps into the MicroSD slot on the 86Duino board and apply power.

1313

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.


Hacking

The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.