Difference between revisions of "Manufacturing:X2 Ubuntu Configuration for MicroSD programming"

From Idrive
Jump to navigation Jump to search
(Created page with "=Setup programming stations for MicroSD programming= ==Basic Install== Install VMplayer https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/7_0 ...")
 
Line 3: Line 3:
 
==Basic Install==
 
==Basic Install==
  
Install VMplayer
+
'''Install VMplayer'''
  
 
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/7_0
 
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/7_0
  
After you install VMware player download the latest Ubuntu version Ubuntu 14.0.4 with LTS(long term support) can be downloaded from the link below:  
+
Launch VMware
 +
 
 +
Check use VMware Player in free non-comercial mode (enter an email address)
 +
 
 +
'''Create Ubuntu Virtual Machine'''
 +
 
 +
Download the latest Ubuntu version Ubuntu 14.0.4 with LTS(long term support) can be downloaded from the link below:  
  
 
http://www.ubuntu.com/download/desktop
 
http://www.ubuntu.com/download/desktop
  
Open VMware player and click on "Create a new virtual machine" in the "New virtual machine wizard" browse for the .iso image of Ubuntu and click next then fill all the fields requested by the WMvare installer;
+
Open VMware player and click on "Create a new virtual machine" to open the "New virtual machine wizard"  
 +
 
 +
Browse for the .iso image of Ubuntu and click next:
  
user name: ubuntu
+
Full Name: ubuntu
 +
 
 +
User name: ubuntu
  
 
password: none (the word, not blank)  
 
password: none (the word, not blank)  
  
virtual machine name and location etc. after that the Ubuntu Linux install will start.
+
Click Next
 +
 
 +
Use default Virtual Machine name: Ubuntu 64-bit
 +
 
 +
Click Next
 +
 
 +
Maximum disk size (30GB recommended)
 +
 
 +
Select Split virtual disk into multiple files
 +
 
 +
after that the Ubuntu Linux install will start.
 +
 
 +
Click Next
 +
 
 +
Click Finish
  
 
==System Configuration==
 
==System Configuration==

Revision as of 21:38, 9 June 2015

Setup programming stations for MicroSD programming

Basic Install

Install VMplayer

https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/7_0

Launch VMware

Check use VMware Player in free non-comercial mode (enter an email address)

Create Ubuntu Virtual Machine

Download the latest Ubuntu version Ubuntu 14.0.4 with LTS(long term support) can be downloaded from the link below:

http://www.ubuntu.com/download/desktop

Open VMware player and click on "Create a new virtual machine" to open the "New virtual machine wizard"

Browse for the .iso image of Ubuntu and click next:

Full Name: ubuntu

User name: ubuntu

password: none (the word, not blank)

Click Next

Use default Virtual Machine name: Ubuntu 64-bit

Click Next

Maximum disk size (30GB recommended)

Select Split virtual disk into multiple files

after that the Ubuntu Linux install will start.

Click Next

Click Finish

System Configuration

After installation has finished start the virtual machine by double clicking on Ubuntu 64-Bit

Log into the system ubuntu/none

Sudo apt-get install udisks (password) (Installs UDISK)

Configure main.sh for the number of SD cards devices

copy main.sh, card.sh, idrive.ico to /usr/local/bin (use sudo because the location is system protected)

sudo cp main.sh /usr/local/bin (password)

sudo cp card.sh /usr/local/bin (password)

sudo cp idrive.ico /usr/local/bin (password)

Copy firmware image to the Documents directory (ensure name and location match the card.sh) (Example ltib-x2-040615.tar.gz)

Copy X2_MicroSD_prog.desktop to the Desktop directory

sudo visudo (edits sudo so you can disable the password requirements to run sfdisk, mkfs.ext4, tar , umount) add the following lines:

%ubuntu ALL=(ALL:ALL) /bin/tar

%ubuntu ALL=(ALL:ALL) /bin/umount

%ubuntu ALL=(ALL:ALL) /sbin/mkfs.ext4

%ubuntu ALL=(ALL:ALL) /sbin/sfdisk




Double click the X2 MicroSD Programming Icon

Still waiting for cards… 1min50sec for 1 card

Wait for the "Cards are done!" message.