LeMaker Guitar:Quick Start

From BananaPro/Pi
Jump to: navigation, search
Translate this page; This page has changes since it was last marked for translation.

Other languages:
English • ‎中文(简体)‎

What we will need

MicroSD Card
We recommend a 4GB or greater class 10 MicroSD card.

Display and connectivity cables
Any HDMI/VGA monitor or TV should work as a display. If the display VGA as input interface, we need a HDMI-to-VGA cable.

Keyboard and mouse
Any standard USB keyboard and mouse should work.

Power supply
Use a 5~12V@2A power adapter supply to power our LeMaker Guitar. Plug specification is inner diameter 2.1mm and outer diameter 5.5mm with standard center-positive.

Internet connection
To update and download software, we recommend connecting to the Internet either via an Ethernet cable or a WIFI adapter.

USB3.0/USB2.0 cable
To boot OS from eMMC NAND Flash, we connect to LeMaker Guitar via USB3.0/USB2.0 cable (A/M-Micro-B) to write the firmware into eMMC NAND Flash.

Acceroy.png

How to install operate system image

There are two ways to boot the operating system for LeMaker Guitar, one way is booting from MicroSD card, another way is booting from eMMC NAND Flash on core board. Assume that Linux OS has been successfully installed on a MicroSD card and the eMMC NAND Flash. When we have inserted the MicroSD card into MicroSD card slot, the operating system will preferentially boot from MicroSD card. But if we want to boot operating system from eMMC NAND Flash, we must remove the MicroSD card from MicroSD card slot. Guitar start up dataflow en.png

There are two OS image file formats for LeMaker Guitar: .img file for writing to an MicroSD card, .fw file for writing to eMMC NAND Flash. We can download the OS image files from LeMaker Guitar Download and use the tool 7-Zip in Windows or the command 7za in Linux to extract the archive file.

Windows
Install the 7-zip tool and then decompress and extract the archive file.

Linux

sudo apt-get install p7zip-full
7za x [imagefilename].7z

Installing the OS image into MicroSD card

If we want to boot operating system from MicroSD card, we will need to install an operating system into a MicroSD card. The instructions below will teach us how to write an OS image into a MicroSD card.

Note: the installation for MicroSD card is only valid for Linux based OS image which is the .img file. If you download an Android SD card OS image, it will be still .fw file, you should flash the SD card just like EMMC LeMaker_Guitar:Quick_Start#Installing_OS_image_into_eMMC_NAND_Flash, you only need insert the SD card into the Guitar first.

And also pleas pay attention that all the OS image provided by LeMaker set the CPU frequency to 1.1GHz by default. If we want to run the CPU at 1.3GHz, we strongly suggest put a heat sink or fan on Guitar to cool down the system, because the S500 SoC temperature under load can go up to a very high temperature.


Windows
I. Insert a MicroSD card into our computer or card reader. The size of the MicroSD card should be larger than the OS image size, Generally 4GB or greater.

Sandisk micro reader 8G.png

II. Format the MicroSD card
Download and install a MicroSD card format tool such as SDFormatter from https://www.sdcard.org/downloads/formatter_4/. Start the tool as Administrator, In the "Options" menu, set "FORMAT TYPE" option to QUICK, "FORMAT SIZE ADJUSTMENT" option to "ON". And then click “OK” to finish options setting and click “Format” to format the MicroSD card.

SDFormatter.png

Formatter Setting.png

III. Write OS image into the MicroSD card
Download and install a tool that can wirte OS images into an MicroSD card such as Win32Diskimager from http://sourceforge.net/projects/win32diskimager/. Start the tool as Administrator. Open the unzipped image file, and then click the “write” button to write the OS image into the MicroSD card. Wait patiently to successfully complete the writing.

Win32Diskimager.png

Linux
I. Insert a MicroSD card into our computer or card reader. The size of the MicroSD card should be larger than the OS image size, Generally 4GB or greater.

Sandisk micro reader 8G.png

II. In the commad terminal, check the MicroSD card node

sudo fdisk –l

III. Install the ddrescue tool for writing OS image into the MicroSD card
Debian / Ubuntu Linux:

sudo apt-get install ddrescue

RedHat /Fedora /CentOS Linux:

yum -y install ddrescue

IV. Write OS image into MicroSD card

sudo dd_rescue –A [path]/[imagename].img dev/sdx 
sync

Wait patiently to successfully complete writing.

Installing OS image into eMMC NAND Flash

If we want boot operating system from eMMC NAND Flash on core board, we need to install an operating system into eMMC NAND Flash. There are a hardware “ADFU” button on core board and a software “ADFU” button on base board to enter the ADFU mode, but we recommend using the software “ADFU” button on base board to enter the ADFU mode. The instructions below will teach us how to write an OS image into eMMC NAND Flash.
(Note that we have to remove the MicroSD card from MicroSD card slot before writing OS firmware into EMMC NAND Flash. When writing OS firmware into EMMC NAND Flash, Micro USB can only auxiliarily supply power, we also have to use a 5~12V@2A power adapter supply to power our LeMaker Guitar.)

Windows
I. Download and install IH FW Burning Tool from http://mirror.lemaker.org/IH_FW_Burning_Tool_For_Windowns_V2.01.03.zip

IH FW Burning Tool1.png

II. Press and hold the software “ADFU” button, Connect our PC to LeMaker Guitar via USB3.0/USB2.0 cable. When LeMaker Guitar is powered on, it will take about 6 seconds to enter ADFU mode. And then after it enters to the ADFU mode, we can release the software “ADFU” button. We will find IH FW Burning Tool detects 1 USB device (ADFU). If IH FW Burning Tool can’t detects ADFU device, please use the hardware “ADFU” button on core board to enter ADFU mode.

IH FW Burning Tool2.png

III. Open the .fw file, and then click the “DOWN” button to write the firmware file into eMMC NAND Flash. Wait patiently to successfully complete the writing.

IH FW Burning Tool3.png

Linux
I. Download the firmware burning tool such as FWBurning Tool from:

wget http://mirror.lemaker.org/FW_Burning_Tool_for_Linux_PC_V1.1_01.7z
sudo apt-get install p7zip-full
7za x FW_Burning_Tool_for_Linux_PC_V1.1_01.7z

II. In the command terminal, extract the archive file and install FWBurning Tool.

cd FW\ Burning\ Tool\ for\ Linux\ PC\ V1.1_01/
sudo chmod +x FWBurningTool-1.1.run
sudo ./FWBurningTool-1.1.run

III. Press and hold the software “ADFU” button, Connect our PC to LeMaker Guitar via USB3.0/USB2.0 cable. When LeMaker Guitar is powered on, it will take about 6 seconds to enter ADFU mode. And then after it enters to the ADFU mode, we can release the software “ADFU” button. We can use the command “lsusb” to list the USB devices. If can’t detects the USB device, please use the hardware “ADFU” button on core board to enter ADFU mode.

sudo lsusb
…
Bus 001 Device 002: ID 10d6:10d6 Actions Semiconductor Co., Ltd
…

IV. Write the .fw file into eMMC NAND Flash

sudo python ./ActionsFWU.py  --fw=[firmware_name].fw

How to connect peripherals equipment to LeMaker Guitar

Guitar connection.jpg

(Notice: Please pay attention that do not hot pull out or insert the core board when it is powered on, otherwise the SOC maybe be burnt down!)


How to login and shutdown LeMaker Guitar

We can use the graphical user interface or the command terminal to login LeMaker Guitar. The default user is lemaker, and the default password also is lemaker. If We login system in the command terminal, we can use the command as below to start GUI.

sudo startx

We can use the graphical user interface to shut down LeMaker Guitar. We also can run this command in the terminal to shut down LeMaker Guitar.

sudo halt

or

sudo shutdown –h now

Appendix

Connect USB2.0 cable to LeMaker Guitar


For more information, please visit:
Download page:http://www.lemaker.org/product-guitar-resource.html
LeMaker Website:http://www.lemaker.org/
LeMaker Forum:http://forum.lemaker.org/
LeMaker Wiki: http://wiki.lemaker.org/
LeMaker Github:https://github.com/LeMaker
LeMaker Blog:http://www.lemaker.org//blog
Lenovator online shop:http://www.lenovator.com/