HOME >  TEXT

2014-04-11 18:09:12Banana Pro Quick Start Guide

By Tony Zhang
        By following this short quick start guide, you can use your Banana Pro in just a few minutes. There are three steps to booting your Banana Pro.

Step 1: Get what you need.
To enjoy the use of your Banana Pro, you will need at the very minimum these accessories in the table below.


No. Item Minimum recommended specification & notes
1 MicroSD card
  • Minimum size 4Gb; class 4 (the class indicates how fast the card is).
  • We recommend using branded MicroSD cards as they are more reliable.
2a HDMI (Full sized – Type A) to
HDMI / DVI  cable
  • HDMI (Type A) to HDMI lead (for HD TVs and monitors with HDMI input).
    OR
    HDMI (Type A) to DVI adapter cable (for monitors with only a DVI input).
          Type A HDMI is 13.9 mm wide (check Wikipedia or Google for more info or look at the photos)
 
*Attention: Some HDMI-DVI adapters will only work on the Linux images (as adapted for B-Pro and in our Downloads section). For “Android 4.2.2 for Banana Pro v2.0” you'd better use an HDMI-HDMI cable (in other words, your monitor or TV must be HD-ready), some HDMI-DVI doesn't work normally. 
2b AV/Audio output
  • AV composite lead to connect to your analogue display (eg a TV) if you are not using the HDMI output.
  • You can use a 3.5mm jack audio cable to connect the audio port to external speakers to get ste.
3 Keyboard and mouse
  • Any standard USB keyboard and mouse should work.
  • However, keyboards or mice that take a lot of power from the USB ports may need a powered USB hub. This may include some wireless devices..
4 Ethernet cable/WiFi
  • Networking is optional, although it makes updating and getting new software for your Banana Pro much easier.
5 Micro USB power adapter
  • A good quality, micro USB power supply that can provide at least 2A at 5V is essential.
  • However, most mobile phone chargers are NOT suitable — check the label on the plug. It's possible they can deliver 2 amps and 5 volts, but maybe not at the same time!.
6 Mobile Hard disk (Optional)
  • You can choose to connect a mobile hard disk to the SATA port to store more files. Special cables are required for this – look on Amazon – but they are not expensive, under 10 dollars/Euros/pounds.
7 A case for your
B-Pro (optional but highly recommended)
  • A suitable acrylic or similar case, which should cost less than 10 dollars/Euros/pounds and will protect your
  • B-Pro from dust, moisture and most importantly short circuits and static.
  • Please be aware that ALL of the the Raspberry Pi cases are NOT compatible (the board dimensions and also the layout of the Banana Pro's inputs/outputs are different).
\ \ \
HDMI to HDMI lead HDMI to DVI lead AV composite lead
\ \
MicroSD card Micro USB power adapter

Step 2: Prepare your MicroSD card for the Banana Pro(You can Install the OS image for Banana Pi in the same way.)


Case1: Installing the general Linux OS image:

In order to enjoy your Banana Pro, you will need to install an Operating System (OS) onto an MicroSD card. The instructions below will teach you how to write an OS image to your MicroSD card either in Windows or Linux.

  1. Insert your MicroSD card into your computer or card reader. The size of the MicroSD should be larger than the OS image size, generally 4GB or greater.
  2. Format the MicroSD card.
    1. Windows:
    2. Download an MicroSD card format tool such as SD Formatter from 
      https://www.sdcard.org/downloads/formatter_4/eula_windows/
    3. Unzip the download file and run the setup.exe (Run as Administrator) to install the tool on your machine.                               
    4. After installation, start the tool (again, Run as Administrator). In the "Options" menu, set "FORMAT TYPE" option to QUICK, "FORMAT SIZE ADJUSTMENT" option to "ON".
    5. \

      \
    6. Check that the drive letter of the MicroSD card you inserted matches the one selected by the software. Otherwise it will format and delete all data on another drive or card. To be safe, only have your main hard drive connected and only the MicroSD card that you want to use in your B-Pro. LeMaker is not responsible for any loss of data.
    7. Click the “Format” button.
    1. Linux:
    2. In a terminal, run the sudo fdisk –l command to check the MicroSD card node.
    3. Run the sudo umount /dev/sdxx to unmount all the partitions of the MicroSD card.
    4. Run the sudo fdisk /dev/sdx command. Use the o command to delete all partition of MicroSD card and use the n command to add one new partition. Use the w command to save change.
    5. Run the sudo mkfs.vfat /dev/sdx1 command to format the new created partition of MicroSD card as FAT32.
      (x should be replaced according to your MicroSD card node as discovered in point vi above)
  3. You can also jump this step under Linux, because write image command dd under Linux will format the MicroSD card automatically.

  4. Download the OS image from the Downloads webpage.
  5. Unzip the download file to get the OS image (should have the extension .img). To do this.
     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).
  6. Write the image file to the MicroSD card.
    1. Windows:
    2. Download a tool that can wirte images to an MicroSD card, such as Win32 Diskimager from:
      http://sourceforge.net/projects/win32diskimager/files/Archive/
    3. Open the unzipped image file.
      \
    4. Click the Write button. Wait patiently to successfully complete the writing. Do not disturb or disconnect/remove the card or shut down the computer during this process. When it has finished, soft-eject the card using the 'Safely Remove Hardware' icon in the System Tray/Notification area (bottom right of your screen), then physically remove the card from the card reader.
    1. Linux:
    2. Run the sudo fdisk –l command to check the MicroSD card node.
    3. Verify if the hash key of the zip file is the same as shown on the downloads page (optional).
      sha1sum [path]/[imagename]
      This will print out a long hex number which should match the "SHA-1" line for the MicroSD image you have downloaded.
    4. Run the umount /dev/sdxx to unmount all the partitions of the the MicroSD card
    5. Run the sudo dd bs=4M if=[path]/[imagename] of=/dev/sdx command to write image file to MicroSD 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 the sudo pkill –USR1 –n –x dd command to check progress

Case2: Installing the Android OS image:

The Android images (4.2 v2.0 & 4.4 beta 1) cannot unfortunately use the dd command in Linux or the Win32Diskimager in Windows, so you need to use the PhoenixCard tool to burn the image to the MicroSD card

(Note : If your laptop's card slot cannot burn the MicroSD card, you should use an external USB MicroSD card reader instead. )

  1. Download the Android image and PhoenixCard.
  2. The Android 4.2 image (a LeMaker product) from our Downloads page: http://www.lemaker.org/resources/9-38/image_files.html
  3. The Android 4.4 image (not a LeMaker product) from the external website.
  4. PhoenixCard:
    International download address: https://drive.google.com/file/d/0B_VynIqhAcB7NTg2UkRDdHRWX2s/edit?usp=sharing
    China domestic download address: http://pan.baidu.com/s/1qW9dFLq?qq-pf-to=pcqq.c2c
  5. Install the Phoenixcard software (Run as Administrator), then start the program from its icon (also using Run as Administrator).
  6. First, check the disk letter is EXACTLY the same as your MicroSD card with the button 'Disk Check'. (Better safe than sorry – disconnect all other USB devices and secondary hard drives before continuing. See this forum link for help if you do this.) Then load the disk file by clicking on the button 'Img File'. Next step – click the radio button 'Startup' in the Write Mode box, then press the 'Format to Normal' button.
\



Please note: although the text in the window of the above screenshot says "Device OK, the size of the device is XXXXX M", depending on your system and if it is an internal/external or single/multi-card reader, you may instead get only a message such as "Find 4 device, Please select correct the one" [sic].


\


Burn the Android image to the MicroSD card (by pressing 'Burn' of course).

\

This can take quite a while so be patient. As mentioned previously, do not disturb the MicroSD card or remove it or turn off the computer during this process. Serious damage to the card and/or computer hardware can occur.

\


When the final 'Success' message appears, soft-eject the card using the 'Safely Remove Hardware' function in the Notification Area/System Tray (bottom right hand corner of the Windows screen). Now you can physically remove it and then insert it into the Banana Pro.

Step 3: Set up your Banana Pro

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

  1. Insert the newly written MicroSD card into the MicroSD card socket 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 – 13.9mm wide) port, just to the right of the SATA port. Just connect any HDMI Type A cable from the B-Pro to your TV or HDMI Monitor.
    If you don't have a 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 hand edge. 
  4. Just under the USB ports on the right hand edge is the Ethernet connector if you want to plug the Banana Pro 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 2A.  Any value bigger than 2A (like 2.5A) will also work. Avoid using the smaller chargers used for small GSM phones, as these are often unregulated - even if they claim "5V 2A", they may do "5V" and may do "2A", but not at the simultaneously!
    Make sure you have the correct USB plug. In the photo below, 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 its sides are rounded outward.  
\
  1. (This step is optional) )If you have a free SATA 2.5 inch or 4.5 inch hard drive (SSD or HDD), you can use it on the Banana Pro. Connect the SATA cable to the SATA port just between the micro-USB and HDMI ports. Remember to put the power cable with the 2 male 2.54mm headers into the SATA power. Then you can plug your hard drive into the other side of the SATA cable. Be careful with the connection of the different color cables.

If all goes well, the Banana Pro will boot in a few minutes. The screen will display the OS's GUI (Graphical User Interface). The first boot of a new OS can sometimes take a long time. Be patient! Subsequent boots are usually much quicker.

Step 4: Shut down your Banana Pro 

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

Also you can run the command in the terminal:  

sudo halt 

or  

sudo shutdown –h now

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

(With thanks to native speaker “roses” for checking and upgrading this document)
© 2014 LeMaker