86Duino SysImage Installation (Linux)

86Duino SysImage is a utility which enable you to place 86Duino system firmware onto a MicroSD storage card, include the following:

This application note talks about SysImage installation and usage (For more information refer to this URL).

Preparation

  1. You will need a MicroSD storage card with 1 GB or larger capacity
  2. sd_card

  3. An USB-to-MicroSD adapter is also needed
  4. sd_reader

Step 1

Download the latest version 86Duino SysImage. After expanding the image file content to the /tmp directory on your development machine, you will see the 86duino.img image file, approximately 1 GB in size.

1124

Step 2

As preparation to configure and place the 86Duino SysImage image onto the MicroSD storage card, insert the MicroSD storage card into the USB adapter and attach the USB adapter to the development PC.

55

As preparation to configure and place the 86Duino SysImage image onto the MicroSD storage card, insert the MicroSD storage card into the USB adapter and attach the USB adapter to the development PC.

1117

Next, launch the Terminal program.

1117

Execute the following command from the Terminal program:

    sudo fdisk -l

1117

You will see a list of storage device, as shown below:

0011

From the above list, locate the MicroSD storage card, which is attached via an USB-adapter.
In our example, the MicroSD storage card is identified as ‘/dev/sdb’.

1117

Make note of the partition information for the MicroSD storage card.
In this example, the MicroSD storage card only has one partition, identified as “sdb1”.

1117

Next, un-mount the MicroSD partition, using the following command:

    sudo umount /dev/sdb1

1119

If the MicroSD has multiple partitions, repeat the command to un-mount all partitions.
After all partitions are un-mounted, the USB storage device icon disappear from the desktop, as shown below.

1120

From the Terminal window, execute the following command to configure and place 86Duino SysImage onto the MicroSD storage card:

    dd of="MicroSD partition" if="SysImage image file path" bs=1m

Here is the actual command for the example in this application note: dd of=/dev/sdb if=/tmp/86duino.img bs=1M

1123

The process to configure and place 86Duino.img image onto the MicroSD storage takes approximately 6~7 minutes. Depending on the read/write performance for the MicroSD, the times may vary.
After the process is completed, remove the USB adapter from the development machine and remove MicroSD storage card.

12121

Step 3

Insert the newly configured MicroSD storage card to the 86Duino board, using the MicroSD as the boot device and apply power to the 86Duino board.

1313

During power on, the 86Duino board detects the inserted MicroSD storage card. When a valid boot partition is found on the MicroSD storage, the 86Duino board will continue the boot process using the MicroSD storage as the bootable storage, instead of the internal flash.
After successfully boot from the MicroSD storage, you can see the LED on the 86Duino board (as shown below) blinks 3 short pulses, follow by 2 long pulses, which indicates the 86Duino board successfully launched the new SysImage from the MicroSD storage.

111

Next, you can reset power to the 86Duino board and boot from the updated 86Duino BIOS and bootloader on the internal flash. Or, you can boot the 86Duino board using the MicroSD storage created from this application note and use it as the target device, and deploy sketch (86duino application) from the 86Duino IDE to the 86Duino board.
Note: SysImage is a sketch (86Duino application). When you deploy another sketch onto the MicroSD, it will overwritten and delete SysImage.

For more information about how to use SysImage, refer to information on this URL.


Getting-Started Home

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