/LeMaker-Guitar

SD Image Tool for LeMaker Guitar

Primary LanguageShell

LeMaker Guitar SD Card Image Tool #################################################################################
Copyright (C) 2015 Saeid Ghazagh sghazagh@elar-systems.com

ELAR-Systems
------------
http://www.elar-systems.com
http://www.elar-systems.com.au

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


Required Packages
-----------------
dd, fdisk, kpartx, bmap-tools

Usage
------------
First get a local copy to your machine
$ git clone https://github.com/elar-systems/LeMaker-Guitar

You can make an Image now:
$ cd LeMaker-Guitar
$ ./make-lemaker-guitar-sdcard-img.sh <image_file_name>

If you are on a Debian based system, you can install bmap-tools
$ sudo apt-get install bmap-tools

Extract the archive and use bmaptool to copy it to the SD card
$ sudo bmaptool copy your_sd_image.img /dev/sdX

You can also use dd but it will take a lot longer since bmaptool doesn't write the empty bits
Windows users can use "Win32DiskImager" to write the .img file to the SD card