Quick Start

Lemaker Guitar Quick Start 


1. What we will need 

 MicroSD Card 

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

Display and connectivity cables 

Any HDMI/DVI/VGA monitor or TV should work as a display. If the display use DVI or VGA as input interface, we need a HDMI-to-DVI cable or 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. 

The photos of accessories are showed as below:




2. 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. There are two OS image file formats for LeMaker Guitar: .img file for writing to MicroSD card, .fw file for writing to eMMC NAND Flash. 

We can download the OS image files from http://www.lemaker.org/product-guitar-resource.html 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


2.1. 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 we how to write an OS image into a MicroSD card.

(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 is very high.)  


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. 


II. Format the MicroSD card

Download and install a MicroSD card format tool such as SDFormatter from http://mirror.lemaker.org/SDFormatter_v4.zip

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. 


 


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://mirror.lemaker.org/Win32DiskImage_v0.9.5_install.zip.

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. 


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. 


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. 


2.2. 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 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 


II. Press and hold the software “ADFU” button, Connect 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. 



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. 



Linux: 


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

 http://mirror.lemaker.org/FW_Burning_Tool_For_Linux_V1.0_01.tar.gz 

 http://mirror.lemaker.org/FW_Burning_Tool_for_Linux_PC_V1.1_01.7z

wget http://mirror.lemaker.org/FW_Burning_Tool_For_Linux_V1.0_01.tar.gz


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

sudo tar -zxvf FWBurning_Tool_For_Linux_V1.0_01.tar.gz
cd FWBurning_Tool_For_Linux_V1.0_01
sudo ./FWBurningTool-1.0.run 


III. Press and hold the software “ADFU” button, Connect 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 


3. How to connect peripherals equipment to LeMaker Guirtar 





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! 



4. 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 the command in the terminal to shut down LeMaker Guitar.

sudo halt

or

sudo shutdown –h now


For more information, please visit:

Download

Forum