EasyManua.ls Logo

Hardkernnel ODROID-C2 - Osx

Hardkernnel ODROID-C2
95 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
29 ODROID C2 USER MANUAL
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk1p2 58G 5.8G 49G 11% /
...
/dev/sdb1 30G 224K 30G 1% /media/odroid/BLANK
This tells us that the write destination path to the media is /dev/
sdb. Given this information, we can carefully construct the image copy
command using appropriate input and output paths:
$ cd ~/linux-img
$ sudo dd \
if=./ubuntu64-16.04lts-mate-odroid-c2-20160525.img \
of=/dev/sdb \
bs=1M conv=fsync
$ sync
The dd command is very powerful, so use it with a lot of care.
If incorrect parameters (especially the of parameter) are used here,
you could potentially ruin the OS installation of the computer. The dd
command is hence often referred to as the disk destroyer command.
This step could take a while. So, wait for it to complete before
proceeding. Once completed, remove the microUSB card reader /
writer from the USB port of the computer. Remove the boot media and
place it on the non-conductive surface.
The above steps are to ash the Linux image. To ash an An-
droid image, simply download a different compressed le, and all sub-
sequent steps would be that same as those listed above.
You would need to to launch the browser once again and nav-
igate to http://bit.ly/2cMQ5K1. Look for the latest Android image
and click the corresponding Self-installation image link. In the ex-
ample case here, we would be downloading the image called seln-
stall-odroidc2-eng-s905_5.1.1_master-230-v1.6.img.xz.
If you wish to use the wget command instead, you can follow
the steps listed earlier but using the appropriate Android URL. Once
the compressed le has been downloaded, uncompress it and ash it,
using the steps listed earlier in this section.
Flashing an Image on an OSX Computer
The procedure for creating an image le using OSX is similar
to Linux, with some small differences. First, download and install the
xzutils package from http://tukaani.org/xz/, making sure to select the
OSX binaries, and use it to uncompress the image:
$ xz -d selnstall-odroidc2-eng-s905_5.1.1_master-230-v1.6.img.xz
Chapter 2

Table of Contents