Difference between revisions of "Banana Pi"

From Geeetech Wiki
Jump to: navigation, search
(Description)
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
  
                                            [[File:Banana pi back.jpg]]
+
                                                      [[File:Banana pi back.jpg]]
 +
<br>
 +
 
 
It’s an open-source single-board computer. It can run Android 4.4, Ubuntu, Debian, Rasberry Pi Image, as well as the Cubieboard Image. It uses the AllWinner A20 SoC, and has 1GB DDR3 SDRAM. Banana Pi is for anyone who wants to start creating with technology – not just consuming it. It's a simple, fun, useful tool that you can use to start taking control of the world around you.
 
It’s an open-source single-board computer. It can run Android 4.4, Ubuntu, Debian, Rasberry Pi Image, as well as the Cubieboard Image. It uses the AllWinner A20 SoC, and has 1GB DDR3 SDRAM. Banana Pi is for anyone who wants to start creating with technology – not just consuming it. It's a simple, fun, useful tool that you can use to start taking control of the world around you.
 
+
<br>
  
 
== Hardware specification  ==
 
== Hardware specification  ==
Line 30: Line 32:
 
In order to enjoy your Banana Pi, you will need to install an Operating System (OS) onto an SD card. Instructions below will teach you how to write an OS image to your SD card under Windows and Linux.
 
In order to enjoy your Banana Pi, you will need to install an Operating System (OS) onto an SD card. Instructions below will teach you how to write an OS image to your SD card under Windows and Linux.
  
  1. Insert your SD card into your computer. The size of SD should be larger than the OS image size, generally 4GB or greater.
+
      1. Insert your SD card into your computer. The size of SD should be larger than the OS image size, generally 4GB or greater.
  2. Format the SD card.
+
      2. Format the SD card.
    '''Windows:'''
+
          '''Windows:'''
        i.  Download the a SD card format tool such as '''SD Formatter''' from
+
            i.  Download the a SD card format tool such as '''SD Formatter''' from
            https://www.sdcard.org/downloads/formatter_4/eula_windows/
+
                https://www.sdcard.org/downloads/formatter_4/eula_windows/
        ii. Unzip the download file and run the setup.exe to install the tool on your machine.
+
            ii. Unzip the download file and run the setup.exe to install the tool on your machine.
        iii.In the "Options" menu, set "FORMAT TYPE" option to QUICK, "FORMAT SIZE ADJUSTMENT" option to "ON".
+
            iii.In the "Options" menu, set "FORMAT TYPE" option to QUICK, "FORMAT SIZE ADJUSTMENT" option to "ON".
        iv. Check that the SD card you inserted matches the one selected by the Tool.
+
                [[File:picture1.png]]
        v.  Click the “Format” button.
+
 
 +
                  [[File:picture2.png]]
 +
            iv. Check that the SD card you inserted matches the one selected by the Tool.
 +
            v.  Click the “Format” button.
  
      '''Linux:'''
+
        '''Linux:'''
          i.  Run '''fdisk –l''' command to check the SD card node.
+
            i.  Run '''fdisk –l''' command to check the SD card node.
          ii. Run '''sudo fdisk /dev/sdx''' command to delete all partition of SD card.  
+
            ii. Run '''sudo fdisk /dev/sdx''' command to delete all partition of SD card.  
              Use '''d''' command to delete all partition          of SD card and use    '''n'''  command to add one new partition.    
+
              Use '''d''' command to delete all partition          of SD card and use    '''n'''  command to add one new partition.  
              Use '''w''' command to save change.
+
              Use '''w''' command to save change.
          iii.Run '''sudo mkfs.vfat /dev/sdxx''' command to format all the partition of SD card as FAT32.
+
            iii.Run '''sudo mkfs.vfat /dev/sdxx''' command to format all the partition of SD card as FAT32.
 
               (x should be replaced according to your SD card node)
 
               (x should be replaced according to your SD card node)
    You can also jump this step under Linux, because write image command '''dd''' under Linux will format the SD card automatically.
+
             
 +
You can also jump this step under Linux, because write image command '''dd''' under Linux will format the SD card automatically.
  
 
   3. Download the OS image from Download district.
 
   3. Download the OS image from Download district.
Line 62: Line 68:
 
               http://sourceforge.net/projects/win32diskimager/files/Archive/
 
               http://sourceforge.net/projects/win32diskimager/files/Archive/
 
           ii. Open the unzipped image file.
 
           ii. Open the unzipped image file.
 +
              [[File:picture3.png]]
 +
 
           iii.Click Write button. Wait patiently to successfully complete writing.
 
           iii.Click Write button. Wait patiently to successfully complete writing.
  
Line 91: Line 99:
 
     even if they claim "5V 1A", they may do "5V" and may do "1A", but not at the same time!
 
     even if they claim "5V 1A", they may do "5V" and may do "1A", but not at the same time!
 
The mini-USB (on the left) is the wrong one. It’s thicker and looks like a trapezoid with its sides pinched in.  The micro-USB (on the right) is the correct one.  It is thinner and also looks like a trapezoid except it’s sides are rounded outward.   
 
The mini-USB (on the left) is the wrong one. It’s thicker and looks like a trapezoid with its sides pinched in.  The micro-USB (on the right) is the correct one.  It is thinner and also looks like a trapezoid except it’s sides are rounded outward.   
 +
      [[File:usb6.png]]
 +
 
     6. If you have a free 3.5 inch hard drive, you can put it into use on Banana Pi.  
 
     6. If you have a free 3.5 inch hard drive, you can put it into use on Banana Pi.  
 
       Connect the SATA cable to the SATA port just between micro-USB and HDMI.   
 
       Connect the SATA cable to the SATA port just between micro-USB and HDMI.   

Latest revision as of 08:06, 10 April 2014


Description

                                                     Banana pi back.jpg


It’s an open-source single-board computer. It can run Android 4.4, Ubuntu, Debian, Rasberry Pi Image, as well as the Cubieboard Image. It uses the AllWinner A20 SoC, and has 1GB DDR3 SDRAM. Banana Pi is for anyone who wants to start creating with technology – not just consuming it. It's a simple, fun, useful tool that you can use to start taking control of the world around you.

Hardware specification

Jietu.png


Quick Start Guide

'Step 1: Get what you need.'

First time to enjoy your Banana Pi, you need at least the accessories in the table below. Step 2.jpg

Usb1.pngHDMI to HDMI lead Usb2.png HDMI to DVI lead Usb3.pngAV video lead


Usb4.png SD card Usb5.png Micro USB power adapter


'Step 2: Prepare your SD card for the Banana Pi'

In order to enjoy your Banana Pi, you will need to install an Operating System (OS) onto an SD card. Instructions below will teach you how to write an OS image to your SD card under Windows and Linux.

     1. Insert your SD card into your computer. The size of SD should be larger than the OS image size, generally 4GB or greater.
     2. Format the SD card.
         Windows:
            i.  Download the a SD card format tool such as SD Formatter from  
                https://www.sdcard.org/downloads/formatter_4/eula_windows/
            ii. Unzip the download file and run the setup.exe to install the tool on your machine.
            iii.In the "Options" menu, set "FORMAT TYPE" option to QUICK, "FORMAT SIZE ADJUSTMENT" option to "ON".
                Picture1.png
                 Picture2.png
            iv. Check that the SD card you inserted matches the one selected by the Tool.
            v.  Click the “Format” button.
       Linux:
           i.  Run fdisk –l command to check the SD card node.
           ii. Run sudo fdisk /dev/sdx command to delete all partition of SD card. 
              Use d command to delete all partition          of SD card and use    n   command to add one new partition.   
              Use w command to save change.
           iii.Run sudo mkfs.vfat /dev/sdxx command to format all the partition of SD card as FAT32.
              (x should be replaced according to your SD card node)
              

You can also jump this step under Linux, because write image command dd under Linux will format the SD card automatically.

  3. Download the OS image from Download district.
  4.Unzip the download file to get the OS image.
    Windows: Right click on the file and choose “Extract all”.
    Linux: Run unzip [path]/[downloaded filename] command.
       If the filename extension is .tgz, run tar zvxf [path]/[downloaded filename] command.
        Ensure that neither the file name of the image you're using or the path contain any spaces 
        (or other odd characters, for that matter).
  5. Write the image file to the SD card.
    Windows:
          i. Download a tool that can wirte image to SD card, such as Win32 Diskimager from:
             http://sourceforge.net/projects/win32diskimager/files/Archive/
          ii. Open the unzipped image file.
              Picture3.png
          iii.Click Write button. Wait patiently to successfully complete writing.
       Linux:
           i.Run sudo fdisk –l command to check the SD card node.
           ii.Verify if the hash key of the zip file is the same as shown on the downloads page (optional).
              shalsum [path]/[imagename]
              This will print out a long hex number which should match the "SHA-1" line for the SD image you have downloaded.
           iii.Run umount /dev/sdxx to unmount all the partition of the the SD card
           iv.Run sudo dd bs=4M if=[path]/[imagename] of=/dev/sdx command to write image file to SD card.     
              Wait patiently to successfully complete writing. Please note that block size set to 4M will work most of the time, if not,
              please try 1M, although 1M will take considerably longer.You can use sudo pkill –USR1 –n –x dd command to check progress

'Step 3: Set up your Banana Pi'

According to the set up diagram below, you can easily set up your Banana Pi.

Step 3.jpg

  1. Insert the written-image SD card that to the SD card spot on the left side edge of the underside of the board.
  2. On the bottom "edge" in the middle of the board is the HDMI Type A (Full sized) port, just on the right of the SATA port. 
     Just connect  any HDMI cable from the board to your TV or HDMI Monitor.

If you don't have an TV/Monitor with a HDMI or DVI-D port you can use the yellow AV jack located in the middle of the "top" edge and the 3.5 mm stereo headphone jack to the right of it.

  3. Plug a USB keyboard and mouse into the USB slots located on the right edge. 
  4. Just under the USB ports on the right edge is the ethernet connector for anyone who wants to plug the Banana Pi into a wired network.
  5. Finally, at the very left of the bottom edge is the micro-usb power connector.  
    Plug in a regulated power supply that is rated at 5V ±5% and at least 1A.  Any number bigger than 1A (like 2A) will also work. 
    Avoid using the smaller chargers used for small GSM phones, as these are often unregulated, 
    even if they claim "5V 1A", they may do "5V" and may do "1A", but not at the same time!

The mini-USB (on the left) is the wrong one. It’s thicker and looks like a trapezoid with its sides pinched in. The micro-USB (on the right) is the correct one. It is thinner and also looks like a trapezoid except it’s sides are rounded outward. 

     Usb6.png
   6. If you have a free 3.5 inch hard drive, you can put it into use on Banana Pi. 
      Connect the SATA cable to the SATA port just between micro-USB and HDMI.  
      Remember put the power cable with 2 male 2.54mm headers into the SATA power. 
      Then you can plug your hard drive into the another side of the SATA cable.
      Be careful the connection of different color cables. (This step can be skipped)

If all goes well, the Banana Pi will boot in a few minutes. The screen will display the OS GUI.

'Step 4: Shut down your Banana Pi '

You can use the GUI to shut down the Banana Pi safely.  

Also you can run the command in the terminal:  

sudo halt 

or  

sudo shutdown –h now

This will shut down the PI safely, (just use the power key to turn off might damage the SD-cards file system). After that you can press the power key for 5 seconds to turn it off.


Image Files

'BananaPi_For_Cubieboard_v1.0.tgz'

CheckSum:

  1. MD5: 1401B8C9F70C44D2B602F972F67E924A
  2. SHA1: 87EBE80849EB517C51BFFD8866F75844E08E6B7A
  3. CRC32: 17B79BFF
     11.png  
     Baidu Cloud:
     Download Link:http://pan.baidu.com/s/1gdeKJr9
      One.png
      Tencent Micro Cloud:
      Download Link: http://url.cn/Rqs8SM
      Two.png
      DropBox:
      Download Link:https://www.dropbox.com/s/txqi5p7yj90hweh/BananaPi_For_Cubieboard_v1.0.tgz
      Three.jpg
      Google Drive:
      Download Link:https://drive.google.com/file/d/0B38hUt6ypQXDaGdvOUJlaHQ4U1E/edit?usp=sharing

BananaPi_For_RaspberryPi_v1.0.tgz' CheckSum:

  1. MD5: 6BED39A681756E552FDB8B9A965A7944
  2. SHA1: 3C75F615766CD380C4267A8459A77EEAA1A3695D
  3. CRC32: F7E86406
     11.png  
     Baidu Cloud:
     Download Link:http://pan.baidu.com/s/1gdmSoxX
      One.png
      Tencent Micro Cloud:
      Download Link: http://url.cn/LXBGe3
      Two.png
      DropBox:
      Download Link:https://www.dropbox.com/s/bs0yn13nkmjrrvt/BananaPi_For_RaspberryPi_v1.0.tgz
      Three.jpg
      Google Drive:
      Download Link:https://drive.google.com/file/d/0B38hUt6ypQXDNDlMcTVrbndReUk/edit?usp=sharing