Project

General

Profile

Support #598

Updated by Daniel Curtis over 9 years ago

This is a guide for installing the stock pre-compiled Yocto Linux image provided by Intel  

 h2. Prepare the MicroSD Card 

 * Install dosfstools: 
 <pre> 
 sudo pacman -S dosfstools 
 </pre> 

 * To start, find the device path for the microsd card. insert the microsd card into the workstation, open a terminal and run: 
 dmesg 
 #* _Example output_ 
 <pre> 
 [13103.012976] mmc0: new SD card at address 8ccd 
 [13103.052022] Driver 'mmcblk' needs updating - please use bus_type methods 
 [13103.057749] mmcblk0: mmc0:8ccd YV04F 1.89 GiB 
 </pre>  
 #* *NOTE*: This example will use @/dev/mmcblk0@ for the microsd device path.  

 * (Optional) Zero the MicroSD card: 
 <pre> 
 sudo dd if=/dev/zero of=/dev/mmcblk0 
 </pre> 

 * Now create a partition for the MicroSD card: 
 <pre> 
 sudo fdisk /dev/mmcblk0 
 o 
 n 
 p 
 1 
 [Enter] 
 [Enter] 
 t 
 b 
 a 
 w 
 </pre> 

 * Next format the micro SD card to fat32: 
 <pre> 
 sudo mkfs.msdos /dev/mmcblk0p1 
 </pre> 

 * Next, download and extract the LINUX_IMAGE_FOR_SD_Intel_Galileo_v1.0.4.zip file: 
 <pre> 
 mkdir ~/galileo-img && cd ~/galileo-img 
 wget http://downloadmirror.intel.com/24355/eng/SDCard.1.0.4.tar.bz2 
 tar xjf SDCard.1.0.4.tar.bz2 
 </pre> 

 * Mount the micro SD card and copy the extracted stock Linux files over to the micro SD card: 
 <pre> 
 sudo mkdir /mnt/sdcard 
 sudo mount /dev/mmcblk0p1 /mnt/sdcard 
 sudo cp -r ~/galileo-img/image-full-galileo/* ~/galileo-img/image-full-galileo/ /mnt/sdcard/ 
 sudo sync 
 </pre> 

 * Unmount the MicroSD card: 
 <pre> 
 sudo umount /mnt/sdcard 
 </pre> 

 At this point the stock Yocto Linux provided by Intel is installed and ready for use. 

 h2. Resources 

 * http://www.intel.com/support/galileo/sb/CS-035101.htm

Back