From charlesreid1

 
(10 intermediate revisions by the same user not shown)
Line 3: Line 3:
=Mac=
=Mac=


==Get The Image==
==Flash SD Card with Orange Pi Image==


Your first task is to figure out which version of the Orange Pi you have, since there are about a dozen different versions. Once you find your version, pick an OS and download the image from here: http://www.orangepi.org/downloadresources/
The first step is to download an image and the flash the SD card with that image. These instructions will walk you through the steps.


==Extract the Image==
===Get The Image===


Extract the .xz file using Keka (on Mac)
Before you can download an image, you need to figure out which version of the Orange Pi you have, since there are about a dozen different versions. Turns out, I had the orange pi zero.


==Prepare SD Card==
Get an image from Armbian: https://www.armbian.com/orange-pi-zero/
 
===Extract the Image===
 
Extract the .7z file using Keka (on Mac)
 
===Prepare SD Card===


Plug in an SD card and run diskutil list to see the sd card:
Plug in an SD card and run diskutil list to see the sd card:
Line 37: Line 43:
</pre>
</pre>


==Write Image to SD Card==
===Write Image to SD Card===


For the last step, you use dd (disk formatter utility) to write that image to your SD card:
For the last step, you use dd (disk formatter utility) to write that image to your SD card:


<pre>
<pre>
$ time dd bs=1m if=orangepi-plus-debian-server-card-v0.9.img of=/dev/disk1
$ sudo dd bs=1m if=ubuntu_server_xenial_zeroplus2_H3_V0_1.img of=/dev/disk2
925+0 records in
</pre>
925+0 records out
 
969932800 bytes transferred in 440.491904 secs (2201931 bytes/sec)
==Modify SD Card Image==
 
Once you've flashed the image, mount it on your computer so you can make a few changes to it prior to booting your Orange Pi.
 
Following instructions here: http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=342
 
First copy the uImage (presumably the boot image, "micro image"):
 
<pre>
$ cp uImage_OPI-2 uImage
</pre>


real 7m21.021s
Next, copy one of the example script.bin files, depending on what monitor/resolution you want (how about NONE?):
user 0m0.008s
 
sys 0m17.441s
<pre>
$ cp script.bin.OPI-2_480p_dvi script.bin
</pre>
</pre>


The above command took 7 minutes on my system.


=Power By Ethernet=
Intriguing topic: https://forum.armbian.com/index.php?/topic/3136-orange-pi-poe/
=Resources=
http://linux-sunxi.org/Xunlong_Orange_Pi_Zero




[[Category:OrangePi]]
[[Category:OrangePi]]
[[Category:RaspberryPi]]
[[Category:RaspberryPi]]

Latest revision as of 00:51, 16 April 2017

OrangePi.jpg

Mac

Flash SD Card with Orange Pi Image

The first step is to download an image and the flash the SD card with that image. These instructions will walk you through the steps.

Get The Image

Before you can download an image, you need to figure out which version of the Orange Pi you have, since there are about a dozen different versions. Turns out, I had the orange pi zero.

Get an image from Armbian: https://www.armbian.com/orange-pi-zero/

Extract the Image

Extract the .7z file using Keka (on Mac)

Prepare SD Card

Plug in an SD card and run diskutil list to see the sd card:

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS CRONUS                  999.3 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *15.9 GB    disk1
   1:             Windows_FAT_32 NO NAME                 64.0 MB    disk1s1
   2:                      Linux                         7.3 GB     disk1s2

Unmount it:

diskutil unmountDisk /dev/disk1

Write Image to SD Card

For the last step, you use dd (disk formatter utility) to write that image to your SD card:

$ sudo dd bs=1m if=ubuntu_server_xenial_zeroplus2_H3_V0_1.img of=/dev/disk2

Modify SD Card Image

Once you've flashed the image, mount it on your computer so you can make a few changes to it prior to booting your Orange Pi.

Following instructions here: http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=342

First copy the uImage (presumably the boot image, "micro image"):

$ cp uImage_OPI-2 uImage

Next, copy one of the example script.bin files, depending on what monitor/resolution you want (how about NONE?):

$ cp script.bin.OPI-2_480p_dvi script.bin


Power By Ethernet

Intriguing topic: https://forum.armbian.com/index.php?/topic/3136-orange-pi-poe/


Resources

http://linux-sunxi.org/Xunlong_Orange_Pi_Zero